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.
npx skills add mishahanin/heading-os --skill context7git clone --depth 1 https://github.com/mishahanin/heading-osWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mishahanin/heading-os/context7)<a href="https://agentmods.dev/skills/mishahanin/heading-os/context7"><img src="https://agentmods.dev/badge/skills/mishahanin/heading-os/context7/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mishahanin/heading-os/context7"><img src="https://agentmods.dev/badge/skills/mishahanin/heading-os/context7.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 47 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Excessive Agency · line 10 Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00102 | $0.00881 |
| Opus 5.5 | $0.00041 | $0.00352 |
| Sonnet 5.5 | $0.00020 | $0.00176 |
| Haiku 4.5 | $0.00010 | $0.00088 |
Grade A, and why
context7 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Context7 - Library Documentation
Fetch live, version-specific documentation for any library or framework via the Context7 REST API. Returns authoritative docs formatted for LLM consumption.
Naming note. A user-level Claude Code plugin also exposes a skill called
context7:context7(namespaced form). When the user types/context7without the namespace, the local skill in this file wins per Claude Code's bare-name lookup precedence (local > plugin). To force the plugin variant, type the namespaced form explicitly. Both skills do similar things; the local one uses the workspace's own CONTEXT7_API_KEY andscripts/context7.py, the plugin uses its own MCP-style backend.
Prerequisites
CONTEXT7_API_KEY should be set in the workspace .env file. The script auto-loads it via python-dotenv.
# In the workspace root .env file:
CONTEXT7_API_KEY=ctx7sk-your-key-here
Get a free key at: https://context7.com/dashboard
The API works without a key but with lower rate limits.
Workflow
-
Parse the user input: first word is the library name, remainder is the query. If only a library name is given, use "documentation" as the default query.
-
Run the script:
python scripts/context7.py "<library_name>" "<query>"
Examples:
/context7 react hooks->python scripts/context7.py "react" "hooks"/context7 nextjs app router middleware->python scripts/context7.py "nextjs" "app router middleware"/context7 python-pptx->python scripts/context7.py "python-pptx" "documentation"
-
Use the returned documentation as authoritative context. Prefer it over training data when writing or validating code.
-
If the library is not found, try alternative names (e.g., "next.js" instead of "nextjs", "react-dom" instead of "reactdom").
Script Flags
| Flag | Purpose |
|---|---|
--list |
List matching libraries without fetching docs |
--version v15 |
Pin to a specific library version |
--json |
Output structured JSON instead of text |
--limit 5000 |
Cap returned token count |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 1mo ago Changed · +1 lines d9f3d7305043
- 1mo ago First seen · 82 lines · 102 tokens per session scan A 6b6d28f2aa10
context7 is a skill published in the GitHub repository mishahanin/heading-os (11 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 102 tokens to every session and 881 once invoked, about $0.0004 per session on Opus 5.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-30.
Other skills, from other repositories
dcf-model
Build discounted cash flow valuation workbooks in Excel.
ascii-video
ASCII video: convert video/audio to colored ASCII MP4/GIF.
grounded-citations
Ground answers and documents in cited, verifiable sources.
hermes-agent-skill-authoring
Author in-repo SKILL.md files: frontmatter and structure.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
baoyu-article-illustrator
Article illustrations: type × style × palette consistency.