agent-context

agent-context is a skill for Claude Code, Codex from Chemaclass/agnostic-ai. It costs 29 tokens per session (736 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 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 736 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.00029 $0.00736
Opus 5.5 $0.00012 $0.00294
Sonnet 5.5 $0.00006 $0.00147
Haiku 4.5 $0.00003 $0.00074

Measured 17d ago against content hash db27d11193c1, 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 17d 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 · 78 lines

How it starts

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

Agent Context

Use this skill when setting up a root agent file or reviewing the context that reaches coding agents. It works in any project, with or without the specialist agents below. Work from the project source of truth. Do not edit generated entry points directly.

Delegate deliberately

Read the shared context checklist for every task. If the specialist agents are available and delegation helps, use them:

Need Delegate to
Create or replace a root agent setup agent-config-bootstrapper
Review existing agent context without edits agent-context-reviewer
Review and edit existing agent context Reviewer, then bootstrapper with its findings

If either agent is unavailable, do its part yourself using the steps below. Global sync installs skills but not agents, so this fallback is required for global use. The reviewer reports evidence; the bootstrapper makes source changes and validates them when delegated. Do not duplicate the checklist in either agent.

Setup

  1. Inspect the repository before writing instructions. Read its existing agent files, contributor guidance, build commands, and source layout.
  2. Identify whether the project uses agnostic-ai. When it does, place shared instructions in .agnostic-ai/AGNOSTIC_AI.md, rules in .agnostic-ai/rules/, and reusable workflows in .agnostic-ai/skills/. Use the root entry point only when the project has no generated source.
  3. Write the smallest useful root context. State the project purpose, source of truth, required checks, code boundaries, and generated-file policy. Link to detailed documents instead of copying them.
  4. Add rules only for stable constraints that apply repeatedly. Put task procedures in skills, not in the root context.
  5. Run the project's validation and, for agnostic-ai projects, agnostic-ai validate followed by agnostic-ai sync.

Review

  1. Build the inventory in references/context-checklist.md. Record each file's owner, audience, scope, and whether it is generated.
  2. Flag duplication, contradictions, stale commands, broad permissions, and instructions that cannot be verified from the repository.
  3. Keep root context short. Move target-specific details into target fences, scoped rules, agents, or skills as appropriate.
  4. Preserve user-owned and security-sensitive configuration. Never copy credentials, tokens, private URLs, or machine-specific paths into shared instructions.
  5. For a review-only request, propose a focused edit. For a review-and-edit request, make focused source changes, regenerate outputs where applicable, and validate. Report which source files changed and which generated outputs followed.

Read the full file on GitHub · 78 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. 17d ago Changed · +10 tokens per session db27d11193c1
  2. 1mo 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 (25 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 736 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-15.

Related

Other skills, from other repositories

cancer-biologist

Think and work like an expert Cancer Biologist. Use when a task calls for Cancer Biologist judgment. Reasons from hallmark capabilities, clonal evolution, and TME context; separates driver from passenger, cell-autonomous from stromal mechanisms, and 2D artifacts from PDO/PDX-validated dependencies using TCGA, DepMap…

K-Dense-AI/scientific-agents · 85 tokens

accelerator-physicist

Think and work like an expert Accelerator Physicist. Use when a task calls for Accelerator Physicist judgment. Reasons from beam optics, RF cavities, emittance budgets, and loss maps while treating halo and impedance-driven instabilities as first-class failure modes.

K-Dense-AI/scientific-agents · 59 tokens

anatomist

Think and work like an expert Anatomist. Use when a task calls for Anatomist judgment. Reasons from homology, EPB, and von Baer principles through gross dissection, diceCT/μCT/MRI pipelines, UBERON–PATO EQ annotation, MorphoSource/oVert digitization, geometric morphometrics, and NAV/TA2 nomenclature while treating…

K-Dense-AI/scientific-agents · 102 tokens

atomic-molecular-optical-physicist

Think and work like an expert Atomic, Molecular & Optical Physicist. Use when a task calls for Atomic, Molecular & Optical Physicist judgment. Reasons from Rabi/OBE dynamics, laser-cooling hierarchy, optical lattices and Hubbard U/J, and magic-wavelength clock budgets through NIST ASD, ARC, QuTiP/PyLCP, and in-situ…

K-Dense-AI/scientific-agents · 117 tokens

bacteriologist

Think and work like an expert Bacteriologist. Use when a task calls for Bacteriologist judgment. Reasons from bacterial growth physiology, selective culture, Gram stain, MALDI-TOF and 16S/WGS identification, EUCAST/CLSI AST, BSL containment, contamination and VBNC, using BacDive and BV-BRC for strain metadata and…

K-Dense-AI/scientific-agents · 84 tokens

behavioral-ecologist

Think and work like an expert Behavioral Ecologist. Use when a task calls for Behavioral Ecologist judgment. Reasons from versioned ethograms, Altmann focal/scan sampling, and activity budgets; scores with BORIS (Cohen’s κ), analyzes sequences with Markov/HMM tools, runs sham-controlled playbacks under ARRIVE 2.0, and…

K-Dense-AI/scientific-agents · 109 tokens