Loop on ci
Watch CI runs and iterate on failures until all checks passFrom its SKILL.md
npx -y skills add nota-america/forgecat-agent-profiles --skill loop-on-ciAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.0 KB, 219 tokens by cl100k_base, as published. Nobody here has run it
Loop on CI
Trigger
Need to watch branch CI and iterate on failures until green.
Workflow
- Find the current branch and latest workflow run.
- Wait for CI completion with
gh run watch --exit-status. - If failed, inspect failed logs, implement a focused fix, commit, and push.
- Repeat until all required checks pass.
Commands
# Latest run for current branch
gh run list --branch "$(git branch --show-current)" --limit 5
# Block until completion (0 on pass, non-zero on fail)
gh run watch --exit-status
# Inspect failed jobs
gh run view <run-id> --log-failed
Guardrails
- Keep each fix scoped to a single failure cause when possible.
- Do not bypass hooks (
--no-verify) to force progress. - If failures are flaky, retry once and report flake evidence.
Output
- Current CI status
- Failure summary and fixes applied
- PR URL once checks are green
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.