mulch
由 runeweaverstudios 提供
Coding Agents & IDEs简介
Mulch Self Improver — Let your agents grow 🌱.
描述
该技能的功能
Mulch captures agent learnings in an append-only, git-tracked store so expertise persists across sessions. Agents run `mulch prime` at session start to load existing knowledge, then use `mulch record` to save failures, conventions, patterns, and decisions as they work. Auto-detection hooks identify errors and user corrections automatically.
Unlike per-session agent memory, Mulch stores learnings in git so they persist across sessions, can be shared across teammates and agents, and accumulate without manual prompt file maintenance.
何时使用
- Recording the fix after an API call fails so the same error is not repeated next session
- Logging a user correction mid-session so the agent adopts the right convention going forward
- Loading accumulated project expertise into context at the start of a new session
- Tracking architectural decisions and their rationale across a team of agents
- Promoting a proven pattern to CLAUDE.md or AGENTS.md after multiple sessions confirm it
示例工作流
User asks: the same npm peer dependency error just failed again
- 1
Run
mulch search "peer dependency"to check if a resolution already exists - 2
Find no existing record, so run
mulch record config --type failure --description "npm install fails on peer deps" --resolution "Use --legacy-peer-deps flag" - 3
Run
mulch primeat the next session start to load this resolution into context
Learning stored in `.mulch/config.jsonl`; future sessions load it automatically so the agent avoids repeating the same failure
前置要求
- mulch-cli npm package (install via npm install -g mulch-cli or use npx)
安装
clawhub install runeweaverstudios/mulch运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。