cicero: Instructions file for Codex

AGENTS.md

cicero AGENTS.md is an instructions file for Codex, OpenCode from 5uck1ess/cicero. It costs 913 tokens per session, scanned A, original, MIT.

Repository instructions for Cicero, a self-hosted voice layer for coding agents. It covers the product boundary, supported connection patterns, tools, verification, reliability, and security rules.

In plain words
What is it for?
Understanding the codebase, using its Bun toolchain, adding focused tests, and preserving the separation between voice, transport, lifecycle, and the agent’s underlying system.
Why use it?
It gives coding agents clear limits and checks so changes do not accidentally create unsupported integrations or shared multi-user behavior.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is 5uck1ess/cicero's own configuration. It tells Codex and OpenCode how to work on cicero itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cicero configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 5uck1ess/cicero. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/5uck1ess/cicero/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/5uck1ess/cicero

Made for: Codex, OpenCode.

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 cicero AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/5uck1ess/cicero/agents-md/github.svg)](https://agentmods.dev/instructions/5uck1ess/cicero/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/5uck1ess/cicero/agents-md"><img src="https://agentmods.dev/badge/instructions/5uck1ess/cicero/agents-md/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 cicero AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/5uck1ess/cicero/agents-md"><img src="https://agentmods.dev/badge/instructions/5uck1ess/cicero/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 913 This file is loaded in full into every session.
When invoked 913 The same file — it is already loaded in full.
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.00913 $0.00913
Opus 5.5 $0.00365 $0.00365
Sonnet 5.5 $0.00183 $0.00183
Haiku 4.5 $0.00091 $0.00091

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

Security

Grade A, and why

cicero 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 28d 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.

AGENTS.md · 83 lines

How it starts

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

Agent guidance

This is the canonical project guidance for every coding agent. Provider-specific instruction files should import this file instead of copying it.

Product boundary

Cicero is a self-hosted voice layer for coding agents. Keep the voice, transport, and lifecycle code independent of a specific brain. A brain is currently pluggable through the internal TypeScript Brain contract, ACP, an OpenAI-compatible endpoint, or a supported CLI adapter; do not describe the private package as a stable third-party plugin SDK.

The default deployment is single-operator. Do not accidentally turn shared brain state, lanes, or transports into a multi-tenant contract.

Toolchain

  • Use the Bun version pinned by packageManager in package.json and CI.
  • Use bun install, bun run <script>, bun test, and bun x; do not add a second JavaScript package manager or lockfile.
  • Bun is the runtime, but existing node:* standard-library imports are valid.
  • Keep dependencies pinned or bounded consistently with the existing lockfile.
  • Do not add dotenv; Bun loads environment files itself.

Verification

  • Add focused bun:test regressions for behavior changes and run them first.
  • Before a PR is ready, run bun run typecheck, the full bun test, and git diff --check.
  • tests/brain-claude-code-stream.test.ts is a live smoke test. It runs only with CICERO_LIVE_TESTS=1; never make normal CI depend on installed or authenticated agent CLIs.
  • If Python sidecars change, run their matching unittest/native-contract checks with the Python and requirements files used by CI.
  • Hardware, credentials, acoustic behavior, and real remote providers need a labeled smoke test; do not present mocked CI as proof of those conditions.

Reliability and security invariants

  • Every spawned process, timer, stream, socket, and signal handler needs one owner and a bounded cleanup path. Do not use process-wide kill patterns.
  • Put absolute deadlines and size limits around subprocess, HTTP, and streaming work. A timeout must release or quarantine the owned resource before reuse.
  • Fail closed when release is unconfirmed, but make stored failure latches retryable so recovery does not require a daemon restart.
  • Preserve cancellation, one-shot context, and optional capabilities through every brain wrapper. Late work from an aborted or superseded turn must not publish output into a newer turn.
  • Treat config, terminal output, provider bodies, model audio, and transport frames as untrusted input. Bound before retaining, parsing, or logging them.
  • Never expose API keys, authorization headers, URL credentials, or query tokens in runtime errors, the application logger, or dashboard events. The ephemeral web credential is intentionally written to startup stdout; remember that a supervisor may retain it, and require a stable token for service deployments. Never commit real credentials, real voice-reference audio, or real user transcripts. Clearly synthetic secret markers are expected in redaction regressions.
  • Keep local control surfaces authenticated and private storage symlink-safe.

Read the full file on GitHub · 83 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. 28d ago Changed · +5 lines · +42 tokens per session 8862e8f89b37
  2. 1mo ago First seen · 78 lines · 871 tokens per session scan A 5b3f14fb936d

Subscribe to this mod's changes

cicero AGENTS.md is an instructions file published in the GitHub repository 5uck1ess/cicero (65 stars, last pushed 2d ago), licensed MIT. It adds 913 tokens to every session, about $0.0037 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-08-30.

Related

Other instructions, from other repositories