-
Notifications
You must be signed in to change notification settings - Fork 1
Compiler
github-actions[bot] edited this page Aug 5, 2026
·
2 revisions
agent-toolkit includes a deterministic compiler that transforms canonical skills, agents, and loops into native artifacts for each AI coding platform.
# Dry-run: show what would be compiled
agent-toolkit build --target claude-code --check
# Compile for a specific target and product
agent-toolkit build --target cursor --product agent-toolkit-core
# Show changes vs currently installed bundles
agent-toolkit diff --target cursor
# List all canonical capabilities
agent-toolkit inventory
# Show platform capability matrix
agent-toolkit matrix
# Generate release artifacts (dry run β never publishes)
agent-toolkit release --dry-run --output dist/canonical sources
β parse (loader.py)
validated canonical IR (CanonicalGraph)
β target negotiation
target-specific IR
β render (each adapter)
native package source
β verify
CompilationResult (emitted / unsupported / warnings)
Each target has its own adapter in packages/agent-toolkit-cli/src/agent_toolkit/compiler/targets/:
| Target | Adapter | Package type |
|---|---|---|
| claude-code | ClaudeCodeAdapter | plugin (.claude-plugin/) |
| cursor | CursorAdapter | plugin (.cursor-plugin/) |
| copilot-cli | CopilotCLIAdapter | plugin (plugin.json) |
| copilot-repository | CopilotRepositoryAdapter | repository-customization |
| gemini-cli | GeminiCLIAdapter | extension |
| opencode | OpenCodeAdapter | companion-assets |
| pi | PiAdapter | companion-assets |
| windsurf | WindsurfAdapter | customization-bundle |
| codex | CodexAdapter | plugin (experimental) |
Every adapter returns a CompilationResult that explicitly documents:
-
emittedβ capabilities successfully compiled -
transformedβ compiled with modification (e.g. SKILL.md β TOML command) -
omittedβ safely skipped (source file missing) -
unsupportedβ capability not supported by this target -
warningsβ non-fatal issues -
errorsβ compilation failures
Unsupported capabilities are never silently dropped. The build fails if a required capability cannot be represented for a target.
See Contributing for the step-by-step guide.
Getting Started
Reference
- π οΈ Skills
- π€ Agents
- π Loop Engineering
- π MCP Setup
- π₯οΈ Profiles
- π Plugin Marketplace
Compiler