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 rtorcato/repo-tooling --skill ai-loop-statusgit clone --depth 1 https://github.com/rtorcato/repo-toolingWrote 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/rtorcato/repo-tooling/ai-loop-status)<a href="https://agentmods.dev/skills/rtorcato/repo-tooling/ai-loop-status"><img src="https://agentmods.dev/badge/skills/rtorcato/repo-tooling/ai-loop-status.svg" alt="Measured on agentmods" 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.00093 | $0.01508 |
| Opus 5 | $0.00046 | $0.00754 |
| Sonnet 5 | $0.00019 | $0.00302 |
| Haiku 4.5 | $0.00009 | $0.00151 |
Grade B, and why
ai-loop-status scanned grade B with 1 finding 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 7d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
find "$(dirname "$ROOT")/$(basename "$ROOT")-worktrees" "$ROOT/.claude/worktrees" \ How it starts
The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ai-loop-status
Show what the ai-issue-loop pipeline is doing right now. Arguments: $ARGUMENTS
Read-only — this never applies a label, merges a PR, or spawns an agent. To
actually advance the pipeline, run /ai-issue-loop. Because it is read-only, it
is the one loop tool allowed to point at another repo via an owner/repo
argument.
Steps
-
Resolve the repo — if $ARGUMENTS names one (
owner/repo), use it; otherwise the current directory's. GitHub only — bail in one line if the remote is GitLab:R=${ARG:-$(gh repo view --json nameWithOwner --jq .nameWithOwner)} -
Read the pipeline state from labels. The loop keeps no state anywhere else, so these queries are the ground truth even after a crash, a restart, or a missed tick:
gh issue list -R "$R" --state open --label ai-wip --json number,title gh pr list -R "$R" --state open --json number,title,labels,autoMergeRequest,assignees gh issue list -R "$R" --state open --label ai-ready --json number,title gh issue list -R "$R" --state open --label ai-blocked --json number,title gh issue list -R "$R" --state open --label ai-suggested --json number,titleFilter the PR list to those carrying an
ai-*label — a PR without one is not in the pipeline and the loop will never touch it.Read the assignee as "whose turn", when the loop is configured with an agent account (
AI_LOOP_AGENT): that account assigned means an agent is working or reviewing, the human assigned means it is waiting on them, and nobody assigned means queued. Say which in the report rather than listing raw logins — "waiting on you" beats "assignee: someone". -
Work out each PR's next move from its labels, so the report says what happens rather than just listing state:
ai-reviewalone → waiting on reviewers; name which arm is outstanding (ai-ok-codemissing →code-reviewer,ai-ok-secmissing →security-expert), and whether it is claimed (ai-reviewing-code/ai-reviewing-secmean a reviewer is running right now)merge-ready(or, before the label reaches a repo, bothai-ok-*with noai-review) → waiting on the human to merge; add "read the comments first" whenai-notesrides along. Only Dependabot PRs — or issue PRs on a repo whosereleaseenvironment hasrequired_reviewers— auto-merge.autoMergeRequestset → queued; GitHub is holding it for required checksai-changes→ a fix round is due. Count prior rounds, because the 3rd one stops the loop and marks the issueai-blocked:
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.
- 7d ago First seen · 123 lines · 93 tokens per session scan B 563e0aea9e26
ai-loop-status is a skill published in the GitHub repository rtorcato/repo-tooling (2 stars, last pushed 7d ago), licensed MIT. It adds 93 tokens to every session and 1,508 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
recipe-create-meet-space
Create a Google Meet meeting space and share the join link.
workthreads
SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…
atmos-config
Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.
story-readiness
Validate that a story file is implementation-ready. Checks for embedded GDD requirements, ADR references, engine notes, clear acceptance criteria, and no open design questions. Produces READY / NEEDS WORK / BLOCKED verdict with specific gaps. Use when user says 'is this story ready', 'can I start on this story', 'is…
autotask-creator
Rules for automation CRUD from the group-chat commander. The commander does not call mutation tools and does not edit cloud/autotasks files directly. It emits one or more top-level ... containers in its final text; the bus parses and applies them after the turn.
monorepo-management
Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.