К основному содержанию
скилл CX Codex

improve-agent-setup — скилл для Claude Code

Скилл improve-agent-setup для Claude Code разбирает ошибки в записях сессий агента и предлагает улучшения для его инструкций. Запускается по просьбе найти повторяющуюся ошибку или оценить, помогло ли изменение правила.

MIT ★ 149 обновлён 2026-11-16

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add jackulau/coding.sh --skill improve-agent-setup -a claude-code
Открыть на GitHub

Что делает improve-agent-setup

Скилл ищет повторяющиеся сбои в записанных сессиях репозитория и находит строку в AGENTS.md или CLAUDE.md, которая может их исправить. Он открывает пример сессии для проверки проблемы, а затем сообщает о прошлых изменениях и их результатах.

Для оценки правки скилл сравнивает сессии до и после коммита: учитывает число сбоев и то, следовал ли агент новым правилам. При регрессии открывает свежую проблемную сессию. Данные читает через MCP-сервер coding.sh; он использует сессии, записанные на этой машине. Файлы инструкций скилл меняет только после согласия пользователя.

Какие задачи решает

  • найти частую ошибку агента в записях сессий
  • проверить, подтверждает ли пример сессии найденную проблему
  • сопоставить сбои до и после коммита с правилом
  • выяснить, следует ли агент новой строке инструкции

Примеры запросов агенту

  • Найди повторяющиеся ошибки агента в этом репозитории.
  • Почему агент снова допускает эту ошибку? Проверь записи сессий.
  • Сравни сессии до и после коммита с изменением в AGENTS.md.

Как установить improve-agent-setup

1Через Skills CLI (Vercel)

npx skills add jackulau/coding.sh --skill improve-agent-setup -a claude-code

2Вручную: положить файлы

~/.claude/skills/improve-agent-setup/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/improve-agent-setup/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об improve-agent-setup

Как установить improve-agent-setup в Claude Code?

Выполни npx skills add jackulau/coding.sh --skill improve-agent-setup -a claude-code. Файл скилла находится по пути ~/.claude/skills/improve-agent-setup/SKILL.md.

Что делает improve-agent-setup?

Он находит повторяющиеся проблемы в записанных сессиях, связывает их с инструкциями агента и сравнивает результаты до и после изменения. Правки файлов вносит только после согласия пользователя.

Что нужно для работы improve-agent-setup?

Нужен MCP-сервер coding.sh и записанные на этой машине сессии агента.

Исходный текст

SKILL.md · MIT
---
name: improve-agent-setup
description: "Finds what goes wrong most in this repo's recorded agent sessions and the AGENTS.md or CLAUDE.md line that fixes it, then checks whether a committed change helped. Use when the user asks to improve their agent setup, asks why the agent keeps repeating a mistake, or asks whether an AGENTS.md, CLAUDE.md, rule or skill change worked."
license: MIT
---

# Improve the agent setup

Uses three tools of the coding.sh MCP server: `improve`, `harness_changes` and `session_get`. They
read sessions recorded on this machine and change nothing.

## Find what to fix

1. Call `improve`. Pass `repo` only when the user means a repo other than the one you are in.
2. Take the first entry of `issues`. Open its `example.sessionId` with `session_get` and check that
   the session shows the problem. Say what you found in one or two sentences. If the session does
   not show it, say so and take the next issue.
3. When the issue has `line` and `file`, show the user both. Add the line only after they say yes.
   When it has no `line`, tell the user what to do from `fix`: no instruction line fixes it. When
   it has `quietSince`, it has not come back since that change: say the change may have fixed it,
   and do not propose a new line.
4. After the edit, tell the user to commit the file. The verdict on a change comes from sessions
   recorded after its commit.
5. When `changes` is not empty, give each earlier change's `verdict` and `reason` in one sentence.

When `issues` is empty, say so and give `scope.sessions`, the number of sessions it read. With few
sessions, call `status` to check that sessions are being captured.

## Check whether a change helped

1. Call `harness_changes`. Pass `commit` when the user names one.
2. For each change, give `verdict` and `reason` with the counts behind them: sessions and flagged
   sessions in `before` and `after`, and `rules`, which says how often the agent followed each new
   line before and after.
3. Use the table for what to say next.
4. List `after.flaggedSessions` with their flags. For `regressed`, open the newest one with
   `session_get` and say what went wrong.

| Verdict | What to tell the user |
|---|---|
| `helped` | Fewer sessions went wrong after the change. Give the counts. |
| `regressed` | More sessions went wrong after it. Show the flagged sessions and offer to revert the line. |
| `followed-no-effect` | The agent follows the new line, but the failures did not fall. Give the command in `next`. |
| `costlier` | Sessions after it do more work and the failures did not fall. Give the command in `next`. |
| `no-clear-change` | The difference could be chance. More sessions will narrow it. |
| `too-early` | Fewer than 5 sessions ran with the change. Ask again after more sessions. |
| `no-sessions-after` | No session ran with the change yet. |
| `no-baseline` | No session ran before the change, so there is nothing to compare with. |

## Rules

- Never edit AGENTS.md, CLAUDE.md, a rule or a skill before the user says yes.
- Do not claim more than the numbers show. A verdict from a handful of sessions is a hint.
- A command in `next` can run for minutes and can call a model. Give it to the user to run.

© jackulau · MIT · jackulau/coding.sh

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
improve-my-agent-setup Kurt Buhler Скилл improve-my-agent-setup для Claude Code проверяет настройки разработки с ИИ-агентами и предлагает улучшения. Запускается для аудита рабочего процесса или оценки его настроек. CX Codex +1 ★ 1 104звёзд репо skill-doctor Alireza Rezvani Скилл skill-doctor оценивает настройку агента по истории реальных сессий Claude Code или Codex — какие скиллы работают, а какие нет, и предлагает исправления с доказательствами из диалогов. CX Codex +1 15установок setup-matt-pocock-skills Matt Pocock Скилл setup-matt-pocock-skills настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. CX Codex +1 1 052 851установок k-skill-setup NomaDamas Скилл k-skill-setup развёртывает набор k-skill через CLI, определяет среду выполнения и контролирует обновление навыков агента. Защищает от утечки учётных данных. CX Codex +1 13 800установок parallel-mcp-setup parallel-web Скилл parallel-mcp-setup пошагово настраивает авторизованное подключение Parallel Search MCP через шлюз Bifrost: ключ, доступы, проверка вызовов. CX Codex +1 1 600установок cyrus-setup-repository cyrusagents Скилл cyrus-setup-repository подключает Git-репозитории к конфигурации Cyrus, чтобы агент брал задачи из нужных кодбаз. Пригодится при первом запуске Cyrus или когда в работу берётся новый проект. CX Codex +1 1 100установок

Из того же набора4

Спонсоры проекта

Компании, которые помогают держать аналитику открытой