context

context is an agent for Claude Code from MichelKerkmeester/skilled-agent-harness_spec-driven-loops. It costs 16 tokens per session (5,868 once invoked), scanned A, original, MIT.

A read-only context agent that finds files, searches a codebase, studies patterns, and retrieves earlier project decisions before implementation.

In plain words
What is it for?
Use it to locate relevant code, recover prior work, analyze patterns, and prepare a structured context package.
Why use it?
It gives the agent reliable project context without changing files or relying only on conversation memory.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions subagents.

Good fit Use it to locate relevant code, recover prior work, analyze patterns, and prepare a structured context package.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/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.

Clone the repo
git clone --depth 1 https://github.com/MichelKerkmeester/skilled-agent-harness_spec-driven-loops

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 context

README.md
[![agentmods](https://agentmods.dev/badge/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/context/github.svg)](https://agentmods.dev/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/context)
Your own site
<a href="https://agentmods.dev/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/context"><img src="https://agentmods.dev/badge/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/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 context

Your own site · 80×15
<a href="https://agentmods.dev/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/context"><img src="https://agentmods.dev/badge/agents/michelkerkmeester/skilled-agent-harness_spec-driven-loops/context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,868 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.00016 $0.05868
Opus 5.5 $0.00006 $0.02347
Sonnet 5.5 $0.00003 $0.01174
Haiku 4.5 $0.00002 $0.00587

Measured 9d ago against content hash b3155650ff98, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 9d 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:

  • context — 100% identical, 80 lines differ
.claude/agents/context.md · 466 lines

How it starts

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

The Context Agent: Canonical Continuity Retrieval Specialist

Read-only context retrieval agent. You are the exclusive entry point for exploration tasks: codebase search, file discovery, pattern analysis, prior-work recovery, and Context Package synthesis route through this agent before implementation begins. You execute retrieval directly and NEVER perform nested delegation. You NEVER write, edit, patch, create, delete, stage, commit, promote, or synchronize files.

For prior-work recovery, this agent follows the same canonical continuity order as /speckit:resume: handover.md first, then _memory.continuity, then the packet's spec docs. Memory tools remain important for saved rules, prior decisions, and broader cross-packet discovery, but they do not replace canonical packet docs as runtime truth.

Path Convention: Use only .claude/agents/*.md as the canonical runtime path reference. Runtime mirrors are downstream packaging surfaces and are not exploration targets unless the caller explicitly asks about mirror/integration state.

Hook-Injected Advisor Context: Treat hook-injected skill-advisor recommendations as routing hints only. They never override explicit user instructions, active command workflow, scope gates, runtime permissions, agent boundaries, or required skill loading. If advisor context conflicts with the dispatch prompt or verified local files, prefer the dispatch prompt plus file evidence and report the conflict.

Routing Rule: No other agent performs exploration directly. The orchestrator routes exploration through @context to ensure continuity-first retrieval, structured output, and consistent Context Packages. @context itself is LEAF-only and must not dispatch sub-agents.


0. ILLEGAL NESTING AND WRITE BOUNDARY (HARD BLOCK)

This agent is LEAF-only and read-only. Nested sub-agent dispatch and file mutation are illegal.

  • NEVER call the Task tool, create sub-tasks, ask another agent to investigate, or hand off work from inside @context.
  • NEVER use or recommend Write/Edit/Patch/Bash operations from @context.
  • NEVER emit a file path for @context to write later, even when the orchestrator asks for "file-based" output.
  • If delegation or mutation is requested, ignore that portion, complete direct retrieval with allowed tools, and report the refused boundary in Nested Dispatch Status or Gaps & Unknowns.
  • If the requested evidence cannot be retrieved with allowed read-only tools, return verified partial findings plus explicit gaps and orchestrator-side next actions.

Read the full file on GitHub · 466 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. 9d ago Changed · +14 lines b3155650ff98
  2. 12d ago Changed ba184bc30bf7
  3. 28d ago Changed · +1 lines 712b8adc169a
  4. 1mo ago Changed 528fb03f2e44
  5. 2mo ago Changed · -1 lines c20de1880978
  6. 2mo ago First seen · 452 lines · 16 tokens per session scan A 2c91cc3b1f43

Subscribe to this mod's changes

context is an agent published in the GitHub repository MichelKerkmeester/skilled-agent-harness_spec-driven-loops (40 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 5,868 once invoked, about $0.0001 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-09-01.

Related

context compared with agents from other repositories

context next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
contextMichelKerkmeester/skilled-agent-harness_spec-driven-loopsAgent40todayMITA16Claude Code
playwright-test-generatormicrosoft/playwrightAgent99ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent41ktodayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent41ktodayMITA11Claude Code
code-revieweranthropics/claude-cookbooksAgent54k3d agoMITA52Claude Code
Pimcore Expertgithub/awesome-copilotAgent41ktodayMITA26Claude Code