🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Memory Driven Execution Loop

by @kdylan1010-alt

Deterministic external-memory execution loop using rules/goal/plan/progress/notes/lessons with strict preflight, one-step execution, and measurable lesson qu...

Versionv1.0.1
Downloads403
TERMINAL
clawhub install memory-driven-execution-loop

πŸ“– About This Skill


name: memory-driven-execution-loop description: Deterministic external-memory execution loop using rules/goal/plan/progress/notes/lessons with strict preflight, one-step execution, and measurable lesson quality gates.

Memory-Driven Execution Loop

Run execution from external state files only.

Required Files

  • rules.md
  • goal.md
  • plan.md
  • progress.md
  • notes.md
  • lessons.md
  • Strict Loop

    1. Read rules.md first. 2. Read all other memory files. 3. Validate one clear next action. 4. Write reasoning in notes. 5. Execute one step only. 6. Update progress and notes. 7. Convert failures into lessons.

    Timed Task Rule

    If user specifies duration (e.g., 30 minutes):
  • satisfy wall-clock duration first
  • never substitute with output count
  • completion requires start/end/elapsed proof
  • Lesson Quality Gate (Universal but actionable)

    Every universal lesson must include:
  • Trigger
  • Action
  • Metric/threshold
  • Boundary conditions
  • At least 2 cross-field examples
  • Missing fields => lesson invalid.