agentleFS
kaitrannttkaitranntt/ccs/CLAUDE.md

ccs

CLAUDE.md2.9k starsChanged 12 months agoMITView on GitHub

Canonical agent instructions for /Users/kaitran/CloudPersonal/ccs/cli. AGENTS.md must stay a symlink to this file. CCS is a TypeScript/Bun CLI and dashboard for managing Claude Code, Codex, Factory Droid, CLIProxy, and compatible provider profiles. - 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…

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 1 mentionJan 2026: 3 mentionsFeb 2026: 1 mentionMar 2026: 1 mentionApr 2026: 1 mentionMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 2 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the kaitranntt/ccs repository that our weekly crawl found: only 11 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about kaitranntt/ccs

The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 11

Talked about on GitHub, Hacker News and Bluesky (11 times).

On GitHub · 9

4 more on GitHub

On Bluesky · 1

The file

Show its rules and text

We split this CLAUDE.md into the rules it gives an agent

15 rules. About 0 are common, 7 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Default branch is dev. Feature/fix branches start from dev.

    line 13
  2. Very specific:

    Never touch the user's real ~/.ccs/ or ~/.claude/ in tests.

    line 15
  3. Very specific:

    Do not commit directly to dev or main.

    line 17
  4. Distinctive:

    Do not manually bump versions or create release tags.

    line 18
  5. Distinctive:

    All env values written into settings must be strings.

    line 39
  6. Distinctive:

    Use the narrowest authoritative source:

    line 43
  7. Distinctive:

    Do not copy inventories, line counts, locale lists, target lists, or command details when a stable source link is enough.

    line 53
  8. Very specific:

    Update the matching --help handler when CLI behavior changes.

    line 60
  9. Very specific:

    Keep README concise; do not remove ## Community Projects or ## Star History unless explicitly asked.

    line 61
  10. Very specific:

    Use neutral broad examples such as ccs, ccs codex, ccs glm, or ccs <provider> unless the page is provider-specific.

    line 63
  11. Very specific:

    If CLI commands, config, providers, install steps, or user workflows change, update the separate public CCS docs repository.

    line 65
  12. Distinctive:

    Before requesting review or merge, run:

    line 97
  13. Distinctive:

    After every push to a PR, watch CI until it finishes.

    line 109
  14. Distinctive:

    Always inspect live state first:

    line 115
  15. Very specific:

    Use feat: or fix: for dev-to-main promotion PRs so release automation runs.

    line 135

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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.

User-Facing Change Checklist

  • Update the matching --help handler when CLI behavior changes.
  • Keep README concise; do not remove ## Community Projects or ## Star History unless explicitly asked.
  • Use neutral broad examples such as ccs, ccs codex, ccs glm, or ccs <provider> unless the page is provider-specific.
  • If CLI commands, config, providers, install steps, or user workflows change, update the separate public CCS docs repository. Maintainers using the standard CloudPersonal checkout may have it at /Users/kaitran/CloudPersonal/ccs/docs; fork contributors can use their own checkout and coordinate the matching docs change in the PR.

Help locations:

  • ccs --help: src/commands/help-command.ts
  • ccs api --help: src/commands/api-command.ts
  • ccs cleanup --help: src/commands/cleanup-command.ts
  • ccs cliproxy --help: src/commands/cliproxy-command.ts
  • ccs config --help: src/commands/config-command.ts
  • ccs copilot --help: src/commands/copilot-command.ts
  • ccs cursor --help: src/commands/cursor-command.ts
  • ccs doctor --help: src/commands/doctor-command.ts
  • ccs docker --help: src/commands/docker/help-subcommand.ts
  • ccs env --help: src/commands/env-command.ts
  • ccs migrate --help: src/commands/migrate-command.ts
  • ccs persist --help: src/commands/persist-command.ts
  • ccs setup --help: src/commands/setup-command.ts

Validation

Format before validating:

cd /Users/kaitran/CloudPersonal/ccs/cli && bun run format
cd /Users/kaitran/CloudPersonal/ccs/cli && bun run lint:fix
cd /Users/kaitran/CloudPersonal/ccs/cli && bun run validate

Before requesting review or merge, run:

cd /Users/kaitran/CloudPersonal/ccs/cli && bun run validate:ci-parity

If UI changed:

cd /Users/kaitran/CloudPersonal/ccs/cli/ui && bun run format && bun run validate

After every push to a PR, watch CI until it finishes. If checks fail, inspect logs, fix root cause, push again, and re-watch.

Issue Triage

Issue triage is GitHub-only unless implementation is explicitly requested. Always inspect live state first:

cd /Users/kaitran/CloudPersonal/ccs/cli && gh issue view <number> --json title,body,state,labels,assignees,comments

For open issues, prefer one type label and one area label. Use routing labels only when they affect handling: upstream-blocked, needs-repro, needs-split, docs-gap. Do not close issues on age, intuition, or vague titles; close only with evidence from README, docs, changelog, source, or a canonical duplicate.

Release Signals

  • PR CI is the contributor quality gate.
  • Push CI is the post-merge signal for dev.
  • Dev Release publishes the @dev npm package.
  • A red Dev Release is not automatically contributor failure; check PR CI and Push CI first.

Use feat: or fix: for dev-to-main promotion PRs so release automation runs.

Design Standards

  • YAGNI, KISS, DRY.
  • CLI-complete: core configuration features need CLI coverage.
  • Dashboard parity: configuration features usually need dashboard coverage too.
  • Execution remains CLI-first; dashboard should not replace terminal profile launch flows.
  • Error messages should help users recover, not just report failure.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.