/memstack:workfrom memstack
Manages task plans with three modes: copy/append tasks to a SQLite database, query next steps, or resume plans. Activates on planning keywords or task list input.
Ships in memstack. 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.
Track tasks, manage plans, and survive CC compacts with three operating modes.
When this skill activates, output:
📋 Work: Plan execution engaged.
Then determine which mode to use based on the trigger.
| Context | Status |
|---|---|
| User says "copy plan", "append plan", "resume plan" | ACTIVE: use matching mode |
| User says "what's next", "todo", "priorities" | ACTIVE: quick query mode |
| User provides a task list or plan | ACTIVE: copy mode |
| General discussion about planning concepts | DORMANT: do not activate |
| User is executing a task (not managing the list) | DORMANT: do not activate |
Before executing ANY mode, silently gather current state. Do NOT present findings. Do NOT ask questions. Just internalize:
STATE.md (if it exists): current task, blockers, next stepsCLAUDE.md (if it exists): conventions, architecture decisionspython "${CLAUDE_PLUGIN_ROOT}/db/memstack-db.py" get-sessions <project> --limit 3
git log --oneline -5
git diff --stat
This is silent. Synthesize an internal understanding of where the project stands. Then proceed to the triggered mode with full context. The user already knows their project state, don't waste their time repeating it back.
Trigger: "copy plan" or when a new plan is provided
Parse the entire plan into individual numbered tasks
For each task, save to SQLite:
Write the payload to a file, then pipe it in with - as the argument. A payload on stdin is never seen by the shell's parser, so a redirection operator inside a task description cannot be read as one.
cat task.json | python "${CLAUDE_PLUGIN_ROOT}/db/memstack-db.py" add-plan-task -
task.json contains:
{"project":"<name>","task_number":<n>,"description":"<task>","status":"pending"}
Confirm with task count
Also write a markdown copy to memory/projects/{project}-plan.md for human readability
Status values: pending, in_progress, completed, blocked
Trigger: "append plan" or when updating task statuses
Read current plan from SQLite:
python "${CLAUDE_PLUGIN_ROOT}/db/memstack-db.py" get-plan <project>
Update individual task statuses:
Same form, even though this payload is only metadata. One rule with no exceptions is easier to follow than a rule you have to judge.
cat task-update.json | python "${CLAUDE_PLUGIN_ROOT}/db/memstack-db.py" update-task -
task-update.json contains:
{"project":"<name>","task_number":<n>,"status":"completed"}
Add new tasks if needed via add-plan-task
No size limits needed: SQLite handles scale
Trigger: "resume plan", use after CC compact or new session
python "${CLAUDE_PLUGIN_ROOT}/db/memstack-db.py" get-plan <project>
Plan: {project} ({done}/{total} complete)
Completed: [list]
In Progress: [list]
Pending: [list]
Blocked: [list with reasons]
Recommended next: {first pending task}
~/.memstack/memstack.db (via memstack-db.py)$MEMSTACK_PATH/memory\projects\ (legacy markdown)User: "resume plan for AdminStack"
📋 Work: Plan execution engaged.
Plan: AdminStack (5/9 complete)
[x] 1. Build CC Monitor page
[x] 2. Add setup guide
[x] 3. Fix API key validation
[x] 4. Add refresh feedback
[x] 5. Update guide with curl snippet
[ ] 6. Build cc-reporter.js Node script
[ ] 7. Add WebSocket real-time updates
[ ] 8. Session grouping by project
[!] 9. Mobile polish (blocked: waiting for design specs)
Recommended next: Task 6: Build cc-reporter.js
.claude/rules/work.md), always-on task planning awareness without skill file read. (Origin: MemStack v3.0-beta, Feb 2026)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cwinvestments/memstack --plugin memstack87 skills in this plugin
/memstack-seo-ai-search-visibilityUse this skill when the user says 'AI search', 'AI visibility', 'ChatGPT ranking', 'Perplexity optimization', 'GEO', 'generative engine optimization', or needs to optimize content for AI-powered search engines and LLM citations. Do NOT use for traditional SEO audits or Google Ads./memstack-security-api-auditUse this skill when the user says 'audit API', 'check API security', 'API routes security', 'endpoint audit', 'check my routes', or needs to verify API route protection. Reviews API endpoints for authentication, authorization, and input validation gaps. Do NOT use for frontend security headers or dependency scanning./memstack-development-api-designerUse this skill when the user says 'design API', 'API endpoints', 'REST API', 'API designer', 'route structure', 'API architecture', or is designing RESTful API routes, request/response schemas, and endpoint organization. Do NOT use for API security audits or database design.Other plugins' skills for the same job