Borrowing it
Nothing to install: this file belongs to Asheng008/unifiles-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Asheng008/unifiles-mcp/main/.cursor/commands/update-history.mdgit clone --depth 1 https://github.com/Asheng008/unifiles-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/asheng008/unifiles-mcp/update-history)<a href="https://agentmods.dev/commands/asheng008/unifiles-mcp/update-history"><img src="https://agentmods.dev/badge/commands/asheng008/unifiles-mcp/update-history/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/asheng008/unifiles-mcp/update-history"><img src="https://agentmods.dev/badge/commands/asheng008/unifiles-mcp/update-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00771 |
| Opus 5 | $0.00000 | $0.00385 |
| Sonnet 5 | $0.00000 | $0.00154 |
| Haiku 4.5 | $0.00000 | $0.00077 |
Grade A, and why
update-history scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
更新 HISTORY.md 文档
根据当前对话中的用户指令,更新 HISTORY.md 文件,添加新的一轮对话记录。
目标
- 在
HISTORY.md文件末尾添加新的一轮对话记录 - 使用「当前对话的简短描述」作为该轮的标题(二级标题
##) - 按时间顺序记录该轮对话中用户发出的所有指令
- 保持与现有格式一致(编号、引用块、说明等)
必做步骤
-
若 HISTORY.md 不存在则创建
- 若项目根目录下不存在
HISTORY.md,则先创建该文件 - 写入与现有格式一致的初始结构:一级标题与简短说明、分隔线
---、文末的「使用说明」小节(二级标题## 使用说明及 1~2 条说明性列表项) - 创建完成后,再执行下面的步骤(首次追加时编号从 1 开始)
- 若项目根目录下不存在
-
读取当前 HISTORY.md
- 查看文件开头的说明和格式(格式已修改,参考示例格式)
- 查看已有轮次的标题格式(如「unifiles 项目规划与文档搭建」)
- 确认最后一条记录的编号,以便继续编号
-
分析当前对话
- 回顾整个对话历史,识别用户发出的所有指令
- 为当前对话生成一个简短、描述性的标题(2-10 字,概括本轮主要任务)
- 按时间顺序列出所有用户指令
-
添加新轮次记录
- 在文件末尾(「使用说明」之前)添加分隔线
--- - 添加二级标题:
## [简短描述] - 按顺序添加每条指令:
- 使用三级标题:
### N. [指令的简短描述] - 使用引用块
>记录用户的原始指令内容 - 如果指令很长,保留核心部分,必要时可截断
- 简要列出执行结果(1~3 条)
- 若有新建/修改文件,写出路径与说明
- 使用三级标题:
- 在文件末尾(「使用说明」之前)添加分隔线
-
格式要求
- 标题使用中文
- 指令内容保留用户的原始表述(或重要片段)
- 编号从上一轮的最后一条继续递增
- 保持与现有格式一致
输出
- 若
HISTORY.md不存在,则先创建该文件(含标题、说明与「使用说明」小节),再追加新轮次 - 直接修改并保存
HISTORY.md - 新轮次添加在文件末尾,位于「使用说明」之前
- 确保格式与现有内容一致
示例格式
---
## [当前对话的简短描述]
### 15. [指令1的简短描述]
> [用户的原始指令内容]
**执行结果**:
- 简要列出执行结果(1~3 条)
- 若有新建/修改文件,写出路径与说明
### 16. [指令2的简短描述]
> [用户的原始指令内容]
**执行结果**:
- 简要列出执行结果(1~3 条)
- 若有新建/修改文件,写出路径与说明
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 71 lines · 0 tokens per session scan A 334ba9940b29
update-history is a command published in the GitHub repository Asheng008/unifiles-mcp (0 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 771 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
minutes-ideas
Surface recent voice memos and ideas captured from any device. Use when the user asks "what ideas did I have?", "what were my recent memos?", "what did I record while walking?", or wants to recall a captured thought.
learn
Force claude-smart to extract learnings from this session now.
memory-store
Store an insight, decision, or pattern to memory.
cc-memory
Configure persistent memory that survives across sessions using a layered approach: split rule files for always-loaded context, auto-memory for organic learning, and optional MCP-backed long-term memory for large codebases.
analyze-context
USE WHEN you want to analyze project context before starting work on a task. Calls context + recall, then synthesizes goals, decisions, gotchas, and relevant memories into a pre-task brief.
music-suno-prompt
Grounded Suno prompt synthesis from local knowledge corpus + persona canon + label canon. No vibes-prompting.