Agent skill

Documentation Lookup

by affaan-m in affaan-m/ECC

訓練データの代わりにContext7 MCP経由で最新のライブラリとフレームワークドキュメント使用。セットアップの質問、APIリファレンス、コード例、またはユーザーがフレームワーク(例:React、Next.js、Prisma)に名前を付けるときにアクティベーション。

MITAuto-check passedDatabases

Install Documentation Lookup

skills CLI
$ npx skills add affaan-m/ECC --skill documentation-lookup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install affaan-m/ECC documentation-lookup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/ja-JP/skills/documentation-lookup .claude/skills/documentation-lookup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
documentation-lookup
GitHub stars
276k
Token cost
~640 tokens
SKILL.md length
71 words
Files
1
Skills in repo
683
Repo updated
First seen
Licence
MIT

At a glance

訓練データの代わりにContext7 MCP経由で最新のライブラリとフレームワークドキュメント使用。セットアップの質問、APIリファレンス、コード例、またはユーザーがフレームワーク(例:React、Next.js、Prisma)に名前を付けるときにアクティベーション。

  • Works in 4 steps: libraryName: "Next.js"、query:… → 結果から、名前とベンチマークスコアで最良のマッチ(例:/vercel/next.j… → libraryId: "/vercel/next.js"、query:… → …
  • Tasks that involve ORMs and data access
  • SKILL.md covers コア概念, 使用時期, 動作方法 and 例
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Documentation Lookup is an agent skill from affaan-m/ECC. 訓練データの代わりにContext7 MCP経由で最新のライブラリとフレームワークドキュメント使用。セットアップの質問、APIリファレンス、コード例、またはユーザーがフレームワーク(例:React、Next.js、Prisma)に名前を付けるときにアクティベーション。

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases, covering ORMs and data access. It works with Next.js, Prisma, Model Context Protocol and React. The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

When your agent uses it

  • Tasks that involve ORMs and data access

Example prompts

  • “/documentation-lookup”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. libraryName: "Next.js"、query: "Next.jsミドルウェアを設定する方法は?"でresolve-library-idを呼び出す。
  2. 結果から、名前とベンチマークスコアで最良のマッチ(例:/vercel/next.js)を選択。
  3. libraryId: "/vercel/next.js"、query: "Next.jsミドルウェアを設定する方法は?"でquery-docsを呼び出す。
  4. 返されたスニペットとテキストを使用して答え、関連する場合はドキュメントの最小middleware.ts例を含める。

What it can do on your machine

Read from SKILL.md and the folder at commit 4eb71d9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Documentation Lookup loads about 640 tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 71 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~640

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from affaan-m/ECC at commit 4eb71d9, republished under its MIT licence (© affaan-m). 71 words, ~640 tokens.

Download SKILL.mdSave it as .claude/skills/documentation-lookup/SKILL.md (or your agent's skills folder).
name
documentation-lookup
description
訓練データの代わりにContext7 MCP経由で最新のライブラリとフレームワークドキュメント使用。セットアップの質問、APIリファレンス、コード例、またはユーザーがフレームワーク(例:React、Next.js、Prisma)に名前を付けるときにアクティベーション。
origin
ECC

ドキュメント ルックアップ(Context7)

ユーザーがライブラリ、フレームワーク、またはAPIについて尋ねるときは、訓練データに依存する代わりにContext7 MCP(ツールresolve-library-idおよびquery-docs)を通じて現在のドキュメントをフェッチします。

コア概念

  • Context7:ライブドキュメントを公開するMCPサーバー;ライブラリとAPI用の訓練データの代わりに使用。
  • resolve-library-id:ライブラリ名とクエリからContext7互換のライブラリID(例:/vercel/next.js)を返す。
  • query-docs:指定されたライブラリIDと質問のドキュメントとコードスニペットをフェッチ。有効なライブラリIDを取得するため、最初にresolve-library-idを呼び出す必須。

使用時期

ユーザーが以下の場合にアクティベーション:

  • セットアップまたは構成の質問(例:「Next.jsミドルウェアを構成する方法は?」)
  • ライブラリに依存するコードをリクエスト(「Prismaクエリを書いて...」)
  • APIまたはリファレンス情報が必要(「Supabase認証方法は何ですか?」)
  • 特定のフレームワークまたはライブラリに言及(React、Vue、Svelte、Express、Tailwind、Prisma、Supabaseなど)

リクエストがライブラリ、フレームワーク、またはAPIの正確で最新の動作に依存するときはいつでもこのスキルを使用。Context7 MCPが構成されたハーネス全体に適用されます(例:Claude Code、Cursor、Codex)。

動作方法

ステップ1:ライブラリIDを解決

resolve-library-id MCPツールを以下で呼び出す:

  • libraryName:ユーザーの質問から取得したライブラリまたはプロダクト名(例:Next.js、Prisma、Supabase)。
  • query:ユーザーの完全な質問。これにより結果の関連性ランキングが改善。

クエリドキュメントを呼び出す前に、Context7互換のライブラリID(形式/org/projectまたは/org/project/version)を取得する必要があります。このステップから有効なライブラリIDなしでquery-docsを呼び出さないでください。

ステップ2:最適なマッチを選択

解決結果から、以下を使用して1つの結果を選択:

  • 名前マッチ:ユーザーが尋ねたものに対する正確なまたは最も近いマッチを好む。
  • ベンチマークスコア:より高いスコアはより良いドキュメント品質を示す(100は最高)。
  • ソース評判:利用可能な場合はHigh またはMedium評判を好む。
  • バージョン:ユーザーがバージョンを指定した場合(例:「React 19」、「Next.js 15」)、バージョン固有のライブラリIDを好む(例:/org/project/v1.2.0)。
ステップ3:ドキュメントをフェッチ

query-docs MCPツールを以下で呼び出す:

  • libraryId:ステップ2から選択したContext7ライブラリID(例:/vercel/next.js)。
  • query:ユーザーの特定の質問またはタスク。関連スニペットを取得するために具体的にする。

制限:質問ごとにquery-docs(またはresolve-library-id)を3回以上呼び出さない。3回の呼び出し後も答えが不明確の場合は、不確実性を述べ、推測するのではなく最良の情報を使用。

ステップ4:ドキュメントを使用
  • フェッチされた現在の情報を使用してユーザーの質問に答える。
  • 役立つ場合はドキュメントからの関連するコード例を含める。
  • 重要な場合はライブラリまたはバージョンを引用(例:「Next.js 15では...」)。

例

例:Next.jsミドルウェア
  1. libraryName: "Next.js"、query: "Next.jsミドルウェアを設定する方法は?"でresolve-library-idを呼び出す。
  2. 結果から、名前とベンチマークスコアで最良のマッチ(例:/vercel/next.js)を選択。
  3. libraryId: "/vercel/next.js"、query: "Next.jsミドルウェアを設定する方法は?"でquery-docsを呼び出す。
  4. 返されたスニペットとテキストを使用して答え、関連する場合はドキュメントの最小middleware.ts例を含める。
例:Prismaクエリ
  1. libraryName: "Prisma"、query: "関係を持つクエリ方法は?"でresolve-library-idを呼び出す。
  2. 公式Prismaライブラリ ID(例:/prisma/prisma)を選択。
  3. そのlibraryIdとクエリでquery-docsを呼び出す。
  4. Prisma Clientパターン(例:includeまたはselect)とドキュメントの短いコードスニペットを返す。

© affaan-m, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/ja-JP/skills/documentation-lookup of affaan-m/ECC.

Open the folder on GitHubat commit 4eb71d9

Compare with similar skills

Documentation Lookup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Documentation Lookup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Documentation Lookup this skillaffaan-m/ECC276k—~640Automated safety check: PassMIT
Context7 MCPrtadewald/skills185—~681Automated safety check: PassNone
Docs LookupProgrammerAnthony/Expert-Coding-Harness235—~640Automated safety check: PassMIT
Context7 MCPdanielvm-git/bigpowers260—~603Automated safety check: PassMIT
Fetching Library Docsaiskillstore/marketplace433—~1.6kAutomated safety check: PassNone
Context7 Efficientaiskillstore/marketplace433—~1.5kAutomated safety check: PassNone

Similar skills

  • Context7 MCP

    rtadewald/skills

    This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples.

    185 GitHub stars~681 tokensUpdated 12 days ago
    DatabasesAuto-check passed
  • Docs Lookup

    ProgrammerAnthony/Expert-Coding-Harness

    通过 Context7 MCP 获取库和框架的实时最新文档,而非依赖训练数据,防止 API 幻觉。适用于查询任何库或框架的用法、配置、示例代码。触发词:怎么用、怎么配置、API参考、文档、示例代码、用法、接口、库文档、框架文档、documentation、docs、how to use、API…

    235 GitHub stars~640 tokensUpdated 5 mo ago
    Frontend & DesignAuto-check passed
  • Context7 MCP

    danielvm-git/bigpowers

    Fetch current library docs via Context7 MCP instead of training data.

    260 GitHub stars~603 tokensUpdated 19 days ago
    DatabasesAuto-check passed
  • Fetching Library Docs

    aiskillstore/marketplace

    Token-efficient library API documentation fetcher using Context7 MCP with 77% token savings.

    433 GitHub stars~1.6k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Context7 Efficient

    aiskillstore/marketplace

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering.

    433 GitHub stars~1.5k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Documentation Lookup

    KaimingWan/oh-my-kiro

    Fetch current library/framework documentation via Context7. An agent skill from KaimingWan/oh-my-kiro.

    107 GitHub stars~616 tokensUpdated 6 mo ago
    Backend & APIsAuto-check passed

More from affaan-m/ECC

All 683 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    276k GitHub starsUsed in 5 repos~3.1k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    276k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Docs Governance

    affaan-m/ECC

    Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references.

    276k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    276k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    276k GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Measures whether agents actually follow a skill, rule or agent definition by generating scenarios at three strictness levels and scoring tool-call traces.

    276k GitHub starsUsed in 1 repo~623 tokens
    Auto-check passed

Categories

Questions about Documentation Lookup

What does Documentation Lookup do?

訓練データの代わりにContext7 MCP経由で最新のライブラリとフレームワークドキュメント使用。セットアップの質問、APIリファレンス、コード例、またはユーザーがフレームワーク(例:React、Next.js、Prisma)に名前を付けるときにアクティベーション。. Documentation Lookup is an agent skill from affaan-m/ECC.

When should I use Documentation Lookup?

Documentation Lookup fits situations like: tasks that involve ORMs and data access.

How do I install Documentation Lookup in Claude Code?

Run `npx skills add affaan-m/ECC --skill documentation-lookup -a claude-code`. Or copy the skill folder (docs/ja-JP/skills/documentation-lookup in affaan-m/ECC) into .claude/skills/documentation-lookup in your project. Claude Code loads it when a task matches its description.

How do I install Documentation Lookup in Codex?

Run `npx skills add affaan-m/ECC --skill documentation-lookup -a codex`. Or copy the skill folder (docs/ja-JP/skills/documentation-lookup in affaan-m/ECC) into .agents/skills/documentation-lookup in your project. Codex loads it when a task matches its description.

Can I use Documentation Lookup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add affaan-m/ECC --skill documentation-lookup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/documentation-lookup, .gemini/skills/documentation-lookup, .github/skills/documentation-lookup and .opencode/skills/documentation-lookup in your project.

What does Documentation Lookup need to run?

SKILL.md names no scripts, command-line tools or credentials: Documentation Lookup is instructions for the agent only.

Does Documentation Lookup access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Documentation Lookup safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Documentation Lookup use?

Documentation Lookup is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Documentation Lookup use?

About 640 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Documentation Lookup?

Skills that share tags, products or a category with Documentation Lookup: Context7 MCP (rtadewald/skills, 185 stars), Docs Lookup (ProgrammerAnthony/Expert-Coding-Harness, 235 stars), Context7 MCP (danielvm-git/bigpowers, 260 stars) and Fetching Library Docs (aiskillstore/marketplace, 433 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Documentation Lookup?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 276,111 GitHub stars. The repository holds 683 skills in this directory. The repository was last updated on October 10, 2026.

Source: affaan-m/ECC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.