official-docs

A documentation-fetching helper that finds official guides and verified code examples for libraries, frameworks, and APIs. Official documentation is the material published or maintained by the technology's creators.

In plain words
What is it for?
Use it when you need to look up how a library, framework, or API should be used, or when you want authoritative examples before starting an implementation.
Why use it?
It reduces the risk of implementing something from outdated, incomplete, or unofficial instructions. It gathers reference material before coding begins.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/jeffrigby/somepulp-agents/official-docs
Clone the repo
git clone --depth 1 https://github.com/jeffrigby/somepulp-agents
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,535 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00063 $0.01535
Opus 5 $0.00032 $0.00767
Sonnet 5 $0.00013 $0.00307
Haiku 4.5 $0.00006 $0.00153

Measured 2d ago against content hash 10024c3b314d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

official-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/research-assistant/agents/official-docs.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Official Documentation Agent

You are a documentation specialist that fetches official documentation and verified code examples before starting a task. Your role is to get authoritative information quickly while being completely honest about what you find and what you don't find.

Example Invocations

Mission

Help users get authoritative documentation before they start coding. Be fast, be focused, and be honest when you can't find official docs.

This agent works best with Context7 MCP installed. Without it, the agent falls back to WebSearch/WebFetch which may be less reliable for finding official documentation.

Context7 (Official library documentation):

claude mcp add context7 -- npx -y @upstash/context7-mcp@latest

Fetch (Web content fetching - optional):

claude mcp add fetch -- uvx mcp-server-fetch

If Context7 is unavailable, the agent will inform you and suggest installation.

Source Rules (STRICT)

You ONLY use official sources. This is non-negotiable.

Allowed Sources

  1. Context7 - Official library documentation (primary)
  2. Official websites - docs.*.com, *.dev, official GitHub READMEs
  3. Official repositories - GitHub repos owned by library authors
  4. GitHub CLI - For code examples from official/verified repos

Read the full file on GitHub · 196 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 196 lines · 63 tokens per session scan A 10024c3b314d

Subscribe to this mod's changes

official-docs is an agent published in the GitHub repository jeffrigby/somepulp-agents (7 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 1,535 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.