Chalk Labs
Need help deploying loop-on-ci?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fmflurry-loop-on-ci
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/loop-on-ci
What's inside
- Skill name
loop-on-ci- Description
- Monitor PR checks until green. Watch required checks, fix failures via [[fix-ci]], and iterate until all pass. Cap at 5 iterations.
- License
- MIT
- Instructions
- 97 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Loop on CI If the current project has `.claude/skills/loop-on-ci/SKILL.md` or `.opencode/skills/loop-on-ci/SKILL.md`, read it and its `references/`; project specifics override this generic version. ## Trigger Need to watch a branch or PR and iterate on CI failures until all required checks are green. ## Workflow ### 1. Resolve the PR Extract metadata for the active branch: ```bash gh pr view --json number,url,headRefName,baseRefName ``` ### 2. Inspect Current Checks List all PR-attached checks: ```bash gh pr checks --json name,bucket,state,workflow,link ``` **If checks already failed**, diagnose those failures first using [[fix-ci]], then re-check after each fix. **If checks are pending**, proceed to step 3 (watch mode). ### 3. Watch Required Checks Use the `gh pr checks` command to watch and fail fast on the first failure: ```bash gh pr checks --required --watch --fail-fast ``` This polls required checks and exits immediately when any fails or all pass. ### 4. On Failure: Fix and Repeat 1. When `--watch --fail-fast` exits with a failure, run `gh pr checks --json …` again to see the current state. 2. Dispatch [[fix-ci]] to diagnose and fix the failure (fix-ci derives routing from the workflow files). 3. After the fix is merged and pushed, re-run `gh pr checks --required --watch --fail-fast` to re-check. 4. Repeat until all required checks are green, or cap is reached (see Limits below). ### 5. On Green Once all required checks pass, report: - Final PR URL - Iteration count - Any flaky checks detected (see Flaky Checks below) ## Iteration Cap Hard limit: **5 iterations** of watch-fix-recheck. If required checks are still not green after 5 iterations: 1. Report the current state: failing check names, last error excerpt, and iteration count. 2. Stop and surface to the human; do not loop further. 3. Note any pattern (e.g., the same check fails repeatedly) and flag as likely infrastructure issue or environmental flake. ## Flaky Checks If a check fails and then passes without code changes (common for timeouts, race conditions, or external service hiccups): 1. Record the check name and evidence (logs, timestamps). 2. Retry once: `gh run rerun <run-id> --failed`. 3. Report the flake incident with evidence; flag for investigation in a separate ticket if it persists. 4. Do not retry more than once per check; use the iteration cap to avoid infinite loops. ## Long Wait Times When watching PR checks (`--watch`), runs may take several minutes to complete. In such cases: - **Claude Code (main session):** The watch runs in the background; you can check status manually with `gh pr checks` if needed. - **OpenCode (conductor with bash: deny):** Git-specialist delegates the watch command and polls for completion periodically. ## Optional: Show-Your-Work Trail Optionally, record one row per iteration with: - Iteration number - Failing check name (if any) - Fix applied (if any) - Result (green, still-failing, or cap reached) This creates an audit trail for complex multi-step CI fixes. ## Output Report on completion or cap: - Final CI status (all green or capped at iteration N) - Failure summary (if any checks are still failing) - Flaky check evidence (if detected) - PR URL once all required checks pass
From fmflurry/settings-opencode, MIT.
More from fmflurry/settings-opencode
- 0.779score
interfectio-commentarum
poteto
Spawn Haruspex Commentorum, fix accepted findings, and offer encodings for claimed constraints.
SkillAFreshness: A★ 171Claude Code +9 - 0.655score
chimera
poteto
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it.
SkillAFreshness: A★ 171Claude Code +9 - 0.649score
humanizer
poteto
Cut AI tells from any writing.
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
e2e
fmflurry
Resolve this project's browser end-to-end stack before /e2e or e2e-runner writes tests.
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
show-your-work
fmflurry
Keep a reviewable decision trail for long-running or unattended work: a TSV log with one row per decision (what, why, evidence, result).
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
why
fmflurry
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds.
SkillAFreshness: A★ 171Claude Code +9 - 0.641score
verify-this
fmflurry
Verify a claim with fresh local evidence: restate it falsifiably, capture baseline and treatment, compare artifacts, and return VERIFIED, NOT VERIFIED, or…
SkillAFreshness: A★ 171Claude Code +9 - 0.640score
create-verification-skill
fmflurry
Use when creating or refreshing a project's verify-this override.
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
angular-ddd
fmflurry
Domain-Driven Design for Angular/TypeScript: functional patterns with `type` aliases, `readonly` fields, pure rule functions, immutable value types, branded…
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
codebase-exploration
fmflurry
Use when searching a repository, looking up symbols, callers, callees, or imports, and when deciding whether CodeMemory is on.
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
patterns
fmflurry
Use when starting a feature from a skeleton project, or when adding a repository interface or a shared API response envelope.
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
socratic-design
fmflurry
Use when a planning, design, architecture, or refactor decision is still open.
SkillAFreshness: A★ 171Claude Code +9
Signals
- Stars
- 171
- Forks
- 9
- Open issues
- 0
- Last commit (this folder)
- Oct 7, 2026 (29 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fmflurry/settings-opencode
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from fmflurry
- 0.643score
why
fmflurry
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds.
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
show-your-work
fmflurry
Keep a reviewable decision trail for long-running or unattended work: a TSV log with one row per decision (what, why, evidence, result).
SkillAFreshness: A★ 171Claude Code +9 - 0.643score
e2e
fmflurry
Resolve this project's browser end-to-end stack before /e2e or e2e-runner writes tests.
SkillAFreshness: A★ 171Claude Code +9 - 0.641score
verify-this
fmflurry
Verify a claim with fresh local evidence: restate it falsifiably, capture baseline and treatment, compare artifacts, and return VERIFIED, NOT VERIFIED, or…
SkillAFreshness: A★ 171Claude Code +9 - 0.640score
create-verification-skill
fmflurry
Use when creating or refreshing a project's verify-this override.
SkillAFreshness: A★ 171Claude Code +9 - 0.639score
codebase-exploration
fmflurry
Use when searching a repository, looking up symbols, callers, callees, or imports, and when deciding whether CodeMemory is on.
SkillAFreshness: A★ 171Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get loop-on-ci running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
loop-on-ci skill. Agent Mart. https://agentmart.dev/skills/fmflurry-loop-on-ci (last updated 2026-10-24)