Claude Code skill
The skill points Claude Code at @trainheroic-unofficial/cli. Sessions cache to disk and commands return JSON.
Install
npx skills add alandotcom/trainheroic-unofficialYou can also install the CLI and copy skills into ~/.claude/skills/:
npm install -g @trainheroic-unofficial/cli
trainheroic install-skillCredentials
export TRAINHEROIC_EMAIL=coach@example.com
export TRAINHEROIC_PASSWORD=yourpasswordThe CLI writes the session to ~/.trainheroic/session.json. Credentials come from your shell environment.
Use in Claude Code
- Coaching: type
/trainheroic-unofficial - Your own training: type
/trainheroic-athlete
CLI
trainheroic whoami
trainheroic coach athletes
trainheroic athlete profile
trainheroic athlete export
trainheroic help