Skip to content
UsecaseBoard
← All use cases
newsletteragent-memory

Mine session corrections before proposing new Claude rules

At a glance

Artem Zhutov used Claude Code to turn recurring corrections from past sessions into an HTML report of proposed instruction changes. This workflow is listed under agent-memory, instruction-management, workflow-review.

Agents / tools
Claude Code

Building a tool for these workflows? See weekly rates.

What they did

Zhutov asked Claude to examine his last 50 sessions. Ten extraction agents divided the history, another stage grouped recurring corrections, and final agents reconciled proposed rules against his existing CLAUDE.md. He requested an HTML report so he could inspect the corrections alongside the proposed edits.

How it went

He reports that the run analyzed 49 sessions and extracted 86 corrections. The report paired proposed changes with his corrective comments and evidence from the underlying sessions.

Worth knowing

After inspecting the proposals, he preferred packaging recurring fixes into skills rather than putting every finding into CLAUDE.md.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

go through my last 50 sessions and mine them for the corrections I keep making and turn them into CLAUDE.md rules

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →
hnagent-memory

MuscleMemory: test-gated procedural memory for coding agents

Open-source local procedural memory that learns only after tests pass, then hands Claude Code/Codex/Cursor a short verified skill note on similar tasks (reported token/tool cuts in published benchmarks).

MuscleMemoryClaude CodeCodex+2
Source ↗