How It Works
Claude Code can run shell commands. The athx CLI handles the ATH protocol. Together, Claude can access user-authorized APIs securely.Setup (One-Time)
Before a Claude Code session, pre-authorize access:~/.athx/credentials.json has a valid token. Claude Code can use it.
Claude Code Usage
Once authorized, Claude Code can callathx proxy in any shell command:
Example Prompt
“Look at the open issues in ath-protocol/demo and summarize the bugs.”Claude executes:
Security Model
| Property | How it works |
|---|---|
| Scoped | Claude can only access scopes the user approved |
| Time-limited | Token expires (default: 1 hour) |
| Revocable | athx revoke -g prod --provider github |
| No raw tokens | Claude never sees GitHub/Google OAuth tokens |
| Auditable | All requests go through the gateway |