Skip to content

feat: show Claude Code accounts in list and forecast#37

Merged
NagyVikt merged 4 commits into
mainfrom
feat/claude-account-health
May 21, 2026
Merged

feat: show Claude Code accounts in list and forecast#37
NagyVikt merged 4 commits into
mainfrom
feat/claude-account-health

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Adds claude-health.ts module that reads ~/.claude-accounts/*/.credentials.json to report subscription type, token expiry, and health status.

  • authmux list: shows Claude accounts with ✓/✗ health indicator
  • authmux forecast: shows Claude account health section
  • Exports pickHealthiestClaude() for programmatic use

NagyVikt and others added 4 commits May 19, 2026 11:37
Extends PR #35 (Specialize authmux launches by skill profile) so a Soul
skill profile can target the local hermes-agent skills tree in addition to
codex and claude.

- SkillAgent gains "hermes"; isSkillAgent narrows third-party strings.
- resolveDefaultSkillTarget("hermes") maps to AUTHMUX_HERMES_HOME or
  HERMES_AGENT_HOME or ~/Documents/hermes-agent, plus "/skills".
- activateSkillProfile auto-fills the target when agent is hermes so the
  shell activator only needs --target. Soul activate-profile.sh keeps its
  existing case for codex|claude; agent=hermes works because we always
  pass --target and the activator only branches on agent for the default
  target.
- authmux skills --agent gains "hermes".
- Tests cover isSkillAgent, resolveDefaultSkillTarget, and an end-to-end
  hermes activation against a tmp target.

Out of scope (deferred): bundling MCP servers alongside skills in the same
profile. Soul's install-codex-mcps.py / install-claude-mcps.py write a
full placeholder block without profile filtering, so the MCP side needs a
soul-side design pass before authmux can wire it in.
Spec for adding `authmux skills pick` and wiring it into the codex +
claude-account-* shell hooks so users get an interactive profile
chooser on agent launch instead of silent activation.

Out of scope: MCP bundling, hermes wrapper, new profile content. Same
boundaries as PR #35.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
12-task phased plan split across three parallel tracks:
A) TS core (skills pick command + helpers)
B) shell hooks (codex + claude-account-* aliases)
C) docs (README + spec implementation marker)

Spec: docs/superpowers/specs/2026-05-19-skill-profile-picker-design.md.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add claude-health.ts module that reads ~/.claude-accounts/*/
.credentials.json to report subscription type, token expiry,
and health status.

- authmux list: shows Claude accounts with ✓/✗ health indicator
- authmux forecast: shows Claude account health section
- Exports pickHealthiestClaude() for programmatic use
@NagyVikt NagyVikt merged commit 3b84cf7 into main May 21, 2026
1 of 10 checks passed
@NagyVikt NagyVikt deleted the feat/claude-account-health branch May 21, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant