/tokeneconomizer:repos [list | migrate | merge KEY [INTO]]from TokenEconomizer
Lists all repositories tracked by TokenEconomizer, or migrates/merges repository state between keys.
Ships in TokenEconomizer. Installing the plugin adds it to Claude Code.
The arguments I typed after the command are: "$ARGUMENTS" (it lists the repositories when there are none). Run the command for this shell, then show me its output verbatim in a code block.
In Copilot CLI on Windows, use the PowerShell tool:
$root = if ($env:TOKENECONOMIZER_HOME) { $env:TOKENECONOMIZER_HOME } else { Join-Path $HOME '.tokeneconomizer' }
$meta = Join-Path $root 'bin\te.json'
$OutputEncoding = [Console]::OutputEncoding = New-Object System.Text.UTF8Encoding
if (Test-Path -LiteralPath $meta) {
$launcher = Get-Content -LiteralPath $meta -Raw -ErrorAction Stop | ConvertFrom-Json
& $launcher.python -X utf8 $launcher.bootstrap cli --host copilot --cwd (Get-Location).Path repos $ARGUMENTS
} elseif ($env:COPILOT_PLUGIN_ROOT -and (Test-Path -LiteralPath (Join-Path $env:COPILOT_PLUGIN_ROOT 'scripts\te_bootstrap.py'))) {
$py = if ($env:TE_PYTHON) { $env:TE_PYTHON } else { 'python' }
& $py -X utf8 (Join-Path $env:COPILOT_PLUGIN_ROOT 'scripts\te_bootstrap.py') cli --host copilot --cwd (Get-Location).Path repos $ARGUMENTS
} else {
$err = Join-Path $root 'errors.log'
$detail = if (Test-Path -LiteralPath $err) { (Get-Content -LiteralPath $err -Tail 3) -join "`n" } else { "start a new chat session or install from a local clone / bundle so the hook writes $meta" }
[Console]::Error.WriteLine("TokenEconomizer is not initialized yet ($meta missing): $detail")
cmd /c exit 1
}
Otherwise, run this command with the Bash tool:
te="${CLAUDE_PLUGIN_ROOT}/scripts/te"; [ -x "$te" ] || te="${TOKENECONOMIZER_HOME:-$HOME/.tokeneconomizer}/bin/te"; "$te" --cwd "$(pwd)" repos $ARGUMENTS
It moves state only when I typed migrate or merge in those arguments; never add them yourself. If the list shows state recorded by an earlier version, say in one sentence that it is sorted out at the next session start, or now with /tokeneconomizer:repos migrate.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
2 plugins ship this exact command · first indexed Nov 21, 2026
7 commands in this plugin
/configShow or change TokenEconomizer's settings - turn each mechanism on or off, or tune it/factsEarlier name of /tokeneconomizer:microskills - show the repository facts TokenEconomizer injects/microskillsShow the repository facts (micro-skills) TokenEconomizer learned and injects at session start/statusShow what TokenEconomizer has learned for this repository and what it has done/toolpruneReview the tools TokenEconomizer left out of this repository's sessions, give them back, or apply a waiting proposal/untoolEarlier name of /tokeneconomizer:toolprune - review the deny list, give tools back, or apply a proposalnpx claudepluginhub microsoft/tokeneconomizer --plugin tokeneconomizerOther plugins' commands for the same job