跳到正文
Skillpedia
智能体48k · #6078

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/user-thoughts/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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-thoughts or /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=on and SKILL_STATUS=on; project-relevant user thoughts are written to #raw/ as they appear.
  • Ignore mode: ignore start and ignore end mark 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 installed user-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 sortin or resort maintenance 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6078
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能