coral: Instructions file for Claude Code

CLAUDE.md

coral CLAUDE.md is an instructions file for Claude Code from cdknorow/coral. It costs 2,048 tokens per session, scanned A, original, Apache-2.0.

A project instruction file for Coral Go, a Go implementation whose older Python version is kept only as a reference. Go and Python are programming languages; the document identifies which code is authoritative.

In plain words
What is it for?
Developing and testing the Go implementation, running its unit tests, and comparing it with the older Python version when migration behavior needs investigation.
Why use it?
It prevents developers from treating the legacy Python code as the source of truth and limits changes to the intended directories. It also records the commands used for unit tests and historical parity checks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

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

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cdknorow/coral/claude-md/github.svg)](https://agentmods.dev/instructions/cdknorow/coral/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cdknorow/coral/claude-md"><img src="https://agentmods.dev/badge/instructions/cdknorow/coral/claude-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 coral CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cdknorow/coral/claude-md"><img src="https://agentmods.dev/badge/instructions/cdknorow/coral/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,048 This file is loaded in full into every session.
When invoked 2,048 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.02048 $0.02048
Opus 5.5 $0.00819 $0.00819
Sonnet 5.5 $0.00410 $0.00410
Haiku 4.5 $0.00205 $0.00205

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

Security

Grade A, and why

coral 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 11d 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 · 176 lines

How it starts

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

CLAUDE.md - Coral Go

Mission

The Go codebase (coral-go/) is Coral's implementation.

RULES:

  1. The Go codebase is the source of truth. Improve it freely.
  2. Only modify code under coral-go/ and tests/.

Testing

Go Unit Tests

cd coral-go && go test ./...

Project Structure

coral-go/               # The Go implementation
  cmd/                  # Entry points (coral, launch-coral, coral-board, coral-agent, coral-tray, coral-app, the hooks, mock-agent)
  internal/             # Core packages
    agent/              # Agent implementations (claude, gemini)
    background/         # Background services (git poller, indexer, scheduler, etc.)
    board/              # Message board store
    config/             # Configuration
    jsonl/              # JSONL log reader
    license/            # EULA (terms acceptance)
    pulse/              # Pulse event parser
    ptymanager/         # PTY/tmux session management
    server/             # HTTP server, routes, frontend assets
    store/              # SQLite storage layer
    tmux/               # Tmux client
  go.mod / go.sum       # Go module dependencies
tests/                  # Suites outside the Go module
  frontend/             # Dashboard tests: CDP browser suites (run_cdp_suites.mjs) and node tests (npm run test:cloud)
  stress/               # Stress and workflow runners against an isolated server
  release/              # Package checks the release workflow runs
  latency/              # Opt-in dashboard latency-budget guard (epoch only)
Casks/                  # Homebrew Cask definition
installers/             # Local build scripts per platform
tools/                  # Build, release and maintenance scripts
licenses/               # Third-party license texts
assets/                 # App icons and screenshots

Development Workflow

  1. Implement or fix features in coral-go/.
  2. Write or update Go unit tests.
  3. Run go test ./... to ensure no regressions.
  4. Build and manually verify as needed.

Read the full file on GitHub · 176 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. 11d ago Changed · -11 lines · -88 tokens per session b45d38919cc7
  2. 12d ago Changed a63cf98044b7
  3. 13d ago Changed · +3 lines · +238 tokens per session 8442c5ef8d2b
  4. 1mo ago First seen · 184 lines · 1,898 tokens per session scan A eb4a489de275

Subscribe to this mod's changes

coral CLAUDE.md is an instructions file published in the GitHub repository cdknorow/coral (83 stars, last pushed 7d ago), licensed Apache-2.0. It adds 2,048 tokens to every session, about $0.0082 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