agent-company AGENTS.md

agent-company AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from TOKTOKHAN-DEV/agent-company. It costs 2,137 tokens per session, scanned A, original, MIT.

Repository instructions for AI coding agents working in the Agent Company monorepo, a single repository containing multiple related projects and shared tools. They explain which context and project rules agents must read first.

In plain words
What is it for?
Use them when an AI agent starts work in this repository and needs to load context, identify the active template, check the project structure, and follow its hard rules.
Why use it?
They reduce mistakes caused by an agent missing project-specific rules, templates, or stored context before changing code.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: SessionStart hook event, but also the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

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/toktokhan-dev/agent-company/agents-md
Clone the repo
git clone --depth 1 https://github.com/TOKTOKHAN-DEV/agent-company

Made for: Claude Code, 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 agent-company AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/toktokhan-dev/agent-company/agents-md.svg)](https://agentmods.dev/instructions/toktokhan-dev/agent-company/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/toktokhan-dev/agent-company/agents-md"><img src="https://agentmods.dev/badge/instructions/toktokhan-dev/agent-company/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,137 This file is loaded in full into every session.
When invoked 2,137 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.1 $0.02137 $0.02137
Opus 5 $0.01069 $0.01069
Sonnet 5 $0.00427 $0.00427
Haiku 4.5 $0.00214 $0.00214

Measured 6d ago against content hash 9a9bd305994f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

agent-company 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 6d 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 · 188 lines

How it starts

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

AGENTS.md

이 저장소에서 작업하는 모든 AI 코딩 에이전트를 위한 지침입니다. Claude Code, Codex, Cursor, Gemini CLI 등 어떤 도구로 들어오든 여기서 시작하세요.

Claude Code 전용 지침은 CLAUDE.md 에 있습니다 (내용은 대부분 동일합니다).


먼저 읽을 것

세션 시작 시 자동 로드가 없는 도구를 쓰고 있다면 직접 실행하세요:

bash scripts/load-context.sh      # 또는: pnpm context

코어 하드 룰, 현재 적용된 템플릿과 그 템플릿의 하드 룰, wiki 인덱스, 장기 메모리, 최근 단기 메모리, 로스터, git 상태를 한 번에 출력합니다.

현재 회사가 무엇인지 먼저 확인하세요. 이 저장소는 템플릿을 갈아끼울 수 있고, 무엇을 만드는 프로젝트인지에 따라 규칙과 검사 항목이 달라집니다.

pnpm template current

프로젝트

Agent Company — AI 팀이 굴리는 모노레포 템플릿. 두 층입니다.

── 코어 (항상 있음) ──────────────────────────────
.claude/          훅(SessionStart · PreToolUse) · 슬래시 커맨드
wiki/             프로젝트 지식 + 장/단기 메모리 + ADR
agents/           로스터 (registry.yaml + <id>/AGENT.md + skills/)
scripts/          결정적 셸 스크립트
CLAUDE.md         Claude Code 지침
AGENTS.md         모든 AI 코딩 에이전트 공통 지침

── 템플릿 (골라서 펼침) ──────────────────────────
templates/<id>/template.yaml   매니페스트 (스크립트 · 검사 · 하드 룰 · 다음 단계)
templates/<id>/files/          레포 루트 기준 경로 그대로

코어는 어느 회사에서나 같습니다. 무엇을 만들고 누구를 뽑는지는 템플릿이 정합니다. 전체 구조는 wiki/01-architecture.md.


코어 하드 룰

위반하면 작업을 중단하고 사람에게 보고합니다. 우회로를 찾지 마세요. 템플릿과 무관하게 항상 참이고, 바꾸려면 wiki/decisions/ 에 ADR 을 먼저 써야 합니다.

  1. 이미지 생성 경로는 하나다. 정책은 코어, 명령은 템플릿이 줍니다 (blogpnpm imagegen --slug <slug> --prompt "<설명>"). 템플릿에 이미지 명령이 없으면 이미지 없이 진행하는 것이 정답입니다. 다른 이미지 모델이나 API 를 호출하지 않습니다. SVG 로 대체하지 않습니다. Codex 부재 시 폴백: ① 이미지 없이 진행 ② 사용자에게 첨부 요청 ③ 웹 검색(라이선스 기록). → ADR-0002

  2. 출고 버튼은 사람이 누른다. 에이전트는 검수 대기(in_review)까지만 올립니다. status: published 로 쓰지 않습니다.

  3. 진실은 저장소 파일이다. 결과물도 결정도 코드와 같은 저장소에서 버전 관리합니다. DB 를 붙여도 원본은 파일 쪽입니다 → ADR-0001

  4. 게이트는 결정적이다. 검수 함수에 LLM 호출을 넣지 않습니다. 사람과 에이전트가 같은 판정을 봐야 합니다.

  5. 컨텍스트는 스스로 올라온다. 훅이 하는 일을 손으로 다시 하지 마세요.

이 회사의 하드 룰

도메인 규칙은 templates/<id>/template.yamlrule: 에 있고, 세션 시작 시 위 다섯 개 위에 얹혀서 주입됩니다. 없다고 느껴지면 pnpm context 로 확인하세요.

Read the full file on GitHub · 188 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. 6d ago First seen · 188 lines · 2,137 tokens per session scan A 9a9bd305994f

Subscribe to this mod's changes

agent-company AGENTS.md is an instructions file published in the GitHub repository TOKTOKHAN-DEV/agent-company (75 stars, last pushed 10d ago), licensed MIT. It adds 2,137 tokens to every session, about $0.0107 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.

Related

Other instructions, from other repositories

cctop AGENTS.md

AGENTS.md instructions for st0012/cctop, covering agents.md - development guide for cctop, scope and sources, required development rules, driver workflow and github and pr rules.

st0012/cctop · 2,107 tokens

toh-framework CLAUDE.md

Claude Code instructions for wasintoh/toh-framework, covering claude.md — toh framework (repo development guide), what this is, everyday commands, verification protocol and single source, transformed per ide.

wasintoh/toh-framework · 3,979 tokens

agent-rules child-process.instructions.md

Instructions for lirantal/agent-rules, covering system processes secure coding guidelines, your mission and spawning system processes.

lirantal/agent-rules · 196 tokens

examples CLAUDE.md

Claude Code instructions for rossoctl/examples, covering claude.md - agent examples, repository structure, key commands, code style and dco sign-off (mandatory).

rossoctl/examples · 1,136 tokens

claude-code-templates CLAUDE.md

Claude Code instructions for Justdvp/claude-code-templates, covering claude.md, project overview, development commands, package management and application commands.

Justdvp/claude-code-templates · 4,007 tokens

bdb-dev-optimized-agent-skills CLAUDE.md

Claude Code instructions for hybridlabor-api/bdb-dev-optimized-agent-skills, covering bdb agent skills — global instructions, docs & pipeline, how many agents, safety gate — mechanically enforced, not advisory and non-negotiable.

hybridlabor-api/bdb-dev-optimized-agent-skills · 700 tokens