Skip to main content
skill CX Codex

nia-docs — Claude Code skill: what it does, how to install

Searches documentation and code examples across 3000+ packages via Nia. It pulls signatures and library patterns directly into your agent context.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add parcadei/Continuous-Claude-v3 --skill nia-docs -a claude-code
Open on GitHub

What nia-docs does

The skill runs semantic and pattern searches through scripts/mcp/nia_docs.py. It inspects indexed packages across npm, PyPI, Crates, and Go modules. Queries default to npm with a limit of 5 results, but the registry can be set to py_pi, crates, or go_modules.

Commands execute via Bash with uv run. The script accepts --query for semantic queries, --grep for regex matching, and --search for broad scans across all indexed sources.

Execution fails immediately if NIA_API_KEY is missing from the environment and no nia server is set in mcp_config.json.

What it helps with

  • locate exact function call patterns in a package with regex grep
  • fetch semantic code examples from npm, PyPI, Crates, or Go registries
  • search indexed sources for architectural patterns like middleware

Example prompts for the agent

  • Search fastapi documentation for dependency injection patterns with nia-docs
  • Find session.execute patterns in sqlalchemy using nia-docs grep
  • Run universal search for error handling middleware across indexed sources

How to install nia-docs

1Skills CLI (Vercel)

npx skills add parcadei/Continuous-Claude-v3 --skill nia-docs -a claude-code

2Manually: put the files in place

~/.claude/skills/nia-docs/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/nia-docs/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about nia-docs

How to install nia-docs in Claude Code?

Run npx skills add parcadei/Continuous-Claude-v3 --skill nia-docs -a claude-code.

What does nia-docs do?

It queries the Nia platform to retrieve documentation and code snippets across more than 3000 packages.

What credentials does nia-docs require?

You need an active NIA_API_KEY in your environment or a configured nia server entry in mcp_config.json.

Source text

SKILL.md · MIT
---
name: nia-docs
description: Search library documentation and code examples via Nia
allowed-tools: [Bash, Read]
---

# 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
```bash
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
  --package fastapi --query "dependency injection"
```

### Search with specific registry
```bash
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
  --package react --registry npm --query "hooks patterns"
```

### Grep search for specific patterns
```bash
uv run python -m runtime.harness scripts/mcp/nia_docs.py \
  --package sqlalchemy --grep "session.execute"
```

### Universal search across indexed sources
```bash
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

```bash
# 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.

© parcadei · MIT · parcadei/Continuous-Claude-v3

Similar skills

Everything for Writing and docs →

From the same set69

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor