ccas (Claude Code CLI)
A small CLI that routes Claude Code through the Hep.gg Claude proxy so your usage, machines, and projects are tracked, and syncs project context across devices.
ccas is a command-line tool that wires Claude Code through the
Claude proxy. It registers your machine, manages the
proxy_token for you, and (optionally) syncs project context so usage shows up
in your AI dashboard across every device.
Install
The installer downloads the CLI into a local bin directory, adds it to your
PATH, and then runs ccas init. On Linux/macOS it installs to
~/.local/bin, or to /usr/local/bin when you run it with sudo / as root so
the CLI is available system-wide; on Windows to %USERPROFILE%\.ccas\bin with a
ccas.cmd wrapper. On macOS it will bootstrap Node automatically if it is
missing.
The installer endpoints are public:
https://ai.hep.gg/installPublichttps://ai.hep.gg/install.ps1Publichttps://ai.hep.gg/cliPublicSetup
ccas initccas init authenticates with your master token (from the
dashboard, AI app), registers this machine, and
picks a project to back. Once initialized, Claude Code traffic is routed
through your Hep.gg proxy token so requests are metered and visible in the
dashboard.
Sync
ccas syncPushes and pulls project context (the file manifest and tracked files) for the linked project, so the same context is available on your other machines. Sync state is keyed to your account; nothing is shared with other users.
If you rename or move a linked folder, a full ccas sync re-points it to the
same synced project automatically, so renaming never creates a duplicate. To
combine two projects that have already drifted apart, use ccas project merge.
Commands
| Command | What it does |
|---|---|
ccas init | Authenticate with your master token, register this machine, and pick a project to back. |
ccas status | Show the configured server, machine, proxy token, proxy on/off state, and linked project. |
ccas proxy [on|off] | Toggle routing Claude Code through your Hep.gg proxy token (sets/clears ANTHROPIC_BASE_URL). |
ccas link [path] | Link a local directory to a synced project. |
ccas sync | Push + pull the linked project's tracked context. |
ccas project [list|create|delete|merge] | Manage your synced projects. merge <source> <target> combines the source project's files into the target, then removes the source. |
ccas account ... | Pool multiple Claude accounts, quick-swap, and autoswitch. See Multiple accounts. |
ccas usage-token [new] | Show/rotate the token for the Usage API. |
ccas statusline [push|pull|install] | Sync your ccstatusline status line across machines. |
ccas clean | Remove local ccas state for the current machine. |
Run ccas help for the full list.
See also
- Multiple Claude accounts - pool, quick-swap, and autoswitch.
- Usage API - read-only live usage across your accounts.
- Status line sync - sync ccstatusline across machines.