stow
できること
このスキルは、現在のFirstmateセッションから重要な知識を記録に保存し、メモリを整理します。エージェントが教訓を覚え、未完了の作業を失わないようにしたい人向けです。
使う場面
- ✓このセッションで学んだことを保存するよう、エージェントに頼むとき。
- ✓セッションがリセットまたは圧縮されようとしていて、何も失いたくないとき。
- ✓エージェントのメモリを、時間とともに最新の状態に保ちたいとき。
スキルのリンク
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/stow/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“次にリセットする前に失われないよう、このセッションで学んだことを保存してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはセッションを確認し、チャットの中にしか存在しない事実や未完了のタスクを見つけて、適切な記録に保存します。古い項目は削除されず、アーカイブに移されます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
stow
Sweep this session for durable knowledge and open-work record state that exist only in conversation, then leave the next session with a compact current operating map rather than an accumulating journal. Memory entries are tiered and decay between passes, and stale material retires to a cold archive instead of being deleted. This skill writes only through the existing Firstmate ownership and write boundaries.
Memory tiers and entry markers
Markers are compact trailing HTML comments, deliberately cheap because marker bytes are counted content:
<!--a:YYYY-MM-DD-->- anagingentry; the embedded date is its last-reinforced date.<!--p:YYYY-MM-DD-->- aperishableentry; the embedded date is its last-reinforced date.<!--a:YYYY-MM-DD/N-->- only in a home that has opted in to the pass horizon below: either dated marker may carry/N, the number of passes that evaluated the entry without reinforcing it. An absent/Nmeans zero, so an entry the fleet keeps exercising costs no counter bytes at all, and a home that has not opted in never writes one.<!--P-->- an explicitlypinnedentry in a file whose default tier is notpinned.<!--g-->- migration-only: an unconfirmed legacy entry that has consumed its one grace cycle, carrying no date because grace is not reinforcement.<!--t:NAME-->- pending capture: a tier-owned entry that the declared memory tierNAMEdoes not yet hold because no session that wrote or curated it could reach that tier; it follows any tier marker the entry already carries. Stow never prunes, ages out, evicts, offloads, consolidates away, or moves to the cold archive an entry carrying it, whatever its tier clock says. A later pass that can reachNAMEcaptures the entry there under the tier's declared rule, then removes the marker, after which the entry is curated like any other. When the declaration no longer namesNAMEbecause the home renamed or retired that tier, the next pass retargets the marker to the declared tier that now owns the entry's knowledge class, or removes it when no declared tier owns that class, so no entry stays pinned by a tier that no longer exists.
- Treehouse pool slots share one repo, so workers must create their task branch before editing. <!--a:2026-08-03-->
- While state/.afk exists, the away-daemon owns triage (until the afk-wake fix lands; tracked: afk-pi-wake-bypass-r1). <!--p:2026-07-20-->
- Never restart the shared no-mistakes daemon while runs are active. <!--P-->
- Codex writes its trust prompt to stderr, not stdout. <!--a:2026-07-28/6-->
The tier names say what the pass does with an entry:
pinned- no clock is ever read for it: exempt from decay and from budget eviction, changed only through inspect-then-update when the captain or reality changes it, except that an explicit per-item captain approval may offload it under the flow below.aging- it must re-prove itself: an entry whose age is greater than or equal to 30 days since its last-reinforced date is stale, and a stale entry is re-validated (date refreshed) or archived, never kept by inertia alone.perishable- it is stored expecting disposal: an entry whose age is greater than or equal to 7 days since its last-reinforced date is stale, and its prose must name a checkable expiry condition, such as a backlog id, a version floor, or a dated expectation. An admitted durable entry that cannot name a checkable expiry condition is notperishableand must be stored asaging. Omission is reserved for non-durable material or facts already owned elsewhere.
Marking rules:
- Tier defaults are file-scoped: entries in
data/captain.mdanddata/captain-shared.mddefault topinnedbecause preferences and authority boundaries do not age, and entries indata/learnings.mddefault toagingbecause operational facts must re-prove themselves. - An entry matching its file's
pinneddefault carries no marker at all; everyagingandperishableentry always carries its dated marker, whose letter names the tier, so a clock-carrying entry is never ambiguous with unmarked legacy material. - Marker and header-pointer bytes count toward the startup-memory budget: the pass's own bookkeeping is costed
よくある質問
古いメモリは削除されますか?
いいえ。古くなった内容は削除されず、アーカイブに移されます。
どのような内容を保存しますか?
伝えられた好み、運用上の教訓、次に行うことなど、長く役立つ知識です。
どのファイルにも自由に書き込めますか?
いいえ。Firstmateの既存の所有権と書き込みのルールに従ってのみ書き込みます。
詳細
作者による元の説明
Sweep the session for uncaptured durable knowledge and unfiled or wrong open work records, and curate startup memory. Use when the captain invokes /stow (e.g. "/stow", "stow what you've learned"), before a session reset or context compaction, or periodically to keep operational memory current.
repo: kunchenguid/firstmate
人気
- GitHubのスター
- 8.5k
- ランキング
- #12447
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
afk
8.5kエージェントが、あなたが離れている間も作業を見守り、あなたの判断が必要なものを保留し、戻ったときに明確な報告を送れるよう支援します。
ahoy
8.5kエージェントが、セッションで何が起きたかの短い振り返りを示し、まだあなたの答えを待っている判断を一緒に確認できるよう支援します。
ask-user-authority
8.5kエージェントが、検証の中で出た質問を、合意された計画に明らかに合う場合は自分で判断し、不明確または危険な場合にだけあなたに尋ねるよう支援します。
away-quiet-supervision
8.5kエージェントが、不在またはおとなしいモードで作業を監督するときの安全ルールに従い、メッセージを明確に保ち、あなたが必要な判断を保留できるよう支援します。