Autonomous work loops
Skill kaskilling/autonomous-work-loops/skills/autonomous-work-loops
Sets up and executes autonomous implement/review/fix work loops that claim trusted GitHub issues, open proven PRs, review them adversarially, and route convergence through host-visible state. Use when the user mentions work loops, autonomous PR, implement/review/fix loop, ready label, bootstrapping agent loops, or running a single loop tick.From its SKILL.md
npx -y skills add kaskilling/autonomous-work-loops --skill autonomous-work-loopsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.5 KB, 945 tokens by cl100k_base, as published. Nobody here has run it
Autonomous Work Loops
The default user experience is product setup: when invoked from a target repo without an explicit role, set up autonomous-work-loops, prove the smoke path, and arm the managed local supervisor. The user should not have to choose an internal mode, run generated setup commands, or understand .agent-loops/ before seeing whether the repo is ready.
The runtime remains host-state driven. Implementer, reviewer, and fixer ticks are stateless and reconstruct state from GitHub plus .agent-loops/. The managed background supervisor is only a local watch process with a PID file, log file, --status, and --stop; it is not cron, launchd, a hosted bot, Codex Automation, or Claude /loop. Durable background watch requires a persistent local terminal. If the current harness stops child processes after a command exits, use foreground --watch or tell the user the exact persistent-terminal command.
Mode Selection
Use Setup and Arm mode when the user invokes the skill from a repository, asks to set up, install, initialize, bootstrap, configure, start, or "use" autonomous work loops, and does not provide an explicit tick role. Read:
references/bootstrap.mdreferences/adapter-github.mdreferences/safety.mdreferences/budgets.md
If .agent-loops/ is absent, default to the guided-and-armed deterministic bootstrap:
<skill-root>/assets/bootstrap.sh --arm "$PWD"
If .agent-loops/ already exists, do not overwrite it unless the user explicitly asks. Instead, run the generated checks and arm the managed supervisor:
.agent-loops/setup-labels.sh
.agent-loops/doctor.sh
.agent-loops/runners/local-supervisor.sh --preflight-runner "$PWD"
.agent-loops/runners/local-supervisor.sh --background "$PWD"
.agent-loops/runners/local-supervisor.sh --status "$PWD"
If status reports a stale or stopped background supervisor because the harness
reaped the child process, do not claim the repo is armed. Start foreground watch
in a persistent terminal or give the user the exact --watch command.
End Setup and Arm mode by telling the user:
- autonomous-work-loops is armed for this repo, or exactly what blocked setup
- the supervisor status/stop commands
- that new work starts by creating a trusted GitHub issue and adding the
readylabel - that PRs appear from branches named
loop/impl/issue-N
Use plain deterministic bootstrap only when the user explicitly asks for manual setup, dry setup, no GitHub mutation, or no background supervisor:
<skill-root>/assets/bootstrap.sh "$PWD"
Use agent-rendered bootstrap only when the script is unavailable.
Use Tick mode when the user or runner gives a role: implementer, reviewer, or fixer. Always reconstruct state from the host and .agent-loops/ before acting. Read:
references/adapter-github.mdreferences/state-model.mdreferences/convergence.mdreferences/claiming.mdreferences/budgets.mdreferences/evidence-capture.md- the role playbook:
references/loop-implementer.mdreferences/loop-reviewer.mdreferences/loop-fixer.md
Hard Rules
- Stay in V1 scope: no Maintainer Loop, no evidence consolidation, no Core Memory regeneration, no autonomous playbook mutation, no loopctl, no non-GitHub adapter.
- Do not ask the user to choose
bootstrap,implementer,reviewer, orfixerwhen they simply invoke the skill from a repo. Choose Setup and Arm mode. - Use the named host operations from
references/adapter-github.md; do not invent host-specific steps in playbooks. - Treat proof as a precondition for autonomous convergence. If proof is absent, route to
unprovenand a human gate. - Reviewer may mark
ready-for-humanonce proof passes, hosted checks are green or absent, and the head has no blocking defects. If hosted failures only match the default branch baseline, useready-for-human-baseline-red. A clean first pass converges immediately; no fix cycle is forced when there is nothing to fix. - Append evidence in the V2-compatible inbox schema, but only suggest playbook changes by tiny human-reviewed PR.
What ships with it: 27 files
154.3 KB alongside SKILL.md, 6 of them executable
agents/
- openai.yaml183 B
assets/
- agent-loops-template/config.yaml1.2 KB
- agent-loops-template/context.md2.6 KB
- agent-loops-template/doctor.shruns6.3 KB
- agent-loops-template/FIRST-TRIAL-ISSUE.md895 B
- agent-loops-template/playbooks/fixer.md699 B
- agent-loops-template/playbooks/implementer.md672 B
- agent-loops-template/playbooks/reviewer.md1.0 KB
- agent-loops-template/setup-labels.shruns1.3 KB
- bootstrap.shruns24.9 KB
- install.shruns1.8 KB
- runners/claude.sh.tmpl898 B
- runners/codex.sh.tmpl1003 B
- runners/guarded-role-runner-common.sh.tmplruns57.7 KB
- runners/local-supervisor.sh.tmplruns11.6 KB
references/
- adapter-github.md6.0 KB
- bootstrap.md10.7 KB
- budgets.md1.7 KB
- claiming.md1.9 KB
- convergence.md3.8 KB
- evidence-capture.md1.6 KB
- loop-fixer.md1.9 KB
- loop-implementer.md2.8 KB
- loop-reviewer.md3.9 KB
- safety.md2.6 KB
- state-model.md2.2 KB
- README.md2.5 KB