From tkm
Toggles Tokenmon language between Korean and English. Reads current setting from ~/.claude/tokenmon/config.json, prompts user to switch via AskUserQuestion, updates config with CLI, shows status.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tkm:languageThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Check the current language and interactively switch between Korean and English.
Check the current language and interactively switch between Korean and English.
Read the current language setting from config, respecting CLAUDE_CONFIG_DIR:
node -e "
const os = require('os');
const path = require('path');
const fs = require('fs');
const claudeDir = process.env.CLAUDE_CONFIG_DIR ?? path.join(os.homedir(), '.claude');
try {
const cfg = JSON.parse(fs.readFileSync(path.join(claudeDir, 'tokenmon', 'config.json'), 'utf8'));
console.log(cfg.language ?? 'ko');
} catch { console.log('ko'); }
"
Use AskUserQuestion to show the current language and ask the user whether to switch.
ko: "현재 한국어 모드입니다. 영어로 전환할까요?"en: "Currently in English mode. Switch to Korean?"Options: [Switch] [Keep]
If the user chose Switch:
Switch from ko to en:
P="${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)}"
"$P/bin/tsx-resolve.sh" "$P/src/cli/tokenmon.ts" config set language en
Switch from en to ko:
P="${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)}"
"$P/bin/tsx-resolve.sh" "$P/src/cli/tokenmon.ts" config set language ko
Then show the updated status:
P="${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)}"
"$P/bin/tsx-resolve.sh" "$P/src/cli/tokenmon.ts" status
If the user chose Keep, respond with the following message (based on current language) and exit:
ko: "현재 언어(한국어)를 유지합니다."en: "Keeping current language (English)."npx claudepluginhub thunderconch/tkm --plugin tkmInitializes Tokenmon plugin by resolving root, installing npm dependencies, selecting Pokémon generation/language/starter, running setup, and verifying status.
Installs or uninstalls a live token counter statusline for Claude Code showing real-time input/output/cache token usage in the CLI.
Provides a LanguageSwitcher component for changing display language in multi-language apps. Renders locale selection UI and fires callback on language change. Designed for use inside AppHeader.