用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cwinvestments/memstack --skill work命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | work |
| description | Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'. |
| version | 1.0.0 |
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 "$MEMSTACK_PATH/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 "$MEMSTACK_PATH/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 "$MEMSTACK_PATH/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 "$MEMSTACK_PATH/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 "$MEMSTACK_PATH/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_PATH/db\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)