Claude Code skill

The skill points Claude Code at @trainheroic-unofficial/cli. Sessions cache to disk and commands return JSON.

← Developers

Install

npx skills add alandotcom/trainheroic-unofficial
npx skills add alandotcom/trainheroic-unofficial

You can also install the CLI and copy skills into ~/.claude/skills/:

npm install -g @trainheroic-unofficial/cli trainheroic install-skill
npm install -g @trainheroic-unofficial/cli
trainheroic install-skill

Credentials

export TRAINHEROIC_EMAIL=coach@example.com export TRAINHEROIC_PASSWORD=yourpassword
export TRAINHEROIC_EMAIL=coach@example.com
export TRAINHEROIC_PASSWORD=yourpassword

The 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
trainheroic whoami
trainheroic coach athletes
trainheroic athlete profile
trainheroic athlete export
trainheroic help