agent-company: Instructions file for Claude Code

CLAUDE.md

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

A set of Claude Code instructions for working in an AI-team monorepo, a single repository containing multiple applications and packages. It explains the project's core folders, templates, startup context, and rules for image generation and human release.

In plain words
What is it for?
Use it to check the active company template, understand the repository layout, follow project-wide rules, and find the relevant scripts, agents, wiki pages, and template files.
Why use it?
It gives the coding agent the project context and boundaries it needs before making changes. It also prevents work that violates the repository's hard rules.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is TOKTOKHAN-DEV/agent-company's own configuration. It tells Claude Code how to work on agent-company 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 agent-company configures →

Reuse

Borrowing it

Nothing to install: this file belongs to TOKTOKHAN-DEV/agent-company. 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/TOKTOKHAN-DEV/agent-company/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/TOKTOKHAN-DEV/agent-company

Made for: Claude Code.

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 CLAUDE.md

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

Measured 8d ago against content hash b5c34580738b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

agent-company 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 8d 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.

CLAUDE.md · 243 lines

How it starts

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

CLAUDE.md

Claude Code 가 이 저장소에서 작업할 때 따르는 지침입니다.

세션 시작 시 SessionStart 훅이 scripts/load-context.sh 를 실행해 코어 하드 룰, 현재 템플릿, wiki 인덱스, 메모리를 자동으로 주입합니다. 이 문서는 그 위에 얹히는 행동 규칙입니다.


프로젝트

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

── 코어 (항상 있음) ──────────────────────────────
.claude/          훅(SessionStart · PreToolUse) · 슬래시 커맨드
wiki/             프로젝트 지식 + 장/단기 메모리 + ADR
agents/           로스터 (registry.yaml + <id>/AGENT.md + skills/)
scripts/          결정적 셸 스크립트
templates/        고를 수 있는 회사들

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

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

작업을 시작하기 전에 현재 회사가 무엇인지 확인하세요.

pnpm template current

코어 하드 룰

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

1. 이미지 생성 경로는 하나다

당신은 이미지를 생성하지 않습니다. 예외 없습니다.

정책은 코어이고 실행 명령은 템플릿이 줍니다 (blogpnpm imagegen). 템플릿에 이미지 명령이 없으면 이미지 없이 진행하는 것이 정답입니다.

pnpm imagegen --slug <slug> --prompt "<장면 설명>"    # blog

금지되는 것:

  • 당신이 이미지를 직접 생성 · 합성하는 것
  • 다른 이미지 생성 모델/API 호출 (DALL·E, Stable Diffusion, Imagen, Midjourney 등)
  • SVG 를 코드로 그려 이미지를 대신하는 것
  • 실제 Codex 생성이 아닌 이미지에 source: codex-imagegen 표기

Codex 를 쓸 수 없으면 이 순서로 폴백합니다:

  1. 이미지 없이 진행 (기본값 — 커버는 출고 필수 요소가 아님)
  2. 사용자에게 직접 첨부 요청 (source: user-upload)
  3. 웹 검색 — 라이선스 확인 필수 (source: web-search + license 기록)

강제 수단: ImageSource 타입에 claude 가 없음 · PreToolUse 훅 차단 · 감사 error. 근거: wiki/decisions/ADR-0002-codex-only-image-generation.md

업로드는 생성이 아닙니다. 사람이 첨부한 이미지는 이 룰과 무관합니다. 금지되는 것은 생성입니다.

2. 출고는 사람만

statuspublished 로 바꾸지 않습니다. 에이전트는 in_review 까지만 올립니다. 출고는 사용자가 검수 화면에서 수행하는 행위입니다.

3. 진실은 저장소 파일

결과물도 결정도 코드와 같은 저장소에서 버전 관리합니다. DB 를 붙여도 원본은 파일 쪽입니다. 근거: wiki/decisions/ADR-0001-file-based-content.md

Read the full file on GitHub · 243 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. 8d ago First seen · 243 lines · 2,936 tokens per session scan A b5c34580738b

Subscribe to this mod's changes

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

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens