Skip to content
Back to skills

Triple Loop Learning

ASecurity

(Industry standard: Meta-Learning System / Automated Autoresearch) Autonomous improvement loop evaluating friction and validating mutations against headless benchmarks.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythonbashgitbackend

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill triple-loop-learning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Triple Loop Learning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Triple Loop Learning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-triple-loop-learning/badge)](https://www.skillsdirectory.com/skills/richfrem-triple-loop-learning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: triple-loop-learning
plugin: agent-orchestration
description: "(Industry standard: Meta-Learning System / Automated Autoresearch) Autonomous improvement loop evaluating friction and validating mutations against headless benchmarks."
allowed-tools: Bash, Read, Write
---

## Dependencies

This skill requires **Python 3.8+** and standard library only.

**Evaluation gate**: NOT included in this primitive. The calling system (e.g., agent-agentic-os os-improvement-loop) is responsible for wrapping this skill with an eval gate and experiment log.

---

# Triple-Loop Learning (`triple-loop-learning`)

Autonomous multi-session improvement architecture that identifies friction, forms hypotheses, and tests mutations against headless benchmarks.

## Contents

- [Dependencies](#dependencies)
- [Constraints](#constraints)
- [Quick start](#quick-start)
- [Architecture](#architecture)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Constraints

- **Objective scoring**: Subjective self-evaluation is prohibited; acceptance requires deterministic tests and score differentials.
- **Process suspension**: Always append `< /dev/null` to background sub-agent execution.
- **Promotion gate**: Only promote mutations where regression suites pass and scores exceed the established baseline.

## Quick start

```bash
pytest plugins/agent-orchestration/tests/test_loop_strategies.py
```

## Architecture

```mermaid
flowchart TD
    subgraph Outer["Meta-Learning"]
        Hypothesize --> StrategyBridge[Strategy Packet]
        Report --> Conclude[Accept / Reject]
    end
    subgraph Mid["Planner"]
        Plan[Define Sub-tasks] --> TacticalBridge[Handoff]
        Result --> Report[Score Analysis]
    end
    subgraph Inner["Executor"]
        Execute[Mutation] --> Test[Headless Eval]
        Test --> Result
    end
    StrategyBridge --> Plan
    TacticalBridge --> Execute
```

## Workflow

1. **Friction Ingestion**: Ingest logs and cluster repeated friction events.
2. **Hypothesize**: Formulate testable hypothesis ("Modifying X improves metric Y").
3. **Dispatch**: Select backend, author strategy packet, and assign tasks.
4. **Mutate & Score**: Tactical executor mutates code and runs headless tests.

## Verification

```bash
pytest plugins/agent-orchestration/tests/test_loop_strategies.py
git diff --check
```

## References

- [acceptance-criteria.md](references/acceptance-criteria.md) — Acceptance criteria for autonomous improvement cycles.
- [fallback-tree.md](references/fallback-tree.md) — Fallback escalation protocol for loop stagnation.

Files in this skill

  • SKILL.md4 KB
  • evals/evals.json979 B
  • references/acceptance-criteria.md42 B
  • references/fallback-tree.md36 B

Attribution

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

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.