memory-propose-confirm

memory-propose-confirm is a skill for Claude Code, Codex from Lee-W/maigo. It costs 26 tokens per session (1,192 once invoked), scanned A, original, MIT.

A confirmation workflow for saving proposed memory entries from the Maigo orchestrator, which coordinates the different agents and commands.

In plain words
What is it for?
It helps validate proposed memory fields, show the relevant memory files, let the user save or edit an entry, and continue without writing when the proposal is skipped or left undecided.
Why use it?
It prevents incomplete or unapproved suggestions from being written to shared or project-specific memory, while distinguishing an explicit skip from simply closing the question.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Part of the maigo plugin — 24 skills, 15 commands, 5 agents, 4 hooks shipped together

Good fit It helps validate proposed memory fields, show the relevant memory files, let the user save or edit an entry, and continue without writing when the proposal is skipped or left undecided.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lee-w/maigo/memory-propose-confirm
Install

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.

Any agent
npx skills add Lee-W/maigo --skill memory-propose-confirm
Clone the repo
git clone --depth 1 https://github.com/Lee-W/maigo

Made for: Claude Code, Codex.

Or install maigo, the plugin that ships this one along with the rest of its 24 skills, 15 commands, 5 agents, 4 hooks.

Wrote 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.

agentmods badge for memory-propose-confirm

README.md
[![agentmods](https://agentmods.dev/badge/skills/lee-w/maigo/memory-propose-confirm.svg)](https://agentmods.dev/skills/lee-w/maigo/memory-propose-confirm)
Your own site
<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>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,192 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 8d ago against content hash a0faa463121a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

skills/memory-propose-confirm/SKILL.md · 62 lines

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

  1. 格式檢查:檢查 propose 段的 6 個必填欄位(name / slug / description / body / type / rationale)是否齊全。 缺任一欄位 → 不 confirm,印一行提示「偵測到 propose 段但格式不完整,已跳過」,繼續正常流程。
  2. 顯示 index:顯示目前兩個 memory 來源的 index:
    • ~/.config/maigo/memory/MEMORY.md(cross-project)
    • ~/.claude/projects/<current-project>/memory/MEMORY.md(per-project,若存在)
  3. 印出摘要:印出 propose 摘要(type / name / description / rationale)。
  4. AskUserQuestion,選項: / 修改 / 跳過
  5. 選「存」或「修改」→ reuse /maigo:remember 步驟 5+6 (以 propose 的欄位為預填值;「修改」時步驟 5 讓使用者改各欄位)。
  6. 選「跳過」→ 繼續正常流程,不寫任何檔。

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。

Read the full file on GitHub · 62 lines

Changes

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.

  1. 8d ago First seen · 62 lines · 26 tokens per session scan A a0faa463121a

Subscribe to this mod's changes

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.

Related

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.

garrytan/gbrain · 52 tokens

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.…

mem0ai/mem0 · 273 tokens

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…

danielmiessler/LifeOS · 196 tokens

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.

opensquilla/opensquilla · 44 tokens

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…

shiwenwen/hope-agent · 115 tokens

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.

GanyuanRan/Aegis · 45 tokens