ccs CLAUDE.md

ccs CLAUDE.md is an instructions file for coding agents from kaitranntt/ccs. It costs 1,421 tokens per session, scanned A, original, MIT.

A CLAUDE.md guide for the CCS command-line project. CCS is a TypeScript and Bun tool that manages profiles for several coding-agent command-line programs.

In plain words
What is it for?
Developing or reviewing CCS source, dashboard code, Docker support, documentation, and related configuration without changing real user settings.
Why use it?
It gives agents the project’s required branch, configuration, versioning, terminal-output, and testing rules before they edit code.

Instructions file

About the project

CCS is a command-line manager that lets users switch among AI coding runtimes, provider accounts, and model profiles through one interface. It is for developers who use Claude Code or compatible CLIs and need to change accounts or backends without repeatedly editing configuration.

kaitranntt/ccs · 2,838 stars · on GitHub

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/kaitranntt/ccs/claude-md
Clone the repo
git clone --depth 1 https://github.com/kaitranntt/ccs

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/kaitranntt/ccs/claude-md.svg)](https://agentmods.dev/instructions/kaitranntt/ccs/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/kaitranntt/ccs/claude-md"><img src="https://agentmods.dev/badge/instructions/kaitranntt/ccs/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,421 This file is loaded in full into every session.
When invoked 1,421 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.01421 $0.01421
Opus 5 $0.00711 $0.00711
Sonnet 5 $0.00284 $0.00284
Haiku 4.5 $0.00142 $0.00142

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

Security

Grade A, and why

ccs 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 5d 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 · 145 lines

How it starts

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

CCS CLI Agent Guide

Canonical agent instructions for /Users/kaitran/CloudPersonal/ccs/cli. AGENTS.md must stay a symlink to this file.

Scope

CCS is a TypeScript/Bun CLI and dashboard for managing Claude Code, Codex, Factory Droid, CLIProxy, and compatible provider profiles.

Non-Negotiables

  • Default branch is dev. Feature/fix branches start from dev; production hotfixes start from main only when explicitly needed.
  • Never touch the user's real ~/.ccs/ or ~/.claude/ in tests. Use getCcsDir() from src/utils/config-manager.ts; it respects CCS_HOME.
  • Do not commit directly to dev or main.
  • Do not manually bump versions or create release tags. Semantic-release owns versions, changelog, tags, npm publish, and GitHub releases.
  • CLI terminal output must be ASCII only: [OK], [!], [X], [i].
  • Respect NO_COLOR and TTY-aware output.

Architecture

  • src/ - TypeScript CLI/server source.
  • lib/ccs, lib/ccs.ps1 - bootstrap wrappers; no help text here.
  • ui/src/ - React dashboard.
  • dist/ and dist/ui/ - build outputs.
  • docs/ - local development and architecture docs.
  • Docker support lives under docker/ and related commands.

Profile resolution priority:

  1. Built-in CLIProxy providers: Gemini, Codex, Antigravity.
  2. User-defined config.cliproxy providers.
  3. Settings-based config.profiles.
  4. Account-based profiles.json with isolated CLAUDE_CONFIG_DIR.

All env values written into settings must be strings.

Documentation Truth

Use the narrowest authoritative source:

  1. Source, tests, package scripts, and workflows define implemented behavior.
  2. CLAUDE.md and CONTRIBUTING.md define repository workflow.
  3. docs/README.md maps maintainer documentation and its owners.
  4. The separate kaitranntt/ccs-docs repository and published site own user guides and CLI reference.
  5. Generated artifacts and live runtime checks define what shipped or is currently running.

Do not copy inventories, line counts, locale lists, target lists, or command details when a stable source link is enough. Update the owning documentation when behavior, commands, setup, architecture, security posture, or maintainer workflow changes. Remove stale claims instead of preserving them as TODOs.

Read the full file on GitHub · 145 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. 5d ago First seen · 145 lines · 1,421 tokens per session scan A 5ff8d81aa0d3

Subscribe to this mod's changes

ccs CLAUDE.md is an instructions file published in the GitHub repository kaitranntt/ccs (2,838 stars, last pushed 9d ago), licensed MIT. It adds 1,421 tokens to every session, about $0.0071 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.