loop-engineering
Run bounded, evidence-driven loops for repeated, resumable, delegated, or scheduled work.
Skill by cheshirecode
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/cheshirecode-loop-engineering
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/loop-engineering
What's inside
- Skill name
loop-engineering- Description
- Run bounded, evidence-driven loops for repeated, resumable, delegated, or scheduled work. Use for iteration toward a verifiable condition, software engineering factories, context recovery, subagent coordination, or loop/worklog/scheduler selection. Skip one-shot tasks.
- License
- Unlicense
- Instructions
- 124 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (68)
- SKILL.md
- openai.yaml · agents/
- crew-radar · bin/
- crew-reap · bin/
- composition.md · references/
- context-budget.md · references/
- crew.md · references/
- durable-context.md · references/
- effects.md · references/
- examples.md · references/
- experiments.md · references/
- factory.md · references/
- hosts.md · references/
- interrogate.md · references/
- models.md · references/
- native-harness-study-2026-09-18.json · references/
- native-harness-study-2026-09-18.md · references/
- native-harnesses.md · references/
- orchestrator.md · references/
- protocol.md · references/
- quality.md · references/
- resolvers.md · references/
- transport.md · references/
- ui-feature-gate.md · references/
- user-output.md · references/
- install_audit.py · scripts/
- loop_run.py · scripts/
- loop_state.py · scripts/
- app_server.py · scripts/native_harness/
- claude_server.py · scripts/native_harness/
- harness_usage.py · scripts/native_harness/
- integrity.py · scripts/native_harness/
- opencode_server.py · scripts/native_harness/
- opencode_usage.py · scripts/native_harness/
- public_verifier_mcp.py · scripts/native_harness/
- PROTOCOL.md · scripts/native_harness/study/
- analyze.py · scripts/native_harness/study/
- audit.py · scripts/native_harness/study/
- corpus.py · scripts/native_harness/study/
- evaluate.py · scripts/native_harness/study/
- recover_usage.py · scripts/native_harness/study/
- run.py · scripts/native_harness/study/
- sensitivity.py · scripts/native_harness/study/
- timing.py · scripts/native_harness/
- validate.py · scripts/native_harness/
- ste_sentence_gate.py · scripts/
- ui_feature_gate.py · scripts/
- test_claude_bridge.py · tests/native_harness/
- test_harness_usage.py · tests/native_harness/
- test_integrity.py · tests/native_harness/
- test_metering.py · tests/native_harness/
- test_model_scope.py · tests/native_harness/
- test_opencode_server.py · tests/native_harness/
- test_opencode_usage.py · tests/native_harness/
- test_study.py · tests/native_harness/
- test_timing.py · tests/native_harness/
- test_validation.py · tests/native_harness/
- test_compose_routes.py · tests/
- test_crew_radar.sh · tests/
- test_crew_reap.sh · tests/
- …and 8 more
SKILL.md (first lines)
# loop-engineering Use the driver to track an observable goal, evidence, budget, next action, and terminal status. The agent chooses and verifies actions; the driver records them. User instructions govern scope and authorization; this skill adds no permissions. ## Route Load only the needed rules. GPT Astra, Sol and Claude Fable use the same workflow; model guidance tunes its use, while host capabilities determine what can run. | Need | Read | | --- | --- | | One action and one check | Work directly; no loop state | | Material uncertainty about goal, scope, effects, or task split | [interrogate.md](references/interrogate.md) before initialization | | Repeated or resumable work | Driver below; [protocol.md](references/protocol.md) for exact state/effect rules | | Software engineering factory: intake through delivery and improvement | [factory.md](references/factory.md) | | Harness design, routing patterns, or workflow boundaries | [harness-design.md](references/harness-design.md) | | Concurrent delegates, or a delegate's model lane | [crew.md](references/crew.md) | | Three or more Worklog tasks | [orchestrator.md](references/orchestrator.md) | | Astra/Fable prompting, Sol orchestration, or another model | [models.md](references/models.md) | | Tool availability, installation, OS, or recurrence | [hosts.md](references/hosts.md) | | Validate native Claude Code, GPT/Codex or OpenCode execution and usage | [native-harnesses.md](references/native-harnesses.md) | | Resume, delegation, or compaction | [durable-context.md](references/durable-context.md) | | Any message to the user | [user-output.md](references/user-output.md) | | Code quality or architectural boundaries | [quality.md](references/quality.md) | | Repeated trials judged by one metric | [experiments.md](references/experiments.md) | | Brittle state/evidence sequencing | [examples.md](references/examples.md) | | Long session, context filling up | [context-budget.md](references/context-budget.md) | | Optional output compression | [transport.md](references/transport.md) | ## Drive one cycle Invoke with `Use loop-engineering. Goal: <observable outcome>.` Resolve `<skill-dir>` to the loaded skill directory; use [resolvers.md](references/resolvers.md) only if that path is unknown. Create `<run-dir>` in system temporary storage (`mktemp -d`, `$TMPDIR`, or the host equivalent). Keep transient state, evidence-gate JSON, logs and snapshots there, outside the worktree. Durable handoffs follow durable-context.md. ```bash python3 <skill-dir>/scripts/loop_run.py <run-dir> --goal "<observable outcome>" python3 <skill-dir>/scripts/loop_run.py <run-dir> \ --evidence "command: <check> — <result>" --next-action "<next check>" python3 <skill-dir>/scripts/loop_run.py <run-dir> --stop complete \ --verification "<evidence-gate verification value>" --evidence "artifact: <ref> — <outcome>" ``` Declare `--allowed-effect` and `--approval-boundary` at init for runs that can write or affect external systems. Honor the user's budget and any minimum; the driver defaults to 20 turns. `--repo` selects the radar target (otherwise cwd's Git root); `--project <slug>` enables the Worklog queue on every cycle. Neither option changes a tool's cwd or authorizes dispatch. Repeat `--evidence` for each short record in one cycle; all records are saved. Repeat `--allowed-effect` at init to preserve each permitted effect. 1. Observe current evidence and choose the smallest useful action. 2. Check the target and existing authorization before a mutation. Apply the [effect boundary](references/effects.md); serialize shared writes. 3. Execute and verify the changed behavior. Batch independent reads when the host supports it; inspect every result. Repeat checks only for new changes, failures, unresolved concerns, or a required validation gate. 4. Record short typed lines: `kind: reference — result`. Kinds are `command`, `artifact`, `git`, `github`, `url`. Keep verbose output in the artifact; state is an index, not a log. Preserve producer exit codes. 5. If work remains, advance once and keep working while state is `running`. On success, require the evidence gate, then stop complete. Otherwise use the protocol's terminal outcome and concrete recovery action. Each call reports state, radar and queue. `error=` is an unavailable or failed probe, never a clean radar or empty queue. A radar sample does not monitor the interval between calls, and a single owner does not prove isolation. The driver neither delegates work nor schedules wakeups; crew and host guidance own those. State lives in `<run-dir>/loop_state.json`; `run.json` holds driver configuration. Do not hand-edit state JSON or mix raw state writes with an active driver. Give brief progress updates when findings or next steps matter. Use concrete language and the structure the user needs; include essential results in the final reply even when tool output is hidden. Report decisions, evidence and uncertainty, rather than private reasoning or a process transcript. Apply [the user-output rule](references/user-output.md) to every user-facing message in this loop, including progress, questions, and the final reply. ## UI feature loops Before editing, list named `Given / When / Then` cases for each requested UI behavior and relevant regression. Give each case a repeatable check, expected observable result, and target build or preview. Prefer executable browser tests; when automation is unavailable, record the same case-by-case observations from real interactions in the user's main browser. For executable cases, run `python3 <skill-dir>/scripts/ui_feature_gate.py <manifest.json>` after committing the change. The [UI gate contract](references/ui-feature-gate.md) defines the manifest and output. The runner checks a clean exact revision, builds, verifies an applicable preview serves that revision, executes every browser case, and requires a nonempty evidence artifact per case. It stops on the first failure; fix the cause and rerun the whole cycle. Include its result in the evidence gate. For cases that cannot be automated, keep case-by-case main-browser observations as separate runtime evidence and leave the scripted check unverified. Confirm UI completion only when every requested user-visible behavior has runtime evidence from the exact revision. If browser or preview verification is blocked, report the failed check, cause, and next action; leave completion unverified. ## Public PR gate Before creating or editing a public PR, prepare its title and body locally. In this repository, run `bin/pr-publication-gate.sh` with the base ref, title file, and body file on the exact branch head. It checks proposed text, added lines, and tracked files with the repository privacy scan, plus reviewer-text patterns on the title and body. Elsewhere use the available repository secret scan and the `pr-review` leak scan before publishing. Review names, paths, URLs, and test evidence for private context that pattern scans may miss. Keep private evidence in local artifacts; publish only public outcomes. A later body edit does not erase GitHub's edit history, so repeat the gate before every PR write. ## Compose with installed skills
From cheshirecode/dotfiles, Unlicense.
More from cheshirecode/dotfiles
- 0.570score
job-application
cheshirecode
Generate a tailored job-application package (resume, cover letter, skills keyword block) for one job description.
SkillAFreshness: AClaude Code +9 - 0.570score
artifact-gate
cheshirecode
Gate an HTML artifact before publishing - tag balance, dead anchors, duplicate ids, non-absolute links, drifted self-claims, and code links that still resolve…
SkillAFreshness: AClaude Code +9 - 0.567score
pr-review
cheshirecode
Review one PR or close out completed work.
SkillAFreshness: AClaude Code +9 - 0.567score
browser-use-setup
cheshirecode
Install, upgrade, wrap, and connect the browser-use CLI across macOS and Linux, with sandbox-safe testing and platform-specific debugging.
SkillAFreshness: AClaude Code +9 - 0.567score
fast-crawl
cheshirecode
Fetch and crawl web pages as markdown locally, fast, with no browser session.
SkillAFreshness: AClaude Code +9 - 0.566score
requirement-sync
cheshirecode
Propagate a changed requirement across every place it is written down, and find where the old version still reads as current.
SkillAFreshness: AClaude Code +9 - 0.565score
job-search
cheshirecode
Source remote job postings from public boards (Greenhouse boards, HN Who-is-hiring, RemoteOK, LinkedIn via the browser harness, direct URLs), filter them for…
SkillAFreshness: AClaude Code +9 - 0.529score
evidence-gate
cheshirecode
Gate completion claims by mapping every observable goal or acceptance criterion to typed command, artifact, Git, GitHub, or URL evidence.
SkillBFreshness: BClaude Code +9 - 0.529score
loop-helpers
cheshirecode
Optional deterministic helpers for loop-engineering context packs and fail-open Caveman transport decisions.
SkillBFreshness: BClaude Code +9 - 0.529score
council
cheshirecode
Run multi-angle, audited research with independent voting.
SkillBFreshness: BClaude Code +9 - 0.529score
serena-rg-search
cheshirecode
Pick the right tool for multi-faceted code search across symbols, text, semantic meaning, JSON, git history, and logs.
SkillBFreshness: BClaude Code +9 - 0.526score
pr-cost
cheshirecode
Collect a typed AI cost payload for a newly created GitHub PR, persist it to a local ledger, and optionally post an idempotent PR comment when live writes are…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 15, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Unlicense
- Repository
- github.com/cheshirecode/dotfiles
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from cheshirecode
- 0.570score
artifact-gate
cheshirecode
Gate an HTML artifact before publishing - tag balance, dead anchors, duplicate ids, non-absolute links, drifted self-claims, and code links that still resolve…
SkillAFreshness: AClaude Code +9 - 0.570score
job-application
cheshirecode
Generate a tailored job-application package (resume, cover letter, skills keyword block) for one job description.
SkillAFreshness: AClaude Code +9 - 0.567score
browser-use-setup
cheshirecode
Install, upgrade, wrap, and connect the browser-use CLI across macOS and Linux, with sandbox-safe testing and platform-specific debugging.
SkillAFreshness: AClaude Code +9 - 0.567score
fast-crawl
cheshirecode
Fetch and crawl web pages as markdown locally, fast, with no browser session.
SkillAFreshness: AClaude Code +9 - 0.567score
pr-review
cheshirecode
Review one PR or close out completed work.
SkillAFreshness: AClaude Code +9 - 0.566score
requirement-sync
cheshirecode
Propagate a changed requirement across every place it is written down, and find where the old version still reads as current.
SkillAFreshness: AClaude Code +9
Cite this page
loop-engineering skill. Agent Mart. https://agentmart.dev/skills/cheshirecode-loop-engineering (last updated 2026-10-24)