Installation
From the official marketplace
Anthropic auto-registersclaude-plugins-official. Once Kasava is listed there, this is the simplest path:
From our marketplace (today)
Test locally
Setup
1
Create an API key
Go to Settings → API Keys in Kasava and click Create API Key. Copy the key immediately — it’s only shown once. Format:
kasava_live_… or kasava_test_….2
Enter the key in Claude Code
When Claude Code prompts for your API key, paste it. The key is stored securely in your system keychain.Already running the Kasava CLI? The same API key works in both. Just paste it again, or
eval "$(kasava env)" in your shell to share it via KASAVA_TOKEN.3
Optional: install the CLI alongside
The plugin auto-discovers a local
.kasava/ artifact if you’ve run kasava install + kasava sync in the repo. That gives the plugin zero-token-cost access to plans, graph, and symbols.4
Start coding
Claude automatically uses Kasava tools and skills when relevant. You can also invoke slash commands explicitly with
/kasava:<command>.What’s Included
MCP connection (8 tools)
The plugin connects to Kasava’s MCP server atapi.kasava.dev/v1/mcp/sse, exposing:
Plus 3 Mastra agents (
ask_codeIntelligenceAgent, ask_productInsightsAgent, ask_architectureInvestigationAgent) and 2 workflows (run_bugAnalysisWorkflow, run_deepResearchWorkflow).
The toolset is intentionally small (cut from 23 in May 2026 — see ADR-0015). Cacheable data — product graph, work breakdowns, ownership, rationale — lives in your local .kasava/ artifact instead, refreshed by kasava sync. The plugin’s skills prefer the artifact over MCP for that data, then fall through to MCP for live queries.
6 auto-trigger skills
These activate when Claude detects matching user intent.8 slash commands
User-invoked only — these don’t auto-trigger so you control when they run.
The two billable variants (
/kasava:ask-ai and kasava sync --ai) are deliberately not in the allowlist — Claude Code prompts every invocation so credits never get spent without your click.
4 subagents
Delegate read-heavy investigations instead of running them in the main thread. They run in isolated context and return a focused summary.
Invoke with
@<agent-name>:
UserPromptSubmit hook
The plugin installs a hook at${CLAUDE_PLUGIN_ROOT}/scripts/inject-context.sh that fires on every prompt. When you’re inside a .kasava/-bound repo, it injects:
- A reminder to read
.kasava/PRODUCT_MAP.md,plans/*.md, and the local artifact first - The CLI commands available (
kasava plan,kasava ask,kasava ownership, etc.) - A “View in Kasava → app.kasava.dev/products/…” deep link
- A staleness hint if
.kasava/config.jsonis more than 7 days old
Usage Examples
Load product context before coding:kasava-context and kasava-product skills activate, read .kasava/PRODUCT_MAP.md and graph.json, and surface feature areas, architecture layers, and tech stack.
Search code with the symbol graph:
kasava-code skill activates, calls code-tool action search_symbols then find_dependencies, and returns the definition with its dependents.
Investigate a bug (delegated):
.kasava/plans/, resolves named symbols to current implementations, and returns a starter brief with acceptance criteria and a suggested first step.
Record a decision:
kasava decisions add. Returns the new decision ID and a deep link to the product timeline.
Troubleshooting
Plugin not loading
Plugin not loading
Run
/plugin validate . from the plugin directory. Confirm Claude Code is on a recent version.MCP connection failing
MCP connection failing
Verify your API key at Settings → API Keys. Test connectivity with:
Skills not triggering automatically
Skills not triggering automatically
Try invoking directly:
/kasava:kasava-product. If that works, the skill description may not match your phrasing — try rephrasing or just use the slash command. Skill descriptions are tuned for natural phrasing like “what’s the architecture” rather than abstract terms like “structural overview”.Tools returning empty results
Tools returning empty results
Ensure you have at least one indexed repository in Kasava. Check the repository’s index status in the Kasava dashboard at app.kasava.dev.
`.kasava/` not found in this repo
`.kasava/` not found in this repo
The plugin works without the local artifact (it falls back to MCP for everything), but you’ll get more value with it. Run
kasava install then kasava sync in the repo root. See the CLI guide for setup.Claude trying to run `--ai` variants without asking
Claude trying to run `--ai` variants without asking
The plugin’s permission allowlist deliberately excludes
kasava sync --ai and kasava ask --ai. Claude Code should always prompt before running them. If it doesn’t, your ~/.claude/settings.json may have an overly broad allowlist — check for a Bash(kasava *) rule that bypasses the per-command exact-match.