Data flywheel

From codejunkie99/agentic-stack · View interactive version

Data flywheel is an AI agent skill from the GitHub repository codejunkie99/agentic-stack. Use this skill when a user wants to turn repeated human-approved agent work

How to use this skill

Skill file

Data Flywheel - approved runs into reusable intelligence

Use this skill when a user wants to turn repeated human-approved agent work

across Claude Code, Hermes, OpenClaw, Codex, Cursor, or custom .agent/ loops

into local artifacts for retrieval, evals, prompt shrinking, and optional

future open-weight model/adapters.

The flywheel is:

approved run
-> redacted trace
-> context card
-> eval case
-> training-ready JSONL
-> optional downstream SLM/adapter experiment later

This skill creates the harness. It does not train a model.

Hard Rules

failure-mode notes, not trainable examples.

emails, secrets, credentials, or unredacted CRM records.

commits sanitized examples.

Inputs

Default local input:

.agent/flywheel/approved-runs.jsonl

Each line should be a sanitized run record with:

Export

Run:

python3 .agent/tools/data_flywheel_export.py

Outputs go to:

.agent/flywheel/exports/<YYYY-MM-DD>/

Key outputs:

Readiness Checks

Use these as heuristics, not hard rules:

What To Report

When finishing, report:

Self-rewrite hook

If users repeatedly ask for the same domain-specific fields, add them to a

local context card or schema example instead of hard-coding them into this

general skill.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.