Download documentation from GitHub repos or URLs. Supports manifest-based batch downloads with configurable exclude patterns.
Download documentation files from various sources using manifest configurations.
Download from a specific manifest:
.claude/skills/download-docs/scripts/download.sh {manifest-name}
Download from all manifests:
.claude/skills/download-docs/scripts/download.sh
Output location: output/{manifest-name}/
Manifests are JSON files in scripts/manifests/. Use $schema for IDE validation. Two source types are supported:
Clones repository and extracts markdown files:
{
"$schema": "./manifest.schema.json",
"_source": {
"type": "github",
"repo": "owner/repo-name",
"branch": "main",
"path": "docs",
"extensions": [".md", ".mdx"],
"exclude": ["**/internal/**"],
"noDefaultExcludes": false
}
}
| Field | Required | Description |
|-------|----------|-------------|
| repo | Yes | GitHub repository (owner/name) |
| branch | No | Branch to clone (default: "main") |
| path | No | Directory path within repo (default: ".") |
| extensions | No | File extensions to include (default: [".md", ".mdx"]) |
| exclude | No | Additional glob patterns to exclude |
| noDefaultExcludes | No | Set true to disable default excludes |
Default exclude patterns:
Downloads specific files from URLs:
{
"$schema": "./manifest.schema.json",
"_source": { "type": "url" },
"files": {
"category-name": {
"doc-name": "https://example.com/path/to/doc.md"
}
}
}
Downloads HTML and converts to markdown (requires pandoc):
{
"$schema": "./manifest.schema.json",
"_source": {
"type": "url",
"convert": "html"
},
"files": {
"category-name": {
"doc-name": "https://example.com/docs/page.html"
}
}
}
Note: HTML conversion only works for static HTML. SPA sites (React, Angular, etc.) will produce empty output.
Add _disabled to skip processing:
{
"$schema": "./manifest.schema.json",
"_source": {
"type": "url",
"_disabled": true,
"_reason": "SPA site - requires Playwright handler"
},
"files": { ... }
}
jq - JSON parsinggit - GitHub source cloningcurl - URL downloadspandoc - HTML conversion (optional)Create a JSON file in scripts/manifests/ following the format above. The manifest filename (without .json) becomes the output directory name.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer