Windows で Claude Code / Codex / OpenCode で使う時、トークン削減するおまじない。うちの事務所の全台で実行した。気休めかもしれないが。
----
トークンコストの削減のために以下の処理をスキルにしてください。
----
このタスクは推論を必要としない機械的な操作です。
以下のコマンドカテゴリに該当する場合、/model haiku に切り替えてから実行してください。
## 対象コマンド
### Git
git status, git log, git log --oneline, git diff, git diff --staged, git add, git commit, git push, git pull, git fetch,
git branch, git checkout, git stash, git stash pop
### GitHub CLI
gh pr list, gh pr view, gh pr create, gh pr merge,
gh issue list, gh issue view, gh issue create,
gh run list, gh run view
### このプロジェクト
uv run pytest, uv run pytest -v, uv run pytest <test_file>,
uv run importer, uv run housekeeping,
uv pip install, uv sync
### Windows / PowerShell
dir, ls, Get-ChildItem, cd, Set-Location, mkdir, New-Item, copy, Copy-Item, type, Get-Content, echo, tasklist, Get-Process, where, Get-Command,
$env:変数名, [Environment]::GetEnvironmentVariable(), ping, ipconfig, netstat, Select-String, Measure-Object, Out-File
## 実行手順
1. /model haiku
2. コマンドを実行
3. 結果を出力
4. 必要なら /model {{元のモデル}} に戻す