agentleFS
TheunsBarnardtTheunsBarnardt/ai-fdl-kit/.claude/skills/fdl-propagate-agi/SKILL.md

fdl-propagate-agi

Skill1 starsChanged 8 months agoMITView on GitHub

Ensure every blueprint has an AGI-readiness section appropriate to its category and content. When new AGI schema features are added (like coordination, safety, explainability, learning), existing blueprints become stale. This skill propagates AGI sections to all blueprints that lack them, using intelligent defaults based on each blueprint's category, fields, actors, and outcomes. Problem: AGI features were added but only 6 of 203 blueprints had AGI sections — the rest were missing out on safety controls, goals, autonomy levels, and verification.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ensure every blueprint has an AGI-readiness section appropriate to its category and content.

    line 3
  2. Distinctive:

    When new AGI schema features are added (like coordination, safety, explainability, learning), existing blueprints become stale.

    line 13
  3. Very specific:

    Solution: Run node scripts/propagate-agi.js to analyze every blueprint and generate category-appropriate AGI sections automatically.

    line 17
  4. Distinctive:

    Run the propagation script in preview mode:

    line 31
  5. Distinctive:

    Ask the user using AskUserQuestion:

    line 44
  6. Distinctive:

    If any blueprints fail validation due to the new AGI sections, fix them and re-run.

    line 71
  7. Distinctive:

    After adding new AGI sub-sections to the schema

    line 106
  8. Very specific:

    After /fdl-create generates blueprints without AGI (the auto-evolve step will remind you)

    line 107
  9. Very specific:

    After /fdl-research suggests AGI improvements

    line 109

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

FDL Propagate AGI — Auto-generate AGI sections for all blueprints

Ensure every blueprint has an AGI-readiness section appropriate to its category and content.


command: fdl-propagate-agi description: "Add AGI sections to all blueprints that don't have them" arguments: "[--category <name>] [--file <path>]"

Description

When new AGI schema features are added (like coordination, safety, explainability, learning), existing blueprints become stale. This skill propagates AGI sections to all blueprints that lack them, using intelligent defaults based on each blueprint's category, fields, actors, and outcomes.

Problem: AGI features were added but only 6 of 203 blueprints had AGI sections — the rest were missing out on safety controls, goals, autonomy levels, and verification.

Solution: Run node scripts/propagate-agi.js to analyze every blueprint and generate category-appropriate AGI sections automatically.

Usage

/fdl-propagate-agi                    # Propagate to all blueprints
/fdl-propagate-agi --category auth    # Only auth blueprints
/fdl-propagate-agi --file <path>      # Single blueprint

Workflow

Step 1: Dry Run

Run the propagation script in preview mode:

node scripts/propagate-agi.js

Present the summary to the user:

  • "{N} blueprints need AGI sections"
  • "{M} already have AGI (will be skipped)"
  • Show 3-5 examples across different categories

Step 2: User Confirmation

Ask the user using AskUserQuestion:

"I'll add AGI sections to {N} blueprints based on their category. Each gets goals, autonomy level, safety permissions, and verification appropriate to its risk level. Want to proceed?"

  • "Yes — update all {N} blueprints"
  • "Let me pick categories" (then ask which categories)
  • "Show me more examples first"

Step 3: Apply

Run with --apply:

node scripts/propagate-agi.js --apply

Or for specific category:

node scripts/propagate-agi.js --apply --category auth

Step 4: Validate

node scripts/validate.js

If any blueprints fail validation due to the new AGI sections, fix them and re-run.

Step 5: Generate Docs

npm run generate

Step 6: Report

Show the user:

  • How many blueprints were updated
  • Category breakdown
  • Any validation warnings
  • Suggest running /fdl-auto-evolve to commit

Category Defaults

The script assigns AGI sections based on blueprint category:

CategoryAutonomyRiskFocus
auth/accesssupervisedhighsecurity
payment/tradingsupervisedhighcompliance
workflowsemi_autonomousmediumefficiency
datasupervisedmediumintegrity
integrationsupervisedmediumreliability
aifully_autonomoushighalignment
notificationsemi_autonomouslowdelivery
uisemi_autonomouslowusability
infrastructuresupervisedhighavailability
manufacturingsemi_autonomoushighsafety

When to Run

  • After adding new AGI sub-sections to the schema
  • After /fdl-create generates blueprints without AGI (the auto-evolve step will remind you)
  • Periodically to ensure no blueprints are missing AGI sections
  • After /fdl-research suggests AGI improvements

Integration

  • Triggered by: schema changes, auto-evolve AGI freshness warnings, manual invocation
  • Triggers: /fdl-auto-evolve after completion (validates and commits)
  • Never overwrites: existing AGI sections are always preserved

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.