knowledge-work-plugins icon indicating copy to clipboard operation
knowledge-work-plugins copied to clipboard

Add stability lifecycle frontmatter to skills (experimental/stable/deprecated)

Open fuleinist opened this issue 6 months ago • 5 comments

Problem

Skills in this plugin have no stability indicator. An AI agent consuming skills cannot distinguish a well-tested default skill from a new/beta one, causing it to treat experimental workflows as production-ready. This leads to wasted tool calls on deprecated MCP servers or experimental features whose APIs change without notice.

Proposed solution

Add a stability: frontmatter field to the SKILL.md schema with three values:

  • experimental — actively developed, may change without notice
  • stable — tested, production-ready, backwards-compatible
  • deprecated — maintained for compatibility but no longer actively developed

Skill authors set stability: in frontmatter when submitting. The plugin's README or skill discovery surface can document the field so agents can filter or warn accordingly.

Use case

An AI agent scanning a large plugin pool for production-grade workflows can filter on stability: stable and warn before invoking experimental skills or skip deprecated ones entirely. This prevents wasted tool calls and incorrect routing assumptions.

fuleinist avatar May 25 '26 14:05 fuleinist

Hi, I'd like to work on this issue.

furqan-debug avatar May 25 '26 18:05 furqan-debug

Implemented in PR #254

furqan-debug avatar May 25 '26 19:05 furqan-debug

+1 to this. We hit basically the same problem a few months back working on a cross-tool memory layer (piia-engram) and ended up landing on something slightly different — sharing in case it's useful.

The short version: a single lifecycle: field wasn't enough for us. We needed two axes.

  • author maturity — what you're proposing here. experimental / stable / deprecated. Static, set by whoever wrote the skill.
  • user trust — staging / verified. Defaults to staging for anything AI-proposed or freshly installed. Promotes to verified only when the user explicitly OKs it.

Why the second axis? Because we kept hitting cases like:

  • A stable skill upstream that I still don't trust until I've seen it actually behave in my workflow
  • A deprecated skill I'm still depending on — auto-disappearing would break me, but I do want a warning
  • AI-proposed stuff sneaking into "production" because there was no consent step in between

The single biggest win for us was just: nothing auto-promotes. New AI-proposed knowledge lands in staging, sits there until a human says yes. Sounds trivial but it killed the "hallucinated facts becoming canon" failure mode almost overnight.

Couple smaller things that helped, if you go this route:

  • domain-aware staleness (a user_preference skill should age way slower than a debug skill — we use multipliers like 3x vs 0.5x on the base TTL)
  • a doctor command that surfaces stale items / near-duplicates / conflicts on demand — without it the staging tier just bloats silently
  • per-field provenance (who set this last + when) — invaluable when something goes sideways

Anyway, not pitching, just been in this exact loop and figured the two-axis idea might be worth considering before locking the schema. Happy to dig into specifics if useful.

Patdolitse avatar May 27 '26 16:05 Patdolitse

Really interesting perspective, especially the distinction between author-defined maturity and user/system trust levels.

I agree the two-axis model could solve a broader class of problems around AI-generated or auto-discovered skills. My initial PR was intentionally scoped to a lightweight metadata layer (experimental/stable/deprecated) so it could be added incrementally without changing runtime behavior yet.

The staging/verified concept definitely feels like a strong future direction for trust-aware workflows and skill management.

furqan-debug avatar May 27 '26 16:05 furqan-debug

Yeah, that's exactly the right scope call. Adding the field first, holding off on runtime semantics — that's how you avoid backing out behavior changes you shipped too early. We did the opposite at one point and it was messy.

If/when this does expand into runtime checks, one specific case that surprised us: what happens when a verified item depends on a skill that just got marked deprecated. Auto-archiving the dependent thing is wrong (breaks the user). Doing nothing is also wrong (silent rot). We ended up surfacing it on a doctor-style health check instead of touching runtime. But that's a much later conversation — happy to dig in then. Good luck on the PR.

Patdolitse avatar May 28 '26 00:05 Patdolitse