config

GitHub

用于配置 TokenEconomizer 插件,支持查看、启用或禁用微技能、工具剪枝及循环守卫等功能。

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

Trigger Scenarios

用户请求配置 TokenEconomizer 用户请求启用或禁用 TokenEconomizer 机制

Install

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

Non-standard path

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

Use without installing

npx skills use microsoft/TokenEconomizer@config

指定 Agent (Claude Code)

npx skills add microsoft/TokenEconomizer --skill config -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": "config",
    "description": "Show or change TokenEconomizer's settings: turn micro-skills, tool pruning or the loop guard on or off, or tune them, for this repository or (with --global) every repository. Use when the user asks to configure, enable or disable TokenEconomizer or one of its mechanisms."
}

TokenEconomizer: config

Run this command in the repository's root directory:

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

Use show as ARGS unless the user asked to change a setting; then set KEY=VALUE ... or unset KEY ..., adding --global only if they asked for every repository. Show the output verbatim in a code block; if a setting was rejected, say why in one sentence.

Changing a setting (set, unset) 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. show reads only and needs no approval.

The command reads and writes only TokenEconomizer's own state (under ~/.tokeneconomizer); it makes no model call. 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/microskills/SKILL.md
plugin/codex-skills/repos/SKILL.md
plugin/codex-skills/status/SKILL.md
plugin/codex-skills/toolprune/SKILL.md

Metadata

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

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