nia-docs
Searches documentation and code examples for thousands of software packages via semantic search or grep.
Install
mkdir -p .claude/skills/nia-docs && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6270" && unzip -o skill.zip -d .claude/skills/nia-docs && rm skill.zipInstalls to .claude/skills/nia-docs
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Search library documentation and code examples via NiaKey capabilities
- →Search library documentation
- →Find code examples
- →Filter examples with regex
- →Search across multiple registries
How it works
It performs semantic or regex-based searches across indexed package repositories to return relevant examples.
Inputs & outputs
When to use nia-docs
- →Find usage examples for specific library functions
- →Search for patterns in React hooks
- →Look up Python library API documentation
- →Filter library examples using regex
About this skill
Nia Documentation Search
Search across 3000+ packages (npm, PyPI, Crates, Go) and indexed sources for documentation and code examples.
Usage
Semantic search in a package
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package fastapi --query "dependency injection"
Search with specific registry
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package react --registry npm --query "hooks patterns"
Grep search for specific patterns
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package sqlalchemy --grep "session.execute"
Universal search across indexed sources
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--search "error handling middleware"
Options
| Option | Description |
|---|---|
--package | Package name to search in |
--registry | Registry: npm, py_pi, crates, go_modules (default: npm) |
--query | Semantic search query |
--grep | Regex pattern to search |
--search | Universal search across all indexed sources |
--limit | Max results (default: 5) |
Examples
# Python library usage
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package pydantic --registry py_pi --query "validators"
# React patterns
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package react --query "useEffect cleanup"
# Find specific function usage
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
--package express --grep "app.use"
Requires NIA_API_KEY in environment or nia server in mcp_config.json.
When not to use it
- →Offline environments
- →Non-indexed packages
Prerequisites
Limitations
- →Requires API key
- →Limited to indexed packages
How it compares
It provides targeted code examples from indexed sources rather than generic web search.
Compared to similar skills
nia-docs side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| nia-docs (this skill) | 1 | 7mo | Review | Beginner |
| clojure-write | 16 | 2mo | No flags | Intermediate |
| unit-testing-test-generate | 2 | 4mo | Review | Intermediate |
| designing-tests | 1 | 5mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by parcadei
View all by parcadei →You might also like
clojure-write
metabase
Guide Clojure and ClojureScript development using REPL-driven workflow, coding conventions, and best practices. Use when writing, developing, or refactoring Clojure/ClojureScript code.
unit-testing-test-generate
sickn33
Generate comprehensive, maintainable unit tests across languages with strong coverage and edge case focus.
designing-tests
CloudAI-X
Designs and implements testing strategies for any codebase. Use when adding tests, improving coverage, setting up testing infrastructure, debugging test failures, or when asked about unit tests, integration tests, or E2E testing.
add-new-setting-field
tsukumijima
【設定追加時は必ず参照】KonomiTV に新しい設定 (v-switch/v-select など) を追加する際の必須手順。SettingsStore.ts / Settings.ts / config.py / Settings/*.vue への追加が必要
test-generator
alirezarezvani
Automatically suggest tests for new functions and components. Use when new code is written, functions added, or user mentions testing. Creates test scaffolding with Jest, Vitest, Pytest patterns. Triggers on new functions, components, test requests, testing mentions.
context7-efficient
diegosouzapw
Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, nee