user-thoughts
它能做什么
这个工具可以帮你保存项目中的重要决定。无论是关于规则、技术选型还是外观设计的决定,它都会记录下来,这样你或其他 AI 以后就能直接记起,无需再次询问。
适用场景
- ✓当你确定项目规则时。
- ✓当你选定要使用的技术时。
- ✓当你决定项目的外观或功能应该如何时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/user-thoughts/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“记住,主按钮应该是蓝色的。”
每周 5 个新技能,1 分钟读完。
工作原理
当你说出关于项目的重要决定时,AI 会把这些信息保存下来。之后,它会把所有内容整理好,方便在其他对话中,或由其他 AI 轻松找到并使用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
user-thoughts.SKILL
Overview
Across sessions and across agents, project decisions and user constraints are easy to lose. user-thoughts persists those decisions into a project-local mdbase so any future agent can recover the user's intent without re-deriving it from scratch.
The skill records user intent. It does not replace normal task execution. If the user says, "make the button red," the agent should both make the change and record the preference when persistent project memory is useful.
When to Use
Use this skill when the user states or revises:
- Project rules, constraints, preferences, or requirements.
- Architecture, tech-stack, data-model, deployment, or workflow decisions.
- UI/UX direction, copy standards, visual preferences, or design rationale.
- Backlog items, planned work, rejected options, or decisions that future agents should inherit.
- A direct command beginning with
/user-thoughtsor/ustht.
Do not use it for unrelated small talk, transient chatter, or content the user explicitly asks to ignore.
Language Policy
- All bundled skill files, scripts, templates, and reference docs are written in English.
- Agent-facing command output should follow the user's current conversation language when the agent can reasonably do so.
- Raw user thoughts should preserve the user's original wording. Do not translate, summarize, or clean the user's intent unless the user asks for that.
Core Workflow
User message -> Agent identifies persistent project intent -> write to #raw/
-> /ustht sortin groups raw entries into #mdbase/
-> /ustht mdbase show exposes the organized memory base
Runtime Modes
- Passive mode:
INSTANT_STATUS=off; only explicit skill commands run. - Instant mode:
INSTANT_STATUS=onandSKILL_STATUS=on; project-relevant user thoughts are written to#raw/as they appear. - Ignore mode:
ignore startandignore endmark a temporary interval that should not be recorded. - Read-only mode: if required read/write/bash tools are unavailable, show commands can still work but write commands should explain that the environment cannot persist data.
SKILL_STATUS=off pauses instant capture even when INSTANT_STATUS=on. Ignore intervals are context-local and do not persist across sessions.
Path Definitions
@/: the installeduser-thoughts/skill directory.~/: the current project working directory.#ustht/:~/.ustht/.#mdbase/:~/.ustht/mdbase/.#ignored/:~/.ustht/ignored/.#raw/:~/.ustht/raw/.#export/:~/.ustht/export/.
Runtime Directory Layout
.ustht/
├── define.ini
├── README.ai.md
├── raw/
│ └── yyyy-mm-dd.md
├── ignored/
│ └── yyyy-mm-dd.md
├── mdbase/
│ ├── backlog.md
│ ├── README.ai.md
│ └── details/
│ ├── rules.md
│ ├── plans.md
│ ├── ui/
│ │ ├── outline.md
│ │ └── details.md
│ ├── dev-stack.md
│ └── general.md
└── export/
Tools and Environment
Required tools:
- read/write: read and update files under
#ustht/. - bash: create directories and run bundled scripts.
Optional tool:
- SubAgent: when available, use it for semantic
sortinorresortmaintenance that spans many files. Use the main agent directly only when subagents are unavailable.
Bundled Scripts
The scripts/ directory provides small Python helpers for mechanical operations:
| Script | Purpose | Example |
|---|---|---|
common.py |
Shared helpers | Imported by other scripts |
status.py |
Show current runtime state | python @/scripts/status.py |
init.py |
Initialize .ustht/ |
python @/scripts/init.py |
show_raw.py |
Show unprocessed raw entries | python @/scripts/show_raw.py |
show_mdbase.py |
Show mdbase index or a dimension | python @/scripts/show_mdbase.py show --all |
sortin.py |
Soft-maintain raw entries into mdbase | python @/scripts/sortin.py --dry |
write_raw.py |
Append one raw thought | python @/scripts/write_raw.py "Use REST APIs" --dim dev-stack |
toggle.py |
Toggle skill or instant mode | python @/scripts/toggle.py instant on |
ignore_ops.py |
Manage ignored entries | python @/scripts/ignore_ops.py show |
resort has no standalone script because it requires semantic review, deduplication, and restructuring by an agent.
define.ini
define.ini stores simple key/value runtime state:
| Key | Value | Meaning |
|---|
…
常见问题
如果我说了不想保存的内容,怎么办?
你可以在要排除的内容前后分别输入 "/ustht ignore start" 和 "/ustht ignore end",这样那部分对话就不会被保存。
我怎么查看已经保存了什么?
你可以使用 "/ustht raw" 命令查看最近记录的内容,或使用 "/ustht mdbase show" 命令查看整理好的决定。
AI 会修改我说的话吗?
不会。除非你要求它做总结或整理,否则 AI 会按照你原话的样子保存你的决定。
详情
作者的原始描述
Persist user decisions and project constraints to mdbase across sessions. Trigger on /user-thoughts or /ustht, or when the user discusses architecture, tech stack, rules, UI/UX, or project memory.
热度
- GitHub 星标
- 48k
- 排名
- #6078
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。