Skip to content
Agent Memory
Skill

/beacon-memory-recall

Retrieve reviewed project memory that Beacon distilled from earlier agent sessions in any harness (Claude Code, Cursor, Codex, OpenCode, and others) before starting work. Use at the start of a non-trivial task in a repository, when the user asks "have we seen this before", "what

From plugin
agent-beacon
3.6k7 skills1 MCP

Claude Code

$ npx -y skills add Asymptote-Labs/agent-beacon --skill beacon-memory-recall --agent claude-code

SKILL.md

beacon-memory-recall.SKILL.md
name: beacon-memory-recall
description: Retrieve reviewed project memory that Beacon distilled from earlier agent sessions in any harness (Claude Code, Cursor, Codex, OpenCode, and others) before starting work. Use at the start of a non-trivial task in a repository, when the user asks "have we seen this before", "what did we learn last time", or "how did we fix this in Cursor/Codex", or when a build, test, or deploy step fails in a way that may have a known fix.
license: MIT
compatibility: Requires the Beacon CLI (beacon) on PATH with endpoint capture installed, or a Beacon Cloud MCP connection (beacon-managed). The CLI path reads only local state and makes no network calls; the Beacon Cloud path reads memory approved through Beacon Cloud.
metadata:
  author: asymptote-labs
  homepage: https://docs.beacon.sh/concepts/cross-harness-memory
  version: "0.1.0"

Beacon memory recall

Beacon records what agents do across every supported harness into a local log. Through the `beacon-memory-distill` workflow, a person reviews selected sessions and approves the reusable lessons into **project memory**. This skill reads that memory back, so you start the task knowing what earlier agents, in this harness or any other, already learned about this repository.

Approved memory has been reviewed by a person. Raw traces have not. Keep the two apart in everything you say.

When to recall

  • Before planning a non-trivial change in a repository you have not worked in during this

session.

  • When a command fails in a way that could have a known fix (flaky tests, packaging,

environment setup, release steps).

  • When the user asks what was learned, tried, or decided before.

Skip it for trivial edits, and recall at most once per task unless the task changes direction.

Step 1: find where memory lives

Memory is kept in one of two places, and a session may have either or both:

  • **Local** memory, approved with the Beacon CLI on this machine. Read it with the local

Beacon MCP tools (`search_memory`, `get_memory`, `get_memory_context`, usually under a server called `beacon`) or the CLI.

  • **Beacon Cloud** memory, approved through Beacon Cloud MCP. Read it with

`beacon_memory_search` and `beacon_memory_get`, under the server called `beacon-managed`.

Use every source this session has. When it has the Beacon Cloud tools, use them even if the CLI is missing. Otherwise check for the CLI:

beacon version

If neither is available, tell the user that project memory is unavailable, point them to https://docs.beacon.sh/get-started/overview (or `beacon mcp connect` for Beacon Cloud), and continue the task without memory. Do not install anything yourself.

Step 2: retrieve memory

Search with two or three distinctive keywords from the current task (a tool name, file, error string). Terms are ANDed everywhere, so a full sentence will over-constrain the search and return nothing. Drop terms if the first attempt is empty.

**Beacon Cloud MCP** (`beacon-managed`):

1. Call `beacon_memory_search` with `query` set to the keywords. Add `repository` (a substring such as the repository's name) when memory for other repositories comes back. 2. Call `beacon_memory_get` with a `memory_id` from that result when you need the full body and its evidence.

**Local Beacon MCP** (`beacon`):

1. Call `get_memory_context` with `task` set to the keywords. 2. Call `get_memory` with an `id` from that result when you need the full body and its evidence.

Without either MCP server, use the CLI from inside the repository:

# Up to five memories matching the task's key terms (every term must match)
beacon memory list --json --limit 5 -q "<two or three distinctive terms>"

# Everything approved for this project, newest first
beacon memory list --limit 25

# One memory in full, with its source traces
beacon memory show <memory-id>

`--kind` (or `kind` on `beacon_memory_search`) narrows to `workflow`, `correction`, `debugging_pattern`, `gotcha`, or `convention`.

Local memory is scoped to the project resolved from the current directory. Run from inside the repository, or pass `--project <path>`.

Step 3: use what you found

  • Apply a memory only when its applicability matches the current situation. Memories are

lessons from specific sessions, not project policy. If one conflicts with the user's instructions or the repository's own docs (CLAUDE.md, AGENTS.md, README), follow the user and the docs, and mention the conflict.

  • When a memory changes what you do, say so in one line and cite its ID, for example:

"Using Beacon memory `memory_4f2c…`: package smoke needs build-pkg.sh first."

  • If nothing relevant comes back, carry on. Do not report an empty result unless the user

asked.

Raw history, only when asked

When the user explicitly asks what happened in an earlier session ("what did Cursor do yesterday on the release script?"), you can search raw traces: with Beacon Cloud MCP, `beacon_search_sessions`, `beacon_grep`, and `beacon_read_session`; locally:

beacon endpoint traces search "<terms>" --json --limit 10
beacon endpoint traces show <trace-id> --json --limit 200

Present that as unreviewed history, never as approved memory. Traces can contain prompts, command output, and file contents: quote only what the user needs, and never repeat anything that looks like a credential. If the history holds a lesson worth keeping, suggest the `beacon-memory-distill` workflow so a person can review it.

Boundaries

  • Read-only. Never file, approve, reject, or edit memory from this skill, locally or

through Beacon Cloud MCP.

  • Never run `beacon memory evaluations run` here. That step sends trace data to an

evaluator over the network and belongs to `beacon-memory-distill`, where the user consents to it.

Read more
@asymptote-labs
Ships withagent-beacon

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

3.6k7 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.6k
Star history of Asymptote-Labs/agent-beacon on GitHub, a chart by star-history.com

Other skills on agent-beacon.

More skills from other plugins.

agent-cost-report

agent-cost-report

Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…

claude-mem13d116k
@thedotmack@thedotmackInstall Skill
bot-handoff

bot-handoff

Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…

hindsight13d60k
@vectorize-io@vectorize-ioInstall Skill
mempalace

mempalace

Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…

@mempalace@mempalaceInstall Skill
mempalace

mempalace

Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…

@milla-jovovich@milla-jovovichInstall Skill

Questions about beacon-memory-recall.

Which coding agents can use beacon-memory-recall?
beacon-memory-recall installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.