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
Who's talking about kaitranntt/ccs
- AutoMaker-Org/automaker“Feature Request: Add CCS and CLIProxyAPI for Multi-Provider AI Support”GitHub · Jan 12, 2026 · 3 reactions
- @tom-doerr.bsky.social“https://github.com/kaitranntt/ccs”Bluesky · Jun 14, 2026 · 1 likes
- jellydn/my-ai-tools“Refactor README: collapsible sections, verified links, and expanded Claude Code”GitHub · Jan 29, 2026 · 1 reactions
- A Hacker News story“Show HN: CCS - Switch between multiple Claude accounts and AI models instantly”Hacker News · Dec 17, 2025 · 1 points
- sudosubin/agents.nix“agent-skills.github.kaitranntt.ccs: init at 8.10.0”GitHub · Sep 28, 2026
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
- Jan 12, 2026Feature Request: Add CCS and CLIProxyAPI for Multi-Provider AI Support — AutoMaker-Org/automaker3 reactions · 5 comments
- Jan 29, 2026Refactor README: collapsible sections, verified links, and expanded Claude Code — jellydn/my-ai-tools1 reaction · 2 comments
- Sep 28, 2026agent-skills.github.kaitranntt.ccs: init at 8.10.0 — sudosubin/agents.nix0 reactions
- Sep 22, 2026feat(routing): ordered cross-model fallback chain on 402/429 exhaustion (codex -> grok -> claude) — kaitranntt/CLIProxyAPIPlus0 reactions
- Aug 21, 2026sync for customized folder to support switch among accounts — tawanorg/claude-sync0 reactions
4 more on GitHub
- Apr 4, 2026add CCS (Claude Code Switch) integration for multi-profile support — raine/claude-history0 reactions
- Mar 13, 2026Support for Claude Code Switcher — titeya/dms-claudecode0 reactions · 3 comments
- Feb 12, 2026Base Command Override does not work on Windows — BloopAI/vibe-kanban0 reactions
- Jan 15, 2026WebSearch 过滤能不能加个配置项? — justlovemaki/AIClient2API0 reactions · 4 comments
On Hacker News · 1
On Bluesky · 1
- Jun 14, 2026https://github.com/kaitranntt/ccs — @tom-doerr.bsky.social1 likes and repost
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ccs-delegationSkill
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
- Very specific: line 13
Default branch is dev. Feature/fix branches start from dev.
- Very specific: line 15
Never touch the user's real ~/.ccs/ or ~/.claude/ in tests.
- Very specific: line 17
Do not commit directly to dev or main.
- Distinctive: line 18
Do not manually bump versions or create release tags.
- Distinctive: line 39
All env values written into settings must be strings.
- Distinctive: line 43
Use the narrowest authoritative source:
- Distinctive: line 53
Do not copy inventories, line counts, locale lists, target lists, or command details when a stable source link is enough.
- Very specific: line 60
Update the matching --help handler when CLI behavior changes.
- Very specific: line 61
Keep README concise; do not remove ## Community Projects or ## Star History unless explicitly asked.
- Very specific: line 63
Use neutral broad examples such as ccs, ccs codex, ccs glm, or ccs <provider> unless the page is provider-specific.
- Very specific: line 65
If CLI commands, config, providers, install steps, or user workflows change, update the separate public CCS docs repository.
- Distinctive: line 97
Before requesting review or merge, run:
- Distinctive: line 109
After every push to a PR, watch CI until it finishes.
- Distinctive: line 115
Always inspect live state first:
- Very specific: line 135
Use feat: or fix: for dev-to-main promotion PRs so release automation runs.
≈ “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.
Files
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 fromdev; production hotfixes start frommainonly when explicitly needed. - Never touch the user's real
~/.ccs/or~/.claude/in tests. UsegetCcsDir()fromsrc/utils/config-manager.ts; it respectsCCS_HOME. - Do not commit directly to
devormain. - 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_COLORand 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/anddist/ui/- build outputs.docs/- local development and architecture docs.- Docker support lives under
docker/and related commands.
Profile resolution priority:
- Built-in CLIProxy providers: Gemini, Codex, Antigravity.
- User-defined
config.cliproxyproviders. - Settings-based
config.profiles. - Account-based
profiles.jsonwith isolatedCLAUDE_CONFIG_DIR.
All env values written into settings must be strings.
Documentation Truth
Use the narrowest authoritative source:
- Source, tests, package scripts, and workflows define implemented behavior.
CLAUDE.mdandCONTRIBUTING.mddefine repository workflow.docs/README.mdmaps maintainer documentation and its owners.- The separate
kaitranntt/ccs-docsrepository and published site own user guides and CLI reference. - 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
--helphandler when CLI behavior changes. - Keep README concise; do not remove
## Community Projectsor## Star Historyunless explicitly asked. - Use neutral broad examples such as
ccs,ccs codex,ccs glm, orccs <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.tsccs api --help:src/commands/api-command.tsccs cleanup --help:src/commands/cleanup-command.tsccs cliproxy --help:src/commands/cliproxy-command.tsccs config --help:src/commands/config-command.tsccs copilot --help:src/commands/copilot-command.tsccs cursor --help:src/commands/cursor-command.tsccs doctor --help:src/commands/doctor-command.tsccs docker --help:src/commands/docker/help-subcommand.tsccs env --help:src/commands/env-command.tsccs migrate --help:src/commands/migrate-command.tsccs persist --help:src/commands/persist-command.tsccs 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 validateBefore requesting review or merge, run:
cd /Users/kaitran/CloudPersonal/ccs/cli && bun run validate:ci-parityIf UI changed:
cd /Users/kaitran/CloudPersonal/ccs/cli/ui && bun run format && bun run validateAfter 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,commentsFor 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
CIis the contributor quality gate. Push CIis the post-merge signal fordev.Dev Releasepublishes the@devnpm package.- A red
Dev Releaseis not automatically contributor failure; check PRCIandPush CIfirst.
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.
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
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.

