sysread

Thatch — Development skill for Claude Code

Development community

Memory, customization, and dev skill system for OpenCode.

How to install Thatch

This entry records only its repository, not the path inside it, so there is no exact command to give. Open sysread/thatch and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Thatch does

Memory, customization, and dev skill system for OpenCode.

Alternatives in Development

  • Cleanup Builds — Cleanup Dev Builds 20k ★
  • Feature Dev — Comprehensive feature development with specialized agents 14k ★
  • Check 1: Cache Exists? — CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}" CACHE_EXISTS=$(ls -d "$CLAUDE_DIR/plugins/cache/claude-hud" 2 10.9k ★

README

Thatch

[![CI](https://github.com/sysread/thatch/actions/workflows/ci.yml/badge.svg)](https://github.com/sysread/thatch/actions/workflows/ci.yml)

Persistent memory and operational methodology for AI coding agents. Works with **OpenCode** (as a plugin), **Claude Code** (as a local MCP server), and **Cursor** (as a local MCP server).

Each session inherits the accumulated knowledge of every session before it: project architecture, conventions, gotchas, user preferences. Your agent starts with context instead of a blank slate. No API keys, no cloud services; everything runs on your machine.

Quick start

OpenCode

// opencode.jsonc
{ "plugin": ["@jeffober/thatch"] }

On next start, OpenCode npm-installs thatch and its tools are available immediately. For async extraction (child sessions run in the background):

export OPENCODE_EXPERIMENTAL_BACKGROUND_SUBAGENTS=true

Without this env var, extraction still works - the child session runs synchronously (fire-and-forget) instead of asynchronously.

Then **prime your project memory** by running `thatch prime` in your project directory. This launches an `opencode` session to build an initial map of the code base and seed the memory.

Claude Code and Cursor

Install globally, then run setup in your project:

npm install -g @jeffober/thatch
cd /path/to/your/project
thatch setup --claude    # or --cursor

# set up in your global config for all projects
thatch setup --claude --global  # or --cursor --global

`setup` installs the MCP server config, hooks, instructions, and skills. Restart your editor and thatch's tools are available as `mcp__thatch__*`. Requires [Bun] on PATH.

Other MCP-compatible harnesses

{
  "mcpServers": {
    "thatch": { "command": "thatch", "args": ["mcp"] }
  }
}

Include thatch's instructions in your agent's system prompt manually; see [docs/dev/mcp-parity.md](docs/dev/mcp-parity.md) for the prompt text.

What's inside

Thatch gives yo