Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

improve

БесплатноБез исполняемых скриптовНе проверен

Improve skills, capture context & knowledge. Use for skill iteration, capturing learnings, or upgrading agent context.

drnот drn★ 23 звезды на GitHub

Об этом скилле

Improve Skills, Capture Context & Knowledge

Analyze the current conversation to improve skills, fix codebase gaps, capture durable knowledge, and generate handoff prompts for skills managed outside this repository.

When to Use

Run /improve at the end of any session where:

  • Skills were invoked and required manual fixes or workarounds
  • You discovered better patterns or approaches mid-conversation
  • A skill produced output that needed multiple iterations to get right
  • Technical assumptions in a skill turned out to be wrong
  • You learned something that would make a skill work better next time
  • You hit a codebase gap (missing docs, tests, error handling, or config)
  • You learned new organizational context (people, roles, vendor contacts, processes)

Context

  • Current repo: !git rev-parse --show-toplevel 2>/dev/null | head -1
  • Skills directory: !find agents/skills -maxdepth 2 -name SKILL.md 2>/dev/null | head -30
  • Context directory exists: !command ls context/knowledge/index.md 2>/dev/null | head -1
  • Knowledge base index: !cat context/knowledge/index.md 2>/dev/null | head -30
  • Context directory structure: !find context -type f 2>/dev/null | head -20
  • Voice profile: !find . -maxdepth 3 -name 'voice-profile.md' -o -name 'VOICE.md' -o -name 'voice.md' 2>/dev/null | head -5
  • Argus KB available: !command -v argus 2>/dev/null | head -1
  • Argus KB index: !argus kb list 2>/dev/null | head -200
  • Argus KB recent changes: !tail -30 ~/.dots/sys/kb-changes/changes.jsonl 2>/dev/null | head -30

Instructions

When /improve is invoked:

Step 0a: Load Argus KB Context (if available)

If the dynamic context above shows argus is on PATH and the KB index is non-empty, the Argus KB is the primary durable store. Load it before doing anything else.

See references/argus-kb.md for the full load procedure (which docs to read, MCP tool name fallbacks, search heuristics). Summary: always-load memory/user/ + memory/feedback/ (or rely on the SessionStart hook), then kb_search on session-relevant keywords and read top matches.

If argus is NOT available, skip this step and continue with project-local context/ only.

Step 0b: Ensure Context Directory Exists

Check whether the current repo has a context/ directory at the repo root.

If context/ does not exist, prompt the user:

This repo has no context/ directory. Want me to create one? This gives you a durable, gitignored place to store operational context, knowledge, research, and plans across sessions.

I'll create:

context/
├── knowledge/
│   └── index.md          # Knowledge graph index
├── research/             # Investigation notes, spikes, evaluations
└── plans/                # Strategic plans, proposals, roadmaps

I'll also add a reference in CLAUDE.md. The context/ directory is checked into git so it persists across clones.

If the user approves:

  1. Create the directory structure above
  2. Initialize context/knowledge/index.md with an empty knowledge table:
    # Knowledge Index
    
    Structured knowledge for cross-session persistence. Each file covers a topic/domain.
    
    | File | Topic | Key Entities | Last Updated |
    |------|-------|-------------|-------------|
    
    ## Coverage Map
    
    Which context files are captured in knowledge:
    
    | Context File | Knowledge File(s) | Coverage |
    |-------------|-------------------|----------|
    
  3. Add a ## Context Directory section to CLAUDE.md (or the repo's agent guidance file) explaining:
    • context/ is gitignored and stores durable cross-session knowledge
    • context/knowledge/index.md is the knowledge graph index
    • context/research/ holds investigation notes and spike results
    • context/plans/ holds strategic plans and proposals
    • Agents should read context/knowledge/index.md when they need project history or domain context

If the user declines, proceed without it — Steps 8B and 8C will be skipped (no knowledge base to update).

If context/ already exists, proceed to Step 1.

Step 1: Identify Skills Used

Scan the full conversation for:

  • Explicit skill invocations (/pdf, /review, /test, etc.)
  • Implicit skill-like patterns (e.g., PDF generation even without /pdf, data export workflows)
  • CLAUDE.md or AGENTS.md instructions that were followed or should have been followed
  • Recurring manual steps that could be codified into a skill

List each skill used with a brief note on what it did in this session.

Note: If improvements were already applied earlier in the same session (e.g., from manual fixes or a prior /improve run), skip those and only propose net-new changes.

Step 2: Extract Learnings per Skill

For each skill identified, analyze:

  1. What worked well — smooth execution, no issues
  2. Friction points — where did the user need to iterate, correct, or re-run?
  3. Technical discoveries — new knowledge about how the underlying tool/scrip
Полный SKILL.md на GitHub

Установить improve в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

mcp__argus__kb_list
mcp__argus__kb_read
mcp__argus__kb_search
mcp__argus__kb_ingest
mcp__argus-kb__kb_list
mcp__argus-kb__kb_read
mcp__argus-kb__kb_search
mcp__argus-kb__kb_ingest

Вложенные файлы

references/argus-kb.md

FAQ

Что делает скилл improve?

Improve skills, capture context & knowledge. Use for skill iteration, capturing learnings, or upgrading agent context.

Как установить скилл improve?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл improve запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить improve с