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.
npx agentmods add instructions/kayba-ai/agentic-context-engine/agents-mdgit clone --depth 1 https://github.com/kayba-ai/agentic-context-engineWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01359 | $0.01359 |
| Opus 5 | $0.00679 | $0.00679 |
| Sonnet 5 | $0.00272 | $0.00272 |
| Haiku 4.5 | $0.00136 | $0.00136 |
Grade A, and why
agentic-context-engine AGENTS.md 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 3d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- agentic-context-engine CLAUDE.md — 91% identical, 10 lines differ
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
This file provides guidance to coding agents working in this repository.
Repository Guidelines
Pipeline-First Development (MANDATORY)
All new functionality MUST be implemented as pipeline Steps composed via the Pipeline engine. Do NOT write standalone scripts, ad-hoc loops, or inline logic that bypasses the pipeline. Before writing any code:
- Read
docs/design/PIPELINE_DESIGN.mdto understand the Step → Pipeline → Branch model. - Implement logic as a
Stepclass withrequires/providesdeclarations and a__call__(self, ctx) -> ctxmethod. - Compose steps using
Pipeline().then(...)and.branch(...)— never manual for-loops or direct function chaining. - Use
StepContext.replace()for immutable context updates — never mutate context directly. - Put integration-specific data in
metadata, not new context fields, unless the field is shared across multiple pipelines.
Anti-patterns to reject:
- Writing a function that calls multiple steps manually instead of composing them in a Pipeline
- Inline reflection/evaluation logic instead of creating a ReflectStep or EvaluateStep
- Ad-hoc
ThreadPoolExecutorusage instead ofasync_boundaryandmax_workerson steps - Standalone scripts that duplicate pipeline functionality without using the pipeline engine
- Bypassing
requires/providescontracts by accessing context fields not declared inrequires
If a task seems like it cannot fit the pipeline model, explain why to the user before proceeding — do not silently circumvent it.
Core Code Protection
Do NOT modify core modules (ace/core/, pipeline/) without explicit user approval. Before proposing any change to these directories:
- Read the relevant design docs (
docs/design/ACE_ARCHITECTURE.md,docs/design/PIPELINE_DESIGN.md) thoroughly. - Evaluate whether the change is truly required or if it can be achieved outside the core (e.g., in an integration, step, or example).
- Clearly explain the proposed change and its justification to the user before making any edits.
- Wait for the user to explicitly accept before proceeding.
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.
- 3d ago First seen · 99 lines · 1,359 tokens per session scan A cfbb4d5cd26b
agentic-context-engine AGENTS.md is an instructions file published in the GitHub repository kayba-ai/agentic-context-engine (2,561 stars, last pushed 4d ago), licensed Apache-2.0. It adds 1,359 tokens to every session, about $0.0068 per session on Opus 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-30.
Other instructions, from other repositories
neo AGENTS.md
AGENTS.md instructions for neomjs/neo, covering ai agent per-turn operational mandates, §corevalues, §identitypromptfirewall, §criticalgates and §precommitgates.
activity-frames AGENTS.md
Instructions for nossa-y/activity-frames, covering can i install it without asking?, the mental model (10 seconds), fastest integration: mcp, from python and things you should not do.
mnemon AGENTS.md
Instructions for mnemon-dev/mnemon, covering mnemon agent guidelines, development, go engineering and commit discipline.
githits-cli AGENTS.md
Instructions for githits-com/githits-cli, covering githits agent instructions, general, architecture, testing and development workflow (docs-driven).
amfs CLAUDE.md
Instructions for raia-live/amfs, covering amfs memory — agent instructions, available mcp tools, identity, brain tools (agent-scoped) and shared knowledge tools.
Meterless AGENTS.md
Instructions for Meterless/Meterless, covering agent instructions for meterless, routing table, isolation rule, repo-wide rules and non-coding agents.