agentleFS
imMamdouhaboammarimMamdouhaboammar/get-fable/skills/fable-eco/SKILL.md

fable-eco

Skill6 starsChanged 3 months agoMITView on GitHub

Provision curated capabilities, manage reproducible capability locks, verify host integrations, and compile capability execution contracts for routed get-fable work. Use when discovering machine capabilities, managing eco profiles, planning capability installations, repairing ecosystem health, or preparing capability-aware execution contracts — even if the user does not explicitly say \"fable-eco\" (e.g. \"install eco capabilities\", \"run eco discover\", \"repair ecosystem\", \"explain capability run\"). Do NOT use as an independent task router (use get-fable).

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Discovery: Run non-mutating probes to discover machine facts, installed runtimes, existing capability versions, and host configuration …

    line 74
  2. Distinctive:

    Health Verification: Run post-installation health probes for each installed capability to prove operational readiness.

    line 79
  3. Very specific:

    Receipt & Lock Sealing: Update .fable/eco.lock and write host configuration ownership receipts.

    line 80
  4. Very specific:

    Use atomic filesystem staging and copy operations with strict path traversal prevention (..

    line 94
  5. Very specific:

    When transaction staging fails or an unexpected crash occurs, classify journal state (Clean, RecoverableRollback, RecoverableCommit, …

    line 107
  6. Distinctive:

    If a required runtime or dependency is unavailable on the host machine, mark the capability as degraded or incompatible and report …

    line 108
  7. Distinctive:

    All selected capabilities successfully staged, verified, and committed without unhandled errors.

    line 113

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Fable Eco

Curated capability distribution and execution-control subsystem for get-fable.

Purpose

Bridge the gap between fragmented developer tool installation and disciplined agentic capability activation. fable-eco enforces the architectural principle of "install many, activate few": it provisions curated AI engineering capabilities (code graph indexers, review helpers, browser tools, testing runners) transactionally with immutable pinned versions and compiles task-bounded execution contracts for routed get-fable tasks under explicit least-privilege policy.

When to Use

  • Discovering local machine runtimes, compilers, package managers, and coding host configurations without side effects.
  • Resolving, planning, installing, updating, or rolling back curated ecosystem capabilities.
  • Managing project capability bindings in .fable/eco.json to declare required capabilities, profiles, and minimum contract versions.
  • Diagnosing or repairing ecosystem integrity, lockfiles, journals, or broken symlinks with non-mutating doctor checks.
  • Compiling deterministic capability execution contracts for agent tasks based on lifecycle routing decisions.

When NOT to Use

  • High-level lifecycle task routing or state management (use get-fable).
  • Purely internal code authoring without external capability requirements (use fable-execute).
  • Driving test-first red-green-refactor loops (use fable-tdd).
  • Diagnosing repeated execution failures or broken test harnesses (use fable-recover).

Inputs

  • routing_decision: Structured routing decision from fable_core::RoutingDecision containing selected skill, task shape, and intent.
  • project_binding: Optional workspace binding from .fable/eco.json declaring active profiles, pinned capabilities, and policy overrides.
  • catalog_layers: Multi-layer capability manifests across official distribution, team repositories, or local directories.
  • machine_facts: Observed system runtimes, OS platform, package managers, and host configuration state.

Expected Outputs

  • install_plan: Topological Directed Acyclic Graph (DAG) of installation operations with rollback classifications.
  • lockfile: Cryptographically hashed .fable/eco.lock with SHA-256 digests and provenance metadata.
  • execution_contract: Task-bounded manifest exposing only authorized tools, environment variables, and execution limits.
  • capability_receipt: Structured record documenting host configuration edits, installed versions, and active ownership.

Procedure

  1. Discovery: Run non-mutating probes to discover machine facts, installed runtimes, existing capability versions, and host configuration files.
  2. Catalog Loading & Validation: Ingest capability and profile manifests across official, team, and local catalog layers, enforcing semantic schema validation.
  3. Deterministic Resolution: Build dependency and conflict graphs, resolve transitive capability requirements, and detect incompatibilities or missing prerequisites.
  4. Plan Generation: Construct an execution plan outlining all file copies, download extractions, environment updates, and health checks before applying any mutation.
  5. Transactional Provisioning: Execute operations inside a staging sandbox with a write-ahead journal (.fable/eco-journal.json), verifying checksums and atomic commit.
  6. Health Verification: Run post-installation health probes for each installed capability to prove operational readiness.
  7. Receipt & Lock Sealing: Update .fable/eco.lock and write host configuration ownership receipts.
  8. Contract Compilation: For routed tasks, filter installed capabilities against the routing decision and policy rules to compile an execution contract.

Decision Rules

  • Plan before mutation: Never perform file modifications, downloads, or configuration edits without a verified pre-execution plan.
  • Immutability on stable channel: Stable capabilities must resolve to immutable git commits or cryptographically hashed release archives (reject main or HEAD).
  • Monotonic permission layering: Project policies can only restrict capabilities; project policies cannot override machine-wide deny rules.
  • Least privilege capability activation: Expose only the specific capabilities required by the current lifecycle phase and task shape.
  • Rollback on failure: If a health check or installation step fails during provisioning, trigger automated rollback using the transaction journal.

Tool Policy

  • Execute discovery and resolution natively via the high-performance fable-eco Rust crate.
  • Use atomic filesystem staging and copy operations with strict path traversal prevention (.. escapes prohibited).
  • Execute read-only probes without altering system files or environment state.
  • Validate all incoming manifests against canonical JSON Schema definitions in schemas/eco/.

Evidence Requirements

  • Discovery results must include structured machine facts (OS, architecture, runtimes, package managers, hosts).
  • Installation plans must list all operations with explicit id, kind, depends_on, and rollback_class.
  • Execution contracts must specify exact capability IDs, permitted tools, network policies, and enforcement grades.
  • Completed operations require passing post-install health check evidence before lockfile persistence.

Failure Handling

  • When transaction staging fails or an unexpected crash occurs, classify journal state (Clean, RecoverableRollback, RecoverableCommit, Corrupted) and recover.
  • If a required runtime or dependency is unavailable on the host machine, mark the capability as degraded or incompatible and report remediation steps.
  • In case of conflicting capability requirements, halt resolution and output conflicting capability chains.

Completion Criteria

  • All selected capabilities successfully staged, verified, and committed without unhandled errors.
  • Target host configuration files patched cleanly with verified ownership tags.
  • Post-install health checks pass with exit code 0 and valid output.
  • Deterministic .fable/eco.lock generated and synchronized with workspace state.

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.