BrowseFull catalogOutcomesSolve a specific problemRolesStack by teamTrustFilter by risk tier
← Back to the Claude Observatory

Matryoshka

Skill Documents & Content Usable
Works inClaude Code
Usable Scanned — metadata only

Token budgets are the silent bottleneck in document-heavy AI workflows — Matryoshka uses REPL state to analyze documents that would otherwise blow past conte…

Analyze documents far larger than an LLM's context window without vector databases or chunking. Based on the Recursive Language Models paper: the model emits commands in Nucleus, a constrained S-expression DSL, which the Lattice logic engine parses, validates, and executes against the document — no arbitrary code execution. Ships as a CLI (rlm) plus the lattice-mcp MCP server, whose handle-based results let coding agents query large files with 80%+ token savings.

146 starsApache-2.0 (commercial OK)FreeQuick setup
Usable rating — This tool is functional but has notable gaps. Review the evaluation notes below before deploying.

Token budgets are the silent bottleneck in document-heavy AI workflows — Matryoshka uses REPL state to analyze documents that would otherwise blow past context limits, enabling real analysis instead of truncated summaries.

Analysts and researchers working with large PDFs, legal filings, or technical specs who need Claude to reason over entire documents without losing detail.

Claude Code Claude Cowork Claude Chat

https://github.com/yogthos/Matryoshka

By yogthos

How to Get It

Option 1: Claude Desktop App (Code Mode)Click the + button next to the prompt box → PluginsAdd plugin. Search and click Install. Skills work in Claude Code only.
Option 2: Paste into Claude CodeCopy the command below and paste it into your conversation. Claude will install it.
Command
pnpm add -g matryoshka-rlm (or run once without installing: npx matryoshka-rlm "query" ./file.log); includes the lattice-mcp MCP server

Tip: Paste this into a Claude Code conversation. Verify command matches your Claude Code version.

First thing to try

After installing, paste this into Claude:

Help me analyze 200-page contracts without hitting token limits
CostFree

Trust Signals Auto-scanned

Stars146Contributors5Last updated2026-05-17LicenseApache-2.0 (OK for commercial use)Known CVEsNone foundSources: GitHub Advisory Database + OSV.dev · Scanned 2026-08-15 · scanner vattempted-no-data

Community Pulse Active

Discussed on Hacker News, Reddit

3 mentions across 1 sources

Reviewer notes

Auto-scanned review. These are observations, not a security certification.

catalog_hygiene stale-eval refresh: Scored from trust signals (evidence-eval-v1): 146 GitHub stars; 5 contributors; last commit 93d ago; license Apache-2.0.

Things to check

  • Recently discovered. Looks promising but has limited community feedback so far. We added it early so you can evaluate it before the crowd finds it.

How to evaluate tools before deploying →

Data shown here comes from public APIs and automated scanning. Reviewer notes reflect one person's experience. This is not a security certification or legal recommendation. Always evaluate tools according to your own organization's policies.

Evaluation

Ease of Use
3/5
Versatility
3/5
Reliability
4/5
Security
3/5
Overall score3.25 / 5.00 UsableEvaluatedAug 2026
catalog_hygiene stale-eval refresh: Scored from trust signals (evidence-eval-v1): 146 GitHub stars; 5 contributors; last commit 93d ago; license Apache-2.0.

← Back to the Claude Observatory

Rolling Claude out in your org? Let's talk.

Start a conversation →