返回技能列表

openweb

openweb-org
更新于 2 days ago
4 次查看
6
6
在 GitHub 上查看
设计general

关于

OpenWeb provides typed JSON access to 90+ real websites for reading, searching, and interacting with content like products, posts, and stock data. It requires the `openweb` CLI and a managed Chrome session for some sites. Use this skill when your agent needs to programmatically fetch or interact with live data from major platforms.

快速安装

Claude Code

推荐
主要方式
npx skills add openweb-org/openweb -a claude-code
插件命令备选方式
/plugin add https://github.com/openweb-org/openweb
Git 克隆备选方式
git clone https://github.com/openweb-org/openweb.git ~/.claude/skills/openweb

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

OpenWeb

Agent-native way to access any website. Bridging agent CLI and web GUI through API.

Load Discipline

  • Do not read every file in this folder.
  • Start with SKILL.md. Follow one route at a time.

Use Existing Site

1. Find the site

openweb sites                        # list all available sites

If the site has no package, do NOT say "unsupported." Route to add-site/guide.md.

2. Check readiness

openweb <site>                       # transport, auth, operations list
  • Requires browser: yes — browser auto-starts when needed; no manual setup required
  • Requires login: yes — user must be logged in via their browser session

3. Read site notes

Prefer site docs when they exist in your workspace:

  • Source repo: read src/sites/<site>/SKILL.md for workflows and intent mapping, then src/sites/<site>/DOC.md for internals.
  • Shipped/runtime package: only DOC.md, specs, manifest, examples, and adapters are guaranteed. Per-site SKILL.md and PROGRESS.md are source-tree docs and are not shipped into $OPENWEB_HOME/sites/<site>/.

If only the shipped package is available, rely on openweb <site>, openweb <site> <op>, examples, and DOC.md.

4. Inspect the operation

openweb <site> <op>                  # params, response shape, permission tier
openweb <site> <op> --example        # real example params from fixtures

Check the operation's permission tier before executing:

TierDefaultBehavior
readallowGET-like operations — execute freely
writepromptCreates/updates — ask user before executing
deletepromptDestructive — ask user before executing
transactdenyFinancial/irreversible — always skip

5. Execute

openweb <site> <op> '{"key":"value"}'    # stdout=JSON, stderr=JSON error

Auto-spill: responses over 4096 bytes write to a temp file.

openweb <site> exec <op> '{...}' is equivalent — exec can be omitted when the third arg is JSON.

6. On failure

Errors on stderr include failureClass:

failureClassAction
needs_browserBrowser auto-starts; if it fails, check Chrome installation. Fallback: openweb browser start
needs_loginopenweb login <site> then openweb browser restart
needs_pageOpen a tab to the site URL
bot_blockedopenweb browser restart --no-headless, user solves CAPTCHA in visible browser, then retry. For persistent sites, set "browser": {"headless": false} in config
permission_deniedUpdate permissions in $OPENWEB_HOME/config.json
permission_requiredAsk user for confirmation, then retry
retriableWait a few seconds, retry (max 2)
fatalDon't retry — fix params or check site name

If the table above doesn't resolve it, read references/troubleshooting.md.

7. Missing site or coverage

Site doesn't exist or lacks needed operations? Read add-site/guide.md.

Add / Expand / Upgrade Site

Read add-site/guide.md

Fix a Problem

Read references/troubleshooting.md

File Map

All paths relative to skills/openweb/.

add-site/ (workflow — load in sequence)

FileLoad when
add-site/guide.mdEntry point for add/expand workflow
add-site/probe.mdProbe step: CDP browser-side discovery
add-site/capture.mdCapture step: recording browser traffic
add-site/review.mdReview step: reading analysis-summary.json
add-site/curate-operations.mdCurate: naming, noise, params, permissions
add-site/curate-runtime.mdCurate: auth, transport, extraction
add-site/curate-schemas.mdCurate: response schemas, examples, PII
add-site/verify.mdVerify: runtime + spec + doc loop
add-site/document.mdDocument: per-site SKILL.md + DOC.md + PROGRESS.md, knowledge updates

references/ (lookup — load independently)

FileLoad when
references/cli.mdCLI command syntax, flags, stdout/stderr
references/x-openweb.mdFull x-openweb field schema
references/troubleshooting.mdSomething broke — classify, diagnose, fix

knowledge/ (patterns — load at decision points)

FileLoad when
knowledge/archetypes.mdExpected operations by site category
knowledge/auth-routing.mdAuth type unknown — signal-to-family lookup
knowledge/auth-primitives.mdConfiguring auth — config and gotchas
knowledge/bot-detection.mdTransport/capture decisions
knowledge/extraction.mdExtraction signals — SSR/DOM patterns
knowledge/graphql.mdGraphQL — persisted queries, batching
knowledge/ws.mdWebSocket — message/connection patterns
knowledge/adapter-recipes.mdAdapter patterns, code templates, pitfalls
knowledge/transport-upgrade.mdTransport tier decisions, node feasibility, API discovery

GitHub 仓库

openweb-org/openweb
路径: skills/openweb
0

相关推荐技能

executing-plans

设计

该Skill用于当开发者提供完整实施计划时,以受控批次方式执行代码实现。它会先审阅计划并提出疑问,然后分批次执行任务(默认每批3个任务),并在批次间暂停等待审查。关键特性包括分批次执行、内置检查点和架构师审查机制,确保复杂系统实现的可控性。

查看技能

requesting-code-review

设计

该Skill可在完成任务、实现主要功能或合并代码前自动调度代码审查子代理,确保实现符合需求和计划。它支持通过指定git SHA范围进行精准的代码变更审查,帮助开发者在关键节点及时发现潜在问题。核心原则是"早审查、勤审查",适用于开发流程的各个关键阶段。

查看技能

connect-mcp-server

设计

这个Skill指导开发者如何将MCP服务器连接到Claude Code,支持HTTP、stdio和SSE三种传输协议。它涵盖了从安装配置到认证安全的完整流程,适用于集成GitHub、Notion、数据库等外部服务。当开发者需要添加集成、配置外部工具或提及MCP相关功能时,这个Skill能提供实用的操作指南。

查看技能

web-cli-teleport

设计

该Skill帮助开发者根据任务特性选择Claude Code的Web或CLI界面,并指导如何在两种环境间无缝迁移会话。它能分析任务复杂度、迭代需求等要素,推荐最优工作界面和工作流。关键特性包括会话状态管理、环境切换指导和上下文优化建议。

查看技能