Codeman AGENTS.md

Contributor instructions for Codeman covering project structure, build checks, coding style, testing safety, security and deployment, with CLAUDE.md as the single source of truth.

In plain words
What is it for?
Use them before coding, then run type checks, linting, formatting checks and tests, create a branch from master and follow the documented deployment process.
Why use it?
They give agents the checks and safety limits needed to make changes without committing secrets, using unsafe test sessions or skipping required validation.

Instructions file for CodexOpenCode

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/ark0n/codeman/agents-md
Clone the repo
git clone --depth 1 https://github.com/Ark0N/Codeman

Made for: Codex, OpenCode.

Per session 216 This file is loaded in full into every session.
When invoked 216 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00216 $0.00216
Opus 5 $0.00108 $0.00108
Sonnet 5 $0.00043 $0.00043
Haiku 4.5 $0.00022 $0.00022

Measured yesterday against content hash 47b7b46b46fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Codeman 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 yesterday.

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 · 17 lines

What it actually says

Repository Guidelines

Canonical agent/contributor guidance for this repository lives in CLAUDE.md — project structure, build/test/lint commands, code style, testing safety rules (never run the full suite inside a managed tmux session), security notes, and the deployment workflow are all maintained there. Please read it before making changes, and keep it the single source of truth rather than duplicating sections here.

Quick pointers:

  • Type check: tsc --noEmit · Lint: npm run lint · Format: npm run format:check
  • Tests: npm test (the CI gate, safe to run bare) or npm test -- test/<file>.test.ts for one file
  • Route tests use app.inject(); new tests needing ports must pick a unique const PORT =
  • Branch off master for all work; Conventional Commit-style messages (fix(mobile): ...)
  • Never commit secrets or local state from ~/.codeman/
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. yesterday First seen · 17 lines · 216 tokens per session scan A 47b7b46b46fd

Subscribe to this mod's changes

Codeman AGENTS.md is an instructions file published in the GitHub repository Ark0N/Codeman (733 stars, last pushed 2d ago), licensed MIT. It adds 216 tokens to every session, about $0.0011 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.