第一个 AI 循环先给自己

最该先搭的 AI 循环不是追求智能体自主,而是读取自己会话日志、从中挖出可发布内容与可复用工具修复的自我改进循环;扫描可自动化,但改动须本人批准,真正价值是受控复利而非临时记忆。

作者
@cathrynlavery
标签
循环效率
NO.010收录 2026-06-23

今天就搭起来

Read my 20 most recent sessions.
Claude Code sessions live in ~/.claude/projects/*/*.jsonl
Codex sessions live in ~/.codex/sessions/<year>/<month>/<day>/rollout-*.jsonl
Each file is JSONL: one event per line, including my messages, your tool
calls, shell commands, and their output.

Find the useful patterns:
- things I did that would make a good article, tweet, tutorial, diagram, prompt, product idea, or example
- commands or tools that errored, or that I ran several times before they worked
- moments I corrected you ("no", "actually", "that is wrong", "do not do that again")
- the same setup step rediscovered in more than one session

For each pattern, tell me where it belongs:
- a content idea to draft or add to my idea library
- a line to add to CLAUDE.md or AGENTS.md
- a slash command or skill to add or update
- a hook that should run automatically
- a tool or CLI that should be fixed
- a config or settings change
- or nothing, if it was a one-off

Redact anything sensitive (emails, tokens, keys) in what you show me.
Do not change anything yet. Give me a numbered list of proposals, each with
the one evidence line it came from. I will tell you which ones to apply.