Agent Harnesses & Skills

GitKB provides harness-specific installers and a stdio MCP server. Inspect git-kb init --help for the installers included in your binary.

Integration paths

HarnessSetup commandInstalled integration
Claude Codegit-kb init claudeClaude rules, skills, project instructions, and MCP configuration.
Codexgit-kb init codexCodex skills and instructions; optional home installation or hook plugin.
Cursorgit-kb init cursorCursor skills, rules, and .cursor/mcp.json.
Windsurfgit-kb init windsurfWindsurf skills, rules, and MCP configuration.
OpenCodegit-kb init opencode.opencode/ skills and rules, plus opencode.json MCP configuration.
oh-my-pigit-kb init oh-my-pi.omp/ skills and rules, plus .omp/mcp.json.
Grok Buildgit-kb init grok.grok/ skills and rules, plus .grok/config.toml.
OpenClawgit-kb init openclaw.agents/ skills and rules; prints instructions for global MCP registration.
Google Antigravitygit-kb init antigravity.agents/ skill and rule symlinks, .agents/mcp_config.json, and AGENTS.md.
pigit-kb init pi.pi/ skills and rules; MCP access requires a pi MCP extension.
Generic MCP clientRun git-kb mcp through the clientTool access through MCP; configure the client separately.

Preview an install before changing project files:

shell
git-kb init claude --dry-run
git-kb init codex --dry-run
git-kb init opencode --dry-run

The extra harness installers share GitKB’s skills and rules. They do not all implement the same lifecycle hooks. Check each command’s help and generated assets for the integration you use.

Shared skill content

The installers keep canonical project workflows under .kb/skills/ and common rules under .kb/rules/. Harness directories expose those assets in their native layout, usually through symlinks.

text
.kb/skills/        # Shared GitKB workflows
.kb/rules/        # Shared code-intelligence and KB rules
.claude/skills/    # Claude Code skill adapters
.codex/skills/     # Codex skill adapters
.cursor/skills/    # Cursor skill adapters
.windsurf/skills/  # Windsurf skill adapters

Included skills

AreaSkills
KB operations and syncgitkb, remote-sync
Task workflowkb-board, kb-tasks, kb-start, kb-progress, kb-review, kb-close
Knowledge managementkb-create, kb-search, kb-context, kb-status, kb-commit, kb-handoff
Code intelligencecode-intelligence, explore, understand, refactor-safety

Skills provide workflow instructions. MCP tools provide structured operations. An agent follows the operator’s task and project rules when deciding which operations to run.

Codex options

shell
# Preview a home-level asset installation
git-kb init codex --install-home --dry-run

# Preview the GitKB plugin bundle, including hooks and MCP configuration
git-kb init codex --install-hooks --dry-run

--install-home installs skills and instructions under CODEX_HOME; --copy copies assets instead of symlinking them. --install-hooks installs the GitKB Codex plugin bundle. Review the preview, then run the same command without --dry-run to install.

Generic MCP clients

Configure a stdio server with command git-kb and argument mcp. Set the project working directory or GITKB_ROOT so the server selects the intended KB. Use MCP Setup for configuration examples.