repos

GitHub

用于查询 TokenEconomizer 管理的仓库状态或合并/迁移仓库状态。触发场景包括:询问跟踪的仓库、排查状态分裂或缺失、执行仓库合并或迁移操作。

plugin/codex-skills/repos/SKILL.md microsoft/TokenEconomizer

Trigger Scenarios

询问 TokenEconomizer 跟踪了哪些仓库 排查仓库状态为何分裂或缺失 请求合并或迁移仓库状态

Install

npx skills add microsoft/TokenEconomizer --skill repos -g -y
More Options

Non-standard path

npx skills add https://github.com/microsoft/TokenEconomizer/tree/main/plugin/codex-skills/repos -g -y

Use without installing

npx skills use microsoft/TokenEconomizer@repos

指定 Agent (Claude Code)

npx skills add microsoft/TokenEconomizer --skill repos -a claude-code -g -y

安装 repo 全部 skill

npx skills add microsoft/TokenEconomizer --all -g -y

预览 repo 内 skill

npx skills add microsoft/TokenEconomizer --list

SKILL.md

Frontmatter
{
    "name": "repos",
    "description": "List every repository TokenEconomizer keeps state for (how each was identified, its agents and sessions, the checkouts seen), or merge one repository's state into another. Use when the user asks which repositories TokenEconomizer tracks, why state looks split or missing, or asks to merge or migrate it."
}

TokenEconomizer: repos

Run this command in the repository's root directory:

"${TOKENECONOMIZER_HOME:-$HOME/.tokeneconomizer}/bin/te" --host codex --cwd "$(pwd)" repos ARGS

Use list as ARGS unless the user asked to migrate, or to merge KEY [INTO] (keys as the list shows them; INTO defaults to this repository). Never run migrate or merge unless the user asked for it. Show the output verbatim in a code block.

migrate and merge move state between repositories; that writes TokenEconomizer's own state under ~/.tokeneconomizer, outside the workspace, which the sandbox keeps read-only: run that command with sandbox_permissions set to "require_escalated" and a one-line justification, so that Codex asks the user to approve it. list reads only and needs no approval.

The command reads and writes only TokenEconomizer's own state (under ~/.tokeneconomizer); it makes no model call, and a merge keeps the old state directory under ~/.tokeneconomizer/merged/. If it reports that the launcher does not exist, the plugin has not run in a session yet: ask the user to start a new Codex session in this repository first.

Version History

  • 7042ea8 Current 2026-11-13 18:24

Same Skill Collection

plugin/codex-skills/config/SKILL.md
plugin/codex-skills/microskills/SKILL.md
plugin/codex-skills/status/SKILL.md
plugin/codex-skills/toolprune/SKILL.md

Metadata

Files
0
Version
7042ea8
Hash
5cf1ec45
Indexed
2026-11-13 18:24

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-14 02:46
浙ICP备14020137号-1