Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Catgo Campaign Loop

ASecurity

Run and resume the CatGo md-orchestration poll loop — delegate each poll to a subagent (keep main context lean), verify convergence by force, auto-advance each converged species per-species (pipeline, not barrier), and resume a campaign from disk after context compaction / new session. Use when driving or resuming a campaign's job-watch loop. Pairs with catgo-campaign.

199 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentpythongobackend

Works with

terminal

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add Hello-QM/catgo-LRG --skill catgo-campaign-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Catgo Campaign Loop?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Catgo Campaign Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hello-qm-catgo-campaign-loop/badge)](https://www.skillsdirectory.com/skills/hello-qm-catgo-campaign-loop)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: catgo-campaign-loop
description: Run and resume the CatGo md-orchestration poll loop — delegate each poll to a subagent (keep main context lean), verify convergence by force, auto-advance each converged species per-species (pipeline, not barrier), and resume a campaign from disk after context compaction / new session. Use when driving or resuming a campaign's job-watch loop. Pairs with catgo-campaign.
---

# catgo-campaign-loop — drive & resume the poll loop

> **TL;DR:** Human-triggered ~10-min loop. **Delegate each poll to a subagent** (compact
> summary back). Verify convergence by **force**. **Auto-advance** each converged species
> to its next step (per species, not a barrier). State is on disk → any agent resumes.

## RULE — delegate each poll to a subagent
Do NOT run poll/verify inline. Dispatch ONE subagent (opus) to run steps 1-3 (poll,
ssh-read OUTCAR, verify, write result.md/STATUS/LESSONS) and return a **compact summary
only** (one line per calc; no raw OUTCAR/OSZICAR/ssh dumps) — over a long run the verbose
output would fill the main context toward 1M. **Gates stay in the main agent** (input-file
gate, checkpoints): the subagent reports, the main agent shows the user + acts. The subagent
must not submit/cancel jobs or touch the :8000 backend.

## Each wake
1. Read `plan.md` + active `STATUS.md` (keep working context lean).
2. `python poll.py --project <dir> --ssh <alias>` — updates STATUS: queued via `squeue`;
   once a job leaves the queue, `sacct` gives the terminal verdict (COMPLETED→DONE;
   FAILED/TIMEOUT/OUT_OF_MEMORY/CANCELLED→FAILED; `exit_code` recorded).
3. For finished calcs: **a scheduler DONE ≠ "the science succeeded"** — open the remote
   outputs and verify real convergence by **`FORCES: max atom` < |EDIFFG|** (force, NOT
   dE; the "kinetic energy error for atom" EATOM line is benign). Write energy_eV +
   max_force_eVA into `result.md`; on real failure (DONE-but-unconverged, or FAILED)
   record cause + fix in `LESSONS.md`.
4. **Auto-advance each newly-converged calc to its NEXT plan step — per species, PIPELINE,
   not a barrier.** A converged geo_opt immediately triggers that species' next step (e.g.
   freq in a Gibbs study) from its CONTCAR; don't wait for siblings, don't wait for a user
   reminder. Render next-step inputs → **input-file gate** → `submit_calc.py`.
   **⛔ INPUT-FILE GATE (hard rule):** "auto-advance" means auto-PREP, NOT auto-submit. Sync the
   converged CONTCAR **and** the next-step INCAR to the LOCAL folder, tell the user the exact LOCAL
   paths of INCAR + CONTCAR, and WAIT — the user checks/edits the files on disk. Submit ONLY after
   the user confirms. Do NOT push to the CatGO viewer as a substitute, and NEVER auto-submit. (YOLO waives.)
5. Stage/decision point → `python aggregate.py --project <dir> --plot` → summary → checkpoint.
6. Group meeting → `python make_report.py --project <dir> --occasion groupmeeting`.
7. Unhandleable problem → write it to STATUS/LESSONS and stop (surface to the user).

## Resuming (fresh agent / after compaction)
State lives ON DISK, not in context — a campaign survives compaction, a new session, or a
different agent. To resume with **zero conversation history**:
1. Invoke the `catgo-campaign` skill; identify the project dir.
2. Read in order: `README.md` → `plan.md` (+ each `calc/<stage>/plan.md`) → `cluster.md` →
   every `calc/**/STATUS.md` → `result.md` files → `LESSONS.md` = done / running / next.
3. Continue the loop (delegate each poll to a subagent).
Keep the discipline: flush results/STATUS/LESSONS/plan to files **as it happens** — never
hold campaign state only in context.

## Unattended (fully-ended session)
ScheduleWakeup dies with the session. For a campaign that must advance without you, register
a **cron routine** that wakes a fresh agent on a schedule to poll the project (it resumes
from disk). Otherwise the user says "resume <project>" in a new session.

Attribution

Hello-QMHello-QM
View sourceMore from Hello-QM →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →