Agent skill

Configure Ecc

by affaan-m in affaan-m/ECC

在 Claude Code、Codex 或 Kimi 内引导 ECC 安装、更新或重新配置,同时严格遵守各家工具真实的插件、范围和 Hook 能力。

MITAuto-check passed

Install Configure Ecc

skills CLI
$ npx skills add affaan-m/ECC --skill configure-ecc -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install affaan-m/ECC configure-ecc --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/zh-CN/skills/configure-ecc .claude/skills/configure-ecc && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
configure-ecc
GitHub stars
276k
Token cost
~1.1k tokens
SKILL.md length
271 words
Files
1
Skills in repo
683
Repo updated
First seen
Licence
MIT

At a glance

在 Claude Code、Codex 或 Kimi 内引导 ECC 安装、更新或重新配置,同时严格遵守各家工具真实的插件、范围和 Hook 能力。

  • Works in 5 steps: 只读检查 → 只收集两个选择 → 预览并只确认一次 → …
  • SKILL.md covers 按当前工具分流, Claude Code:运行完整对话式向导, Codex:使用原生插件生命周期 and Kimi:安装项目表面
  • Calls npx, codex and claude

What it does

Configure Ecc is an agent skill from affaan-m/ECC. 在 Claude Code、Codex 或 Kimi 内引导 ECC 安装、更新或重新配置,同时严格遵守各家工具真实的插件、范围和 Hook 能力。

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Kimi. The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

Example prompts

  • “/configure-ecc”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 只读检查
  2. 只收集两个选择
  3. 预览并只确认一次
  4. 应用明确选择
  5. 先验证,再显示欢迎信息

What it can do on your machine

Read from SKILL.md and the folder at commit 4eb71d9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • codex
    • claude
    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Configure Ecc loads about 1.1k tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 271 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from affaan-m/ECC at commit 4eb71d9, republished under its MIT licence (© affaan-m). 271 words, ~1,112 tokens.

Download SKILL.mdSave it as .claude/skills/configure-ecc/SKILL.md (or your agent's skills folder).
name
configure-ecc
description
在 Claude Code、Codex 或 Kimi 内引导 ECC 安装、更新或重新配置,同时严格遵守各家工具真实的插件、范围和 Hook 能力。
metadata.origin
ECC

配置 ECC

在当前工具内运行对话式向导:先检查,只收集受支持的选项,预览,只确认 一次,以非交互方式执行,验证,最后才显示欢迎信息。不要把 ECC 克隆到 临时目录,也不要手动复制插件组件。

在用户自己操作的终端中,规范入口是 ecc setup 和 npx ecc-universal setup。 在工具内请改用下方参数完整的非交互命令。

按当前工具分流

  • Claude Code:使用下面完整的范围与 Hook 向导。
  • Codex:使用 Codex 原生插件生命周期;不要提供 Claude 范围,也不要映射 Claude 的四种 ECC Hook 配置。
  • Kimi:把项目表面安装到 ./.kimi-code;Kimi 不支持 ECC 的 Claude 生命周期 Hook 配置。
  • 无法确定工具时,先说明检测依据,再询问要配置哪一个,不要直接修改。

此技能是安装后的重新配置路径,无法拦截或取代提供商内置的首次安装界面。

Claude Code:运行完整对话式向导

1. 只读检查

运行以下两条命令,总结 ECC 的安装范围、启用状态和 marketplace 来源:

bash
claude plugin list --json
claude plugin marketplace list --json

只有一个现有 ecc@ecc 时,将本次视为重新配置。不要把 Claude 提供商所有的 “Open home page”控件当作安装证据。若 setup 报告多个 ECC 范围、旧版或手动 安装、配置损坏或 marketplace 冲突,请停止并原样报告恢复建议,不要猜测要删除哪个。

2. 只收集两个选择

只询问一次安装范围,并要求且仅要求一个值:

  • user | project | local
  • user 对当前用户全局可用。
  • project 通过仓库设置共享。
  • local 仅当前项目私有。

界面中只能把选中的一个范围显示为已选或正在安装。如果用户从唯一现有范围 切换到另一范围,说明这是范围迁移,并在下方命令中加入 --move-scope。

只询问一次 Hook 模式,并要求且仅要求一个值:

  • off | minimal | standard | strict
  • off 保留技能和命令,但关闭 ECC Hook 自动化。
  • minimal 只启用最轻量的生命周期和安全自动化。
  • standard 平衡质量和安全自动化。
  • strict 启用最严格的检查和提醒。

Hook 偏好是个人 Claude 插件配置,不会跟随所选安装范围。

3. 预览并只确认一次

优先使用插件自带的 setup 脚本。替换两个已选值,只在范围迁移时加入 --move-scope:

bash
node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --dry-run --json

如果 $CLAUDE_PLUGIN_ROOT 不可用,使用已发布的 npm 包:

bash
npx --yes --package ecc-universal ecc setup --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --dry-run --json

只显示一次确认摘要,内容包含计划操作、唯一范围、唯一 Hook 模式、marketplace 操作和 任何从来源到目标的迁移。只问一个是/否问题。不要通过工具的 Shell 调用不带参数的 交互式 ecc setup,因为该 Shell 通常不是 TTY。

4. 应用明确选择

确认后,使用同一路径但去掉 --dry-run。保留每个明确选择,并请求 JSON:

bash
node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --yes --json

备用命令:

bash
npx --yes --package ecc-universal ecc setup --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --yes --json
5. 先验证,再显示欢迎信息

必须得到零退出状态,且 setup 结果中的 scope 和 hooks 必须等于所选值。然后独立运行:

bash
claude plugin list --json

只有在所选范围中恰好存在一个已启用的 ecc@ecc 条目时才继续。如果 $CLAUDE_PLUGIN_ROOT 可用,把成功 setup 的 action(installed、updated、 migrated、resumed 或 already-migrated)传给内置渲染器:

调用前必须确认提供方报告的版本匹配 scripts/lib/terminal-welcome.js 中的 ECC_VERSION_PATTERN。异常版本文本应被拒绝,不得插入 shell 命令。

bash
node -e 'const { renderTerminalWelcome } = require(process.env.CLAUDE_PLUGIN_ROOT + "/scripts/lib/terminal-welcome"); process.stdout.write(renderTerminalWelcome({ action: process.argv[1], version: process.argv[2], color: process.stdout.isTTY }));' "<action>" "<installed-version>"

欢迎信息只渲染一次。失败、预览、取消、范围或 Hook 不匹配、无法验证时都不显示; 改为报告错误和恢复方法。验证完成后,提醒用户运行 /reload-plugins 或重启 Claude Code。

Codex:使用原生插件生命周期

使用 codex plugin marketplace list --json 和 codex plugin list --available --json 检查。 Codex 的原生插件命令没有 Claude 式 user | project | local 选择器。不要询问 Claude 范围或 Hook 四档模式。Codex 原生插件支持提供商专用 Hook,但 Codex 会要求用户明确信任。让 Codex 显示该信任决定;不要声称 Claude 的四种配置可以映射到 Codex。

如果缺少 ECC marketplace,请添加;否则刷新快照:

bash
codex plugin marketplace add affaan-m/ECC
codex plugin marketplace upgrade ecc --json

只确认一次,然后安装或幂等刷新已安装缓存,并验证:

bash
codex plugin add ecc@ecc --json
codex plugin list --json

只有 JSON 报告 ECC 已安装并提供 installedPath 时才继续,然后渲染已验证组合包的欢迎信息:

installedPath 只能使用 Codex JSON 返回的原始绝对路径,并拒绝控制字符。版本必须通过 ECC_VERSION_PATTERN 验证。请使用下面的 argument array 直接调用 node;这是工具 API 调用,不是 shell 命令:

text
["<installedPath>/scripts/welcome.js", "--action", "configured", "--version", "<installed-version>"]

如果当前工具无法把可执行文件与 argument array 分开传递,请跳过欢迎信息。不得使用 Codex JSON 中的值构造 shell 命令。

绝不要声称 Claude 的 off | minimal | standard | strict 配置已应用到 Codex。

Kimi:安装项目表面

确认前说明能力摘要:目标为 ./.kimi-code;ECC 生命周期 Hook 为 hooks=unsupported。 不要询问 Claude 范围或 Hook 模式。先预览:

bash
npx --yes --package ecc-universal ecc install --profile core --target kimi --dry-run

只针对该项目目标确认一次,然后执行去掉 --dry-run 的同一命令。使用以下命令验证:

bash
npx --yes --package ecc-universal ecc doctor --target kimi

只有 doctor 成功,且已安装的指令和技能仍位于 ./.kimi-code 内时才运行:

bash
npx --yes --package ecc-universal ecc welcome --action configured

不要声称 Kimi 已安装或配置 ECC 生命周期 Hook。

© affaan-m, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/zh-CN/skills/configure-ecc of affaan-m/ECC.

Open the folder on GitHubat commit 4eb71d9

Compare with similar skills

Configure Ecc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Configure Ecc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Configure Ecc this skillaffaan-m/ECC276k—~1.1kAutomated safety check: PassMIT
CCS Task Delegationkaitranntt/ccs2.9k—~1.8kAutomated safety check: PassMIT
Ccmanager Configkbwo/ccmanager1.3k—~1.5kAutomated safety check: PassMIT
Kimi WebbridgeMoonshotAI/kimi-code7.8k—~3.6kAutomated safety check: PassMIT
Open Kimi Pptjinwyp/open-ppt-skill1612 repos~5.1kAutomated safety check: PassMIT
Helmor Bump Vendorsdohooo/helmor1.3k—~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • CCS Task Delegation

    kaitranntt/ccs

    Hands simple, deterministic tasks such as typo fixes, tests and small refactors to cheaper models through the ccs CLI, choosing a profile from your config.

    2.9k GitHub stars~1.8k tokensUpdated 9 days ago
    Agent WorkflowsAuto-check passed
  • Ccmanager Config

    kbwo/ccmanager

    Set up, review, or repair a CCManager config — .ccmanager.json at a git repository root, or the global ~/.config/ccmanager/config.json.

    1.3k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Kimi Webbridge

    MoonshotAI/kimi-code

    Kimi Browser Extension(Kimi 浏览器扩展,原 Kimi WebBridge)lets AI control the user's real browser — navigate, click, type, read, screenshot, and interact with any website using the user's actual login…

    7.8k GitHub stars~3.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Open Kimi Ppt

    jinwyp/open-ppt-skill

    Create, edit, replicate, read, and export presentations. An agent skill from jinwyp/open-ppt-skill.

    161 GitHub starsUsed in 2 repos~5.1k tokens
    Documents & OfficeAuto-check passed
  • Helmor Bump Vendors

    dohooo/helmor

    Bump or upgrade the pinned versions of Helmor's bundled agent CLIs, SDKs, and supporting binaries — Claude Code + claude-agent-sdk (lockstep), Codex, Cursor SDK, OpenCode, Kimi, Pi, and gh / glab /…

    1.3k GitHub stars~2.1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Gen Changesets

    MoonshotAI/kimi-code

    A skill your agent uses when generating changesets in the kimi-code repository — deciding whether to write one, which package to list, the bump level, the wording, and the confirmation workflow.

    7.8k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed

More from affaan-m/ECC

All 683 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    276k GitHub starsUsed in 5 repos~3.1k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    276k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Docs Governance

    affaan-m/ECC

    Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references.

    276k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    276k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    276k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Measures whether agents actually follow a skill, rule or agent definition by generating scenarios at three strictness levels and scoring tool-call traces.

    276k GitHub starsUsed in 1 repo~623 tokens
    Auto-check passed

Works with

Questions about Configure Ecc

What does Configure Ecc do?

在 Claude Code、Codex 或 Kimi 内引导 ECC 安装、更新或重新配置,同时严格遵守各家工具真实的插件、范围和 Hook 能力。. Configure Ecc is an agent skill from affaan-m/ECC.

How do I install Configure Ecc in Claude Code?

Run `npx skills add affaan-m/ECC --skill configure-ecc -a claude-code`. Or copy the skill folder (docs/zh-CN/skills/configure-ecc in affaan-m/ECC) into .claude/skills/configure-ecc in your project. Claude Code loads it when a task matches its description.

How do I install Configure Ecc in Codex?

Run `npx skills add affaan-m/ECC --skill configure-ecc -a codex`. Or copy the skill folder (docs/zh-CN/skills/configure-ecc in affaan-m/ECC) into .agents/skills/configure-ecc in your project. Codex loads it when a task matches its description.

Can I use Configure Ecc in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add affaan-m/ECC --skill configure-ecc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/configure-ecc, .gemini/skills/configure-ecc, .github/skills/configure-ecc and .opencode/skills/configure-ecc in your project.

What does Configure Ecc need to run?

Going by SKILL.md and its folder, Configure Ecc needs the command-line tools its instructions call (npx, codex, claude and node). Our summary lists: Node.js.

Does Configure Ecc access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Configure Ecc safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Configure Ecc use?

Configure Ecc is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Configure Ecc use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Configure Ecc?

Skills that share tags, products or a category with Configure Ecc: CCS Task Delegation (kaitranntt/ccs, 2.9k stars), Ccmanager Config (kbwo/ccmanager, 1.3k stars), Kimi Webbridge (MoonshotAI/kimi-code, 7.8k stars) and Open Kimi Ppt (jinwyp/open-ppt-skill, 161 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Configure Ecc?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 276,111 GitHub stars. The repository holds 683 skills in this directory. The repository was last updated on October 10, 2026.

Source: affaan-m/ECC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.