project-context

project-context is a skill for Claude Code from asteasolutions/ai-toolkit. It costs 38 tokens per session (557 once invoked), scanned A, original, MIT.

A documentation search workflow for answering questions about a named project's context, issues, and domain.

In plain words
What is it for?
Use it to find project information by keyword, feature area, or issue number in a project's docs folder.
Why use it?
It checks whether the project's documentation is current and searches it for relevant details instead of relying on memory.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit Use it to find project information by keyword, feature area, or issue number in a project's docs folder.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asteasolutions/ai-toolkit/project-context
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 asteasolutions/ai-toolkit --skill project-context
Clone the repo
git clone --depth 1 https://github.com/asteasolutions/ai-toolkit

Made for: Claude Code.

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 project-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/asteasolutions/ai-toolkit/project-context/github.svg)](https://agentmods.dev/skills/asteasolutions/ai-toolkit/project-context)
Your own site
<a href="https://agentmods.dev/skills/asteasolutions/ai-toolkit/project-context"><img src="https://agentmods.dev/badge/skills/asteasolutions/ai-toolkit/project-context/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.

agentmods 80×15 button for project-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/asteasolutions/ai-toolkit/project-context"><img src="https://agentmods.dev/badge/skills/asteasolutions/ai-toolkit/project-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 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.
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.00038 $0.00557
Opus 5.5 $0.00015 $0.00223
Sonnet 5.5 $0.00008 $0.00111
Haiku 4.5 $0.00004 $0.00056

Measured 2mo ago against content hash 0ee13c388dba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-context 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 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check-freshness.js, scripts/search-project-docs.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.claude/skills/project-context/SKILL.md · 53 lines

How it starts

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

Project Context

Workflow

  1. Ask the user: "Which project?" If the project name is clear from context, skip the ask.
  2. Run the freshness check:
    node .claude/skills/project-context/scripts/check-freshness.js <project>
    
    If the output says docs are stale or missing, warn the user before continuing:
    • Stale (>24 h): "Docs for [project] were last synced [X hours/days] ago. They may be out of date — run /docs-generator to refresh."
    • Missing: "No docs found for [project]. Run /docs-generator to generate them first." Continue regardless — stale docs are better than no answer.
  3. Ask: "What are you looking for?" — a keyword, feature area, or issue number.
  4. Run:
    node .claude/skills/project-context/scripts/search-project-docs.js <project> "<keyword>"
    
    The script prints matching file paths and excerpts. If no keyword, it lists all files. If it returns no matches, retry once with --fuzzy (matches the keyword's characters in order, tolerating typos or partial recall) before concluding there's nothing relevant. One search is usually enough. Only run a second exact search with a related term if the first returns fewer than 5 results.
  5. Read the relevant files in full and answer the user's question.
    • When the answer concerns a specific task or issue, cite the issue tracker as the source of truth, not the synced doc.

Script reference

check-freshness.js <project>

  project   Folder name under docs/

Output: staleness status — "ok", "stale", or "missing" — with age in hours.
Exit 0 always (stale docs are still usable).
search-project-docs.js <project> [keyword] [--fuzzy] [--case-sensitive]

  project           Folder name under docs/
  keyword           Optional. Search term. Matches file name or content.
  --fuzzy           Subsequence match instead of substring — use as a fallback when an
                     exact search returns nothing, to tolerate typos or partial recall.
  --case-sensitive  Disable the default case-insensitive matching.

Output: matching file paths + first matching line with context.
Exit 1 if the project folder does not exist.

Read the full file on GitHub · 53 lines

Files

What ships with it

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

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. 2mo ago First seen · 53 lines · 38 tokens per session scan A 0ee13c388dba

Subscribe to this mod's changes

project-context is a skill published in the GitHub repository asteasolutions/ai-toolkit (5 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 557 once invoked, about $0.0002 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-31.

Related

project-context compared with skills from other repositories

project-context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
project-contextasteasolutions/ai-toolkitSkill51mo agoMITA38Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
chat-pet-sprite-creationmicrosoft/vscodeSkill195ktodayMITA53Claude Code, Codex