agentic-context-engine CLAUDE.md

agentic-context-engine CLAUDE.md is an instructions file for coding agents from kayba-ai/agentic-context-engine. It costs 1,400 tokens per session, scanned A, a copy of agentic-context-engine AGENTS.md, Apache-2.0.

A repository rulebook for an AI coding assistant working on the agentic-context-engine project.

In plain words
What is it for?
Use it when adding features, designing pipeline steps, updating context safely, and maintaining repository guidance.
Why use it?
It prevents changes from bypassing the project’s required pipeline structure and protects shared code and documentation practices.

Instructions file

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.

agentmods
npx agentmods add instructions/kayba-ai/agentic-context-engine/claude-md
Clone the repo
git clone --depth 1 https://github.com/kayba-ai/agentic-context-engine

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 agentic-context-engine CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kayba-ai/agentic-context-engine/claude-md.svg)](https://agentmods.dev/instructions/kayba-ai/agentic-context-engine/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/kayba-ai/agentic-context-engine/claude-md"><img src="https://agentmods.dev/badge/instructions/kayba-ai/agentic-context-engine/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,400 This file is loaded in full into every session.
When invoked 1,400 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod 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 $0.01400 $0.01400
Opus 5 $0.00700 $0.00700
Sonnet 5 $0.00280 $0.00280
Haiku 4.5 $0.00140 $0.00140

Measured 4d ago against content hash 84bf347e54c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agentic-context-engine CLAUDE.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 4d 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

This is a copy

91% identical to agentic-context-engine AGENTS.md — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 99 lines

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.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code 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:

  1. Read docs/design/PIPELINE_DESIGN.md to understand the Step → Pipeline → Branch model.
  2. Implement logic as a Step class with requires/provides declarations and a __call__(self, ctx) -> ctx method.
  3. Compose steps using Pipeline().then(...) and .branch(...) — never manual for-loops or direct function chaining.
  4. Use StepContext.replace() for immutable context updates — never mutate context directly.
  5. 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 ThreadPoolExecutor usage instead of async_boundary and max_workers on steps
  • Standalone scripts that duplicate pipeline functionality without using the pipeline engine
  • Bypassing requires/provides contracts by accessing context fields not declared in requires

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:

  1. Read the relevant design docs (docs/design/ACE_ARCHITECTURE.md, docs/design/PIPELINE_DESIGN.md) thoroughly.
  2. Evaluate whether the change is truly required or if it can be achieved outside the core (e.g., in an integration, step, or example).
  3. Clearly explain the proposed change and its justification to the user before making any edits.
  4. Wait for the user to explicitly accept before proceeding.

Read the full file on GitHub · 99 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. 4d ago First seen · 99 lines · 1,400 tokens per session scan A 84bf347e54c7

Subscribe to this mod's changes

agentic-context-engine CLAUDE.md is an instructions file published in the GitHub repository kayba-ai/agentic-context-engine (2,564 stars, last pushed 6d ago), licensed Apache-2.0. It adds 1,400 tokens to every session, about $0.0070 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to agentic-context-engine AGENTS.md, differing in 10 lines, and is treated as a copy.