Add the Atlaso Memory plugin#157
Open
imashishkh21 wants to merge 6 commits into
Open
Conversation
Automatic long-term memory for Cursor: recall + capture hooks, the self-contained atlaso MCP server (recall/remember/forget/recent/status), a usage rule, and a curation skill. Client-side secret scrub, per-tool credentials, fails open. Passes scripts/validate-plugins.mjs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
Bugbot Autofix is ON, but it could not run because the branch was deleted or merged before autofix could start.
Reviewed by Cursor Bugbot for commit add8d49. Configure here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add the Atlaso Memory plugin
Adds Atlaso (
atlaso/) — automatic long-term memory for Cursor. It recalls whatyou've decided and remembers what matters across sessions, projects, and tools, so the
agent starts each session with the relevant context instead of a blank slate.
Homepage: atlaso.ai · Source: atlaso-labs/cursor
What it adds
sessionStartrecalls relevant notes into a rules file;stop/sessionEndcapture the exchange. The automatic loop, zero model involvement.atlaso)recall,remember,forget,recent,status— for deliberate moves.alwaysApply, with frontmatter)Self-contained — no external binary
The MCP server is
lib/mcp.ts, which ships inside the plugin and runs on thebunCursor already provides (
bun run ${CURSOR_PLUGIN_ROOT}/lib/mcp.ts). There is nounpublished CLI or npm package to install — the whole plugin is self-contained and
works on a fresh machine. Rule has valid
description+alwaysApplyfrontmatter; theskill has
name+description; rule and skill are distinct (orientation vs judgment).Privacy (a memory plugin should be explicit here)
tokens, and credentialed URLs are redacted client-side (regex + entropy), and again
server-side.
Cursor — nothing else on the machine.
recall never block or break a turn.
app.atlaso.ai/dashboard.
Validation
node scripts/validate-plugins.mjs(marketplace + plugin manifests).source repo.
Maintained by Atlaso Labs (we ship the same memory for Claude Code, Codex, and
Antigravity). Happy to make any changes the team would like. Contact: hello@atlaso.ai
Note
Medium Risk
Hooks run on every session and turn end and can send scrubbed conversation text to Atlaso’s cloud when linked; auth and per-tool tokens live under
~/.atlaso, though the design is fail-open and gates on entitlement/revocation.Overview
Adds Atlaso to the marketplace and ships a new self-contained
atlaso/bun/TypeScript plugin for long-term memory (no separate CLI or build step).Automatic loop (hooks):
sessionStartrecalls notes from the Atlaso API and writes.cursor/rules/atlaso-recall.mdcin the workspace (workaround for brokenadditional_contextinjection).beforeSubmitPrompt/afterAgentResponsestash user/assistant text;stop/sessionEndgate, scrub secrets, tag personal vs project scope, and batch-deposit to the brain with idempotentclient_idand stop/sessionEnd dedupe via completion receipts. First run can spawn a detached PKCE device authorize flow into~/.atlaso/auth.json.Supporting client logic: thin REST client with fail-open behavior and verified-only token retirement (
x-atlaso-response); per-tool credentials at~/.atlaso/tools/cursor.jsonunder kernelflock; entitlement caching (free plan = one active tool); project keys from git origin; MCP stdio server forrecall/remember/forget/recent/status(mcp.json).Also includes an
alwaysApplyrule, memory curation skill,AGENTS.md, docs, license, and changelog.Reviewed by Cursor Bugbot for commit 825966c. Bugbot is set up for automated code reviews on this repo. Configure here.