Agent skill

Asw Loop

by wjgoarxiv in wjgoarxiv/antigravity-swarm

Antigravity Swarm Loop executes RED to GREEN to real-surface QA with cleanup receipts.

MITAuto-check passed

Install Asw Loop

skills CLI
$ npx skills add wjgoarxiv/antigravity-swarm --skill asw-loop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wjgoarxiv/antigravity-swarm asw-loop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wjgoarxiv/antigravity-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/antigravity-swarm/skills/asw-loop .claude/skills/asw-loop && rm -rf skills-src

Use ~/.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/

Facts

Skill name
asw-loop
GitHub stars
166
Token cost
~824 tokens
SKILL.md length
420 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Antigravity Swarm Loop executes RED to GREEN to real-surface QA with cleanup receipts.

  • Works in 7 steps: Pick one criterion. → Write the failing test and capture RED… → Implement the smallest production change. → …
  • SKILL.md covers Loop, Subagent Use, Evidence Ledger and Criterion Loop, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Asw Loop is an agent skill from wjgoarxiv/antigravity-swarm. Antigravity Swarm Loop executes RED to GREEN to real-surface QA with cleanup receipts.

Its SKILL.md is about 820 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: ::A team of AI agents to code for you.::. The licence is MIT.

Example prompts

  • “/asw-loop”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Pick one criterion.
  2. Write the failing test and capture RED output.
  3. Implement the smallest production change.
  4. Capture GREEN output.
  5. Run the real Antigravity or application surface.
  6. Record cleanup.
  7. Re-run the full relevant suite.

What it can do on your machine

Read from SKILL.md and the folder at commit a949cb8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    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.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Asw Loop loads about 824 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 420 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~824

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from wjgoarxiv/antigravity-swarm at commit a949cb8, republished under its MIT licence (© wjgoarxiv). 420 words, ~824 tokens.

Download SKILL.mdSave it as .claude/skills/asw-loop/SKILL.md (or your agent's skills folder).
name
asw-loop
description
Antigravity Swarm Loop executes RED to GREEN to real-surface QA with cleanup receipts.

Antigravity Swarm Loop

Use this skill when a plan exists or the work is clear enough to execute.

Loop

  1. Pick one criterion.
  2. Write the failing test and capture RED output.
  3. Implement the smallest production change.
  4. Capture GREEN output.
  5. Run the real Antigravity or application surface.
  6. Record cleanup.
  7. Re-run the full relevant suite.

Never claim completion from tests alone.

Subagent Use

  • Explorer lane: locate owners, tests, configs, and prior art.
  • Librarian lane: check current official docs for libraries or external CLIs.
  • Reviewer lane: inspect the diff after implementation.
  • Keep all write operations in the execution lane unless the caller explicitly delegates file edits.

Evidence Ledger

For each criterion, keep a terse ledger:

text
Criterion:
RED:
Change:
GREEN:
Real surface:
Cleanup:

If any row is empty, the loop is still running.

Criterion Loop

Run one criterion at a time:

text
Criterion:
Automated test:
Manual QA channel:
Expected observable:
Cleanup target:

If the criterion is too broad, split it before editing. A criterion should be small enough that one failing test and one real-surface scenario can prove it.

RED to GREEN

For behavior changes:

  1. Write the automated test first.
  2. Run it and capture the failing assertion.
  3. Make the smallest production change.
  4. Run the same test and capture the passing output.
  5. Run adjacent regression tests.

For refactors:

  1. Identify characterization coverage.
  2. Run it green before the refactor.
  3. Change structure only.
  4. Run it green again.

Do not write production code first and backfill a test later.

Show full SKILL.md (183 more words)Show less

Surface Scenario

After GREEN, run the real surface:

  • CLI and installer: tmux transcript.
  • Hook: installed or script-level payload smoke with exact input.
  • HUD/status line: status payload through the real script.
  • Package: dry-run file list and bad-pattern scan.
  • Browser: action log and screenshot.
  • Desktop/IDE: visible action log and screenshot.

Record:

text
Scenario:
Tool/channel:
Input:
Expected:
Artifact:
PASS/FAIL:

Cleanup Pairing

Pair every scenario with cleanup:

  • close tmux session,
  • remove temp config,
  • remove temp package output,
  • stop servers,
  • close browser context,
  • remove generated scratch files.

Record cleanup beside the scenario. Do not leave cleanup for the end when multiple scenarios run.

Reviewer Gate

Run review when:

  • 3 or more files changed,
  • package contents changed,
  • hooks changed,
  • public docs changed,
  • refactor/migration work occurred,
  • the user requested deep or final review.

Reviewer input:

  • criteria ledger,
  • RED/GREEN evidence,
  • surface artifacts,
  • diff,
  • package/private scan,
  • cleanup receipts.

Approval requires no blockers and no missing evidence.

Stop Rules

Stop and report instead of guessing when:

  • a green baseline cannot be established,
  • a criterion cannot be tied to a real surface,
  • cleanup cannot be verified,
  • the same failure repeats after two targeted fixes,
  • the user-visible contract is ambiguous.

Final Output

text
Criterion ledger:
Tests:
Surface QA:
Cleanup:
Reviewer:
Final status:

© wjgoarxiv, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/antigravity-swarm/skills/asw-loop of wjgoarxiv/antigravity-swarm.

Open the folder on GitHubat commit a949cb8

Compare with similar skills

Asw Loop 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.

Asw Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Asw Loop this skillwjgoarxiv/antigravity-swarm166—~824Automated safety check: PassMIT
Executealirezarezvani/claude-skills28k—~831Automated safety check: PassMIT
Red Green FixComfy-Org/ComfyUI_frontend2.1k—~1.9kAutomated safety check: PassGPL-3.0
Red Green Refactorrohitg00/skillkit1.5k—~1.3kAutomated safety check: PassApache-2.0
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
TDD Red Green Refactorgoogle-labs-code/stitch-sdk1.8k—~755Automated safety check: PassApache-2.0

Similar skills

  • Execute

    alirezarezvani/claude-skills

    /cs:execute <decision — Generate a 90-day execution plan with weekly milestones, DRIs, and check-in cadence from an approved decision.

    28k GitHub stars~831 tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • Red Green Fix

    Comfy-Org/ComfyUI_frontend

    Bug fix workflow that proves test validity with a red-then-green CI sequence.

    2.1k GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Red Green Refactor

    rohitg00/skillkit

    Guides the red-green-refactor TDD workflow: write a failing test first, implement the minimum code to make it pass, then refactor while keeping tests green.

    1.5k GitHub stars~1.3k tokensUpdated 4 mo ago
    Testing & QAAuto-check passed
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • TDD Red Green Refactor

    google-labs-code/stitch-sdk

    Official

    Enforces a disciplined Red-Green-Refactor (TDD) workflow in TypeScript/Node.js.

    1.8k GitHub stars~755 tokensUpdated 8 days ago
    Testing & QAAuto-check passed
  • Agent Swarm

    ruvnet/ruflo

    Agent skill for swarm - invoke with $agent-swarm. An agent skill from ruvnet/ruflo.

    74k GitHub starsUsed in 2 repos~891 tokens
    Agent WorkflowsAuto-check passed

More from wjgoarxiv/antigravity-swarm

All 15 skills in this repo
  • Asw

    wjgoarxiv/antigravity-swarm

    Antigravity Swarm execution loop for evidence-driven implementation with tests, subagents, hooks, and manual QA.

    166 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Cleanup

    wjgoarxiv/antigravity-swarm

    Remove AI-looking clutter and temporary artifacts without changing behavior.

    166 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Debug

    wjgoarxiv/antigravity-swarm

    Hypothesis-driven Antigravity Swarm debugging for crashes, hangs, wrong output, and runtime drift.

    166 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Goal

    wjgoarxiv/antigravity-swarm

    Durable Antigravity Swarm goal orchestration with explicit success criteria, evidence ledger, manual QA channels, and completion audit.

    166 GitHub stars~905 tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Plan

    wjgoarxiv/antigravity-swarm

    Antigravity Swarm Plan creates a decision-complete plan before large or ambiguous work.

    166 GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Asw Refactor

    wjgoarxiv/antigravity-swarm

    Behavior-preserving Antigravity Swarm refactoring with characterization, impact mapping, diagnostics, and real-surface verification.

    166 GitHub stars~3.9k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Asw Loop

What does Asw Loop do?

Antigravity Swarm Loop executes RED to GREEN to real-surface QA with cleanup receipts. Asw Loop is an agent skill from wjgoarxiv/antigravity-swarm. Antigravity Swarm Loop executes RED to GREEN to real-surface QA with cleanup receipts.

How do I install Asw Loop in Claude Code?

Run `npx skills add wjgoarxiv/antigravity-swarm --skill asw-loop -a claude-code`. Or copy the skill folder (plugins/antigravity-swarm/skills/asw-loop in wjgoarxiv/antigravity-swarm) into .claude/skills/asw-loop in your project. Claude Code loads it when a task matches its description.

How do I install Asw Loop in Codex?

Run `npx skills add wjgoarxiv/antigravity-swarm --skill asw-loop -a codex`. Or copy the skill folder (plugins/antigravity-swarm/skills/asw-loop in wjgoarxiv/antigravity-swarm) into .agents/skills/asw-loop in your project. Codex loads it when a task matches its description.

Can I use Asw Loop in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wjgoarxiv/antigravity-swarm --skill asw-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/asw-loop, .gemini/skills/asw-loop, .github/skills/asw-loop and .opencode/skills/asw-loop in your project.

What does Asw Loop need to run?

SKILL.md names no scripts, command-line tools or credentials: Asw Loop is instructions for the agent only.

Does Asw Loop access the network?

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.

Is Asw Loop safe to install?

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.

What licence does Asw Loop use?

Asw Loop is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Asw Loop use?

About 824 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Asw Loop?

Skills that share tags, products or a category with Asw Loop: Execute (alirezarezvani/claude-skills, 28k stars), Red Green Fix (Comfy-Org/ComfyUI_frontend, 2.1k stars), Red Green Refactor (rohitg00/skillkit, 1.5k stars) and Debugging Executions (n8n-io/n8n, 207k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Asw Loop?

wjgoarxiv (a GitHub user) maintains it in wjgoarxiv/antigravity-swarm, which has 166 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on June 19, 2026.

Source: wjgoarxiv/antigravity-swarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.