By unim0cha
Hermes Agent-style self-improvement loops for Claude Code and Claude Cowork: distill complex work into reusable skills, validate edits, and curate stale knowledge.
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub unim0cha/self-improving-skills복잡한 작업 후 재사용 가능한 기법을 SKILL.md로 자동 증류하고 기존 스킬을 스스로 개선하는 자기개선 루프 (Nous Research Hermes Agent 방식의 Claude Code 이식)
Cowork(클라우드 컨테이너) 전용 자기개선 루프 — 증류된 스킬을 SendUserFile→'스킬 저장'으로 claude.ai에 영속화하고, 콜드 컨테이너의 SessionStart×플러그인 동기화 race를 UserPromptSubmit 안내로 회피 (claude-code-self-improving-skills의 Cowork 변형)
English | 한국어
Hermes Agent-style self-improvement for Claude Code, Claude Cowork, Codex, and ChatGPT work.
It turns hard-won workflow lessons into reusable
SKILL.mdfiles, validates skill edits, curates stale knowledge, and (since v0.13.0) distills in a detached background worker — your visible turn ends normally while a headless session captures the technique.
Claude Code already has hooks, subagents, slash commands, and skills. This plugin wires those primitives into a closed learning loop inspired by Nous Research Hermes Agent:
complex task → distill what worked → save/patch a skill → rediscover next session
One repo, four ports of the same closed learning loop:
| Plugin | Environment |
|---|---|
claude-code-self-improving-skills | Claude Code CLI (this README's main subject) |
claude-cowork-self-improving-skills | Claude Cowork (cloud container) — persists skills via claude.ai '스킬 저장' |
chatgpt-codex-self-improving-skills | OpenAI Codex CLI (hooks + MCP skill manager) |
chatgpt-work-self-improving-skills | ChatGPT desktop Work (skills-only package in the shared plugins/ directory) |
Install one per environment — do not install two variants into the same environment (duplicate hooks/nudges).
Most coding agents can solve a hard problem once. Fewer can reliably remember the reusable part of that work and apply it later.
Hermes Agent has first-class procedural memory through skills and a curator loop. This project ports that idea into Claude Code as a plugin:
~/.claude/skills/<name>/SKILL.md through a dedicated subagent.claude -p session, with an in-turn nudge as the automatic fallback.Stop hook silently enqueues a job (SQLite queue) and a detached worker runs a fenced headless claude -p session that reads the transcript and writes the skill — your turn ends with zero extra output. If the CLI is missing, outdated, or signed out, the hook automatically falls back to the classic in-turn nudge, which blocks once per segment of work and includes the transcript path.bypassPermissions, a per-job budget cap, and a post-run skill guard that snapshots ~/.claude/skills before the run, validates every touched SKILL.md after it, and rolls back anything malformed or out of scope. Distillation prefers patching existing skills over creating new ones (Anthropic skill-creator guidance).SKILL.md. Non-blocking quality advisories (e.g. over-long descriptions that cost context in every session).~/.claude/self-improve/skill_usage.json. Patch counting runs in the PostToolUse hook so edits made by background sessions are captured too, and bulk reads during curation never reset a skill's idle clock.use_count >= 3) age at half speed. The LLM curation pass (/curate-skills) is an umbrella-building consolidation modeled on Hermes' curator prompt — plan first, apply only after approval./distill-skill, /distill-status, /curate-skills, /curator-status, /curator-rollback, /prune-skills, /archive-skill, /pin-skill, /restore-skill, /migration, /propose-plugin-improvement.Background mode needs a claude CLI (>= 2.1.205) that can authenticate headlessly. If you use a subscription, generate a long-lived token once and put it where the worker reads it:
claude setup-token
install -m 600 /dev/null ~/.claude/self-improve/worker.env
# then put one line in that file: CLAUDE_CODE_OAUTH_TOKEN=<token>
7-day visitors to each marketplace page
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.