self-improve
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@self-improvelog that I corrected the file path in the previous command"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
self-improve
한국어: README.ko.md
An agent-neutral self-improvement loop for coding agents (Claude Code, Codex). The more you work with the agent, the more it adapts to you: the moments you correct it are captured, and when the same lesson recurs the fix is applied automatically — a rule in your instruction file, a skill, or a guarded script — with a one-line notice and a one-phrase undo.
Everything stays on your machine. There is no telemetry.
What it does
① capture — the agent logs a correction moment (or a nightly miner finds one in session transcripts)
↓
② detect — the server notices the same lesson has recurred (2nd time; 3rd for taste/misread lessons)
↓
③ apply — a rule line is written into a managed block of the narrowest AGENTS.md/CLAUDE.md that covers the affected projects
↓
④ grow — procedural lessons become skills (synced to every agent), repeated manual work becomes a guarded script
↓
⑤ learn — every use reports success/correction; scripts earn trust, bad artifacts retire, "R-003 빼" reverts anythingPiece | How |
Records | one markdown file per lesson, |
Ripeness | token-overlap similarity tuned on real Korean/English lessons; the model confirms before applying |
Rules | written only inside |
Level | narrowest common ancestor folder that already has an instruction file, never above |
Skills | authored centrally in |
Scripts |
|
Registry |
|
Mining |
|
Never automated | secrets, permissions, deploys, deletes, billing — the instructions forbid putting these in auto artifacts |
Related MCP server: MCP Standards
MCP tools
Tool | Purpose |
| save a record; returns |
| call at session start: ripe clusters, escalations, mined candidates (≤3), retire suggestions |
| write a rule into the managed block, register it, resolve the records |
| register a skill (synced to agents) or a guarded script |
|
|
| undo an artifact; its records become |
| drop a mined candidate |
| query records, recurrence rate, artifact counts; manual resolve (rule existence is verified) |
Install
git clone https://github.com/Feynman520/d06-p01-self-improve
cd d06-p01-self-improve
set SELF_IMPROVE_DIR=C:\path\to\central\store # optional but recommended (one store for all projects)
node server/cli.js install --root C:\path\to\workspace --codex --schedule--rootwrites the agent instructions into the rootAGENTS.mdmanaged block (createsAGENTS.md+CLAUDE.mdshell if missing) so every agent reads the same instructions.--codexregisters the MCP server in$CODEX_HOME/config.toml.--scheduleregisters the nightly transcript miner (Windows Task Scheduler; prints a crontab line elsewhere).Claude Code:
/plugin marketplace add Feynman520/d06-p01-self-improve→/plugin install self-improve@self-improve, and addSELF_IMPROVE_DIRto the plugin env.
Requires Node.js ≥ 18. Zero runtime dependencies.
CLI
node server/cli.js install [--root DIR] [--codex] [--schedule]
node server/cli.js mine [--days N] # scan transcripts now
node server/cli.js nightly # mine + link sessions + log to <store>/logs
node server/cli.js backfill [--apply] # first-run: cluster existing open records → proposal (dry-run by default)
node server/cli.js statusConfig (SELF_IMPROVE_DIR/config.json)
{
"root": "C:\\workspace",
"path_aliases": { "C:\\old\\workspace": "C:\\workspace" },
"rule_cap": 30,
"ripe_threshold": { "default": 2, "오해": 3 },
"mine_days": 30,
"candidates_per_session": 3,
"retire_after_days": 60
}Undo
Say to the agent: 규칙 R-003 빼 / remove rule R-003 / 그 스킬 빼. The line, skill or script is removed, the artifact retired, and its records marked rejected.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent, governed institutional memory for Claude Code — specs, decisions, learnings.
Paid remote MCP for Claude Code skill update gate MCP, structured receipts, audit logs, and reviewer
Give Claude an honest self-model — behavioral tendencies built from evidence, not session memory. Mi
Trainable non-fiction writing voice, presets, and an anti-AI-tells audit for Claude, via MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables context capture and reinforcement learning by recording successful work patterns and creating reasoning chains for cross-conversation continuity. Automatically captures positive feedback through Claude Code hooks to build reusable success patterns.-
- AlicenseBqualityFmaintenanceA self-learning AI standards system that automatically detects patterns from user corrections and updates AI configuration files. Learns from repeated corrections (like 'use uv not pip') and automatically generates CLAUDE.md and other AI assistant configuration files.93MIT
- FlicenseBqualityDmaintenanceAn MCP server that enables Claude to learn from user corrections by recording them as persistent rules in CLAUDE.md files. It manages project-specific or global guidelines to ensure the assistant avoids repeating the same mistakes in future sessions.24-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to learn from their work by recording tasks, extracting patterns, detecting mistakes, and proactively surfacing insights, all using the agent's own model through a cooperative intelligence pattern.MIT