context7-auto-research

context7-auto-research is a skill for Claude Code, Codex from davila7/claude-code-templates. It costs 19 tokens per session (237 once invoked), scanned A, original, MIT.

A coding-agent skill that fetches current documentation for software libraries and frameworks through the Context7 service.

In plain words
What is it for?
Use it when working with libraries such as React, Next.js, or Prisma and you need their latest documentation.
Why use it?
It reduces the risk of relying on outdated or incorrectly remembered documentation when answering questions or writing code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it when working with libraries such as React, Next.js, or Prisma and you need their latest documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davila7/claude-code-templates/context7-auto-research
About the project

Claude Code Templates is a command-line tool and catalogue for configuring Anthropic’s Claude Code with agents, commands, settings, hooks, integrations, skills, and project templates. Developers use it to browse and install reusable components for their coding workflows. The catalogue includes many of these Claude Code components.

davila7/claude-code-templates · 30,546 stars · on GitHub · aitmpl.com

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.

Any agent
npx skills add davila7/claude-code-templates --skill context7-auto-research
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for context7-auto-research

README.md
[![agentmods](https://agentmods.dev/badge/skills/davila7/claude-code-templates/context7-auto-research.svg)](https://agentmods.dev/skills/davila7/claude-code-templates/context7-auto-research)
Your own site
<a href="https://agentmods.dev/skills/davila7/claude-code-templates/context7-auto-research"><img src="https://agentmods.dev/badge/skills/davila7/claude-code-templates/context7-auto-research.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 237 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk warn 15 Feb 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

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 →

  • medium MCP Rug Pull · line 17
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.1 $0.00019 $0.00237
Opus 5 $0.00010 $0.00118
Sonnet 5 $0.00004 $0.00047
Haiku 4.5 $0.00002 $0.00024

Measured 8d ago against content hash 5686421a71e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

context7-auto-research 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 8d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

cli-tool/components/skills/ai-research/context7-auto-research/SKILL.md · 37 lines

What it actually says

context7-auto-research

Overview

Automatically fetch latest library/framework documentation for Claude Code via Context7 API

When to Use

  • When you need up-to-date documentation for libraries and frameworks
  • When asking about React, Next.js, Prisma, or any other popular library

Installation

npx skills add -g BenedictKing/context7-auto-research

Step-by-Step Guide

  1. Install the skill using the command above
  2. Configure API key (optional, see GitHub repo for details)
  3. Use naturally in Claude Code conversations

Examples

See GitHub Repository for examples.

Best Practices

  • Configure API keys via environment variables for higher rate limits
  • Use the skill's auto-trigger feature for seamless integration

Troubleshooting

See the GitHub repository for troubleshooting guides.

  • tavily-web, exa-search, firecrawl-scraper, codex-review
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. 8d ago First seen · 37 lines · 19 tokens per session scan A 5686421a71e5

Subscribe to this mod's changes

context7-auto-research is a skill published in the GitHub repository davila7/claude-code-templates (30,546 stars, last pushed yesterday), licensed MIT. It adds 19 tokens to every session and 237 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories