Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Lee-W/maigo --skill memory-propose-confirmgit clone --depth 1 https://github.com/Lee-W/maigoWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/lee-w/maigo/memory-propose-confirm)<a href="https://agentmods.dev/skills/lee-w/maigo/memory-propose-confirm"><img src="https://agentmods.dev/badge/skills/lee-w/maigo/memory-propose-confirm.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.01192 |
| Opus 5 | $0.00013 | $0.00596 |
| Sonnet 5 | $0.00005 | $0.00238 |
| Haiku 4.5 | $0.00003 | $0.00119 |
Grade A, and why
memory-propose-confirm scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory Propose Confirm Flow
Owner: orchestrator
Consumers: /maigo:go、/maigo:quick、/maigo:team、/maigo:review
觸發條件
當 🟡 Soyo 或 🎀 Anon 的輸出末尾含 ## Memory propose 段時,orchestrator 在該 agent 完成後、繼續下一步前,立刻執行 confirm flow。
Confirm Flow
- 格式檢查:檢查 propose 段的 6 個必填欄位(
name/slug/description/body/type/rationale)是否齊全。 缺任一欄位 → 不 confirm,印一行提示「偵測到 propose 段但格式不完整,已跳過」,繼續正常流程。 - 顯示 index:顯示目前兩個 memory 來源的 index:
~/.config/maigo/memory/MEMORY.md(cross-project)~/.claude/projects/<current-project>/memory/MEMORY.md(per-project,若存在)
- 印出摘要:印出 propose 摘要(type / name / description / rationale)。
- AskUserQuestion,選項:
存/修改/跳過。 - 選「存」或「修改」→ reuse
/maigo:remember步驟 5+6 (以 propose 的欄位為預填值;「修改」時步驟 5 讓使用者改各欄位)。 - 選「跳過」→ 繼續正常流程,不寫任何檔。
Confirm flow 完成後繼續主線流程——不改變命令的步驟結構。
三態:存 / 跳過 / 未決(重要)
confirm flow 的結果有三種,不是兩種。orchestrator 不可把後兩者混為一談:
| 結果 | 觸發 | 處置 |
|---|---|---|
| 存 | 使用者選「存」/「修改」 | 寫檔(step 5) |
| 跳過 | 使用者明確選「跳過」 | 不寫檔,丟棄 propose,繼續 |
| 未決 | 使用者沒選任何項(關掉問題 / dismiss / AskUserQuestion 回 "did not answer") | 不寫檔,但不丟棄 propose |
「沒回答」≠「跳過」。 dismiss 一個問題不是 decline——它只代表「現在不決定」。把 no-answer 當成跳過會把使用者還想留著的 memory 默默吃掉。
未決時 orchestrator 必須:
- 不寫任何檔(跟跳過一樣)
- 保留 propose 段——在回覆末尾原樣附上那個
## Memory propose(fenced,可複製),讓使用者之後說一聲就能存 - 印一行中性提示,例如:「memory propose 未決——你沒選,我先保留著,要存再跟我說。」
- 不要自行推論成跳過或存,也不要追問逼使用者立刻決定;保留著、繼續主線即可
使用者之後任何時點說「存那個 memory」/「剛剛那條記起來」→ 直接 reuse step 5 寫檔,不必重跑整個 confirm flow。
Fence-Tracking 規則
偵測 ## Memory propose 標頭時,只掃描 code fence 外的行;code block 內(triple-backtick fence 之間)的同名標頭不觸發 confirm flow。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 62 lines · 26 tokens per session scan A a0faa463121a
memory-propose-confirm is a skill published in the GitHub repository Lee-W/maigo (14 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 1,192 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
media-ingest
Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.
mem0-oss-to-platform
Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.