Skip to content
Back to skills

Learning Loop

ASecurity

(Industry standard: Loop Agent / Single Agent) Self-directed research and cognitive continuity loop across Orientation, Synthesis, Strategic Gate, and Completion.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythonbashgit

Security analysis

A100/100

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

Scanned October 3, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Learning Loop?

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

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

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: learning-loop
plugin: agent-orchestration
description: "(Industry standard: Loop Agent / Single Agent) Self-directed research and cognitive continuity loop across Orientation, Synthesis, Strategic Gate, and Completion."
allowed-tools: Bash, Read, Write
---

## Dependencies

Requires Python 3.8+ (standard library only).

---

# Learning Loop (`learning-loop`)

Cognitive continuity protocol ensuring knowledge survives across isolated agent sessions.

## Contents

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

## Constraints

- **Anti-simulation rule**: Never describe what you "would do" or mark steps complete without executing them.
- **Mandatory closure**: Full closure sequence must be performed upon session completion.
- **Prerequisite context**: Always establish valid session context upon Wakeup before modifying code.

## Quick start

```bash
# Initialize learning loop session and load orientation context
python3 -c "import sys; print('Learning loop initialized across Orientation -> Synthesis -> Gate')"
```

## Workflow

```
Orientation -> Synthesis -> Strategic Gate -> Red Team Audit -> [Execution] -> Completion
```

1. **Phase I (Orientation)**: Read local primers, load session state, verify readiness.
2. **Phase II (Synthesis)**: Conduct research and record modular findings in memory/wiki.
3. **Phase III (Strategic Gate)**: Present findings to human; require explicit approval to proceed.
4. **Phase IV (Red Team Audit)**: Submit research packet to adversarial review before execution.
5. **Phase V (Execution & Completion)**: Single Loop (solo implementation) or Dual Loop (delegation); log retrospective.

## Verification

```bash
# Verify session completion and check retrospective entry
test -f references/phases.md && echo "Phase contracts valid"
git status --short
```

## References

- [phases.md](references/phases.md) — Exhaustive phase breakdown and exit criteria.
- [self-correction.md](references/self-correction.md) — Backtracking and correction protocol.
- [acceptance-criteria.md](references/acceptance-criteria.md) — Verification gate criteria.
- [fallback-tree.md](references/fallback-tree.md) — Escalation paths for research stalls.

Files in this skill

  • SKILL.md7 KB
  • acceptance-criteria.md744 B
  • evals/evals.json750 B
  • evals/results.tsv301 B
  • fallback-tree.md1.4 KB
  • references/acceptance-criteria.md42 B
  • references/fallback-tree.md36 B
  • references/phases.md29 B
  • references/self-correction.md38 B
  • requirements.txt22 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.