dyz-gongwen-skills
公文写作 Skills|AI 公文写作助手:防编造、守保密、GB/T 9704 一键排版,覆盖 22 种文书,支持 Claude Code / Codex / Cursor
Translation pending
The open-source ExtractHub skill for Claude Code inspects a page, validates the scraper without credit and releases a versioned extractor you call by API.
SkillsGitHub @extracthub-ioOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Repository information has not been collected yet.
No updates detected yet. GitHub releases will appear here.
Agent Skill that builds, tests and publishes ExtractHub web data extractors (Claude Code, Claude Desktop, other agents)
Loading the full README.
Read the full README ↗An Agent Skill that teaches an AI agent to build ExtractHub extractors: it inspects the page you name, picks the cheapest fetch mode that works (plain HTML, embedded JSON, JSON API, JavaScript rendering, XHR capture, browser actions), writes the extractor definition, validates it, uploads it as a private draft, tests it and releases it when you say so.
Ask your agent things like:
For multi-step scrapes (a list page, then every detail page it links to) use it together with the extracthub-pipeline-builder skill, which chains released extractors into a pipeline.
extracthub-extractor-builder/
├── SKILL.md workflow the agent follows
├── references/
│ ├── config-reference.md field shapes, extract types, JSON paths, all transforms
│ ├── request-options.md proxy, JS rendering, browser actions, XHR, POST, price tiers, Studio import
│ ├── selectors-and-pitfalls.md supported selectors, stable selector strategy, engine pitfalls
│ ├── troubleshooting.md empty fields, blocked pages, JS-only content, API errors
│ └── releasing-and-versions.md draft, pins (@1, @1.2.3, @draft), semver, visibility
├── examples/ 6 complete definitions + notes
├── schema/extractor-definition.schema.json
├── scripts/check-config.mjs zero-dependency structure checker (Node 18+)
├── scripts/validate.mjs dry run on a saved sample file with the real engine (needs an API key)
└── LICENSE MIT
Clone the repository into your personal skills directory (all projects) or a project's .claude/skills/:
git clone https://github.com/extracthub-io/extracthub-extractor-builder.git ~/.claude/skills/extracthub-extractor-builder
Claude Code picks it up automatically; ask for an ExtractHub extractor and it loads the skill. Update later
with git -C ~/.claude/skills/extracthub-extractor-builder pull.
Download the repository as a ZIP (Code → Download ZIP) or zip a clone so that the zip contains one folder
with SKILL.md inside:
git clone https://github.com/extracthub-io/extracthub-extractor-builder.git
zip -r extracthub-extractor-builder.zip extracthub-extractor-builder -x "*.git*"
Upload it under Settings → Capabilities → Skills (code execution must be enabled). The local checker needs Node.js; where Node is unavailable the agent validates with the MCP server or by reading the HTML.
Agents that support the Agent Skills format load the folder from their skills directory. For any other
agent, point it at SKILL.md as instructions and keep the folder next to it so it can open the references.
With the MCP server the agent can validate against the real engine, upload, test and release by itself. Without it, the agent gives you the definition and a Studio import file instead.
https://api.extracthub.io/mcp, key as a Bearer token):Claude Code:
claude mcp add --transport http extracthub https://api.extracthub.io/mcp --header "Authorization: Bearer YOUR_EXTRACTHUB_API_KEY"
Claude Code, one key for both the MCP server and scripts/validate.mjs (recommended): put the key in
.claude/settings.local.json (keep it out of git) and reference it from the project's .mcp.json:
// .claude/settings.local.json
{ "env": { "EXTRACTHUB_API_KEY": "YOUR_EXTRACTHUB_API_KEY" }, "enabledMcpjsonServers": ["extracthub"] }
// .mcp.json
{ "mcpServers": { "extracthub": { "type": "http", "url": "https://api.extracthub.io/mcp",
"headers": { "Authorization": "Bearer ${EXTRACTHUB_API_KEY}" } } } }
Restart Claude Code; /mcp should list extracthub as connected.
Claude Desktop (claude_desktop_config.json, through the mcp-remote bridge):
{
"mcpServers": {
"extracthub": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://api.extracthub.io/mcp", "--header", "Authorization:${EXTRACTHUB_AUTH}"],
"env": { "EXTRACTHUB_AUTH": "Bearer YOUR_EXTRACTHUB_API_KEY" }
}
}
}
Other clients: URL https://api.extracthub.io/mcp, transport Streamable HTTP, header
Authorization: Bearer YOUR_EXTRACTHUB_API_KEY (or X-API-Key: YOUR_EXTRACTHUB_API_KEY). The server does
not offer OAuth yet, so clients that only support OAuth connectors cannot connect; use the skill without MCP
there.
More: https://extracthub.io/mcp
exth_test_...) are free and never fetch pages: extract calls return simulated results. Good
for wiring up a pipeline; useless for checking whether selectors work.This is the beginning of the README. Read the rest at the original. Read the full README ↗