Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add patrickserrano/lacquer --skill manager-loopgit clone --depth 1 https://github.com/patrickserrano/lacquerWrote 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/patrickserrano/lacquer/manager-loop)<a href="https://agentmods.dev/skills/patrickserrano/lacquer/manager-loop"><img src="https://agentmods.dev/badge/skills/patrickserrano/lacquer/manager-loop/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/patrickserrano/lacquer/manager-loop"><img src="https://agentmods.dev/badge/skills/patrickserrano/lacquer/manager-loop.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.00085 | $0.01020 |
| Opus 5.5 | $0.00034 | $0.00408 |
| Sonnet 5.5 | $0.00017 | $0.00204 |
| Haiku 4.5 | $0.00009 | $0.00102 |
Grade A, and why
manager-loop 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Manager Loop
One coordinator, many workers, a heartbeat instead of a human trigger between steps. The coordinator never implements — it dispatches, watches, routes feedback, and gates merges. Each worker gets its own git worktree, branch, and PR, and is told explicitly to keep going until the deliverable is actually mergeable, not just "implemented."
This is the outer loop that runs many evaluator-optimizer convergence
loops in parallel (each worker converging its own PR against a pass/fail
bar), with advisor-checkpoint as the review step when a worker's approach
needs a second opinion before or after the work lands.
When to use it
Fits a batch with several genuinely independent units — files, projects, or PRs that don't depend on each other's outcome. Doesn't fit a single task with one thread of work (there's nothing to coordinate), or units so interdependent that running them one at a time, in order, with full context carried forward is actually required.
For a single feature-level task with several sequential subtasks (one branch,
one PR, tasks that build on each other) rather than a batch of independent
units, use superpowers:subagent-driven-development instead — same session,
fresh subagent per subtask, code review between each. Reach for this skill
only once the work is actually a multi-unit batch; standing up worktrees,
branches, and PRs per subtask for what is really one feature is the heavier
tool for the wrong job.
The shape
- Dispatch. For each unit of work, spin up a worker on its own
worktree and branch — a background
Agentcall. Give it the deliverable, the acceptance bar (tests/build/lint that must pass), and an explicit directive: don't stop at "I implemented it" — keep going until the branch is actually mergeable (green build, green tests, PR open), and report back rather than declaring done if genuinely blocked. This is the fix for a worker that stops early at a plausible-looking first draft. - Heartbeat instead of waiting on the human. Don't sit idle between a
worker's completion notification and your next action. Use
ScheduleWakeupto re-enter at an interval matched to how fast the batch actually moves — checking in-flight PRs, build status, and whether a worker is stuck, the same way you'd poll CI. This is what turns "dispatch one thing, wait for a message, dispatch the next" into a loop that keeps moving on its own between check-ins. When you report batch status at a heartbeat, ground it in what you actually checked this cycle (PR state, CI status, the worker's own report) — don't assert a unit is done or still on track without a result from this session backing that claim. - Route feedback back to the worker, don't re-implement it yourself.
When a PR needs a change (a review finding, a failed check), resume the
same worker via
SendMessagewith the specific feedback, rather than fixing it in a fresh agent with no context or fixing it yourself in the coordinator's own thread. The worker already has the worktree and the history; re-dispatching loses both. - Gate the merge. Require the objective checks (build, tests, lint) to
pass before a worker's PR is mergeable — same rule as
evaluator-optimizer. Then still read the diff yourself before merging. A green build proves the code compiles and the tests it wrote pass; it doesn't prove the approach was right, that nothing was overreached, or that a subtler failure mode was missed. The loop moves work forward — it doesn't replace the review.
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.
- 1mo ago First seen · 82 lines · 85 tokens per session scan A f131655e5b72
manager-loop is a skill published in the GitHub repository patrickserrano/lacquer (4 stars, last pushed 2d ago), licensed MIT. It adds 85 tokens to every session and 1,020 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.
Other skills, from other repositories
gh-skill
Manage agent skills with gh skill. Use this skill to discover, preview, install, update, and publish Agent Skills so an agent can self-manage the skills available in its environment.
gh
Patterns for invoking the GitHub CLI (gh) from agents. Covers structured output, pagination, repo targeting, search vs list, gh api fallback.
release
Prepare code for release (version bumps, changelog, README updates) and create an annotated tag to trigger the GoReleaser workflow.
commit-msg
You receive a git diff of staged changes via stdin. Generate a commit message.
vhs-e2e-gif
Record a test run, a TUI session, or any terminal command as a GIF with VHS and attach it to a GitHub PR as a release-hosted asset, never a repo commit. Use when asked to record an e2e run, demo a fix on a PR, attach a GIF or screen recording to a pull request, show a test passing visually, or produce a terminal…
check-linters-before-commit
Before any commit, run linters, vet, tests, and build verification; do not commit until checks pass.