{"id":50126227,"url":"https://github.com/mehmetbaykar/claude-code-docs-skill","last_synced_at":"2026-05-23T20:03:45.759Z","repository":{"id":358726463,"uuid":"1240237098","full_name":"mehmetbaykar/claude-code-docs-skill","owner":"mehmetbaykar","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-18T19:49:05.000Z","size":1108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-18T21:55:23.588Z","etag":null,"topics":["claude-code","skills"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mehmetbaykar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-15T23:01:24.000Z","updated_at":"2026-05-18T19:49:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mehmetbaykar/claude-code-docs-skill","commit_stats":null,"previous_names":["mehmetbaykar/claude-code-docs-skill"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mehmetbaykar/claude-code-docs-skill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetbaykar%2Fclaude-code-docs-skill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetbaykar%2Fclaude-code-docs-skill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetbaykar%2Fclaude-code-docs-skill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetbaykar%2Fclaude-code-docs-skill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehmetbaykar","download_url":"https://codeload.github.com/mehmetbaykar/claude-code-docs-skill/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehmetbaykar%2Fclaude-code-docs-skill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33410349,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T18:09:33.147Z","status":"ssl_error","status_checked_at":"2026-05-23T18:09:31.380Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","skills"],"created_at":"2026-05-23T20:03:31.949Z","updated_at":"2026-05-23T20:03:45.752Z","avatar_url":"https://github.com/mehmetbaykar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude Code Docs Skill\n\nLocal Agent Skill mirror of the Anthropic Claude Code documentation from\n[https://code.claude.com/docs/en/](https://code.claude.com/docs/en/).\n\nThe installable skill lives in `skills/claude-code-docs/`: `SKILL.md` is the\nentry point, cleaned Markdown copies of every relevant Claude Code page live\nunder `skills/claude-code-docs/references/`, and a 3-hour GitHub Action keeps\nthem in sync with upstream.\n\n## Install\n\n```bash\nnpx skills add mehmetbaykar/claude-code-docs-skill\n```\n\nThe `npx skills` CLI discovers the nested skill automatically. Installing the\nrepo exposes only the skill directory (`SKILL.md`, provider metadata in\n`agents/`, and `references/`) to the target agent while repository maintenance\nfiles stay at the repo root.\n\n## Usage\n\nOnce installed, invoke the skill with a topic from your agent\n(`$claude-code-docs hooks` in Codex, `/claude-code-docs hooks` in Claude Code)\nor with no argument to list topics. The full agent-facing usage contract lives\nin [skills/claude-code-docs/SKILL.md](skills/claude-code-docs/SKILL.md).\n\n## What's mirrored\n\nThe fetcher reads the Claude Code sitemap at\n`https://code.claude.com/docs/sitemap.xml`, keeps every English documentation\nURL whose path starts with `/docs/en/`, and excludes defensive non-core\nsubtrees:\n\n- `/docs/en/tool-use/*`\n- `/docs/en/examples/*`\n- `/docs/en/legacy/*`\n- `/docs/en/api/*`\n- `/docs/en/reference/*`\n\nThe mirror contains 132 cleaned Markdown files plus\n`skills/claude-code-docs/references/INDEX.md` and\n`skills/claude-code-docs/references/docs_manifest.json`. Any sitemap entries we\nintentionally skip are recorded in `docs_manifest.json` under `skipped`.\n\n## Update\n\n```bash\nnpx skills update claude-code-docs-skill   # update an installed local copy\n```\n\nUpstream refreshes happen automatically every 3 hours; there is nothing to\nconfigure on the consumer side.\n\n## Refresh locally (maintainers only)\n\n```bash\npython3 -m venv .venv\n.venv/bin/python -m pip install -r scripts/requirements.txt\n.venv/bin/python scripts/fetch_claude_code_docs.py\n```\n\nThe fetcher reads the sitemap, downloads each page's `.md` source, cleans MDX\nand JSX wrappers into plain Markdown, and rewrites\n`skills/claude-code-docs/references/INDEX.md` and\n`skills/claude-code-docs/references/docs_manifest.json`. Files whose content\nhash is unchanged are not rewritten.\n\n## Repository layout\n\n```text\n.\n├── skills/\n│   └── claude-code-docs/\n│       ├── agents/\n│       │   └── openai.yaml          # Agent UI metadata + invocation policy\n│       ├── SKILL.md                 # installed skill instructions and routing\n│       └── references/              # mirrored docs + INDEX + manifest\n├── scripts/\n│   ├── fetch_claude_code_docs.py    # sitemap -\u003e fetch -\u003e clean -\u003e write\n│   └── requirements.txt\n└── .github/workflows/\n    └── update-docs.yml              # cron every 3 hours\n```\n\n## Troubleshooting\n\n- If docs look stale, check the latest run of\n[Update Claude Code Documentation](../../actions/workflows/update-docs.yml) on\nthis repository and reproduce locally with the steps in \"Refresh locally\" above.\n- If the scheduled fetch fails, the workflow opens or updates an issue\nautomatically.\n- If a single page renders poorly, the upstream MDX is preserved under\n`skills/claude-code-docs/references/_raw/` whenever the cleaner falls back, so\nthe source of truth is never lost.\n\n## Notes\n\nThis repository is an unofficial local mirror packaged as an Agent Skill. It is\nnot affiliated with, endorsed by, or sponsored by Anthropic.\n\nDocumentation content belongs to Anthropic and is subject to Anthropic's\napplicable terms and policies. The MIT license in this repository applies only\nto the mirroring tool, scripts, skill metadata, and repository-specific code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehmetbaykar%2Fclaude-code-docs-skill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehmetbaykar%2Fclaude-code-docs-skill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehmetbaykar%2Fclaude-code-docs-skill/lists"}