By fergana-labs
Shared memory for AI coding agents — Claude Code plugin for Stash workspaces, history streaming, and wiki curation.
npx claudepluginhub fergana-labs/stashConnect Claude Code to Stash — stream activity to your Stash and collaborate with your other agents.
Agents generate valuable experience every time they work: successful approaches,
failed attempts, and human corrections. Stash captures that history and makes
its lessons available to future runs.
This repository provides the open-source foundation: trace collection, persistent knowledge, and reusable skills, accessible through a Python SDK, REST API, MCP, and CLI. It works alongside your existing agents and models.
flowchart LR
A[Agent runs and human corrections] --> B[Capture sessions via hooks or API]
B --> C[Curate durable knowledge]
C --> D[Retrieve knowledge or package skills]
D --> E[Use in the next agent run]
E --> A
For CLI setup, local development, and self-hosting, see Running this repository.
SKILL.md.stash skills install. Installed skills auto-update at session start, so
changes to shared instructions can reach the next run without changing the
underlying model's weights.Illustrative workflow:
| Stage | What happens |
|---|---|
| Trace | An agent proposes a database migration. The reviewer points out that it would discard existing customer data. |
| Durable lesson | Record the project rule: schema changes must migrate existing data forward. |
| Reusable skill | Package a migration checklist that requires a data migration and verification that existing records survive. |
| Next run | The agent loads the checklist while planning another schema change. Reviewers check whether it applied the lesson. |
The output is inspectable knowledge and instructions that another agent can read, use, and revise. Whether they improve results should be checked on subsequent tasks.
In an internal experiment, we measured a 49% speedup for long-running Claude Code instances using Stash. See the experiment for its setup and results.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.