nrxous/dsh-context7

Adds Context7 tools to DSH so the agent pulls current, version-pinned library documentation and code examples mid-task.

Context7 is a documentation service that serves library docs matched to a version, and this plugin wires it into DSH as two model tools rather than a chat window. context7_search finds a library by name, optionally with a natural-language question so results are LLM-ranked, and returns matches with their Context7 library IDs such as /vercel/next.js. context7_get_docs takes one of those IDs — or a bare name, which it auto-resolves — plus a question about what you are trying to do, and returns code snippets, doc snippets, library rules and source URLs. It supports pinning a version (the README's example is v15.1.8) so the answer matches the release you actually run instead of the newest one, and a fast low-latency mode. The README says the tools are called automatically when the model needs current library docs, and you can also trigger them by asking directly.

Learning & Research ★ 5
View on GitHub ↗

Install

dsh plugin --profile web add dsh-context7

The npm line from the README's Installing section. The README also documents a GitHub form (dsh plugin --profile web add github:Nrxous/dsh-context7), and says plainly: restart DSH after installing, because the plugin is a host-only composition that loads at process start.

Compatibility

A host-only plugin: it talks to the Context7 Public API v2 from the host process and registers model tools, with no browser-side surface. No API key is required — the README states Context7 allows keyless access with low rate limits. For higher limits you enter a ctx7sk-prefixed key from the Context7 dashboard; without one the tools still work, just throttled.

Details

Alternatives

Chaos-Hyper/dsh-econ-tools · TYEclipse/dsh-probstat · SihanLv/dsh-literature

More plugins in Learning & Research

Browse more in Learning & Research

Guides for Learning & Research plugins