The Entire CLI supports external agent plugins — standalone binaries (entire-agent-<name>) that implement the Agent interface via a subcommand-based protocol over stdin/stdout. The protocol is documented but there's no tooling to help developers build these binaries.
The existing agent-integration plugin helps internal devs build built-in Go agent packages. This new plugin serves a different need: helping both internal and external developers build standalone binaries against the external agent protocol, in any language.
Goal: Create a Claude Code plugin that guides developers through building protocol-compliant external agent binaries with runtime code generation (no static templates) and conformance validation.
I'll start by researching the existing plugin and skill patterns, then implement everything.
Assistant
Now let me read the key protocol files that the skills will reference.
Assistant
Now let me check for the external agent protocol docs and the existing settings/marketplace files I'll modify.
Assistant
Let me read the full protocol doc and types for the skill content.
Assistant
Now I have full context on the patterns. Let me create all the files.
★ Insight ─────────────────────────────────────
The plugin architecture follows a clean separation: plugin commands are thin YAML-frontmatter markdown files that delegate to skill procedures which contain the full logic. This means the plugin directory handles discovery/routing while skills handle implementation — similar to how a web framework separates routes from controllers.
─────────────────────────────────────────────────
Let me create all the files in parallel groups.
Assistant
Now I'll create all files in parallel.
Assistant
Now the skill files — these are the substantial ones with the full procedures.
Assistant
Now let me modify the two existing files — marketplace.json and settings.json.
Assistant
All files are created. Let me verify the complete file tree.
Assistant
Let me verify the modified files are correct.
Assistant
All files are created and valid.
User
commit-commands:commit
/commit-commands:commit
.claude/skills/entire-external-agent/validator.md
Phase 4: Conformance testing
Files to Modify
File
Change
.claude/plugins/.claude-plugin/marketplace.json
Add entire-external-agent entry
.claude/settings.json
Add "entire-external-agent@entire-dev-tools": true to enabledPlugins
For Python/TypeScript/Rust: similar structure adapted to language conventions.
Stubs: Each subcommand handler parses args, reads stdin if required, returns valid JSON with placeholder values. Binary compiles and responds to info immediately.
Plugin loads: Start Claude Code with --plugin-dir .claude/plugins/entire-external-agent/ and verify all 4 commands appear
Marketplace: Load full marketplace and verify entire-external-agent appears alongside e2e and agent-integration
Commands invoke: Run /entire-external-agent:research and verify it follows the procedure
Orchestrator: Run /entire-external-agent and verify it collects parameters and runs all 4 phases
Standalone mode: Copy plugin dir outside the repo, verify it prompts for protocol spec location
If you need specific details from before exiting plan mode (like exact code snippets, error messages, or content you generated), read the full transcript at: /Users/alisha/.claude/projects/-Users-alisha-Projects-wt-kiro-plugin/f4e3c3e2-ed9e-4091-8a73-345acf72450e.jsonl
★ Insight ─────────────────────────────────────Plugin architecture pattern: This codebase uses a three-layer plugin system: (1) marketplace.json registers plugins with their source directories, (2) settings.json enables plugins using the name@marketplace format, and (3) each plugin's plugin.json provides metadata. Commands are thin markdown wrappers that delegate to skill procedures — keeping the routing concerns separate from the implementation logic. This is analogous to how modern web frameworks separate route definitions from controller/handler code.
External vs internal agent distinction: The agent-integration plugin builds Go packages that compile into the CLI binary (direct interface implementation). This new entire-external-agent plugin builds standalone binaries that communicate with the CLI over a subcommand protocol (stdin/stdout JSON). Same interface, different integration boundary — like the difference between a library dependency and a microservice.
─────────────────────────────────────────────────