Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Magic-Man-usv0.1.0MITIn 1 marketplace
Local code + documentation search — one SQLite store (code.db) over your repos and library docs, queried by Claude through the dq-sql CLI (SQLite FTS5 with porter stemming)
Claude hands work to one, or you mention it with @.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Local-first documentation and code search for Claude Code. Ask "signature of model_validate in pydantic" or "where is index_repo defined" and the agent answers from a local SQLite index of curated library docs and your own repos — offline, cited, in milliseconds.
One line (macOS/Linux; needs claude, cargo, git):
curl -fsSL https://raw.githubusercontent.com/Magic-Man-us/dq-toolkit/main/install.sh | bash
Or run the two steps install.sh wraps:
claude plugin marketplace add Magic-Man-us/dq-toolkit
claude plugin install dq-toolkit@dq-toolkit
Then:
~/.cache/dq/build.log)./reload-plugins when the build finishes.Update with claude plugin update dq-toolkit@dq-toolkit; the next session rebuilds if the source changed.
The plugin adds three skills that route your question to the index:
| Skill | Ask it things like |
|---|---|
doc-search | "signature of field_validator in pydantic", "what options does reqwest::ClientBuilder take" |
code-search | "where is open defined", "who calls fetch_url", "what changed in this repo last week" |
resolve-doc-source | /resolve-doc-source <library-or-url> — add a new doc set to the index |
Quick lookups run inline (~6 ms); heavy multi-step research forks a research/code-research subagent that returns a tight cited answer. A SessionStart hook keeps the active repo's working tree indexed and injects the code/doc catalog into context.
Refresh the code index any time with dq-scan refresh && dq-sql index.
Two write paths fill one store; one read path serves the agent.
flowchart LR
subgraph Code["Code feed"]
GH["GitHub repos"]
SCAN["dq-scan refresh"]
CACHE["~/.cache/dq/repos"]
IDX["dq-sql index"]
end
subgraph Docs["Doc feed"]
ING["dq-ingest"]
JSONL[("data/*.jsonl")]
CFG[("config/doc_sets.toml")]
RB["dq-sql rebuild"]
end
DB[("~/.local/share/dq/code.db")]
ENGINE["dq-sql<br/>(engine)"]
MCP["dq MCP<br/>(agent surface)"]
AGENT["Claude Code agent"]
GH --> SCAN --> CACHE --> IDX --> DB
ING --> JSONL
JSONL --> RB
CFG --> RB
RB --> DB
AGENT -->|"tool call"| MCP
MCP -->|"dq-sql … --json"| ENGINE
ENGINE -->|"SQL + FTS5"| DB
style Code fill:#4a90d9,color:#fff
style Docs fill:#e67e22,color:#fff
style DB fill:#e74c3c,color:#fff,stroke:#e74c3c
style MCP fill:#2ecc71,color:#fff
Code: dq-scan refresh clones/pulls your GitHub repos into ~/.cache/dq/repos. dq-sql index walks that cache with tree-sitter, extracts symbols, and writes them into code.db as kind='code' rows. The SessionStart hook also indexes the active repo's working tree at its live state.
Docs: dq-ingest fetches and normalizes documentation into data/*.jsonl. config/doc_sets.toml groups those files into named sets. dq-sql rebuild loads them into code.db as kind='doc' rows.
Query: the agent calls the dq MCP tools (search_index, get_record, goto_definition, find_references, explore_symbol, grep_source, ast_query, …); each maps to a dq-sql subcommand and returns its JSON. Everything is read-only except fetch_doc_page, which live-fetches a doc page — but only a url already present in the index. Search is offline; only ingest/refresh and fetch_doc_page touch the network.
| Binary | Role |
|---|---|
dq-mcp | The dq MCP server (stdio JSON-RPC) — the agent's query surface; shells to dq-sql |
dq-sql | Engine + indexer for the SQLite store: index, rebuild, search, get, def, refs, grep, ast, sources, schema, export/import |
dq-scan | Syncs the GitHub clone cache: dq-scan refresh [--full] |
dq-ingest | Ingests docs (url / git / local / pkg) → JSONL, then normalize / validate / quality |
Build from source (needs a recent stable Rust toolchain):
git clone https://github.com/Magic-Man-us/dq-toolkit.git && cd dq-toolkit
make plugin # build dq-scan, dq-sql, dq-mcp, dq-ingest into bin/
export PATH="$PWD/bin:$PATH"
dq-sql rebuild # populate the index from config/doc_sets.toml + data/
Then query directly:
dq-sql search "BaseModel validation" --kind doc --json -k 5
dq-sql search "field_validator mode before" --site pydantic --json -k 5
dq-sql def index_repo --json
dq-sql refs DocRecord --site dq-toolkit --json
dq-sql grep "struct .*Config" --lang rust --site dq-toolkit --json
dq-sql sources --kind doc # list installed doc sets
npx claudepluginhub magic-man-us/dq-toolkit --plugin dq-toolkitBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground