Chuyển đến nội dung
Skillpedia
Công việc và dự án8.5k · #12447

stow

Skill này làm gì

Skill này lưu kiến thức quan trọng từ phiên Firstmate hiện tại vào hồ sơ của nó và dọn trí nhớ. Skill dành cho người muốn agent nhớ bài học và không làm mất công việc đang mở.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu agent lưu những gì đã học được trong phiên này.
  • ✓Khi một phiên sắp reset hoặc bị nén và bạn không muốn mất gì.
  • ✓Khi bạn muốn trí nhớ của agent được cập nhật theo thời gian.

Liên kết skill

https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/stow/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/stow/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy lưu lại những gì bạn đã học từ phiên này để không mất gì trước khi chúng ta reset.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent rà soát phiên để tìm sự thật và tác vụ đang mở chỉ tồn tại trong chat, rồi ghi chúng vào đúng hồ sơ. Các mục cũ được chuyển vào kho lưu trữ thay vì bị xóa.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

<!-- maintainers: this is the firstmate-internal skill. The public, installer-facing counterpart lives at skills/stow/SKILL.md - deliberately a separate file with no shared code or environment branching. Keep them independent. -->

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--> - an aging entry; the embedded date is its last-reinforced date.
  • <!--p:YYYY-MM-DD--> - a perishable entry; 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 /N means 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 explicitly pinned entry in a file whose default tier is not pinned.
  • <!--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 tier NAME does 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 reach NAME captures 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 names NAME because 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 not perishable and must be stored as aging. Omission is reserved for non-durable material or facts already owned elsewhere.

Marking rules:

  • Tier defaults are file-scoped: entries in data/captain.md and data/captain-shared.md default to pinned because preferences and authority boundaries do not age, and entries in data/learnings.md default to aging because operational facts must re-prove themselves.
  • An entry matching its file's pinned default carries no marker at all; every aging and perishable entry 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
Câu hỏi thường gặp

Nó có xóa trí nhớ cũ không?

Không. Nội dung lỗi thời được chuyển sang kho lưu trữ lạnh thay vì bị xóa.

Nó lưu những loại gì?

Kiến thức lâu dài như sở thích đã nêu, bài học vận hành và các bước tiếp theo đang mở.

Nó có thể ghi vào mọi file nó muốn không?

Không. Nó chỉ ghi qua các quy tắc sở hữu và ghi hiện có của Firstmate.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
8.5k
Vị trí xếp hạng
#12447
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự