archived/skills/active-loop/SKILL.md
Iterative improvement protocol — declare a measurable target, run cycles via /loop, experiment, measure, learn, and accumulate work in a DRAFT PR.
npx skillsauth add nicsuzor/academicops active-loopInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
An iterative improvement protocol for agents. The agent declares a measurable optimization target, runs repeated cycles via /loop, experiments with different approaches, measures outcomes, and accumulates all work in a DRAFT PR with a learning log.
When a task requires repeated, incremental improvement over multiple cycles rather than a single execution pass. Examples:
Before any work begins, the agent MUST:
If the target is unclear, ask the user. Do not guess.
Optimization target: [what we're improving]
Metric: [how we measure it]
Baseline: [current value]
Tool: [command/tool that produces the metric]
active-loop/<target-slug>Every cycle follows this sequence:
MEASURE → DECIDE → DO → MEASURE → LOG → PUSH
After each cycle, check:
If running via /loop, output a brief status line so the user can see progress without interrupting.
When the target is met (or the user decides to stop):
## Optimization Target
**Target**: [what]
**Metric**: [how measured]
**Baseline**: [starting value]
**Goal**: [target value or "continuous improvement"]
## Cycle Log
### Cycle 1 — [date]
- **Approach**: [what was tried]
- **Before**: [metric value]
- **After**: [metric value]
- **Delta**: [change]
- **Learnings**: [what we discovered]
- **Next**: [what to try next cycle]
### Cycle 2 — [date]
...
To run an active loop on a schedule:
/loop 30m /active-loop <task-id>
The agent reads the PR body to recover state, runs one cycle, updates the PR, and exits. The /loop command handles re-invocation.
When resuming from a previous cycle:
active-loop/<slug>Active-loop is a protocol, not a domain skill. It composes with domain skills:
| Domain | Compose with | | -------------------- | ------------------------------------------------------- | | Task graph health | [[planner]] (maintain mode), graph_stats | | Code quality | linters, test coverage tools | | Knowledge base | [[planner]] (maintain mode), PKB search quality metrics | | Framework governance | [[audit]], compliance metrics |
tools
Streamlit implementation of the analyst presentation layer. Use when building or updating a Streamlit dashboard that displays pre-computed research data. This is the Streamlit-specific HOW for the tech-agnostic principles in the aops-tools analyst skill — display only, never transform.
tools
Python plotting and statistical-modelling libraries (matplotlib, seaborn, statsmodels) for the analyst presentation and statistical-methodology layers. Use when producing publication-quality figures or fitting statistical models in Python. Library-specific HOW for the tech-agnostic principles in the aops-tools analyst skill.
tools
dbt (data build tool) implementation of the analyst transformation layer. Use when a project has a dbt/ directory or you need to build, test, or document SQL transformations as version-controlled, reproducible dbt models. This is the dbt-specific HOW for the tech-agnostic principles in the aops-tools analyst skill.
development
Core academicOps skill — institutional memory, strategic coordination, workflow routing, and framework governance. Merges butler (chief-of-staff) with framework development conventions.