Agent skill

Install Loop Engineering

by cobusgreyling in cobusgreyling/loop-engineering

Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score.

MITAuto-check passedAgent Workflows

Install Install Loop Engineering

skills CLI
$ npx skills add cobusgreyling/loop-engineering --skill install-loop -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cobusgreyling/loop-engineering install-loop --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cobusgreyling/loop-engineering.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/install-loop .claude/skills/install-loop && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
install-loop
GitHub stars
11k
Used in
1 other repo
Token cost
~648 tokens
SKILL.md length
227 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score.

  • Works in 7 steps: Detect context → Pick pattern (default: daily-triage) → Pick tool — claude | grok | codex |… → …
  • Adding a report-only agent loop to a repository for the first time
  • SKILL.md covers Goal, Steps, Compatibility and Stop conditions
  • Calls npx

What it does

The skill installs Loop Engineering through one CLI, npx @cobusgreyling/loop, and leaves the repo with a report-only loop scaffold, a Loop Ready score and clear next actions. If LOOP.md or STATE.md already exists it runs the doctor check only and skips scaffolding unless you ask to re-scaffold. Otherwise it chooses a pattern by the pain described: daily-triage by default, or pr-babysitter, ci-sweeper, dependency-sweeper, post-merge-cleanup, changelog-drafter, issue-triage or thin-loop.

Next it picks a tool (claude by default, or grok, codex or opencode), runs init, then doctor, whose exit code 0, 1 or 2 means healthy, warnings or blocked; the agent follows the top three printed actions rather than inventing more structure. A cost command is run before any high-cadence schedule. The first week stays report-only, with no auto-fix or auto-merge, and the older loop-init and loop-audit commands remain valid. Fleet, memory and foundry features wait for a score of 80 or more and your say-so.

When your agent uses it

  • Adding a report-only agent loop to a repository for the first time
  • Checking an existing loop setup with the doctor command
  • Choosing a loop pattern for stalled PRs, red CI or noisy issues
  • Estimating the cost of a loop before scheduling it to run often

Example prompts

  • “Install loop engineering in this repo and start with the daily-triage pattern.”
  • “Our PRs keep stalling; scaffold a pr-babysitter loop for codex.”
  • “Run the loop doctor on this project and tell me the top three actions.”

Requirements

  • Node.js with npx to run the loop CLI

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Detect context
  2. Pick pattern (default: daily-triage)
  3. Pick tool — claude | grok | codex | opencode (default claude).
  4. Scaffold
  5. Doctor
  6. Cost check before high-cadence schedules
  7. Week-one rule

What it can do on your machine

Read from SKILL.md and the folder at commit 1f1e8a7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Install Loop Engineering loads about 648 tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 227 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~73
When it runs · the whole SKILL.md, loaded when a task matches
~648

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from cobusgreyling/loop-engineering at commit 1f1e8a7, republished under its MIT licence (© cobusgreyling). 227 words, ~648 tokens.

Download SKILL.mdSave it as .claude/skills/install-loop/SKILL.md (or your agent's skills folder).
name
install-loop
description
Install Loop Engineering into a project via the unified CLI front door (@cobusgreyling/loop). Prefer this over invoking loop-init / loop-audit separately. Week-one is report-only; never enable auto-merge or unattended fixes unless the human explicitly asks and doctor is healthy.

Install Loop Engineering

Goal

Leave the repo with a scaffolded report-only loop, a Loop Ready score, and clear next actions — using the single CLI:

bash
npx @cobusgreyling/loop

Do not deprecate or remove existing loop-init / loop-audit usages you find; both doors stay valid. Prefer loop for new work.

Steps

  1. Detect context

    • If LOOP.md or STATE.md already exists, run doctor only (skip init unless human asks to re-scaffold):
      bash
      npx @cobusgreyling/loop doctor . --json
      npx @cobusgreyling/loop status .
    • Otherwise continue.
  2. Pick pattern (default: daily-triage)

    PainPattern
    Morning chaos / unclear prioritiesdaily-triage
    PRs stallingpr-babysitter
    CI red / flakesci-sweeper
    CVE / Dependabot noisedependency-sweeper
    Post-merge TODOspost-merge-cleanup
    Stale release noteschangelog-drafter
    Noisy issuesissue-triage
    One GitHub Action, almost no filesthin-loop
  3. Pick tool — claude | grok | codex | opencode (default claude).

  4. Scaffold

    bash
    npx @cobusgreyling/loop init . --pattern <pattern> --tool <tool>

    Optional harness (only if human wants Foundry): add --with-foundry.

  5. Doctor

    bash
    npx @cobusgreyling/loop doctor .
    • Exit 0 = healthy · 1 = warnings · 2 = blocked
    • Follow the top 3 printed actions; do not invent extra architecture.
  6. Cost check before high-cadence schedules:

    bash
    npx @cobusgreyling/loop cost -p <pattern> -l L1 -c 1d
  7. Week-one rule

    • Report only. No auto-fix, no auto-merge.
    • Tell the human the first /loop or scheduler command from init output.
    • Suggest badge only when score is strong: npx @cobusgreyling/loop badge .

Compatibility

These remain fully supported (do not rewrite existing docs/scripts unless asked):

bash
npx @cobusgreyling/loop-init .
npx @cobusgreyling/loop-audit . --suggest

Stop conditions

  • Stop after doctor + first-run instructions unless the human asks for L2+.
  • Never expand into fleet/memory/foundry unless score ≥ 80 and human opts in.

© cobusgreyling, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/install-loop of cobusgreyling/loop-engineering.

Open the folder on GitHubat commit 1f1e8a7

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in cobusgreyling/loop-engineering, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Install Loop Engineering next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Install Loop Engineering compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Install Loop Engineering this skillcobusgreyling/loop-engineering11k1 repos~648Automated safety check: PassMIT
Autoresearch Iteration Loopuditgoenka/autoresearch6.5k1 repos~2kAutomated safety check: PassMIT
LoopX Self Repairloopx-project/loopx6.2k—~2.2kAutomated safety check: PassApache-2.0
PUA Looptanweai/pua20k—~1.1kAutomated safety check: PassMIT
PRP LoopWirasm/prp2.3k—~894Automated safety check: PassMIT
Self-Improve Evolutionary LoopYeachan-Heo/oh-my-claudecode40k—~5.3kAutomated safety check: WarnMIT

Similar skills

  • Autoresearch Iteration Loop

    uditgoenka/autoresearch

    Runs an autonomous modify, verify, keep-or-discard loop against any metric, with subcommands for planning, debugging, fixing, security audits, shipping and more.

    6.5k GitHub starsUsed in 1 repo~2k tokens
    Agent WorkflowsAuto-check passed
  • LoopX Self Repair

    loopx-project/loopx

    Diagnoses surprising LoopX behavior, such as stale recommendations or tiny progress, assigns it to the responsible layer and repairs it at the lowest durable level.

    6.2k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • PUA Loop

    tanweai/pua

    Runs an unattended iterate-until-verified loop in which a user-set verify command, not the agent's own claim, decides when the task is finished.

    20k GitHub stars~1.1k tokensUpdated 28 days ago
    Agent WorkflowsAuto-check passed
  • PRP Loop

    Wirasm/prp

    Runs the plan, implement and review pipeline detached in fresh headless sessions, looping review and fix until the pull request is clean.

    2.3k GitHub stars~894 tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Self-Improve Evolutionary Loop

    Yeachan-Heo/oh-my-claudecode

    Runs an autonomous improvement loop on a repository: agents propose and execute plans, a tournament picks the winner by benchmark, and each round is recorded and plotted.

    40k GitHub stars~5.3k tokensUpdated today
    Agent WorkflowsAuto-check: warnings
  • Autoresearch Improvement Loop

    Yeachan-Heo/gajae-code

    Runs one improvement mission as a bounded loop: each round makes a change, runs a strict JSON evaluator, logs the decision in markdown and continues until a max runtime is hit.

    2.9k GitHub stars~3.6k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from cobusgreyling/loop-engineering

All 21 skills in this repo
  • Loop Constraints Enforcer

    cobusgreyling/loop-engineering

    Loads a project's loop-constraints.md before any other action and blocks pushes, edits or merges that violate the rules it defines.

    11k GitHub starsUsed in 1 repo~475 tokens
    Auto-check: notes
  • Release Notes Drafter

    cobusgreyling/loop-engineering

    Turns a structured list of changes from changelog-scan into a categorized, user-facing release notes draft file, and never publishes anything.

    11k GitHub stars~555 tokensUpdated today
    Auto-check passed
  • Issue Triage Loop

    cobusgreyling/loop-engineering

    Scans open GitHub issues and discussions, flags duplicates, scores priority and proposes labels into issue-triage-state.md without ever labeling or closing.

    11k GitHub stars~522 tokensUpdated today
    Auto-check passed
  • Loop Triage Report

    cobusgreyling/loop-engineering

    Turns CI failures, open issues, recent commits and chat threads into a prioritized markdown report that an automation loop can act on without inventing architecture work.

    11k GitHub stars~500 tokensUpdated today
    Auto-check passed
  • Loop Token Budget Guard

    cobusgreyling/loop-engineering

    Check token budget and run-log spend before and after a loop run. Enforces early exit when over budget or when there is no actionable work.

    11k GitHub starsUsed in 1 repo~376 tokens
    Auto-check passed
  • PR Review Triage

    cobusgreyling/loop-engineering

    Tracks open pull requests and records CI state, staleness, merge conflicts and unanswered review comments in a state file, then lists the top three actions for a human.

    11k GitHub stars~480 tokensUpdated today
    Auto-check passed

Questions about Install Loop Engineering

What does Install Loop Engineering do?

Installs Loop Engineering into a project through the single @cobusgreyling/loop CLI, scaffolding a report-only loop and a readiness score. The skill installs Loop Engineering through one CLI, npx @cobusgreyling/loop, and leaves the repo with a report-only loop scaffold, a Loop Ready score and clear next actions.md already exists it runs the doctor check only and skips scaffolding unless you ask to re-scaffold.

When should I use Install Loop Engineering?

Install Loop Engineering fits situations like: adding a report-only agent loop to a repository for the first time; checking an existing loop setup with the doctor command; choosing a loop pattern for stalled PRs, red CI or noisy issues; estimating the cost of a loop before scheduling it to run often.

How do I install Install Loop Engineering in Claude Code?

Run `npx skills add cobusgreyling/loop-engineering --skill install-loop -a claude-code`. Or copy the skill folder (skills/install-loop in cobusgreyling/loop-engineering) into .claude/skills/install-loop in your project. Claude Code loads it when a task matches its description.

How do I install Install Loop Engineering in Codex?

Run `npx skills add cobusgreyling/loop-engineering --skill install-loop -a codex`. Or copy the skill folder (skills/install-loop in cobusgreyling/loop-engineering) into .agents/skills/install-loop in your project. Codex loads it when a task matches its description.

Can I use Install Loop Engineering in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cobusgreyling/loop-engineering --skill install-loop -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/install-loop, .gemini/skills/install-loop, .github/skills/install-loop and .opencode/skills/install-loop in your project.

What does Install Loop Engineering need to run?

Going by SKILL.md and its folder, Install Loop Engineering needs the command-line tools its instructions call (npx). Our summary lists: Node.js with npx to run the loop CLI.

Does Install Loop Engineering access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Install Loop Engineering safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Install Loop Engineering use?

Install Loop Engineering is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Install Loop Engineering use?

About 648 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Install Loop Engineering?

Skills that share tags, products or a category with Install Loop Engineering: Autoresearch Iteration Loop (uditgoenka/autoresearch, 6.5k stars), LoopX Self Repair (loopx-project/loopx, 6.2k stars), PUA Loop (tanweai/pua, 20k stars) and PRP Loop (Wirasm/prp, 2.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Install Loop Engineering?

cobusgreyling (a GitHub user) maintains it in cobusgreyling/loop-engineering, which has 11,429 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 7, 2026.

Source: cobusgreyling/loop-engineering on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.