stow
它能做什么
这项技能会查看对话,找出有用的知识,并把它保存为你电脑上的文件。适合希望 AI 助手保留笔记、并在下一次会话中继续使用的人。
适用场景
- ✓当你要求智能体保存或记录本次对话中学到的内容的时候。
- ✓当你即将结束会话,并希望保留你的偏好和下一步计划时。
- ✓当你希望删除旧笔记,使保存的文件保持最新且简短的时候。
技能链接
https://github.com/kunchenguid/firstmate/blob/main/skills/stow/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请保存我在本次对话中提到的偏好和下一步计划,以便你下次记得它们。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会回顾聊天内容,挑出持久的事实、偏好和待办的下一步。它会按照你指定的位置归档,可以是项目中已有的笔记,也可以是当前文件夹中的私人笔记文件。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
stow
Sweep this conversation for durable knowledge that only exists in chat right now, and file it through the user's explicit instructions, the project's existing local conventions, or the private .stow-notes.md fallback in the current directory.
The goal is to leave the next session a compact, current operating map, not an accumulating journal: every durable finding lands on disk, and every file this skill touches comes out more accurate, not merely longer.
Entries are tiered and decay between passes, and stale material retires to a local archive instead of being deleted.
Everything files to a local destination by default; an external system such as an issue tracker is reached only through the explicit-instruction rule in step 3.
What it does
Sweep the conversation for uncaptured durable knowledge. Read back over the session and look for:
- User preferences: a working-style, tooling, formatting, or approval preference the user stated in passing rather than through a config file.
- Project facts: build, test, deploy, architecture, or convention facts about the current project that would help anyone (or any agent) working in it later.
- Operational gotchas: a sharp edge, workaround, recurring mistake, or non-obvious cause discovered while working here.
- Standing decisions: a choice made this session that should outlive it, such as an approach settled on, an option ruled out, or a convention agreed to.
- Undone next steps: anything left open or agreed to that has not yet been written down anywhere. Before filing any finding, check whether it already lives authoritatively somewhere - a README, a config file, existing docs, the code itself. If it does, record a one-line pointer to that owner instead of a copy, so the stowed note cannot go stale independently of its source.
Discover the host's existing conventions before deciding where anything goes. Don't assume a destination - look for what's actually there, roughly in this order:
- A project-level memory file, such as
CLAUDE.md,AGENTS.md, or an equivalent at the repo root or nearby. - A user-level (global) memory file the running agent reads across projects, if one exists and is readable.
- A
TODO,BACKLOG,NOTES, or similarly named plain file already tracked in the project. This step is about local files only; do not scan for or infer an issue tracker here - step 3 owns external routing.
- A project-level memory file, such as
Route each finding using this fixed priority order, local-first.
- Highest - an explicit instruction wins. If the user has explicitly said, earlier in this conversation or as a standing choice previously recorded in the discovered user-level memory file (see step 4), to use a particular system for this kind of finding, route it there.
This is the only path to an external or public system such as an issue tracker, hosted project board, or ticketing system.
A configured git host remote, a
.github/.gitlabfolder, or any other signal that a tracker probably exists is never by itself grounds to file anything there - never route externally on inference. - Otherwise - the local convention the project or user already has. The discovered project memory file for project facts, operational gotchas, and standing decisions; an existing
TODO/BACKLOG/NOTESfile for undone next steps; a discovered user-level memory file for user preferences when one happens to be accessible - a bonus if reachable, never an assumption or a requirement. This is the only tier that writes findings into a tracked, shared file or outside the current directory, and only because the user already established that destination. - Fallback -
.stow-notes.mdin the current directory, for every finding-kind. When no existing convention fits, don't improvise a location or invent an ad hoc filename. In a git worktree, first verify.stow-notes.mdis not already tracked in the index; if it is tracked, do not write private findings there - report that the fallback is blocked until the user chooses a safe destination. Otherwise create or update.stow-notes.mdin the current wor
- Highest - an explicit instruction wins. If the user has explicitly said, earlier in this conversation or as a standing choice previously recorded in the discovered user-level memory file (see step 4), to use a particular system for this kind of finding, route it there.
This is the only path to an external or public system such as an issue tracker, hosted project board, or ticketing system.
A configured git host remote, a
常见问题
笔记保存在哪里?
它使用你指定的位置、项目已有的笔记,或当前文件夹中的私人笔记文件。
它会把笔记发送到其他应用吗?
只有在你明确要求它使用外部系统(例如问题跟踪器)时才会。
它会删除旧笔记吗?
不会。旧内容会改为移到本地归档。
详情
作者的原始描述
Sweep the current conversation for durable knowledge - user preferences, project facts, operational gotchas, standing decisions, and unfinished next steps - and file each through explicit instructions, existing local conventions, or the private `.stow-notes.md` fallback, curating tiered, decaying destination files as it writes. Use when the user invokes /stow, asks to save or write down what was learned this session, or before a context reset or long break.
repo: kunchenguid/firstmate
热度
- GitHub 星标
- 8.5k
- 排名
- #12451
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …