agent-skills¶
agent-skills is a set of skills for Claude Code and Codex. Left alone, an agent works until its turn ends and then reviews its own change. The goal loop keeps its state outside the session, so it picks up where it stopped, and a fresh reviewer checks each slice before the next one starts. The parallel skills put several independent agents on one bug, pull request, codebase or question, and keep only the findings that hold up against the code. Other skills grow a repository, file pull requests, draft replies, recover cut-off work and explain. Start with Getting started, then Usage.
-
Link the skills into Claude Code or Codex, install the Stop hook, and add its two
settings.jsonentries. -
Open a fresh session in a repository, run
/sergio-loop <goal>, and resume it after a stop. -
Investigate, review a pull request, audit a codebase, research a question or make a change, with a panel sized to the task.
-
Fill in one adapter file, then ask
/kb-researchor/kb-reviewagainst your team's own record.
The skills¶
| Skill | What it does |
|---|---|
sergio-loop |
Drives one repository toward a goal, one small slice at a time, and resumes after a stop. |
refine-loop |
Makes one small improvement per round that keeps behavior the same, ranked by ROI and checked by a fresh reviewer. |
docs-loop |
Audits documentation against the default branch: a dry run, staged edits, or one pull request per repository. |
investigate |
Reproduces a failure and tests competing hypotheses until one root cause holds. |
review-pr |
Reviews a pull request from several angles, fixes the valid findings, and stops after three rounds. |
review-code |
Audits a repository in waves and publishes every verified finding, ranked by severity. |
research |
Answers a question from the code, its history and primary sources, with a source for each claim. |
implement |
Makes the smallest complete change, giving each parallel writer its own files. |
kb-research |
Answers from your team's record, read-only, each claim with the anchor it was read from. |
kb-review |
Reviews a pull request with the learnings your reviewers recorded, and reports only. |
grow-my-repo |
Plans where an open-source repository gets listed and does the submissions an agent may do. |
submit-awesome |
Sends one entry to each fitting awesome list, by that list's own rules. |
file-pr |
Opens a pull request whose title says why the change matters and whose body starts with the problem. |
verified-reply |
Drafts a reply you send as yourself, with every claim checked against a live source. |
revive |
Brings work cut off by a limit, a crash or a compaction back from its real edge, without doing anything twice. |
eli5 |
Explains work, a system or a situation in plain words with real names. |
help-decide |
Lays a decision out so one word answers it: recommendation and pros and cons first. |
What you type¶
In Claude Code a skill is /<name>; in Codex it is $<name>. These are the examples from Usage:
/sergio-loop --coordinate --max-iterations=20 <goal>
/refine-loop theta=1.5 focus=usability,refactoring <intent>
/docs-loop --apply REPO_PATH ...
/investigate Checkout returns 500 since yesterday's deploy
/review-pr 42
/research How does connection pooling work in this app?
/kb-research Did we decide to drop the retry budget?
/grow-my-repo owner/repo
/revive
How the goal loop runs¶
flowchart LR
G["/sergio-loop goal"] --> P[Inspect and plan<br/>the smallest unfinished slice]
P --> I[Implement]
I --> V[Verify]
V --> R[Fresh review]
R --> S{Done or<br/>out of budget?}
S -->|no| H[Stop hook continues<br/>the same session]
H --> P
S -->|yes| T[State saved with<br/>the reason it stopped]
- The goal is stored word for word in
docs/GOAL.md, the evidence indocs/AUTOPILOT-WORKLOG.md, and the decisions only a person can make indocs/DEFERRED-QUESTIONS.md. The state the loop resumes from lives in.omc/sergio-loop/. - In Claude Code the Stop hook continues the same session for up to eight consecutive stops, Claude Code's own limit. After that,
/sergio-loopwith no goal resumes. The hook does nothing in a repository without an active loop and ignores other sessions. - In Codex there is no Stop hook: each call runs one pass, saves the state and says how to resume.
- A run ends after 50 iterations by default (
--max-iterationschanges it), or after three iterations without progress or three failures.
What the skills do not do¶
- None of them treats a stored goal or an earlier approval as permission to merge, publish or deploy. That needs your word in the current session.
/docs-loopand/review-prnever merge./kb-reviewand/verified-replypost nothing unless you approve the exact text./grow-my-repoand/submit-awesomenever star, vote, or answer a question about how something was made on your behalf. Where a place wants a human, they hand you a packet.- The parallel skills, the knowledge-base skills,
grow-my-repoandsubmit-awesomenever start on their own; the model can only run them when you name them. The loops' descriptions tell the model the same. - The knowledge-base skills bring no knowledge base. You describe yours in
references/knowledge-base.md, and they stop and ask while it still has placeholders. - The installer links only this repository's own skills. The skills from other projects under
vendor/are listed on Related projects.
How the repository is laid out¶
skills/holds the Claude Code skills.codex/skills/is generated from them byscripts/build_codex.py, and the tests fail when it is stale.runtime/holds the Stop hook and the state it reads.shared/loop-contract.mdholds the rules every loop must keep, andscripts/validate_skills.pychecks each skill against them. See Development.- Your own additions, such as private workspace policy, belong in your installed copies, never in this repository. See Canonical sources and local overlays.
Getting help¶
- Something broken: open an issue with the skill, whether it ran in Claude Code or Codex, the version, and what it printed.
- A security problem: follow the security policy, never a public issue.
- Validating a skill, rebuilding the Codex copies and running the tests: Development. The skills from other projects kept here, and the repository this one replaced: Related projects.
License¶
agent-skills is released under the GPL-3.0-or-later license. The skills under vendor/ keep their own MIT licences.