Vibeleaderboard
Index / tool
Visit github.com
Category
Developer Tools
Rank
No. 2031Tools index
Pricing
Open Source
Type
TOOL
Builder
obra
GitHub
25 stars
Date

About

Claude Code plugin that captures and logs decisions made during agent sessions.

What it does

It keeps a project memory of choices, rationales, alternatives, and debugging attempts. Decisions remain searchable between sessions, while problem histories stay tied to one session. Before context compression, a hook restores the important working state automatically.

Why it's ranked here

The design targets a costly agent failure: forgetting settled choices and repeating failed debugging attempts. Searchable project history and automatic compaction recovery form a coherent workflow. The experimental warning matters, but the integration, hook, edge-case, and end-to-end tests provide credible engineering evidence.

What's good

Decision records include considered options, the chosen answer, rationale, and optional tags. Problem records distinguish failed and successful attempts, preserve details, and capture final resolutions. Open problems retain full approach history during compaction, while resolved problems receive concise summaries. Data stays in readable local JSON.

Tradeoffs

The author calls it experimental and says real Claude Code usage remains sparse. Recording depends on the agent consistently logging choices and each attempted approach. Problem histories do not persist across sessions like decisions do. Storage uses whole-file synchronous JSON reads and writes without file locking, which creates scaling and concurrency concerns.

How to use it well

Use it for long Claude Code sessions involving architecture choices, debugging branches, or frequent context compression. Log a decision when alternatives matter later, and record every troubleshooting attempt before moving onward. It complements source control and project documentation, but does not replace either or provide general task management.

Technical notes+

server/src/index.ts starts a TypeScript MCP server over stdio and assigns a random session identifier. server/src/tools.ts registers seven MCP tools with Zod schemas. server/src/storage.ts stores project decisions and session problems as JSON, using synchronous filesystem operations and returning empty collections after read or parse failures. server/src/project-slug.ts derives a 12-character SHA-256 project key from the Git origin URL, falling back to the working directory. server/src/hook-helpers.ts implements SessionStart and PreCompact injection; PreCompact selects the session whose metadata.json has the newest modification time. .mcp.json launches the compiled server with Node. Tests appear in server/src/test/integration.ts, server/src/test/hooks.ts, server/src/test/edge-cases.ts, and server/src/test/e2e-workflow.ts.

Observed

Primary language
TypeScript
Interface
MCP server using standard input and output transport
Tool surface
Seven MCP tools for decisions, problem tracking, search, listing, and context recovery
Install surface
Claude Code plugin directory loading or repository-based marketplace configuration
Runtime
Node.js launches the compiled server
Storage
Local JSON files grouped by project and session under the Claude user data directory
Testing
Repository includes integration, hook, edge-case, and end-to-end workflow test files

Read from README.md, server/src/index.ts, server/src/tools.ts, server/src/types.ts, server/src/storage.ts, server/src/hook-helpers.ts, server/src/project-slug.ts, server/src/hook-pre-compact.ts, server/src/hook-session-start.ts, server/src/test/hooks.ts, server/src/test/helpers.ts, server/src/test/edge-cases.ts, server/src/test/integration.ts, server/src/test/e2e-workflow.ts, .mcp.json.

What it can do

  • Capture decisions made during agent sessions

    Agent session data and decision pointsLogged decision records

  • Log decision details with timestamps

    Decision information and contextTimestamped decision entries

  • Track decision history across sessions

    Multiple agent sessionsDecision history log

  • Store decision rationale and context

    Decision reasoning and background informationDetailed decision documentation

  • Generate decision audit trail

    Logged decision dataAudit trail report

Tags

claude-codepluginloggingdecisions

Tech Stack

ShellTypeScript

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.