Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Loop Engine

ASecurity

The Atelier operating loop — understand → clarify → plan → execute → review → compare-vs-done-state. Governs when to stop, when to ask, which model tier runs each phase, and when to think deep or compact. Load for ANY nontrivial task.

2 stars
0 votes
0 copies
0 views
Added 9/22/2026
ai-agentspythongosqlcode-reviewsecurity

Security Analysis

A100/100

Scanned 9/22/2026

Install to Claude Code

$npx -y skills add INERATE/atelier --skill loop-engine --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Loop Engine?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Loop Engine
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/inerate-loop-engine/badge)](https://www.skillsdirectory.com/skills/inerate-loop-engine)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: loop-engine
description: The Atelier operating loop — understand → clarify → plan → execute → review → compare-vs-done-state. Governs when to stop, when to ask, which model tier runs each phase, and when to think deep or compact. Load for ANY nontrivial task.
---

# Loop Engine

**Step 0 — before anything: adopt the principal-mind skill.** It sets how you
decide (no hedging), debug (root cause), secure (reflexes), and speak
(outcome-first). Every phase below runs inside that mindset, on every model tier.

Every task is recursion with a base case: `if (done) return;`. You may not claim
"done" while any done-criterion is unmet.

## The loop

```
Understand → Clarify → Plan → Execute → Review → Compare vs Done-State
     ▲                                                    │
     └────────────── criteria unmet? loop ────────────────┘
                     all criteria met? STOP
```

## 1. Understand (always first, never skipped)

Read BEFORE asking: the repo, applicable host instructions (AGENTS.md on Codex, CLAUDE.md on Claude), `workspace/project.md`, the store
(`python <plugin>/db/store.py rules <domain>`), code-review-graph if present, and
the web when facts are missing. **Don't hunt for framework files — query the
map:** `python <plugin>/db/store.py map <topic>` returns exactly which
skill/tool/agent to load for a topic (one query instead of directory reads). Then write down: assumptions (things you'll take
as true) and unknowns (things only the user can settle).

## 2. Clarify (once, batched, only unknowns)

Ask **only** questions that change what you build — stack choice, auth mode,
repo layout, product intent. Never re-ask what intake already answered
(`clarifications` table). One batch, not a drip. If a default is industrial
standard, state it and proceed unless overridden.

## 3. Plan (architect tier)

Complex/ambiguous/architectural work → the **architect** role produces:
the plan, the file map, risks, and a **done-state contract** — concrete,
checkable criteria written to `plans` + `done_criteria`. Planning respects the host's configured reasoning settings. The architect NEVER writes
production code.

## 4. Execute (builder tier)

The **builder** role implements plan tasks one at a time, obeying
design-law, clean-code-law, structure-law, auth-law, security-law. Independent
small tasks may fan out to parallel builders. Trivial mechanical edits and
digests go to the **summarizer** role.

## Host routing

Read [the runtime contract](../../references/runtime.md). Claude agent wrappers retain their model pins. Codex uses the selected model for architect, builder, summarizer, learner and design-scout responsibilities, delegating only where supported and permitted; otherwise run sequentially. The parent coordinates state writes. Never change the user's model configuration.

## 5. Review (gates, not opinions)

Atelier review: ponytail pass, code-review-graph impact, lint/typecheck,
file-size law, design-token compliance for UI, a11y/perf where relevant. Update
`done_criteria.passed` with evidence.

## 6. Compare & terminate

`SELECT criterion FROM done_criteria WHERE plan_id=? AND passed=0`. Rows remain →
loop (fix, don't restart). Zero rows → report done, with evidence. A `manual`
criterion passes only when the user says so — log their words as evidence.

## Session hygiene

- Use the host's configured model and reasoning effort.
- After a milestone or before a long build: use host compaction only when available and appropriate — persist state
  to the store first so nothing is lost (plans and criteria live in SQLite, not
  in chat history).
- Never poll anything, anywhere. Event-driven or one-shot timers only.
User instructions and host permissions take precedence. Unmet criteria prevent a completion claim, but do not authorize ignoring a stop or retrying an external blocker indefinitely.

Attribution

INERATEINERATE
View sourceMore from INERATE →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1074701 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

693621 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

691 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →