From tkm
Initializes Tokenmon plugin by resolving root, installing npm dependencies, selecting Pokémon generation/language/starter, running setup, and verifying status.
npx claudepluginhub thunderconch/tkm --plugin tkmThis skill uses the workspace's default tool permissions.
Run Tokenmon plugin initial setup in order.
Diagnoses Tokenmon plugin installation issues in Claude Code: verifies cache, npm dependencies, CLI, data dirs, assets, sprite rendering, multi-gen migration. Auto-fixes npm install.
Installs and configures claude-2x-statusline for Claude Code. Prompts for Minimal, Standard, or Full tier with peak status, model info, rate limits, tokens, cost, timeline, and git; updates settings.json and fetches schedule.
Guides step-by-step setup of redhat-community-ai-tools Slack MCP server for Claude Code using Python script, Docker/Podman, Playwright browser login for token extraction, and plugin registration.
Share bugs, ideas, or general feedback.
Run Tokenmon plugin initial setup in order.
export CLAUDE_PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(ls -d ~/.claude/plugins/marketplaces/tkm 2>/dev/null || ls -d ~/.claude/plugins/cache/tkm/tkm/*/ 2>/dev/null | sort -V | tail -1)}"
echo "CLAUDE_PLUGIN_ROOT=${CLAUDE_PLUGIN_ROOT}" && test -n "${CLAUDE_PLUGIN_ROOT}" && test -f "${CLAUDE_PLUGIN_ROOT}/package.json" && echo "OK" || echo "FAIL"
OK → proceed to Step 0.5.FAIL → inform the user:
CLAUDE_PLUGIN_ROOTcould not be resolved. Install tokenmon first via/plugin install tkm@tkm.
cd "${CLAUDE_PLUGIN_ROOT}" && npm install --omit=dev 2>/dev/null
This must run before any CLI calls — the CLI binary requires installed dependencies.
Run this command to list all available generations:
"${CLAUDE_PLUGIN_ROOT}/bin/tsx-resolve.sh" "${CLAUDE_PLUGIN_ROOT}/src/cli/tokenmon.ts" gen list
Show the full gen list output to the user first. Then use AskUserQuestion:
gen5). The built-in "Other" option also remains available.Use AskUserQuestion:
Run this command to get the localized starter list:
"${CLAUDE_PLUGIN_ROOT}/bin/tsx-resolve.sh" "${CLAUDE_PLUGIN_ROOT}/src/cli/tokenmon.ts" starter
Use AskUserQuestion with the output verbatim — do NOT use your own knowledge of Pokémon names. Use the Pokémon ID number from the output.
"${CLAUDE_PLUGIN_ROOT}/bin/tsx-resolve.sh" "${CLAUDE_PLUGIN_ROOT}/src/cli/tokenmon.ts" setup --gen <chosen_gen> --lang <chosen_lang> --starter <chosen_id>
This single command handles: migration check, statusline, renderer auto-detection, starter initialization, and default configuration.
"${CLAUDE_PLUGIN_ROOT}/bin/tsx-resolve.sh" "${CLAUDE_PLUGIN_ROOT}/src/cli/tokenmon.ts" status
Show the output to the user. If a Pokémon appears, setup is complete.
Note: The user must restart Claude Code to see the statusline.
Always inform the user after setup:
Note: Before removing tokenmon later, run this first:
/tkm:uninstallThis cleans up statusLine config and data files. Skipping this step may leave errors in the status bar.