Coding

Daily Thought Record

Try it

随想记录——收到用户的长文随想、感悟、观点时,先用脚本写入文件,再根据脚本输出返回确认信息。避免AI幻觉导致的"假记录"。

What it does

随想记录——收到用户的长文随想、感悟、观点时,先用脚本写入文件,再根据脚本输出返回确认信息。避免AI幻觉导致的"假记录"。

The skill document

随想记录技能

核心原则

必须使用脚本记录,不能手动写/不能只口头承诺。脚本的执行结果是唯一可信的证据。

使用方法

1. 调用脚本记录

将用户的原始消息内容通过 stdin 传给脚本:

cd 
cat <<'EOF' | python3 skills/daily-thought-record/scripts/record_thought.py . --tag "<简短标签>"
<用户的全部原始内容>
EOF

--tag 可选,用于标记这段内容的关键词(如"行业判断"、"关于脚手架")。

2. 解析脚本输出

脚本返回 JSON,包含以下字段:

字段说明
success是否成功
file_path写入的文件路径(相对路径)
is_new_file是否新建的文件
bytes文件字节数
lines文件总行数
prefix文件前 100 个字符
suffix文件后 100 个字符

3. 返回确认信息

根据脚本输出,且仅返回以下格式,不添加任何其他文字:

📝 已记录
📄 文件: `daily-thoughts/raw/YYYY-MM-DD.md`
📊 字节数:  字节
📊 行数:  行

🔍 前100字符:


🔍 后100字符:

重要约束

  • 不要承诺记录:在脚本执行前,绝不能说"已记录"、"马上记录"——先跑脚本
  • 不要省略验证:必须展示前100/后100字符证明真的写入了
  • 不要手动写入文件:必须使用脚本,避免幻觉
  • 不要简化回复:完整的确认信息能证明真的记录了
  • 不要额外评论:确认格式就是全部回复,一个字不能多

为什么需要这个Skill

AI 模型会声称"已记录"但实际上没有执行写入(幻觉问题)。只有脚本的执行结果才是可信的。


💡 完整版(含完整 Agent 工作空间配置)请在 Gumroad 或爱发电购买。

Related skills

Keep the user's personal life diary for them. Use whenever the user shares something from their day worth remembering — an event, a feeling, a win, a decisio...

1 installs1 stars

Turn scattered notes, chat logs, meeting fragments, issue updates, or calendar context into a concise daily brief. Use when Codex needs to summarize what hap...

13 installs

Write structured entries into an Obsidian daily note vault. Use when the user sends text, links, or content to be recorded, including research notes, task su...

Capture journal entries verbatim, review them on a cadence, and spot patterns only when the evidence clears a defined bar.

71 installs2 stars

Use the complete official Tencent Meeting record command family to locate recordings, retrieve native smart-minutes summaries and Todos, verify evidence in transcripts, handle recording-access requests, and produce a source-labeled meeting Todo ledger.

Generate polished Chinese R&D weekly reports from recent work logs, chat history, commit notes, or development notes. Use when the user asks to 生成、整理、润色、汇总本周...

1 installs