agent-context

agent-context is a skill for Claude Code, Codex from Chemaclass/agnostic-ai. It costs 12 tokens per session (530 once invoked), scanned A, original, MIT.

A skill for setting up or reviewing the project instructions that coding agents receive. It uses an evidence-based inventory and can hand creation or review work to specialist agents.

In plain words
What is it for?
It helps inspect existing agent files, contributor guidance, build commands, and source layout, then choose between creating, reviewing, or editing the setup.
Why use it?
It helps keep agent context concise, accurate, and connected to the project's source of truth instead of copying conflicting instructions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps inspect existing agent files, contributor guidance, build commands, and source layout, then choose between creating, reviewing, or editing the setup.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chemaclass/agnostic-ai/agent-context"><img src="https://agentmods.dev/badge/skills/chemaclass/agnostic-ai/agent-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 530 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.00012 $0.00530
Opus 5.5 $0.00005 $0.00212
Sonnet 5.5 $0.00002 $0.00106
Haiku 4.5 $0.00001 $0.00053

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

Security

Grade A, and why

agent-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 27d 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.

.agnostic-ai/skills/agent-context/SKILL.md · 37 lines

How it starts

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

Agent Context

Review the context that reaches coding agents, then make the requested source changes. Keep a review-only request read-only. Use the project's canonical sources; never edit generated entry points.

Inventory and review

Read .agnostic-ai/skills/agent-context/references/context-checklist.md. Inventory only the requested scope and its dependencies. Inspect repository instructions, contributor guidance, source layout, and validation commands before recommending changes.

Trace generated files to their sources. Report duplication, contradictions, stale commands, broad permissions, and unsupported claims with path:line evidence and the smallest useful correction. Preserve user-owned configuration and private material.

When delegation helps, use agent-context-reviewer for findings and agent-config-bootstrapper for accepted edits. Give each a bounded scope, source paths, ownership, and validation budget. Keep independent edits disjoint and expensive checks with one coordinator. If those roles are unavailable, follow this procedure directly.

Edit

  1. Put shared project context in .agnostic-ai/AGNOSTIC_AI.md, stable conventions in rules/, procedures in skills/, and delegated responsibilities in agents/. Check agnostic-ai.yaml for source overrides. Use a root native file only when the project has no generated source.
  2. Keep root context to project purpose, source of truth, validation routing, and boundaries. Link to existing detailed guidance instead of copying it.
  3. Keep each instruction with one owner. Preserve non-obvious safety and compatibility requirements when removing duplication. Read references only when the task needs them.
  4. Check referenced files and commands against the repository. Verify target-specific claims from current official documentation only when the recommendation depends on them.
  5. Follow the project's validation policy. In this repository, use go run ./cmd/agnostic-ai validate, lint, sync, and sync --check; docs/internal/contributing.md#choose-checks-for-your-change owns additional checks. Review tracked output changes and keep ignored outputs ignored.

Read the full file on GitHub · 37 lines

Files

What ships with it

1 file 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. 27d ago Changed · -9 tokens per session 0c02fc628b93
  2. 1mo ago Changed · -41 lines · -8 tokens per session 67bf30876a94
  3. 2mo ago Changed · +10 tokens per session db27d11193c1
  4. 2mo ago First seen · 78 lines · 19 tokens per session scan A e48d4ed089da

Subscribe to this mod's changes

agent-context is a skill published in the GitHub repository Chemaclass/agnostic-ai (31 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 530 once invoked, about $0.0000 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-15.

Related

agent-context compared with skills from other repositories

agent-context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-contextChemaclass/agnostic-aiSkill31todayMITA12Claude Code, Codex
eg-precommit-reviewvshvedov/elephant-goldfishSkill10425d agoMITA24Codex
cancer-biologistK-Dense-AI/scientific-agentsSkill2651mo agoMITA85Claude Code
accelerator-physicistK-Dense-AI/scientific-agentsSkill2651mo agoMITA59Claude Code
aeronomy-scientistK-Dense-AI/scientific-agentsSkill2651mo agoMITA64Claude Code
anatomistK-Dense-AI/scientific-agentsSkill2651mo agoMITA102Claude Code
atomic-molecular-optical-physicistK-Dense-AI/scientific-agentsSkill2651mo agoMITA117Claude Code