configure-ecc
Skill này làm gì
Công cụ này giúp thiết lập ECC, một hệ thống tự động hóa các tác vụ và bổ sung bảo mật cho môi trường lập trình của bạn. Nó hướng dẫn bạn qua từng bước cấu hình.
Khi nào nên dùng
- ✓Khi cài đặt ECC lần đầu.
- ✓Khi cần cập nhật hoặc cấu hình lại ECC.
- ✓Khi có sự cố và bạn cần sửa lại việc cài đặt ECC.
Liên kết skill
https://github.com/affaan-m/ECC/blob/main/skills/configure-ecc/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
📦 Skill này nằm trong các gói sau
Ví dụ cách nhờ AI
“Thiết lập ECC cho tôi với mức bảo mật tiêu chuẩn và phạm vi dự án.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ hỏi bạn muốn dùng ECC như thế nào, chẳng hạn thiết lập nên được lưu ở đâu (cho bạn, cho dự án hay cục bộ) và mức độ tự động hóa mong muốn. Sau đó nó hiển thị tóm tắt những gì sẽ làm và xin bạn xác nhận trước khi áp dụng thay đổi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Configure ECC
Run a conversational wizard inside the current harness. Inventory first, collect only supported choices, preview, confirm once, apply non-interactively, verify, and show the welcome only after success. Never clone ECC into a temporary directory or copy plugin components by hand.
For a human-operated terminal, the canonical entry points are ecc setup and
npx ecc-universal setup. Inside a harness, use the explicit non-interactive
commands below instead.
Route by the current harness
- In Claude Code, use the full scope-and-hook wizard below.
- In Codex, use Codex's native plugin lifecycle. Do not offer Claude scopes or map ECC's four Claude hook profiles onto Codex.
- In Kimi, install the project surface under
./.kimi-code. Kimi does not provide ECC's Claude lifecycle-hook profiles. - If the harness is uncertain, state the detected evidence and ask which harness to configure before running a mutating command.
This skill is a post-install reconfiguration path. It cannot intercept or replace a provider's built-in first-install UI.
Claude Code: run the full conversational wizard
1. Inventory without changing anything
Run both commands and summarize the installed ECC scope, enabled state, and marketplace source:
claude plugin list --json
claude plugin marketplace list --json
Treat a single existing ecc@ecc installation as a reconfiguration. Do not
interpret Claude's provider-owned "Open home page" control as installation
evidence. Stop and report the recovery returned by setup for multiple ECC
scopes, a legacy/manual install, malformed settings, or a marketplace collision;
never guess which state to delete.
2. Collect exactly two choices
Ask exactly one scope question and require one value:
user | project | localuseris global for this user.projectis shared through repository settings.localis private to the current project.
Visually mark only the selected scope as selected or installing. If the user
chooses a different scope from a single existing install, describe it as a
scope migration and include --move-scope in the commands below.
Ask exactly one hook-mode question and require one value:
off | minimal | standard | strictoffkeeps skills and commands but disables ECC hook automation.minimalenables the lightest lifecycle and safety automation.standardbalances quality and safety automation.strictenables the strongest checks and reminders.
Hook preference is personal Claude plugin configuration; it does not follow the selected install scope.
3. Preview and confirm once
Prefer the plugin-bundled setup script. Substitute the two selected values and
include --move-scope only for a scope migration:
node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
--scope <scope> --hooks <hooks> [--move-scope] --dry-run --json
If $CLAUDE_PLUGIN_ROOT is unavailable, use the published npm package:
npx --yes --package ecc-universal ecc setup --mode claude-plugin \
--scope <scope> --hooks <hooks> [--move-scope] --dry-run --json
Show exactly one confirmation summary containing the planned action, one scope,
one hook mode, marketplace action, and any source-to-destination migration.
Ask one yes/no question. Do not run a bare interactive ecc setup through a
harness shell tool because that shell is commonly non-TTY.
4. Apply the explicit choices
After confirmation, rerun the same route without --dry-run. Keep every choice
explicit and request JSON so success can be checked deterministically:
node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
--scope <scope> --hooks <hooks> [--move-scope] --yes --json
Fallback:
npx --yes --package ecc-universal ecc setup --mode claude-plugin \
--scope <scope> --hooks <hooks> [--move-scope] --yes --json
5. Verify, then render the welcome
Require a zero exit status and a setup result whose scope and hooks equal
the selected values. Then independently run:
claude plugin list --json
Continue only when exactly one enabled ecc@ecc entry exists at the selected
scope. When $CLAUDE_PLUGIN_ROOT is available, pass the successful setup
action (installed, updated, migrated, resumed, or
already-migrated) to the bundled renderer:
Before invoking it, require the provider-reported version to match
…
Câu hỏi thường gặp
“Scope” là gì?
Scope xác định nơi các thiết lập ECC sẽ được áp dụng: “user” cho tất cả dự án của bạn, “project” cho một dự án cụ thể được chia sẻ với người khác, hoặc “local” chỉ dành cho bạn trong dự án này.
“Hooks” là gì?
Hooks là các tự động hóa mà ECC có thể thực hiện. Chúng có nhiều mức, từ “off” (không tự động hóa) đến “strict” (kiểm tra và nhắc nhở nghiêm ngặt nhất).
Điều gì xảy ra nếu tôi không xác nhận?
Nếu bạn không xác nhận, sẽ không có thay đổi nào được áp dụng và việc thiết lập bị hủy. Công cụ chỉ tiếp tục khi bạn đồng ý rõ ràng.
Chi tiết
Mô tả gốc của tác giả
Run the conversational ECC setup wizard inside the current harness: inventory the install, collect scope (user/project/local) and hook mode (off/minimal/standard/strict) in Claude Code, use Codex's native plugin lifecycle, or install the project surface under ./.kimi-code, then preview, apply, and verify. Use when installing, updating, reconfiguring, or repairing an ECC installation, changing hook
repo: affaan-m/ECC
Độ phổ biến
- Sao GitHub
- 280k
- Vị trí xếp hạng
- #282
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
accessibility
280kGiúp agent của bạn tạo giao diện mà ai cũng dùng được, đảm bảo website và app hoạt động tốt với người khuyết tật như người mù hoặc khó vận động.
agent-architecture-audit
280kGiúp agent của bạn kiểm tra xem mọi thứ có hoạt động đúng không, đồng thời tìm và sửa các lỗi trong hệ thống AI để chúng chạy như mong đợi.
agent-eval
280kGiúp agent của bạn so sánh các công cụ lập trình AI khác nhau, đo xem công cụ nào nhanh hơn, rẻ hơn và đáng tin cậy hơn cho từng tác vụ.
agent-harness-construction
280kGiúp agent của bạn hiểu rõ hơn cách thực hiện tác vụ, tối ưu các công cụ và chỉ dẫn mà agent dùng để tăng khả năng thành công.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.