capabilities-manage
できること
エージェントが、長い手作業ではなく、Kode自身のコマンドを使ってKodeの機能を管理するよう導きます。Kodeのコマンドラインツールを使い、機能を設定してもらいたい人が対象です。
使う場面
- ✓Kodeの機能をオンまたはオフにしたいとき。
- ✓ステータスラインなどのKodeの機能が動かず、直したいとき。
- ✓エージェントに、Kodeの設定を確認し、変更してもらいたいとき。
スキルのリンク
https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/capabilities-manage/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“KodeでTypeScriptの言語サーバーをオンにして、動作することを確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは現在の設定を確認し、Kode自身のコマンドを使って変更を適用し、小さな実際の操作で結果を確認します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.
よくある質問
エージェントは設定ファイルを直接編集しますか?
必要な場合は設定ファイルを読み、編集することがあります。その際、変更は小さく、元に戻しやすく保ちます。
ステータスラインの設定は直してもらえますか?
はい。専用の設定作業に任せるので、コマンドを自分で入力する必要はありません。
変更の後、エージェントは何を確認しますか?
その機能のステータス画面を再確認し、小さな実際の操作を行って動作を確かめます。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 5.2k
- ランキング
- #15019
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
doc-coauthoring
5.2kエージェントが、雑然としたメモから明確な提案書、仕様書、意思決定の文書を作れるよう、段階を追って支援します。新しい読み手の視点で検証もします。
lsp-maintain
5.2kエージェントが、Kodeでコードの候補が出ない理由を調べ、言語サーバーを提供するプラグインを設定できるよう支援します。
mcp-builder
5.2kエージェントが、TypeScriptかPythonで、外部サービスのためのMCPサーバーを作れるよう支援します。AIが使いやすい、明確に名付けられた操作を提供します。
permissions-debug
5.2kエージェントが、Kodeがなぜツールをブロックしたり許可を求め続けたりするのかを調べ、権限の設定を安全に小さく直せるよう支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。