用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/theyoungastronauts/polaris --skill wrap命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | wrap |
| description | Close out a session — record what was learned, update any connected stores, and report what's left dirty. |
| disable-model-invocation | true |
End-of-session close-out. Run at a milestone, when the work is worth recording and the session may not be returned to.
Two stores ship with Polaris, and both are local to this machine and this repo:
| Store | What lives there |
|---|---|
Session memory — ~/.claude/projects/<path>/memory/ | Corrections, preferences, how to work with this user |
Project context — .claude/context/ | Decisions, conventions, patterns for this repo |
Anything beyond that — a cross-project knowledge base, an external task tracker — is an extension. See below. If none is installed, wrap is memory, context, and a repo report.
Not to be confused with relay: relay hands in-flight work to a fresh session mid-task. Wrap closes work out.
The command exists because the session may be abandoned. Every unattended write happens before the first question is asked, so walking away mid-wrap still leaves the durable stores current.
That splits the run into two phases, and the split is by risk:
| Phase 1 — written outright | Phase 2 — proposed, written on approval |
|---|---|
| Cheap to correct, and wrong entries are visible next session | Curated, or read by other people, or hard to undo |
| Session memory, project context | Commits |
| Whatever an extension declares safe | Whatever an extension declares curated |
Never invert it. A wrap that stops to ask before writing anything, and is then abandoned, has done nothing at all.
Memory and project context. Follow the reflect skill's process — scan, filter, classify, write. Read it rather than re-deriving the formats; it owns them.
One change: write the surviving findings instead of proposing them. Reflect proposes because it's used interactively. Wrap assumes nobody is watching. The filter carries the weight — anything failing reflect's four checks is discarded, not written and not mentioned.
Then run each extension's Phase 1.
Run each extension's Phase 2, then handle the repo.
Repo state. Report what's uncommitted, untracked, or unpushed.
If the working tree holds one coherent change, propose a message and commit on approval. If it holds several unrelated changes, or work that's plainly half-finished, say so and commit nothing — close-out is exactly when unfinished work gets shipped by accident. Never push unless asked.
Some setups have stores that Polaris knows nothing about: a personal knowledge vault, a shared team wiki, an issue tracker, a status page.
Wrap does not define those. It runs them.
An extension is any available skill that owns such a store and documents a ## Close-out section. Its description will say what it owns — a second brain, a vault, cross-project knowledge, a task tracker. At wrap time, check the available skills for one, read it, and follow its ## Close-out section, honouring its Phase 1 / Phase 2 split.
If nothing is installed, skip both extension steps silently. Absence is the normal case, not an error.
Two requirements, and discovery fails without the first: the skill's description must name what it owns (a second brain, a vault, a task tracker) — that description is the only thing wrap sees when scanning for extensions, so a Close-out section in a skill whose description doesn't flag it will never be found. Second, the section itself:
## Close-out
Invoked by `/wrap`. Resolve the target first — never guess which record to write.
**Phase 1 (write):** <the cheap, correctable writes — capture files, completing
work that demonstrably finished>
**Phase 2 (propose, with exact text):** <the curated writes — status lines,
priority ordering, anything another person reads>
Two rules for any extension:
Close with what landed, what's waiting on the user, and what's still dirty. A few lines.
If a store was skipped, say which and why. Silence implies it was covered.