Roukh

Shapa LLM — AI skill for Claude Code

AI community

Memory and a work ledger for coding agents: one SQLite file per repo, checked into git, with hooks and MCP for Claude Code, Codex and OpenCode.

How to install Shapa LLM

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

What Shapa LLM does

Memory and a work ledger for coding agents: one SQLite file per repo, checked into git, with hooks and MCP for Claude Code, Codex and OpenCode.

Alternatives in AI

  • Surface — Show ranked attack surface for a target from its recon manifest + hunt memory 3.8k ★
  • HarnessKit — More than a skill manager — manage skills, MCP servers, plugins, hooks, CLIs, configs, memory & rules across e 416 ★
  • Tma1 — Local-first observability your agent reads back 116 ★

README

shapa

[![tests](https://github.com/Roukh/shapa-llm/actions/workflows/test.yml/badge.svg)](https://github.com/Roukh/shapa-llm/actions/workflows/test.yml) [![PyPI](https://img.shields.io/pypi/v/shapa.svg)](https://pypi.org/project/shapa/) [![Python versions](https://img.shields.io/pypi/pyversions/shapa.svg)](https://pypi.org/project/shapa/) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

shapa gives a coding agent memory and a work ledger that live in one SQLite file per project, checked into git, with hooks for Claude Code, Codex and OpenCode.

Install

Once shapa is on PyPI:

uv tool install 'shapa[semantic,mcp]'
# or
pipx install shapa

Until then, install straight from GitHub:

curl -fsSL https://raw.githubusercontent.com/Roukh/shapa-llm/main/bootstrap.sh | sh

`bootstrap.sh` installs the `shapa` command (pipx, then uv, then `pip --user`) and wires Claude Code's hooks. Pass `--with-semantic`, `--with-mcp` or `--full` to add the optional extras up front; see the comments at the top of the script for every flag and environment variable.

60-second quickstart

# 1. Install shapa (see above).

# 2. In a git repo, create its wiki:
cd your-project
shapa init

# 3. Check that everything is wired correctly:
shapa doctor

# 4. Start your agent as usual. In Claude Code, shapa's hooks load memory
#    at session start and on every prompt; Codex and OpenCode reach the
#    same memory through shapa's MCP tools.

`shapa init` finds the git top level, creates `.shapa/` there and nothing else, and installs two git hooks: `pre-commit` keeps the database off feature branches, and `post-commit` closes the job a `J:` commit names. It never writes into a machine-wide `core.hooksPath` or into hooks owned by husky, lefthook or the pre-commit framework; it prints the lines to add there instead.

What it does

  • Surfaces relevant memory at session start and injects more on every prompt, ranked by relevanc