capabilities-manage
Skill này làm gì
Skill này hướng dẫn agent quản lý các tính năng của Kode thông qua chính các lệnh của Kode, thay vì các bước thủ công dài. Skill dành cho người dùng công cụ dòng lệnh Kode và muốn các tính năng được thiết lập sẵn cho mình.
Khi nào nên dùng
- ✓Khi bạn muốn bật hoặc tắt một tính năng của Kode.
- ✓Khi một tính năng Kode như thanh trạng thái không hoạt động và bạn muốn sửa.
- ✓Khi bạn muốn agent kiểm tra và thay đổi cài đặt của chính Kode cho bạn.
Liên kết skill
https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/capabilities-manage/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.
Ví dụ cách nhờ AI
“Bật language server cho TypeScript trong Kode và kiểm tra xem nó có hoạt động không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent xem các cài đặt hiện tại, áp dụng thay đổi bằng các lệnh của chính Kode, rồi kiểm tra kết quả bằng một thao tác thật nhỏ.
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.
Capabilities Manage
Goal
Make users manage Kode features by expressing intent (“enable LSP for TS”, “fix my statusline”) while the agent performs the necessary actions via the agent CLI.
Rules (do not violate)
- Do not output “installation menu” scripts or long lists of install commands.
- Prefer
SlashCommandto run Kode commands (/statusline,/lsp,/plugin ...) instead of asking the user to do it manually. - Keep changes minimal and reversible; verify after each change.
Workflow
- Clarify which capability:
statusline/lsp/output-style/plugins(or multiple). - Inspect current state with minimal friction:
- Read settings files (
~/.kode/settings.json,.kode/settings.local.json). - For interactive status screens, ask the user to open them (single step):
/lsp,/output-style.
- Read settings files (
- Apply changes:
- statusline: create a Task with subagent_type
statusline-setup(do not ask the user to memorize the command). - lsp: ensure a plugin provides
.lsp.jsonmappings; manage via/plugin, then re-check via/lspscreen. - output styles: set
outputStylein settings (or ask the user to choose via/output-style); for edits, edit the output style markdown file and then re-check/output-style.
- statusline: create a Task with subagent_type
- Verify: re-check status screens and run a minimal real operation.
Capabilities audit (recommended for /capabilities)
Keep this fast and low-friction: default output should be a short checklist and only one question when a choice is required.
- Read current settings (best effort):
~/.kode/settings.json(global).kode/settings.local.json(project, if present)
- Produce a compact checklist (OK / Needs attention) for:
- Statusline: global
settings.jsoncontainsstatusLine. - Output style: either settings file contains a non-empty
outputStylestring. - Plugins & LSP readiness: mention that LSP is plugin-driven; if the user cares, ask them to open
/lsp(single step) to confirm resolved servers. - Permission friction: if the user reports unexpected denials/repeated prompts, invoke the
permissions-debugskill.
- Statusline: global
- Auto-fix what you can safely:
- Statusline: if requested, create a Task with subagent_type
statusline-setup(do not ask the user to memorize the command). - Output style: set
outputStylein.kode/settings.local.json(project) or~/.kode/settings.json(global) and re-read to verify.
- Statusline: if requested, create a Task with subagent_type
- Verify each fix immediately by re-reading the changed file(s) and summarizing what changed.
Câu hỏi thường gặp
Agent có tự sửa tệp cài đặt của tôi không?
Nó có thể đọc các tệp cài đặt và chỉnh sửa khi cần, giữ mỗi thay đổi nhỏ và dễ hoàn tác.
Nó có sửa thanh trạng thái giúp tôi không?
Có. Nó giao việc thiết lập thanh trạng thái cho một tác vụ thiết lập chuyên dụng, nên bạn không cần tự gõ lệnh.
Agent kiểm tra gì sau khi thay đổi?
Nó kiểm tra lại màn hình trạng thái của tính năng và chạy một thao tác thật nhỏ để xác nhận nó hoạt động.
Chi tiết
Mô tả gốc của tác giả
Kode capability-management playbook: treat features (LSP, statusline, output styles, plugins, notifications) as configurable capabilities and drive changes through the agent CLI (SlashCommand/Task) instead of pushing users into menu-like flows. Use when the user asks to enable/disable/configure a capability, diagnose why it’s off, or wants the agent to self-manage Kode’s own features (meta capability management).
repo: shareAI-lab/Kode-CLI
Độ phổ biến
- Sao GitHub
- 5.2k
- Vị trí xếp hạng
- #15019
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
doc-coauthoring
5.2kHướng dẫn agent của bạn viết một đề xuất, đặc tả hoặc tài liệu quyết định rõ ràng từ ghi chú thô, rồi kiểm tra nó bằng một người đọc mới.
lsp-maintain
5.2kGiúp agent của bạn tìm hiểu vì sao Kode không gợi ý mã và thiết lập plugin cung cấp language server còn thiếu.
mcp-builder
5.2kHướng dẫn agent của bạn xây dựng máy chủ MCP cung cấp cho AI các hành động rõ ràng, được đặt tên tốt cho một dịch vụ bên ngoài, bằng TypeScript hoặc Python.
permissions-debug
5.2kGiúp agent của bạn tìm hiểu vì sao Kode liên tục chặn hoặc hỏi quyền cho một công cụ, và sửa cài đặt quyền theo cách nhỏ gọn, an toàn.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.