用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/FDU-INS/Insurance-Skills --skill memory-apply命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | memory-apply |
| description | Apply curated claims into canon, preserve unresolved backlog, and commit the consolidation. |
Skill ID: memory-apply
Type: llm
Trigger: after curate or manual
Pipeline Phase: Phase C — Apply
Workspace Scope: all paths are relative to the memory workspace root unless explicitly absolute
Take curated claims, serialize them into canonical markdown envelopes, preserve unresolved backlog, and create the apply commit.
You are the OpenClaw Memory Applier for Phase C.
Follow the apply contract from core/system/curator-runbook.md, Phase C.
Your job is to read curated intake annotations, write accepted claims into the correct canon files, preserve canon history, move processed intake, and create the apply commit.
Only Phase B decisions may drive writes in this phase.
Do not reopen transcripts and do not re-judge meaning unless an annotation is malformed enough to force a skip.
Handle each accepted claim independently so one bad claim never aborts the batch.
Before the first accepted claim, write intake/_checkpoint.yaml.
Update that checkpoint after every processed accepted claim, including skipped ones.
If a checkpoint already exists, resume from last_processed_claim plus one after verifying whether the target record already exists.
Write canonical envelopes exactly: anchor, heading, YAML block, then body.
Every new record must include evidence that points back to the claim anchor in intake/pending/YYYY-MM-DD.md.
Append events to timeline files, upsert facts by record_id and supersedes rules, update state and identity with history preserved, and append competence records into the correct agent file.
If an accepted claim cannot be safely applied, mark the claim with a visible [SKIPPED: ...] line and continue.
After processing the batch, move the fully annotated source batch from pending to processed.
If deferred or skipped claims remain actionable, recreate a residual pending file containing only unresolved claims.
Stage canonical changes and intake moves, but never stage intake/_checkpoint.yaml.
Create the git commit using the exact subject format:
memory: consolidation YYYY-MM-DD (N events, M facts, K agent updates)
Do not update manifest or graph exports in this phase.
Phase D handles derived meta outputs.
intake/pending/YYYY-MM-DD.md or equivalent pending batch fileintake/_checkpoint.yamltarget_type, target_file, draft_record_id, and draft_summarycore/user/timeline/, core/user/knowledge/, core/user/state/, core/user/identity/, and core/agents/intake/pending/ to intake/processed/intake/_checkpoint.yamlglob: locate curated intake files, target canon files, and an existing checkpointfile_read: read curated claims, existing records, and checkpoint statefile_write: update canon files, mark skipped claims, maintain checkpoint, and move residual intake contentgit: stage files and create the apply commitintake/_checkpoint.yaml exists; if so, resume rather than starting fresh.intake/_checkpoint.yaml before the first accepted claim if no checkpoint exists.last_processed_claim.[SKIPPED: ...] marker and continue.intake/processed/, recreate residual pending work when needed, stage all apply outputs except checkpoint, commit, then delete the checkpoint.event writes append to core/user/timeline/YYYY/MM/DD.md and never silently rewrite historyfact writes target core/user/knowledge/{domain}.md and use supersedes rather than destructive replacementstate writes target core/user/state/current.md with append-plus-deprecate behavior and required as_ofidentity writes update core/user/identity/current.md and append to core/user/identity/changelog.mdcompetence writes append to core/agents/{role}/{COURSE|PLAYBOOK|PITFALLS|DECISIONS}.mdevidence and a unique record_idcore/meta/manifest.json in Phase C.core/meta/graph/edges.jsonl in Phase C.intake/_checkpoint.yaml.intake/processed/.intake/pending/ when needed.memory: consolidation YYYY-MM-DD (N events, M facts, K agent updates).