Thanks for your interest in contributing! This guide covers the development setup and conventions for both plugins in this repo.
claude-honcho/
├── .claude-plugin/
│ └── marketplace.json # Claude Code marketplace manifest
├── plugins/
│ ├── honcho/ # Persistent memory plugin
│ │ ├── src/ # TypeScript source (run directly by Bun)
│ │ ├── hooks/ # Hook entry points (thin wrappers into src/)
│ │ ├── skills/ # Plugin skills (setup, config, status, interview)
│ │ ├── mcp-server.ts # MCP server entry point
│ │ ├── mcp-servers.json
│ │ ├── scripts/ # install-local.sh / install-local.ps1
│ │ ├── package.json
│ │ └── tsconfig.json
│ └── honcho-dev/ # SDK skills plugin (no compiled code)
│ ├── skills/ # Skills for building with Honcho SDK
│ └── .claude-plugin/
├── assets/
├── CHANGELOG.md
└── README.md
- Bun -- the honcho plugin uses Bun as its runtime (runs TypeScript directly, no build step)
- A Honcho API key from app.honcho.dev
git clone https://github.com/offendingcommit/claude-honcho.git
cd claude-honcho
pnpm installThe honcho plugin provides persistent memory for Claude Code via hooks and an MCP server. Bun runs TypeScript natively, so there is no build step.
src/hooks/-- Hook implementations (session-start, session-end, user-prompt, pre-compact, post-tool-use, stop)src/mcp/server.ts-- MCP server for memory toolssrc/config.ts-- Configuration managementsrc/cache.ts-- Local caching layerhooks/-- Thin entry-point wrappers that Bun executes directly (these import fromsrc/)skills/-- Plugin skills (setup wizard, status check, etc.)
The repo includes install scripts that sync your local source into Claude Code's plugin cache:
# macOS / Linux
bash scripts/install-local.sh
# Windows (PowerShell)
powershell -ExecutionPolicy Bypass -File scripts\install-local.ps1After running, restart Claude Code to pick up changes.
- Source lives in
src/. No build needed -- Bun runs.tsfiles directly. - Hooks are Claude Code lifecycle hooks. The entry points in
hooks/are thin wrappers; put logic insrc/hooks/. - Skills are markdown-based instructions in
skills/. These don't need compilation. - MCP server provides tools that Claude can call for memory search, context retrieval, etc.
The honcho-dev plugin is skills-only (no code to run). It provides guidance for building apps with the Honcho SDK.
skills/integrate/-- Skill for integrating Honcho into applicationsskills/migrate-py/andskills/migrate-ts/-- Migration guides for Python and TypeScript
To contribute new skills, create a directory under plugins/honcho-dev/skills/ with a SKILL.md file.
- TypeScript with ESM modules
- Bun as the runtime (not Node.js)
- Prefer async/await over callbacks
- Keep hook entry points thin -- put logic in
src/
- Fork the repo and create a feature branch
- Make your changes and test locally with the install-local script
- Update
CHANGELOG.mdif your change is user-facing - Open a pull request with a clear description of what and why
Open an issue at github.com/offendingcommit/claude-honcho.