trinity: Instructions file for Claude Code

CLAUDE.md

trinity CLAUDE.md is an instructions file for Claude Code from Abilityai/trinity. It costs 6,274 tokens per session, scanned A, original, Apache-2.0.

A set of contribution rules for Claude Code in the Trinity repository, including guidance for a public open-source project and its CLAUDE.md and AGENTS.md files.

In plain words
What is it for?
Use it when contributing code to Trinity, checking repository rules, following its development process, or reviewing changes before committing.
Why use it?
It helps an coding agent understand which instructions apply to each task and avoid committing secrets, private URLs, or other unsafe content.

Instructions file for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions AGENTS.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/abilityai/trinity/claude-md"><img src="https://agentmods.dev/badge/instructions/abilityai/trinity/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,274 This file is loaded in full into every session.
When invoked 6,274 The same file — it is already loaded in full.
Security scan A 1 finding. 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.06274 $0.06274
Opus 5.5 $0.02510 $0.02510
Sonnet 5.5 $0.01255 $0.01255
Haiku 4.5 $0.00627 $0.00627

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

Security

Grade A, and why

trinity CLAUDE.md scanned grade A with 1 finding 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 17d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST http://localhost:8000/api/token \
CLAUDE.md · 376 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code when working with this repository.

Repository: https://github.com/abilityai/trinity (PUBLIC)

AI agent orienting in this repo? AGENTS.md is the authoritative agent entry point — a task router with key facts, exact commands, and a "done when" check per task. This file is the contributor working agreement (Rules of Engagement, SDLC, architectural invariants), auto-loaded by Claude Code when you work on the codebase. Read it when your task is "contribute code"; start at AGENTS.md for deploy / operate / evaluate.

Core team: internal working-agreement context (current product focus, tracker routing, remote agent, methodology skill map) auto-loads via the import below from the private .claude submodule. On OSS clones without the submodule the import is silently skipped — everything an external contributor needs is in this file.

@.claude/TEAM_CONTEXT.md


⚠️ PUBLIC OPEN SOURCE REPOSITORY

This is a PUBLIC open-source repository visible to the entire world.

What NEVER to Commit

  • ❌ API keys, tokens, PATs, or any credentials (even in comments or docs)
  • ❌ Internal company URLs, production domains, IP addresses
  • ❌ Real user emails, personal information, or PII
  • ❌ Database dumps, backups, or data exports
  • ❌ .env files or deployment configs with real values
  • ❌ Auth0 client secrets, OAuth credentials, or service account keys
  • ❌ Private repository references or internal tooling details
  • ❌ Customer names, company-specific configurations, or business data
  • ❌ Enterprise/paid-feature designs — the catalog of which capabilities are gated behind the paid tier, their private schema (enterprise_* tables), per-module implementation, or the open-core monetization/gating rationale. Public docs describe the generic open-core seam only (the entitlement/registry mechanism and how OSS code conditionally registers private modules). Specific enterprise module designs live ONLY in the private trinity-enterprise repo (docs/memory/ENTERPRISE_DOCS.md there). See the standing rule below; a CI grep-guard (.github/workflows/enterprise-docs-guard.yml) flags regressions. (trinity-enterprise#45)

Read the full file on GitHub · 376 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. 17d ago Changed · +34 tokens per session 8de020a25121
  2. 1mo ago Changed · +1 lines · +414 tokens per session 4da7bde83f82
  3. 2mo ago First seen · 375 lines · 5,826 tokens per session scan A 840e1b4cf576

Subscribe to this mod's changes

trinity CLAUDE.md is an instructions file published in the GitHub repository Abilityai/trinity (741 stars, last pushed yesterday), licensed Apache-2.0. It adds 6,274 tokens to every session, about $0.0251 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

trinity CLAUDE.md compared with instructions from other repositories

trinity CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
trinity CLAUDE.mdAbilityai/trinityInstructions file741yesterdayApache-2.0A6,274Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode