Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/muzafferkadir/nextjs-loop-engineering-starternpx agentmods add skills/muzafferkadir/nextjs-loop-engineering-starter/loop-buildWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/muzafferkadir/nextjs-loop-engineering-starter/loop-build)<a href="https://agentmods.dev/skills/muzafferkadir/nextjs-loop-engineering-starter/loop-build"><img src="https://agentmods.dev/badge/skills/muzafferkadir/nextjs-loop-engineering-starter/loop-build/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/muzafferkadir/nextjs-loop-engineering-starter/loop-build"><img src="https://agentmods.dev/badge/skills/muzafferkadir/nextjs-loop-engineering-starter/loop-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00084 | $0.00856 |
| Opus 5.5 | $0.00034 | $0.00342 |
| Sonnet 5.5 | $0.00017 | $0.00171 |
| Haiku 4.5 | $0.00008 | $0.00086 |
Grade A, and why
loop-build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
loop-build — Build Mode Skill (plan-execute-verify)
Implement ONE feature from the BACKLOG.md Backlog. Nothing else.
Workflow
1. Prepare (sync main + acquire the lock)
- If STATE.md contains
loop: paused— stop. - Sync main first:
Dirty working tree or failed pull → do not touch anything. Report it under "Waiting on Human" in STATE.md and STOP.git checkout main && git pull --ff-only - Read BACKLOG.md — pick the highest-priority Backlog feature.
- Check the lock:
bash scripts/loop-lock.sh status- Held: another agent is working. STOP and report in STATE.md.
- Free:
bash scripts/loop-lock.sh acquire F-XXX
- Move the feature Backlog → WIP in BACKLOG.md.
- Read AGENTS.md — stack, code rules, git protocol.
2. Implement
- New branch:
feature/F-XXX-short-name - Implement the acceptance criteria one by one, each with its test (unit for logic, e2e for user-visible flows — see AGENTS.md test rules)
- Follow the reference patterns:
- Server Action:
src/app/tasks/actions.ts - Route structure (
loading.tsx,error.tsx):src/app/tasks/ - UI primitives and tokens:
src/components/ui/, AGENTS.md "UI Conventions"
- Server Action:
- Smallest possible diff. One PR = one feature. Do not "improve" unrelated code — implement exactly the acceptance criteria.
3. Look at what you changed
For any UI change, run the $ui-verify skill:
dev server + pnpm snap <routes> + Read the PNGs. Fix what looks wrong
before invoking the verifier — the verifier checks correctness, your
eyes check design.
4. Verify
bash scripts/run-verifier.sh F-XXX
- On REJECT: fix and re-run. Track attempts in STATE.md:
Reject count F-XXX: N - After 5 REJECTs (Max rejects — LOOP.md ## Limits):
- Write
Escalation: F-XXX — <reason>under "Waiting on Human" in STATE.md - Stop the loop — wait for a human
- Write
5. Finish (release the lock)
- Open a PR per the AGENTS.md git protocol (include the verifier verdict)
- Move the feature WIP → Review in BACKLOG.md
-
bash scripts/loop-lock.sh release - Append the run to loop-run-log.md
Schema Change Gate
If the feature adds tables or columns:
- Edit
src/db/schema.ts, runpnpm db:pushlocally - Update
src/db/seed.tsdeterministically (fixed values only) - Mark the PR clearly: contains schema change — human approval required
- Never auto-merge a schema-change PR
Hard Rules
- ONE feature at a time
- Never commit to main — every feature lives on its own branch and reaches main only through a PR a human merges
- No denylist paths (LOOP.md ## Denylist) — if the feature seems to need one, escalate instead
- No feature is "done" without tests
- No PR without an APPROVE from the verifier
- No auto-merge — a human merges
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 94 lines · 84 tokens per session scan A 9f5b3e319653
loop-build is a skill published in the GitHub repository muzafferkadir/nextjs-loop-engineering-starter (10 stars, last pushed 5mo ago), licensed MIT. It adds 84 tokens to every session and 856 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
loop-build compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loop-buildmuzafferkadir/nextjs-loop-engineering-starter | Skill | 10 | 5mo ago | MIT | A | 84 | Claude Code, Codex |
| github-loop-engineering-skillRuisi-Lu/github-loop-engineering-skill | Skill | 8 | today | MIT | A | 185 | Claude Code |
| setting-up-command-setsLeanAndMean/scramjet | Skill | 2 | 2d ago | Apache-2.0 | A | 41 | Claude Code, Codex |
| project-quizRuisi-Lu/github-loop-engineering-skill | Skill | 8 | today | MIT | A | 71 | Claude Code |
| writing-scramjet-commandsLeanAndMean/scramjet | Skill | 2 | 2d ago | Apache-2.0 | A | 27 | Claude Code |
| deliverfiratcand/forge | Skill | 14 | 4mo ago | MIT | A | 64 | Claude Code, Codex |
| drivefiratcand/forge | Skill | 14 | 4mo ago | MIT | A | 56 | Claude Code, Codex |