← Back to Leaderboard
Rraiyanyahya

raiyanyahya/recall

Local Python plugin that carries project context across coding-agent sessions

Engineering Health (Methodology)
B+ · 66/100
Maintenance Activity
● Updated 2mo ago
Latest Release
v0.4.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance20/35
Fork Adoption12/25
Release Cadence14/20
License Clarity20/20
CLILocal AI
Total Stars
★ 770
24h Growth
+0
7d Growth
+2
Forks
44

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

raiyanyahya/recall Star History (2026-06-18 - 2026-12-04) ALL-TIME STAR HISTORY (2026-06 – 2026-12) +769 in 169d · avg +5/day 813 407 0 2026-06-18: ★ 12026-07-04: ★ 6662026-07-18: ★ 7042026-08-01: ★ 7272026-08-15: ★ 7312026-08-29: ★ 7372026-09-12: ★ 7452026-09-26: ★ 7482026-10-10: ★ 7542026-10-24: ★ 7632026-11-04: ★ 7632026-11-15: ★ 7672026-11-26: ★ 7682026-12-04: ★ 770 ★ 770 06-18 09-10 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Recall is a lifecycle-driven plugin, not an MCP server or a memory service. Claude Code loads the manifest in .claude-plugin/; hooks/hooks.json wires session-start handling and incremental capture on Stop and SessionEnd. scripts/parse_transcript.py turns transcript entries into events, scripts/capture.py appends new activity to .recall/history.md, and scripts/make_context.py rebuilds the separate .recall/context.md handoff.

scripts/summarizer.py builds TF-IDF sentence vectors and a cosine-similarity graph, runs TextRank, and restores the selected sentences to source order. The implementation runs on the Python standard library, with NumPy as an optional accelerator. OpenCode reuses the same Markdown and summarization pipeline rather than maintaining a separate store: a generated TypeScript shim reacts to session.idle, and the adapter reads the session through the public opencode export CLI.

Key Capabilities & Differentiators

The history records prompts, replies, files touched, and commands run. The digest combines extracted sentences with the initial goal, where work stopped, open threads, and optionally git diff --stat and recent commits. The full digest is roughly 1–2K tokens, not a fixed limit. The default configuration keeps eight ranked sentences and supplies up to 200,000 characters to the summarizer, discarding the oldest input first.

Claude Code exposes /recall:save, /recall:show, and /recall:log; its startup hook asks whether to resume from context and whether to keep logging. OpenCode provides /recall-save and loads the digest through instructions. Auto-save is off by default. With auto_save_context: "on_end", Claude Code rebuilds at session end, whereas OpenCode can rebuild on each idle turn. To stop capture temporarily, create .recall/.capture-paused.

Trade-offs & Limitations

Recall complements CLAUDE.md and --continue / --resume: the first stores curated instructions, the latter recover a conversation, and Recall generates a compact record of what happened. Extractive ranking avoids a separate inference bill but cannot reliably identify every decision or unresolved constraint. Older details can fall outside the input cap. CI checks selection against lead, tail, and random baselines on labeled fixtures and checks parity between Python and NumPy; it does not enforce latency targets.

Recall itself makes no network calls, but a digest loaded by the host can become part of that host's model context. Redaction is best-effort, so keep .recall/ ignored by default and review files before sharing. Claude Code fences recalled text as untrusted reference data; the OpenCode integration loads the file through instructions, so do not assume the same confirmation step. Treat shared memory as untrusted input, especially in repositories with broad write access.

Hardware & Deployment Guide

Install Recall from Claude Code with /plugin marketplace add raiyanyahya/recall and /plugin install recall@recall, or load a checkout with claude --plugin-dir /path/to/recall. The runtime is local Python; CI covers Python 3.9–3.13 with and without NumPy. There is no pip install step for Recall, no service or GPU to provision, and no summarizer API key. Git is used for optional repository context. The v0.3.6 release fixed silent capture and context-surfacing failures on standard Windows installations.

v0.4.0 added opt-in OpenCode support while leaving the Claude Code path unchanged. Clone Recall and run python3 ~/recall/scripts/install.py --opencode --project /path/to/your/project. The installer writes .opencode/plugins/recall.ts and .opencode/commands/recall-save.md, and updates opencode.json to load .recall/context.md. Keep the clone at a stable path because the generated plugin points to it. Test capture, save, and restart on a representative project before rolling the setup out.

Lifecycle capture: Claude Code appends new turns through Stop and SessionEnd; OpenCode captures on session.idle through opencode export.
Shared state: .recall/history.md is append-only, while .recall/context.md is overwritten with the current handoff.
Local ranking: TF-IDF, cosine similarity, and TextRank select source sentences; optional NumPy and pure-Python paths are checked for sentence-selection parity.
Configurable bounds: Defaults retain eight summary sentences and cap summarizer input at 200,000 characters, dropping the oldest text first.
Git controls: Git enrichment can be disabled with include_git: false; when enabled, Git reads disable external diffs, the pager, hooks, and fsmonitor.
Release milestones: v0.3.6 fixed capture and context surfacing on standard Windows installs; v0.4.0 added opt-in OpenCode integration.
Best For

Claude Code or OpenCode users who repeatedly return to the same repository and want an inspectable handoff without a separate summarization service.

Skip If

You need full transcript fidelity, support for Codex, or a workflow that forbids saving session content in project-local plaintext.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

CLILocal AI
python -m venv .venv && . .venv/bin/activate
pip install pytest ruff bandit numpy   # numpy optional

ruff check scripts tests benchmarks    # lint
bandit -c pyproject.toml -r scripts    # security static analysis
pytest                                 # run the suite (also test without numpy)
python benchmarks/bench.py             # perf + quality numbers (human-readable)
python benchmarks/bench.py --check     # assert quality invariants (the CI gate)
claude plugin validate .               # official manifest validation

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
recall ★770+2PythonMITLocal Python plugin that carries project context across coding-agent sessions
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.
rtk88.7k+684RustApache-2.0A local Rust CLI wrapper that trims command output before coding agents read it.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/raiyanyahya/recall.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

raiyanyahya/recall Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about recall

How do Claude Code and OpenCode capture and reload memory?

Claude Code uses Stop and SessionEnd hooks to capture activity and SessionStart to surface saved context. OpenCode uses a generated TypeScript shim that captures on session.idle through opencode export, and loads the digest through opencode.json instructions. Both can use the same project-local Markdown files.

What hardware does Recall need, and where does overhead come from?

Recall needs no GPU, VRAM allocation, or local model server. Its summarizer runs on the CPU with Python's standard library; NumPy is an optional accelerator. The default 200,000-character input cap limits what goes into summarization, not the size of the append-only history. For OpenCode, test on_end on representative sessions because it can summarize after each turn.

Can we use it commercially, and does local processing settle compliance?

Recall is MIT-licensed, so commercial use and redistribution are permitted subject to the license's notice requirements. There is no Recall service to self-host: it runs inside your local agent setup. Treat generated Markdown as potentially sensitive, and assess the host agent separately: when it uses the digest, that text becomes part of its model context and is subject to the host's data-handling policy.

When should I use Recall instead of `--resume` or `CLAUDE.md`?

Use --resume when you need the original conversation, and CLAUDE.md when you need stable instructions. Recall is better suited to a compact, generated handoff across sessions or between Claude Code and OpenCode. Its extractive digest can leave out a critical constraint, so verify important details against the log or source before acting.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining raiyanyahya/recall? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature raiyanyahya/recall on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare