/bullpen:bullpen-memoryfrom bullpen
Retrieves relevant past learnings from a project's local memory store before bullpen agents run. Injects context from prior sessions — preferences, decisions, patterns, failures, or code snippets.
Ships in bullpen. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill retrieves the top relevant past learnings for the active bullpen agent and injects them as a <bullpen-memory> block in the agent's working context.
Invoke automatically as the first step of any bullpen agent's task. Skip if the agent is one of the five Interns (they're the writers, not the readers).
agent_role — the agent's id field from roster.json (e.g., ui-designer)task_summary — a short string describing what the user is asking for<project root>/.bullpen/memory.json
The "project root" is the nearest ancestor directory containing .git (falls back to current working directory if no git repo). Memory is per-project — different projects = different memory. Auto-.gitignore'd on first write so it never accidentally enters commits unless the user explicitly opts in.
Run the bundled memory script from the project working directory:
node ${CLAUDE_PLUGIN_ROOT}/scripts/memory.js search <agent_role> "<task_summary>" 5
The script returns up to 5 records ranked by token-overlap relevance, in this shape:
[
{ "id": "...", "text": "...", "type": "snippet", "agent_role": "ui-designer", "project_path": "...", "created_at": "...", "_score": 0.4 },
...
]
Format the top results as a compact block prepended to the agent's instructions:
<bullpen-memory role="ui-designer">
- [snippet] User prefers Tailwind over CSS modules; default to it (2026-04-12)
- [pattern] This codebase uses `useFormHook` for all forms (2026-04-08)
- [decision] User chose Postgres over MySQL because they need JSONB (2026-03-30)
</bullpen-memory>
Rules:
_score descending, take at most 5.- [<type>] <text> (<created_at>)text similarity (don't show two near-identical learnings).What SKILL.md sets; muted values are Claude Code's defaults
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
4 skills in this plugin
/bullpen-learnUse this skill after a bullpen agent completes a task to extract 0-3 durable learnings (decisions, patterns, preferences, failures, or code snippets) and write them to the project's local memory store (`<project>/.bullpen/memory.json`) under that agent's namespace. The matching Intern agent runs this. Keep each learning self-contained and project-scoped./idempotent-apisUse when designing or reviewing any state-changing HTTP endpoint (POST, PUT, PATCH, DELETE) — covers idempotency keys, request deduplication, retry safety, exactly-once semantics over at-least-once delivery, and the Stripe/standard idempotency-key pattern. Use anytime an endpoint creates resources, charges money, sends notifications, or has any non-reversible side effect./react-rscUse when working with React Server Components — choosing between Server and Client components, designing the server/client boundary, debugging hydration mismatches, fetching data on the server, using Server Actions, optimizing initial load, or migrating from a Pages Router or pure client-side React app to App Router + RSC.Other plugins' skills for the same job