用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dwsy/agent --skill memory-organize命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | memory-organize |
| description | Periodic maintenance of role memory: dedup, tidy, consolidate, and pending management. |
| whenToUse | When the user asks to organize, tidy, or maintain their memory. Also for scheduled maintenance to clean up stale entries and manage the pending verification layer. |
You are maintaining a role's persistent memory system. Keep it healthy, accurate, and useful.
consolidated.md ← L2: deduplicated learnings + preferences (main)
pending.md ← Pending: auto-extracted, awaiting verification
daily/*.md ← L1: raw session logs
| Tool | Purpose |
|---|---|
memory({ action: "list" }) | List all memories, detect structural issues |
memory({ action: "consolidate" }) | Rule-based dedup: exact + Jaccard similarity. Safe, never deletes unique entries. |
memory({ action: "repair" }) | Fix markdown structure issues |
memory({ action: "llm_tidy" }) | LLM-guided: rewrites verbose, detects contradictions, suggests deletions |
memory({ action: "search", query: "..." }) | Search with auto-reinforce (≥0.5 → used+1) |
memory({ action: "reinforce", content: "..." }) | Increment [Nx] usage count |
memory({ action: "delete_learning", content: "..." }) | Remove stale entry |
memory({ action: "update_learning", id/query, content }) | Rewrite entry |
role_read / role_write | Direct file access |
memory({ action: "list" })
Look for:
memory({ action: "repair" })
Fixes: malformed headings, missing sections, stray lines. Safe, rule-based.
memory({ action: "consolidate" })
Rule-based, NOT LLM:
[Nx]consolidated.md# Last Consolidated dateconsolidate does not magically upgrade [0x] to Normal. Priority still depends on usage (reinforce / auto-reinforce during search).
memory({ action: "llm_tidy" })
LLM produces a plan:
Check memory/pending.md:
role_read({ path: "memory/pending.md" })
[○] pending → if relevant to current work, search to auto-promote (score ≥0.5)[✓] already promoted[✗] discarded (7-day auto-expiry)Pending entries that survive 7+ days without use are auto-expired. Manual promotion via search.
For insights used in this session:
memory({ action: "reinforce", content: "<text>" })
Moves memories toward High Priority [3x]+.
For provably outdated entries:
memory({ action: "delete_learning", content: "<text>" })
Rules:
update_learning over delete when in doubtAfter organizing:
Memory Organize Report — <role>
- Before: X learnings, Y preferences
- After: X' learnings, Y' preferences
- Repaired: yes/no
- Consolidate: removed N duplicates
- LLM tidy: rewrote N, deleted N, added N
- Pending: M promoted, K expired
| Frequency | Actions |
|---|---|
| Per session | auto-extract → pending (automatic) |
| On request | consolidate (safe dedup) |
| Weekly | repair + consolidate + reinforce |
| Monthly / heavy | llm_tidy + manual review + pending cleanup |
Operate Glimpse-APPs with progressive context — app list in system, domain detail via tools on demand.
Load prior knowledge from role memory before starting any task.
Use when user asks to design, choose, explain, or implement UI transitions, motion patterns, easing/timing choices, state-change animations, shared-element effects, drill-down navigation, tab/filter/list/detail switching, or vague requests like "make this feel smoother", "more iOS", "more natural", or "animate this UI" that need concrete motion taxonomy and implementation guidance.