Memory
Knowledge graph-based persistent memory system
MOmodelcontextprotocol/servers92k200 new stars in the last 7 days
Persistent goals for Claude: standing objectives with items, memory and approvals.
Quarterdeck keeps Claude on top of things for you.
One prompt, /goal-new Sell my birdcage on Facebook Marketplace, and it sold for the asking price the next day. Claude wrote and posted the listing, answered five buyers and lined up the pick-up, and every message waited for my OK first.

How the sale went · the whole sale on video (2 min) · an agent fixing issues on this repo (80 s). Buyers' names are changed and older chats blurred; the opening was re-created with a cleaner prompt, and the rest is screenshots from the real sale.
Install it in two commands (you need Claude Code and Node.js 22.13+), then type /goal-new in Claude Code:
claude plugin marketplace add shannonbay/Quarterdeck#release
claude plugin install quarterdeck-goals@quarterdeck --scope user
More in the Quickstart.
It's a Claude Code plugin that turns Claude into a personal assistant: it keeps looking after the things you hand it, asks before it does anything you haven't allowed, and remembers what you decided.
You give it goals: "sell my birdcage on facebook marketplace", "fix new issues on my repo", "find me the three best new job ads each week", "turn NZ$200 into more by flipping Marketplace bargains", "clear old installers out of Downloads". Each goal runs in the background of your Claude Code session, on your Claude plan: on a schedule, or when a watch sees something new (a new issue on your repo, a new listing, a new email), so its agent wakes up when there is something to do instead of checking on a timer. When it wants to act, it proposes, and you approve or reject from the Goals pane beside your chat, or from your phone.
The idea behind it: persistent intent may matter more than persistent memory. Instead of prompt → act, a goal is an action cycle that keeps going, punctuated only by your approvals and the occasional question.

gh command, a feed, a folder, a web page, a mail search) run every few minutes outside the model. A run starts, and spends tokens, only when the check sees something it hasn't seen before, and the run is told what's new. Quarterdeck's own Issue Fixer has no schedule at all: a new issue starts it.· 48k tokens · 2m.
A friend's goal selling his old audio gear stops to ask for condition notes and his floor price instead of guessing.
Start with /goal-new: pick a ready-made goal (maintain my repo, which sets up all the GitHub goals below at once, unsubscribe from mailing lists, a daily news digest, a weekly job scan with your CV, tidy Downloads, inbox triage, keep your GitHub profile current, fix failing CI, triage new GitHub issues, refine new GitHub issues, work on new GitHub issues, review pull requests, flip items on Facebook Marketplace) or type your own. Schedules can be plain words: "30d", "weekdays at 9", "the first of every month". Or skip the schedule and ask Claude for a watch: "run when a new issue is opened on my repo".
It started with one prompt: /goal-new Sell my as-new (unused) birdcage on Facebook Marketplace. I live in Tawa, Wellington. The photos are the two newest pictures in my Pictures folder. Price $50, pick-up only. The GIF at the top shows it.
It sold for the asking price the day after the prompt. My part was approving each reply, choosing the buyer and giving the address; the agent never messaged anyone on its own. And no, it didn't give buyers a recipe for cake.
The whole sale on video (2 minutes, with sound and captions):
Selling one thing is a one-off goal, which moves to Done once nothing is left open. The Flipper goal is the standing kind: grow a NZ$200 budget by buying underpriced things on Facebook Marketplace and Trade Me and reselling them for a profit. Watches on Marketplace's free, furniture and appliance listings and on Trade Me start a run when something new is listed. Each run sorts the new titles by name and price alone, opens at most five, looks at every photo, and skips anything that needs a repair, like a freezer whose lid doesn't seal. A deal worth proposing comes with comparable sales, a resale estimate, the fuel for the round trip, the expected profit, a suggested offer and a pick-up time that fits my week. A ledger in its memory keeps the capital, the stock and each flip.
Every message to a seller, offer and purchase waits for my approval. Its first buy was a dryer for NZ$80 on Trade Me that should resell for NZ$150-180, and I pressed Buy Now myself: Claude in Chrome asks a person to confirm a purchase, and a background run has no one to ask.
Quarterdeck's own repo is looked after by two goals made from the ready-made Work on new GitHub issues and Fix failing CI. Neither has a schedule: each has a watch, a gh command checked every 5 minutes, and a run starts only when it sees something new. Here is the first issue they handled, start to finish:
The run took 2 minutes. The PR says it was opened by a Quarterdeck goal, and the CI goal now watches main for that merge, ready to propose a fix if anything breaks.
An issue anyone can open is an obvious place to hide instructions for an agent, so the Issue Fixer only takes work from the repo's owner, members and collaborators, and it reads only their comments. When anyone else opens an issue, the run sees just the number and the author, and asks you under Needs you whether to work on it before reading a word. Pushing and opening a pull request wait for your approval in Quarterdeck's guard, not only in the instructions: the goal's tool rules name git push and gh pr create, and turn off other writes to GitHub (comments, gh api, gh auth). These rules match command names, so a script that pushes for it gets past them; running goals in a sandbox is on the roadmap.
A new issue often lacks the context to build it well, so a new Issue Fixer asks whether to wait for a refined label, and waits by default. The Refine new issues goal (the Issue Refiner) reads each new issue and the code it touches, asks you about every decision it can't settle from the code, and then proposes a spec: what is asked, the files involved, an approach and acceptance criteria. Once you approve, it posts the spec as a comment and adds refined, which starts the fixer. When only the reporter can answer something, it posts their questions instead and adds needs-clarification, and their reply starts it again. Only someone with triage rights can label an issue, so nobody else can label their own issue to get it built. To switch an Issue Fixer you made earlier, ask Claude to replace its "new issues" and "new issues from others" watches with one on issues labelled refined, and to update its instructions from the template.
In front of the refiner, the Triage new issues goal (Issue Triage) reads every new issue, whoever opened it, and proposes labels for the whole batch in one item: its kind and priority from your repo's own labels, a likely duplicate, and triaged. Its only write is labels you approved; it never comments, closes or edits an issue. Once a batch is labelled it asks you one question, "Which of these should be refined?", and answering with the numbers adds needs-refinement to just those (adding the label on GitHub does the same). A new Issue Refiner waits for that label by default, so an agent spends a run only on issues you picked:
new issue → Issue Triage → triaged → (you pick) → needs-refinement → Issue Refiner → refined → Issue Fixer → pull request
To have a refiner you made earlier wait for your pick, ask Claude to replace its "issues to refine" and "issues to refine from others" watches with one on issues labelled needs-refinement, and to update its instructions from the template.
Here's another one on video, from a to-do in the pane to the feature working live (80 seconds, with sound and captions). This time the Issue Fixer stopped to ask which of two designs to build before writing any code (issue #17, PR #18):
/schedule): scheduled tasks run in Anthropic's cloud, so they keep going with your laptop closed. They suit clear-cut work, like reviewing every PR. A Quarterdeck goal is for ongoing jobs where you want a say: it proposes and waits for you, keeps memory and items between runs, and asks when it's unsure. Its guard holds a run to what you've allowed, outside the model, rather than only asking in the prompt./config; a short Claude turn sends each one.It's an MCP server (the tools agents use) and two Claude Code plugins: quarterdeck-goals runs goals and shows the Goals pane, and quarterdeck-guard keeps each run within its goal. An optional web app adds goal pages in a browser and webhook triggers. Everything lives in one local SQLite database. Setup: Quickstart.
A goal is an objective that never finishes. Type /goal-new alone to start from a ready-made goal (unsubscribe from mailing lists, a daily news digest, a weekly job scan, tidy your Downloads, inbox triage, keep your GitHub profile current, fix failing CI, work on new GitHub issues, review pull requests, flip items on Facebook Marketplace with every buy, message and listing approved by you), each with its rules and schedule (or, for the GitHub ones, a watch) set. Or create your own with /goal-new <name>: <objective> (it works in the session's directory, and asks how often it should run, suggesting a schedule from the objective), or from the web app's home page (+ New goal) with standing instructions too. A goal can also be a one-off: it runs once and, when nothing is left open, moves to the pane's Done section.
The pane also keeps your to-do list for the project (/todo <text>, or ask Claude to add something): a backlog for working with Claude on a codebase. The ideas and decisions you put off along the way stay beside the chat, outside the conversation, where a /clear or a context compaction can't lose them. Any to-do can be brought back into the conversation with Ask… (a question, nothing changed), Plan (plan mode, for you to review) or Start. A list can hold anything, not only code work.
get_goal_brief — objective, instructions, memory, your decisions since the last run, open items, recent run summaries, latest health — handles what's new, and ends with end_run and a summary for the next run.marketplace.message, marketplace.buy): off, propose (the agent asks first — the default), or auto. Proposals wait under Needs you; approve and the next run carries the action out; reject with feedback and the feedback becomes memory later runs follow, and a run is queued to redo the proposal or drop it. After 10 approvals in a row, the page suggests switching that category to auto.mcp__claude-in-chrome__form_input → browser.act), the quarterdeck-guard plugin blocks a run's tool call that the goal's autonomy doesn't allow, e.g. typing a message to a seller without an approved proposal. A run also can't approve its own proposals or change the goal's settings.Goals run while Claude Code is open with both plugins installed. With several sessions open, one at a time runs them, so after updating the plugins, reload them in every open session. npm run doctor tells you when they can't run. Design: specs/persistent-goals.md.
A goal's work items are tasks in a plan, the task tree Quarterdeck started with, and your to-do lists are plans too. Each item has a status (pending → active → completed | abandoned), a result, structured state and notes, and can carry checks that must pass before it's completed: acceptance criteria (the agent gives evidence for each), a verify command that must exit 0, and human approval. Every check result is kept.
The tools for building plans by hand (create_plan, provision_tasks, next_task, ...) are hidden from Claude by default, so they cost nothing in your sessions. Set QUARTERDECK_TOOLS=all on the MCP server to list them, e.g. to track a long multi-session project as a task tree.
Goals
| Tool | Description |
|---|---|
list_goals | Persistent goals with open items and items waiting for review |
get_goal_brief | Start of a run: everything a fresh agent needs, in one call |
add_item | Add a work item (deduplicated by external_ref); actions are proposed, recorded or refused per the goal's autonomy |
remember / forget | Add a fact, rule or preference to the goal's memory; forget one an agent added (it stays as inactive memory, which you can restore) |
recall | Read in full the memories the brief only lists (memory_index) |
propose_curation | A memory curation run's one proposal (merge, reword, retire, unpin, add), which the server applies if you approve it |
end_run | Finish a run with a summary for the next one |
run_goal | Queue a run now |
The plugins also use goals_overview, goals_tick (one scheduler pass), decide_item, cancel_run, set_goal_status, create_goal, delete_memory, restore_memory, restore_goal, purge_goal, attach_agent, fail_run and guard_check. The guard plugin refuses the person's actions among them (approving, cancelling, pausing...) to agents and to Claude.
Goal items
| Tool | Description |
|---|---|
update_task | Record progress on an item: result, structured state patch, notes |
set_status | active, completed (runs its checks) or abandoned (with a reason) |
The plan tools are listed only with QUARTERDECK_TOOLS=all: list_plans, create_plan, open_plan, archive_plan, create_task, provision_tasks, get_context, next_task, synthesize, verify_task and get_history. Hidden tools still answer calls.
The Next.js app shares the database and shows each goal as a page: items waiting for you (approve or reject), open items, runs, memory, the health chart, the guard's decisions, and settings (instructions, autonomy, tool rules, schedule, limits). It also takes webhooks (/api/goals/:id/trigger). Goals don't need it: they run from the Claude Code plugins.
You need Claude Code and Node.js 22.13 or newer. From a terminal:
claude plugin marketplace add shannonbay/Quarterdeck#release
claude plugin install quarterdeck-goals@quarterdeck --scope user
That's the whole setup. quarterdeck-guard comes with it as a dependency, and the plugin brings the quarterdeck MCP server with it, so there is nothing to clone, build or claude mcp add. Start Claude Code (or /reload-plugins) and type /goals to open the Goals pane. Due runs start on their own while Claude Code is open. The web app is optional.
The MCP server is also in the official MCP Registry as io.github.shannonbay/quarterdeck (an MCPB bundle on each release). On its own it gives an MCP client the goal, memory and to-do tools only; scheduled runs, the guard and the Goals pane need the Claude Code plugin above.
See plugins/quarterdeck-goals for the pane, commands, settings and how runs work, and plugins/quarterdeck-guard for what a run may do.
Claude Code updates Anthropic's marketplaces on its own but leaves others to you. Turn it on once: in Claude Code, /plugin → Marketplaces → quarterdeck → Enable auto-update. New versions then arrive in the background, and Claude Code says Plugin updated · Run /reload-plugins to apply. The plugins and the MCP server update together. Or update by hand at any time:
claude plugin update quarterdeck-goals@quarterdeck
Without auto-update you still hear about new versions: the server looks at the release branch every six hours, and the Goals pane then says Quarterdeck 0.16.0 is available with Ask Claude to install it, which sends Claude the update commands to run. Turn the check off with QUARTERDECK_UPDATE_CHECK=0.
With several sessions open, /reload-plugins in each. Until you do, a session that's still on the old version stops starting goal runs and its Goals pane says so: the updated session runs them.
If you set Quarterdeck up from a clone before (claude mcp add ... quarterdeck), remove the hand-added server so two copies don't run, then install as above:
claude mcp remove quarterdeck --scope user
claude plugin marketplace remove quarterdeck
Your goals stay where they are, in ~/.quarterdeck/tasks.db. The plugin's server names its tools mcp__plugin_quarterdeck-goals_quarterdeck__* (Claude Code's naming for a plugin's server), not mcp__quarterdeck__*. Goals' tool rules work with either name. Permission rules in your settings that name the old tools need the new prefix, and npm run doctor points them out.
git clone https://github.com/shannonbay/Quarterdeck
cd Quarterdeck
npm install
npm run build
claude plugin marketplace add .
claude plugin install quarterdeck-goals@quarterdeck --scope user
A local-folder marketplace is read straight from your checkout. After changing code, run npm run build (it bundles the server into plugins/quarterdeck-goals/server/, which is gitignored on main), then /reload-plugins. Releases: npm run release -- <version> tests everything, sets the version in both plugin.json files, and commits the built marketplace to the release branch with tags (add --push to publish).
The web app runs from a clone (see Developing Quarterdeck for npm install):
cd web && npm run dev
Open http://localhost:3000 for goal pages and webhooks. It uses the same database (~/.quarterdeck/tasks.db) and doesn't start goal runs: queued runs (Run now, a webhook, a failing health check) are started by the quarterdeck-goals plugin within 30 seconds.
/goal-new and pick a ready-made goal, or run /goal-new Birdcage: sell my birdcage on Facebook Marketplace for $50, pick-up only and pick how often it runs (it suggests one from the objective). The first run starts within a minute. Change it later with /goal-schedule birdcage every 3h. In the web app you can also give it standing instructions./goals). Your rejections become memory, so the agent improves run by run.node plugins/quarterdeck-goals/server/quarterdeck-cli.mjs runner install
(Without a clone: node ~/.claude/plugins/cache/quarterdeck/quarterdeck-goals/<version>/server/quarterdeck-cli.mjs runner install.)
This starts the standing session: one Claude Code session in ~/.quarterdeck/runner with Remote Control on, in a hidden console on Windows or a detached tmux session on Linux (macOS not yet). It is an ordinary session with both plugins, so runs, the guard, alerts and approvals work in it as in any window. Something checks at logon and every 5 minutes that it is running, and restarts it after a Quarterdeck update once no run is going: a scheduled task on Windows ("Quarterdeck goals runner", Task Scheduler), a systemd user timer on Linux (quarterdeck-runner.timer).
Linux: needs tmux and systemd's user manager (systemctl --user; on WSL, systemd turned on in /etc/wsl.conf). Run install from a terminal whose PATH finds claude; the timer keeps that PATH, with the Node that ran install first. The first time, Claude Code asks whether you trust the folder, and nobody is at the session's terminal to answer, so install says so: run runner attach, choose "Yes, I trust this folder", and leave with Ctrl-b d. The timer runs while you are logged in; loginctl enable-linger keeps it going after you log out. Not on WSL: WSL stops a minute or so after its last window closes, taking the session with it, so on a Windows computer install the standing session from a Windows terminal instead (install and the doctor say so).
Who starts runs: one session at a time, as always. While a Claude Code window is open, that window may be the one; when it closes, the standing session takes over within 90 seconds. runner status says which.
From your phone: the standing session appears as "Quarterdeck goals" in the Claude app and at claude.ai/code. Alerts arrive there, and you can approve, reject or answer by replying.
Permissions: nobody is at the session's terminal to answer a permission prompt, so install starts it in auto mode (Claude Code's safety review decides each tool call) with Quarterdeck's own tools allowed. Choose another mode with runner install --permission-mode <mode>; in manual every call waits for an answer and runs time out, and the doctor warns about it. The guard still refuses whatever the goal doesn't allow, whatever the mode.
Limits: the computer must be on, awake, and you logged in. The standing session uses your subscription only when it works (a run, or passing an alert to your phone). An update that arrives while no window is open is picked up the next time you open one.
Other commands: runner status, runner stop, runner start, runner uninstall, and on Linux runner attach (look at the session's terminal; Ctrl-b d leaves it running).
npm run doctor
Rebuilds core/ and mcp/, then checks Node.js, the database and its schema version, the server bundle, where the quarterdeck server comes from (the plugin, and no second hand-added copy), leftover hooks from older versions, both goal plugins, whether updates are automatic, old permission rules, the optional web app, whether your active goals can run, and the standing session if you set one up. Anything wrong comes with the command to fix it. Without a clone, run the same checks with the copy inside the plugin: node ~/.claude/plugins/cache/quarterdeck/quarterdeck-goals/<version>/server/quarterdeck-cli.mjs doctor.
Both the MCP server and web app write to ~/.quarterdeck/tasks.db (SQLite through Node's built-in node:sqlite, WAL mode). Override the path with the QUARTERDECK_DB environment variable — set it to :memory: in tests for an isolated in-memory database. The schema lives in one place, core/src/migrate.ts, and every change made by Claude or by you is recorded in the events table.
Quarterdeck/
core/ Shared schema, migrations and queries (@quarterdeck/core)
mcp/ MCP server (stdio transport, no HTTP)
src/
index.ts Entry point — registers tools and dispatches calls
cli.ts `quarterdeck doctor` setup checker, `quarterdeck runner` (the standing session)
schema.ts Zod schemas for all tool inputs
db.ts Binds @quarterdeck/core queries to one connection
history.ts Records MCP changes in the events log
session.ts In-memory open-plan tracking
context.ts Builds the context view returned by every tool
tools/ One file per tool handler
web/ Next.js goal pages and webhooks (optional)
app/ App Router pages and API routes
components/ React UI components
lib/ DB layer, request guard, WebSocket broadcaster
__tests__/ Vitest test suites
server.ts Custom HTTP + WebSocket server
plugins/
quarterdeck-goals/ Claude Code plugin: goal runner (subagents), Goals pane, /goal* commands, and the MCP server (.mcp.json, server/ built by `npm run build`)
quarterdeck-guard/ Claude Code plugin: what a goal run may do
.claude-plugin/ marketplace.json: makes the repo a plugin marketplace ("quarterdeck")
scripts/release.mjs `npm run release`: builds and publishes to the release branch
specs/ Original design specs
npm test # all packages, from the repo root
cd core && npm test # schema and migrations
cd mcp && npm test # MCP tools and doctor
cd web && npm test # goal API, poller, request guard
claude plugin test plugins/quarterdeck-goals # the plugins (Claude Code's test kit)
claude plugin test plugins/quarterdeck-guard
The packages use Vitest with QUARTERDECK_DB=:memory: so tests are isolated and leave no files behind.
| Env var | Default | Description |
|---|---|---|
QUARTERDECK_DB | ~/.quarterdeck/tasks.db | Path to SQLite database; use :memory: for tests |
QUARTERDECK_TOOLS | goals | MCP server: all also lists the plan tools (hidden by default) |
QUARTERDECK_REQUIRE_DECOMPOSE | off | MCP server, plan tools: 1 blocks activating a task with no sub-tasks unless state.atomic is true |
QUARTERDECK_STRICT_COMPLETE | off | MCP server, plan tools: 1 blocks completing a task while any child is unresolved (otherwise a warning) |
QUARTERDECK_DELETED_RETENTION_DAYS | 30 | MCP server: days a deleted goal can be restored before the scheduler erases it for good; 0 keeps deleted goals until you delete them permanently |
QUARTERDECK_ALLOWED_HOSTS | — | Web server: extra host:port values to accept besides localhost (comma-separated) |
The MCP server gets Claude Code's environment, so set its variables where Claude Code starts, or under env in ~/.claude/settings.json.
Renamed from Conductor. Quarterdeck used to be called Conductor. The old CONDUCTOR_* env vars and the x-conductor-secret webhook header still work, and a database left in ~/.conductor is used until you move it. npm run doctor lists anything still set up under the old name (the data folder, a conductor MCP server entry, the old conductor-goals plugins) and how to switch it over.
Apache License 2.0. See LICENSE.
Knowledge graph-based persistent memory system
MOmodelcontextprotocol/servers92k200 new stars in the last 7 days
Memory that reasons: continual learning for stateful agents. Better context, fewer tokens.
PLplastic-labs/honcho8.4k102 new stars in the last 7 days
Semantic search across Sui documentation and knowledge sources, powered by kapa.ai
MYMystenLabs/sui7.8k
Convert scanned PDFs to Markdown or EPUB, and translate PDF and EPUB books via MCP.
OOoomol-lab/pdf-craft6.8k35 new stars in the last 7 days
Access Gemini Notebook via CLI and MCP Server.
JAjacob-bd/gemini-notebook-mcp-cli6.6k78 new stars in the last 7 days
Search, read and cite papers from your Zotero library in any AI agent.
5454yyyu/zotero-mcp6.1k97 new stars in the last 7 days