Antigravity Agents
markfulton/claude-antigravity-agents
Delegate coding, code review, analysis, and research jobs to Google Antigravity CLI (agy) sub-agents that run alongside your own work.
Disciplined, measurable iteration for a substantial refinement or investigation: loop against verifiable pass/fail conditions, fan work out to subagents, and keep the main context lean.
$ npx skills add sammcj/agentic-coding --skill iterative-refinement -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install sammcj/agentic-coding iterative-refinement --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skills_disabled/iterative-refinement .claude/skills/iterative-refinement && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "iterative-refinement" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/iterative-refinement into .claude/skills/iterative-refinement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iterative-refinement", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/iterative-refinementType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add sammcj/agentic-coding --skill iterative-refinement -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install sammcj/agentic-coding iterative-refinement --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .agents/skills && cp -r skills-src/Skills_disabled/iterative-refinement .agents/skills/iterative-refinement && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "iterative-refinement" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/iterative-refinement into .agents/skills/iterative-refinement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iterative-refinement", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sammcj/agentic-coding --skill iterative-refinement -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install sammcj/agentic-coding iterative-refinement --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/Skills_disabled/iterative-refinement .cursor/skills/iterative-refinement && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "iterative-refinement" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/iterative-refinement into .cursor/skills/iterative-refinement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iterative-refinement", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/sammcj/agentic-coding.git --path Skills_disabled/iterative-refinement--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add sammcj/agentic-coding --skill iterative-refinement -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install sammcj/agentic-coding iterative-refinement --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/Skills_disabled/iterative-refinement .gemini/skills/iterative-refinement && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "iterative-refinement" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/iterative-refinement into .gemini/skills/iterative-refinement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iterative-refinement", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install sammcj/agentic-coding iterative-refinementInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add sammcj/agentic-coding --skill iterative-refinement -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .github/skills && cp -r skills-src/Skills_disabled/iterative-refinement .github/skills/iterative-refinement && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "iterative-refinement" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/iterative-refinement into .github/skills/iterative-refinement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iterative-refinement", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add sammcj/agentic-coding --skill iterative-refinement -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install sammcj/agentic-coding iterative-refinement --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/sammcj/agentic-coding.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/Skills_disabled/iterative-refinement .opencode/skills/iterative-refinement && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "iterative-refinement" agent skill from https://github.com/sammcj/agentic-coding/tree/main/Skills_disabled/iterative-refinement into .opencode/skills/iterative-refinement/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "iterative-refinement", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
iterative-refinementDisciplined, measurable iteration for a substantial refinement or investigation: loop against verifiable pass/fail conditions, fan work out to subagents, and keep the main context lean.
Iterative Refinement is an agent skill from sammcj/agentic-coding. Disciplined, measurable iteration for a substantial refinement or investigation: loop against verifiable pass/fail conditions, fan work out to subagents, and keep the main context lean. Use when improving something measurable over repeated cycles (tuning a metric or detector, refactoring against a regression bar), chasing a surprising or suspicious number, or driving a long multi-step task where delegation and context discipline matter. Not for one-shot edits or quick lookups that don't warrant a loop.
Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `evals/trigger_evals.json` and `references/worked_example.md`).
It sits in Agent Workflows, covering Subagents and Refactoring. The repository describes itself as: Agentic Coding Rules, Templates etc... The licence is Apache-2.0.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 62ba5a2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Iterative Refinement loads about 3.2k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 132 tokens; SKILL.md has 1,880 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from sammcj/agentic-coding at commit 62ba5a2, republished under its Apache-2.0 licence (© sammcj). 1,880 words, ~3,247 tokens.
.claude/skills/iterative-refinement/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Improve any system (script, pipeline, prompt, doc, config, dataset) by looping against measurable pass/fail conditions while keeping the main thread's context lean. Task-agnostic. The aim is to make "is it good yet?" a single repeatable command, catch each regression at the edit that caused it, and keep load-bearing reasoning in cheap, auditable steps.
Use this as a toolkit, not a script. Each method below earns its place by what it prevents, and that reasoning is stated inline so you can judge when it applies. Reach for the methods the situation calls for, scale them to the stakes, and adapt or skip what doesn't fit; they compose well, but no fixed subset is mandatory and this skill can't anticipate every task you'll point it at. When a method clearly fits, lean into it fully rather than half-applying it. The judgement of which to use, and how hard, stays yours.
Overall: PASS" is.[PASS]/[FAIL] per condition, so the check can't drift out of sync with the code the way an external checklist does. Now any party (you, a subagent, the user) re-verifies with one command.Every byte a tool returns stays in context and taxes every later turn. This is context engineering: treat the window as the scarcest resource, because reasoning quality degrades with depth (context rot) well before any hard limit. Three mitigations, highest leverage first:
ctx_execute tools do this in a sandbox when available.Reasoning degrades in bands: roughly 0-100k tokens is peak, 100-150k still strong, 150-200k noticeably softer, and auto-compaction looms around a third of the window. Budget against the bands, not the ceiling. Bring the main thread's irreversible state (task list, strategy notes, decisions) up to date before you approach compaction; a summary written ahead of time survives, working memory you were relying on may not. If a single task can't fit the smart zone, that's a signal to decompose and delegate, not to push through.
Push work off the main thread whenever it produces more bytes than its conclusion is worth.
Match it to the write-pattern:
When a fix won't hold after a few tries, stop pushing on the same line:
A live task list is the backbone of completeness, not bureaucracy. Stand one up before the first loop iteration and keep it current as you work, marking items done and adding new ones the moment they surface. It's the one piece of state that reliably survives compaction, so treat it as the source of truth for what's done and what's left, not an afterthought you reconstruct at the end.
This playbook assembles established techniques. Reach for the named version when you want to go deeper or justify the approach.
| Practice here | Established name | Origin |
|---|---|---|
| The rubric-and-self-check loop | evaluator-optimizer pattern; eval-driven development | Anthropic, Building Effective Agents; Hamel Husain, Your AI Product Needs Evals |
| Critique-then-revise iteration | Reflexion; Self-Refine | Shinn et al. 2023; Madaan et al. 2023 |
| Reconciliation invariants between steps | programmatic gates | Anthropic, Building Effective Agents |
| Fix the measurement before the output | construct validity; Goodhart's law | Cronbach & Meehl 1955 |
| Meaningfulness audit and judge calibration | LLM-as-judge failure modes | Zheng et al. 2023 (MT-Bench) |
| Context economics, conclusions-not-transcripts | context engineering; context rot; compaction | Anthropic, Effective Context Engineering for AI Agents |
| Read-only parallel auditors that vote | self-consistency; orchestrator-workers | Wang et al. 2022; Anthropic, Multi-Agent Research System |
For a worked example of the whole chain (a "frustration spike" that turned out to be a measurement artifact), see references/worked_example.md.
A prompt to confirm what applies to the task in front of you, not a gate every task must clear. Skip the lines that don't fit.
© sammcj, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files (references) in Skills_disabled/iterative-refinement of sammcj/agentic-coding.
Open the folder on GitHubat commit 62ba5a2
Iterative Refinement next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Iterative Refinement this skillsammcj/agentic-coding | 162 | — | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| Antigravity Agentsmarkfulton/claude-antigravity-agents | 130 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Subagent Coordinatorflyxl/datazen | 114 | — | ~908 | Automated safety check: Pass | GPL-3.0 | |
| Orchestrate Batch RefactorDimillian/Skills | 4k | — | ~889 | Automated safety check: Pass | MIT | |
| Batch Orchestrationrohitg00/pro-workflow | 2.9k | — | ~1.2k | Automated safety check: Pass | None | |
| Codex CLIkortix-ai/suna | 20k | — | ~1.6k | Automated safety check: Pass | Custom licence |
markfulton/claude-antigravity-agents
Delegate coding, code review, analysis, and research jobs to Google Antigravity CLI (agy) sub-agents that run alongside your own work.
flyxl/datazen
Orchestrate multi-track parallel feature development with subagents and git worktrees.
Dimillian/Skills
Plan and execute large refactor or rewrite efforts efficiently with parallel multi-agent analysis and implementation.
rohitg00/pro-workflow
Decompose large-scale changes into independent units and spawn parallel agents in isolated worktrees.
kortix-ai/suna
Drive OpenAI's Codex CLI (codex exec) as a non-interactive coding sub-agent from inside Claude Code.
r3bl-org/r3bl-open-core
Use a sub-agent (like generalist) to perform repetitive code transformations across multiple files in a single turn.
sammcj/agentic-coding
A skill your agent uses when generating songs with YuE2, covering a recording via SheetSage2 audio-to-ABC, editing a score or lyrics with melody preservation, or building a reproducible listening…
sammcj/agentic-coding
A skill your agent uses when creating or editing Bento (.bento.html) slide decks, including any request for a single-file HTML slide deck.
sammcj/agentic-coding
A skill your agent uses whenever the user wants you to manage, discuss or diagnose iDrive Backup configuration on macOS
sammcj/agentic-coding
Train custom TTS voices for Piper (ONNX format) using fine-tuning or from-scratch approaches.
sammcj/agentic-coding
Convert a PPTX slide deck into per-slide markdown that preserves both the verbatim text and the meaning of embedded screenshots, diagrams and charts in their original layout positions.
sammcj/agentic-coding
You MUST load this skill before the skill-creator skill AND before making ANY change to, or conducting a review of ANY Agent Skill.
Categories
Disciplined, measurable iteration for a substantial refinement or investigation: loop against verifiable pass/fail conditions, fan work out to subagents, and keep the main context lean. Iterative Refinement is an agent skill from sammcj/agentic-coding. Disciplined, measurable iteration for a substantial refinement or investigation: loop against verifiable pass/fail conditions, fan work out to subagents, and keep the main context lean.
Iterative Refinement fits situations like: improving something measurable over repeated cycles (tuning a metric; refactoring against a regression bar); chasing a surprising; suspicious number.
Run `npx skills add sammcj/agentic-coding --skill iterative-refinement -a claude-code`. Or copy the skill folder (Skills_disabled/iterative-refinement in sammcj/agentic-coding) into .claude/skills/iterative-refinement in your project. Claude Code loads it when a task matches its description.
Run `npx skills add sammcj/agentic-coding --skill iterative-refinement -a codex`. Or copy the skill folder (Skills_disabled/iterative-refinement in sammcj/agentic-coding) into .agents/skills/iterative-refinement in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sammcj/agentic-coding --skill iterative-refinement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/iterative-refinement, .gemini/skills/iterative-refinement, .github/skills/iterative-refinement and .opencode/skills/iterative-refinement in your project.
SKILL.md names no scripts, command-line tools or credentials: Iterative Refinement is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Iterative Refinement is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 447 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Iterative Refinement: Antigravity Agents (markfulton/claude-antigravity-agents, 130 stars), Subagent Coordinator (flyxl/datazen, 114 stars), Orchestrate Batch Refactor (Dimillian/Skills, 4k stars) and Batch Orchestration (rohitg00/pro-workflow, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
sammcj (a GitHub user) maintains it in sammcj/agentic-coding, which has 162 GitHub stars. The repository holds 62 skills in this directory. The repository was last updated on October 7, 2026.
Source: sammcj/agentic-coding on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.