Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Summary

Give Claude Code persistent memory of your codebase. Builds a SQLite graph of files, symbols, and dependencies. Routes reads to the right files, tracks decisions, and records plan progress across sessions. Includes the full Superpowers development methodology, Plannotator visual plan review, and slash commands for /build, /codex-review, /mdd, and /diagram.

Install to Claude Code

/plugin install tessera@tessera

Run in Claude Code. Add the marketplace first with /plugin marketplace add dr-code/tessera if you haven't already.

README.md

Tessera

Persistent codebase memory for Claude Code — open source, no license gating.

Tessera gives Claude Code a semantic understanding of your project that persists across turns and sessions, eliminating redundant file re-reads and providing a structured action history.

How it works

1. tessera scan . — builds a SQLite graph of your codebase (files, symbols, imports) 2. Claude calls graph_continue every turn — routes to cached, scored file recommendations 3. graph_register_edit updates the graph after edits, auto-checks plan checklists 4. Optional: run tessera debate "task" for a Claude vs GPT multi-round planning debate

Installation

Claude Code plugin (recommended)

claude plugin marketplace add dr-code/tessera
claude plugin install tessera@tessera

This registers the MCP server (via uvx — no Python env needed) and auto-installs all skills (/build, /debate, /cleanup, /plan-review, /codex-review). Then in any project:

tessera scan .          # builds graph, writes .mcp.json and CLAUDE.md

pip (manual / CI)

curl -fsSL https://raw.githubusercontent.com/dr-code/tessera/main/install.sh | bash

When the claude CLI is present the script uses the plugin marketplace (registers the MCP server via uvx and installs all skills). Without it, it falls back to pip install tessera and offers to copy the skills to ~/.claude/skills/.

Then in any project:

tessera scan .          # builds graph, writes .mcp.json and CLAUDE.md

Manual alternatives

# Claude Code plugin (two steps)
claude plugin marketplace add dr-code/tessera
claude plugin install tessera@tessera

# pip only
pip install tessera          # core — no API keys needed
pip install tessera[debate]  # adds debate mode (requires ANTHROPIC_API_KEY + codex CLI)
pip install tessera[dashboard]
pip install tessera[all]

Quick start

cd my-project
tessera scan .          # builds graph, writes .mcp.json and CLAUDE.md
tessera status          # show graph stats
tessera dashboard       # start dashboard at localhost:5050

MCP registration

After tessera scan ., your project will have a .mcp.json:

{
  "mcpServers": {
    "tessera": {
      "command": "uvx",
      "args": ["--from", "tessera", "tessera", "mcp"],
      "env": { "TESSERA_PROJECT_ROOT": "/path/to/project" }
    }
  }
}

uvx fetches and caches tessera from PyPI on first run — no PATH entry needed. Claude Code picks this up automatically.

CLI reference

tessera scan [PATH]              Build/rebuild the graph
tessera mcp                      Start MCP server (stdio)
tessera status [PATH]            Show graph stats
tessera decisions [PATH]         List locked decisions
tessera reset [PATH]             Clear action graph
tessera plans [PROJECT [SUB]]    List archived plans
tessera verify [PATH]            Compliance: plan vs git diff
tessera handoff [PATH]           Generate clipboard handoff summary
tessera debate "task" [flags]    Run Claude vs GPT debate
tessera dashboard [PATH]         Start dashboard at localhost:5050

Debate mode

Requires pip install tessera[debate] and the codex CLI.

Connecting to ChatGPT (no API key needed)

If you have a ChatGPT Plus or Pro subscription you can authenticate the codex CLI with it — no separate API key or billing setup required:

npm install -g @openai/codex   # install once
codex auth login               # opens browser — sign in with your ChatGPT account

That's it. tessera debate and all Claude Code skills (/debate, /build, /cleanup, etc.) will use your subscription automatically.

Connecting via API key (optional)

Set OPENAI_API_KEY if you prefer direct API billing rather than the subscription OAuth path.

tessera debate "Add JWT authentication" \
  --project myapp \
  --subtask auth-middleware \
  --max-rounds 3

Feature flags

| Flag | Default | Effect | |---|---|---| | TESSERA_ENABLE_DEBATE | on | Enables tessera debate | | TESSERA_ENABLE_DASHBOARD | on | Enables tessera dashboard | | TESSERA_ENABLE_COMPLIANCE | on | Enables tessera verify |

Token savings target

| Metric | Target | |---|---| | Turn 2+ read reduction | ≥50% chars vs cold-start | | 10-turn session reduction | ≥40% total chars | | Cache hit rate (after turn 3) | ≥60% | | Symbol excerpt savings | ≥70% vs full-file reads |

Claude Code in-session skills

Tessera ships five Claude Code slash commands that use the tessera graph for context and Codex CLI for GPT's perspective. The plugin marketplace install auto-installs them from the skills/ directory in this repo. For manual install, run ./install.sh or copy from skills/ to ~/.claude/skills/.

Requires: codex CLI (npm install -g @openai/codex) authenticated via codex auth login (ChatGPT subscription) or OPENAI_API_KEY.

| Skill | Usage | Description | |---|---|---| | /debate | /debate "REST vs GraphQL" | Multi-round Claude vs GPT debate on architecture or design decisions | | /build | /build "add JWT auth" | Full build loop: GPT plans → debate → user approval → implement → GPT review | | /cleanup | /cleanup src/ | Bidirectional slop scanner — Claude + GPT independently analyze, then reconcile | | /plan-review | /plan-review plan.md | Send an implementation plan to GPT for structured review before coding | | /codex-review | /codex-review HEAD~2 | Independent GPT code review of staged changes, commits, or files |

All skills degrade gracefully when tessera MCP is not configured — they still run Claude+GPT collaboration, just without graph context.

License

MIT

Related plugins

Browse all →