Agent skill
add-doc
Register new documentation sources for Context7-based queries. Use when adding tools or SDKs to the project.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/documents/add-doc-asterkin-claude-taew-py
SKILL.md
Add Documentation Source Skill
Register new documentation sources for Context7-based queries.
When to Use
Invoke this skill when:
- Adding a new tool or SDK to the project
- Updating Context7 library ID for an existing source
- Configuring aliases for easier querying
Usage
# Add a new documentation source
python .claude/skills/add-doc/scripts/add-source.py <name> <context7_id> "<description>" [--tokens N] [--alias NAME]
Examples
# Add Android NDK documentation
python .claude/skills/add-doc/scripts/add-source.py ndk "websites/android_ndk" "Android NDK native development" --tokens 3000
# Add with alias
python .claude/skills/add-doc/scripts/add-source.py cpp "websites/cppreference" "C++ 20 language and STL" --alias c++
Workflow
- Find the Context7 library ID at context7.com
- Run
add-source.pywith appropriate parameters - Verify with
doc-query/scripts/list-sources.py - Test query with
doc-query/scripts/query.py
Configuration
Sources are stored in .claude/doc-sources.toml.
Requirements
- Python 3.14+
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?