OpenParable
Skip to content
← Back to skills

Ariadne Loop

Agent Building
ariadne-loop

Ariadne Loop is an Agent Skill for agent building published in the aiskillstore/marketplace repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Write verifiable Loop Engineering specs for Codex, Claude Code, OpenClaw, and AI coding agents.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/aiskillstore/marketplace/blob/HEAD/skills/zhangzeyu99-web/ariadne-loop/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ariadne-loop, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Ariadne Loop

Use this skill to turn vague agent work into a bounded loop contract for OpenClaw, Codex, Claude Code, or another coding agent. The goal is not to make a longer prompt. The goal is to make the next agent turn verifiable.

When to Use

Use this skill when the user asks for any of these:

  • a loop, agent loop, or Loop Engineering spec,
  • a resumable handoff for OpenClaw, Codex, Claude Code, or another coding agent,
  • a GitHub issue converted into an executable agent task,
  • release, refactor, bugfix, or documentation work that needs explicit gates,
  • supervision rules for repeated agent reports.

Preferred Workflow

  1. Identify the source shape:

    • rough notes,
    • GitHub issue title and body,
    • release/refactor/bugfix request,
    • long thread handoff.
  2. Create a snapshot JSON with:

    • title,
    • goal,
    • current_state,
    • recent_progress,
    • constraints,
    • verifiers,
    • external_effects,
    • risk.
  3. Generate or write an agent packet that includes:

    • inspect -> act -> verify -> decide cycle,
    • concrete verifiers,
    • stop rules,
    • rollback behavior,
    • human gates for external effects,
    • JSON-only report contract.
  4. If the user wants a first-run demo and the Ariadne Loop CLI is installed:

    ariadne-loop quickstart --output .ariadne/quickstart
    

    This creates a snapshot, loop JSON, agent packet, sample reports, and a supervision decision.

  5. For real work, prefer using the CLI:

    ariadne-loop init --preset bugfix --output loop-snapshot.json
    ariadne-loop write --input loop-snapshot.json --output loop-report.md --format markdown
    ariadne-loop make --input loop-snapshot.json --output loop.json --format json
    ariadne-loop check --input loop.json
    
  6. If the work starts from a GitHub issue body:

    ariadne-loop from-issue \
      --title "Issue title" \
      --body-file issue.md \
      --output issue-loop.json
    
  7. For running loops, ask the agent to append JSON reports to JSONL and use:

    ariadne-loop supervise \
      --loop loop.json \
      --reports reports.jsonl \
      --output decision.json
    

If the CLI Is Not Installed

Do not block. Produce the snapshot JSON and the agent packet directly in the response or in files. Tell the user they can use the browser builder:

https://zhangzeyu99-web.github.io/ariadne-loop/playground.html

Use this report contract:

{
  "action_id": "inspect|act|verify|decide",
  "status": "continue|stop|needs_human|rollback",
  "evidence": ["specific evidence observed in this turn"],
  "next_step": "the next concrete action",
  "passed_verifiers": ["gate ids that passed in this turn"],
  "failed_verifiers": ["gate ids that failed in this turn"]
}

Verifier Rules

Prefer observable gates:

  • command output,
  • rendered page or screenshot readback,
  • generated artifact exists and validates,
  • remote GitHub issue, PR, release, or Pages output is read back,
  • diff contains no unrelated churn,
  • failing reproduction now passes.

Avoid weak gates:

  • "looks good",
  • "done",
  • "agent says it completed",
  • unverified screenshots,
  • claims about remote state without readback.

Human Gates

Require human confirmation before:

  • commit,
  • push,
  • tag or release creation,
  • package publish,
  • deploy,
  • deletion,
  • sending external messages,
  • payment or billing actions.

After any approved external effect, read back the real target before reporting success.