Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
日本語の概要は準備中です。原文の説明を表示しています。
Designs tool and slash-command runtimes for coding-agent CLIs: registries, deferred loading, tool search, dispatch, forks. Use when modeling tool pools. Not approvals or plugins.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill to design or review the two registries every coding-agent CLI ships: the tool runtime (tool contracts, pool assembly, deferred loading, ToolSearch, execution pipeline, remote rendering, subagent dispatch) and the slash-command runtime (typed command kinds, source-aware discovery, lazy loading, forked commands, remote-safe dispatch).
Both are registries with sources, precedence, filtering before exposure, refresh after topology change, and a single execution path. Design them with one contract vocabulary so permission, telemetry, and rendering semantics do not diverge.
This skill owns tool and command architecture. It does not own approval policy or sandboxing (../ai-coding-agents-safety-envelope/SKILL.md), plugin packaging (../ai-coding-agents-plugins/SKILL.md), session persistence (../ai-coding-agents-state/SKILL.md), MCP server design (../agents-mcp/SKILL.md), or broader architecture (../ai-coding-agents/SKILL.md).
| Question | Read | Outcome |
|---|---|---|
| How should tools be modeled and assembled? | references/tool-registry-and-pool-assembly.md | Tool contract, built-in vs MCP pool, deny filtering, prompt-cache-stable ordering |
| How do deferred tools, execution, and remote results work? | references/deferred-loading-execution-and-remote-results.md | ToolSearch, defer rules, execution pipeline, remote tool-result rendering |
| Should this tool be deferred or always-loaded? | references/deferral-eligibility-decision-tree.md | Decision tree, alwaysLoad vs shouldDefer, per-server and per-tool overrides |
| How does OpenAI Codex model unified exec and composable CLI tools? | references/openai-codex-unified-exec-and-tool-contracts.md | PTY sessions, stdin writes, output budgets, permission-aware params |
| Plugin-activated built-ins, spawn rules, subagent dispatch modes, Goose tool origin, toolshim | references/tool-runtime-extensions-and-goose-patterns.md | Reference-runtime extensions and cross-platform patterns |
| How should commands be represented and discovered? | references/command-registry-and-discovery.md | Registry model, command kinds, load order, source precedence |
| How do commands run inline, forked, and remote? | references/command-dispatch-forking-and-remote-safety.md | Dispatch rules, forked execution, remote-safe filtering, bridge gating |
| Which events must invalidate cached command discovery? | references/memoization-invalidation-contract.md | Event table, invalidation invariants, integration checklist |
| How does OpenAI Codex model slash-command availability? | references/openai-codex-command-state-machine.md | Command metadata, inline-arg support, active-task and side-conversation availability |
| Declarative (recipe-style) commands, precedence, fork inheritance, when a full registry is overkill | references/command-declarative-artifacts-and-judgment-calls.md | Artifact commands, declared extensions, trust-boundary judgment calls |
| Need | Use Instead |
|---|---|
| Approval modes, permission routing, sandbox policy | ../ai-coding-agents-safety-envelope/SKILL.md |
| Plugin package and extension architecture | ../ai-coding-agents-plugins/SKILL.md |
| Session lifecycle, resume, context forking | ../ai-coding-agents-state/SKILL.md |
| Terminal REPL design, remote and bridge transport | ../ai-coding-agents-surfaces/SKILL.md |
| MCP server design | ../agents-mcp/SKILL.md |
| Generic CLI design outside agent runtimes | ../software-devtools/SKILL.md |
plugin:name) never shadows an un-namespaced name, and a namespace separator is not a path.Use the full command contract only when at least two hold: multiple independently loading sources, a remote or bridge client, or model-invocable commands. A CLI with a handful of static commands is better served by a flat match statement.
All files under references/ are listed in the Quick Reference table above.
data/sources.json — Primary documentation and implementation references../ai-coding-agents/SKILL.md — Broader coding-agent architecture../ai-coding-agents-plugins/SKILL.md — Plugin-provided commands and reload semantics../ai-coding-agents-safety-envelope/SKILL.md — Approval and permission routing../agents-mcp/SKILL.md — MCP server connectivity and capability designWhen prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both.
After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
日本語の概要は準備中です。原文の説明を表示しています。
Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.
日本語の概要は準備中です。原文の説明を表示しています。
Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.
日本語の概要は準備中です。原文の説明を表示しています。
Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.
日本語の概要は準備中です。原文の説明を表示しています。
Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.
日本語の概要は準備中です。原文の説明を表示しています。
Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.
日本語の概要は準備中です。原文の説明を表示しています。