Add Claude Code platform support (conflict-resolved)#10
Merged
Conversation
Adds full Kai agent ecosystem for Claude Code: - 21 subagent definitions (Kai orchestrator + 20 specialists) - Claude Code YAML frontmatter format (name, description, tools, model, etc.) - Full orchestration: Kai spawns subagents via Agent tool - Supports nested subagent spawning (Claude Code v2.1.172+) - README with installation and usage instructions
Fixes every issue flagged in the PR #7 review: stale versions across all agents, missing jira-writer subagent, conflicting .kai/ vs native memory: frontmatter, invalid @-mention syntax in agent bodies, deprecated TodoWrite tool, under-specified tool lists (Write/Edit/Bash gaps vs what agent bodies actually need), and zero CI coverage of claude/agents/ (now linted by tests/check_claude_agents.sh, wired into `make lint-agents`). Also expands every claude/agents/*.md subagent to full content parity with its canonical agents/*.md counterpart (Limitations, Agent Interactions, Completion Report, Error Handling, etc.), adapted for Claude Code: bare agent names instead of @-mentions in body prose, and no memory: frontmatter since project memory stays on the cross-platform .kai/ convention. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Add a "How to Use Kai on Claude Code" section alongside the existing OpenCode usage docs, so users know they can run Kai session-wide via `claude --agent kai` or per-task via `@agent-kai`.
Mirrors the Gemini CLI platform port: a dedicated installer script (docs/scripts/installer-claude.sh) that downloads and installs Kai's Claude Code agents, a release workflow step to bundle a claude/ zip asset, and README updates documenting install/usage for Claude Code alongside the existing OpenCode instructions.
# Conflicts: # .github/workflows/release.yml # Makefile # README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #7, which conflicts with
mainafter #8 (Gemini CLI platform) was merged.This branch merges
hamednourhani/feature/claude-code-platform(PR #7 head,a3d19e4) into currentmainand resolves the three conflicting files by keeping both platforms:README.md— Gemini CLI and Claude Code now each have their own installation section; intro/prerequisites mention OpenCode, Gemini CLI, and Claude Code.Makefile—lint-agentsruns bothtests/check_gemini_agents.shandtests/check_claude_agents.sh..github/workflows/release.yml— release packages bothkai-gemini-*.zipandkai-claude-*.zip.Original PR description (from #7, by @hamednourhani):
Verified locally:
tests/check_agents.sh,tests/check_gemini_agents.sh, andtests/check_claude_agents.shall pass.Closes #7