Paper explained · software ontology & agent engineering

When instructions become a software unit

Skillware separates what a skill says, the software identity that carries it, and the environment that makes it act.

Reading: Skillware: A Software Ontology and Engineering Lifecycle for Persistent Behavioral Artifacts
Haodi Fan & Zucong Lan · Full-paper explainer

Original paper · PDF · Full text · Authors’ patterns and evidence materials

01 / THE PROBLEM

A reusable instruction file is not the whole software system

Imagine a team repeatedly asking an agent to produce a decision brief. Someone saves the procedure: what evidence to collect, how to distinguish facts from assumptions, when to ask for approval, and what the final document must contain. Soon the procedure gains templates, a validation script, installation instructions, and a release history.

Calling all of this “a prompt” hides important questions. What exactly is installed? What gets updated? Who activates it? If an execution fails, is the procedure wrong—or did the environment lack a tool? If the wording changes, is it a new product or a new version of the same one?

The paper’s central move: treat persistent, Skill-centered behavior as a managed software object. A Skill Artifact carries reusable behavior; a Skillware Unit gives it an independent software identity. The host and runtime remain separate.

This is an ontology and engineering framework, not a new model, training algorithm, or demonstration of higher task accuracy. Here, an ontology means a vocabulary of object types and relations that helps people agree on what they are examining.

Three coexisting behavioral substrates

  • Code: formal instructions executed by software.
  • Model parameters: learned structure shaping inference.
  • Behavioral source: persistent natural-language procedures interpreted during an agent task.

The third does not replace the first two. A skill can tell an agent when to invoke a deterministic script.

What makes the source different?

Natural language stays present at execution time. It can express policies, examples, constraints, and evaluation criteria, but it does not thereby gain a formal language’s stable semantics.

Persistence adds an address, an activation path, a package boundary, and a history—not determinism.

02 / OBJECTS, RELATIONS, AND BOUNDARIES

Keep the carrier, identity, and execution apart

1 · expressesBehavioral source“Gather evidence; label uncertainty; stop for approval.”
2 · persists inSkill ArtifactSKILL.md plus any supporting resources.
3 · managed asSkillware UnitIndependent name, package, version, and provenance.
4 · activated byAgent HostThe application discovers or receives and activates the unit.
5 · interpreted byAgent RuntimeContext assembly, model calls, tools, permissions, and state.
6 · observed asTrace → outcomeWhat happened, then whether it met task criteria.

Teaching reconstruction of the paper’s ontology. These are distinct responsibilities, not necessarily six separate programs.

In an atomic implementation, one Skill Artifact can coincide with the managed unit. In a larger implementation, a coherent suite of Skills, scripts, hooks, and interfaces can share one package-level identity. The unit boundary must be declared before classification.

Three membership tests; one separate lifecycle property

TestQuestionWhat does not suffice?
C1 · Behavioral primacyDoes the Skill or coherent Skill suite organize the reusable task contract and its support components?A token instruction file attached to a tool-centric application.
C2 · Independent identityCan this unit be acquired, installed, and tracked separately from its Agent Host?A session prompt or inseparable host configuration.
C3 · Host executionIs there an identified compatible Host path for discovery or receipt, activation, loading, and use?A catalog listing or documentation without a supported activation path.
LC · Lifecycle ContinuityDoes the same unit identity persist through update, maintenance, rollback or disablement, and removal?A one-time copy with no demonstrated continuity through change.

Membership requires affirmative support for C1 ∧ C2 ∧ C3 for the same unit. Missing evidence is unresolved, not proof of inclusion. Lifecycle Continuity is assessed separately: a qualifying unit can still be poorly managed.

Classification is not certification. Membership says nothing by itself about quality, safety, usefulness, popularity, or maturity. A tiny installable Skill may qualify; a sophisticated MCP server may not, because callable tools—not Skill-centered behavior—are its primary artifact.

Why a source file cannot prove an outcome

π = RH(S, τ, M, C, T, P, σ)

In the paper’s notation, runtime RH associated with Host H produces trace π from unit S, task τ, model M, assembled context C, tools T, permission policy P, and state σ.

Think of this as a checklist of experimental controls, not a predictive equation. The same release can behave differently when the model changes, a reference is missing, permission is denied, or state is stale. “The Skill says to verify” is evidence of intended behavior; only an execution trace can show whether verification happened, and task evaluation must still judge whether it was sufficient.

03 / HOW THE CLAIM IS SUPPORTED

Converging evidence, with different inference limits

The authors ask two questions: what distinguishes Skillware from neighboring concepts, and how well the definition separates positive, negative, and boundary cases. Their method combines specifications, a frozen corpus, fixed-revision case review, and independent studies. There is no benchmark showing that adopting the name or framework improves agent performance.

138,133deduplicated SKILL.md records

Associated with 20,556 repository identifiers; not a count of validated Skillware Units.

15category-boundary cases

12 inclusions and 3 deliberate negatives, theoretically sampled rather than randomly sampled.

13technical implementation cases

Fixed commits, exact paths, positive observations, counterevidence, and limitations.

What the corpus actually measures

98.73% of files (136,380) have frontmatter delimiters.

23.2% of files (32,069) contain explicit path tokens into references/, scripts/, or assets/.

There are 236,421 such tokens in total. These are lexical signals, not resolved dependencies or execution observations.

What those measurements mean

A structured metadata envelope recurs widely in the collected files. References to adjacent support artifacts are also a measurable convention.

But frontmatter delimiters do not validate metadata fields. A path token can be stale or illustrative. The detector misses implicit dependencies, remote services, and other conventions.

Median size: 169 lines / 687 words. At the 90th percentile: 517 lines / 1,971 words. Length signals review and context-management pressure, not poor quality.

From visible structure to operational evidence

The category-review protocol first declares a unit and freezes its revision, then records support and counterevidence for C1–C3 and codes lifecycle evidence separately. The technical review spans small instruction-centered units and larger systems with resources, tools, events, plugins, companions, and adaptation mechanisms.

Independent studies contribute their own, separate evidence: runtime requirements from a 97,755-Skill study; reuse and maintenance from 18,463 registry Skills and 23,199 personal-use Skills, including 3,709 reuse links; and detected quality smells in a 238-Skill study. These are not additional observations from one pooled dataset.

Supported conclusion: recurring artifacts, independent identities, activation relations, and software-engineering pressure exist. Not established: ecosystem-wide prevalence, production reliability, cross-Host behavioral parity, or reproducible classification by independent raters.
04 / THE ENGINEERING CONTRIBUTION

Describe structure without inventing a maturity ladder

The paper separates a unit’s structural profile at a revision from its lifecycle across revisions. A compact Skill maintained for years is not less mature merely because a newly created package has more moving parts.

Profile or dimensionQualifying relationEngineering obligation
Atomic baselineOne Skill source contains the task contract without required packaged support.Control ambiguity and instruction growth.
Resource-BackedLoads packaged references, templates, data, or assets.Check freshness, consistency, and loading conditions.
Tool-BackedInvokes bundled executable support.Validate inputs, failures, dependencies, and side effects.
Event-DrivenA concrete lifecycle event activates or observes behavior.Handle duplication, ordering, and idempotency.
Plugin-PackagedA recognized manifest distributes the unit and integrations.Test compatibility, provenance, upgrades, and uninstall.
Companion-CoupledAn external interface completes a task-state round trip.Bind sessions and validate fresh, authorized decisions.
Adaptation-EnabledA governed mechanism proposes, evaluates, adopts, releases, and recovers changes to the same identity.Protect evaluation, adoption authority, provenance, and rollback.

The six added dimensions compose; Atomic is the exclusive minimal baseline. More labels mean more operating surfaces to test—not better software. No complete Adaptation-Enabled case was established among the 13 reviewed technical units.

Classic patterns transfer through responsibilities, not filenames

A file named adapter.yaml does not prove the Adapter pattern. The authors require source intent, design forces, participant correspondence, consequences, implementation evidence, focused verification, and a discriminator against a nearby misuse.

Access and composition

Facade: one entry Skill gives clients a unified access policy over independently addressable specialist Skills. The paper verifies this participant mapping for Superpowers.

Adapter: a thin Host binding translates discovery paths, commands, or fields without silently changing the canonical procedure. gstack offers a strong correspondence; behavioral parity still needs runtime tests.

Composite: leaf Skills and parent suites share an invocation/result contract. OpenMontage supplies a candidate correspondence plus a constructive fixture.

Events and decisions

Observer: lifecycle transitions notify independent registered consumers. Hook presence alone does not prove registration, delivery, or isolation.

State: persisted checkpoints constrain legal actions and transitions. Natural-language guidance cannot itself supply atomic persistence.

Strategy: interchangeable procedures share a request/result contract, with selection and fallback rules.

The evidence strength varies: some mappings are verified case relations; others are structural candidates or constructive examples. The supplement screens all 23 GoF patterns and supplies detailed constructive implementations for ten, plus Pipes and Filters and Specification. Constructibility is not a measured comparative benefit.

A practical six-step workflow

  1. Declare the unit and contract: triggers, inputs, outputs, invariants, permissions, side effects, failure behavior, and ownership.
  2. Identify operating surfaces: resources, tools, events, packaging, companion interactions, adaptation.
  3. Choose patterns from the design forces: map actual participants and interfaces.
  4. Implement mechanisms: routing, progressive disclosure, deterministic kernels, generated adapters, idempotent bootstrap, verification gates, human gates, and evidence-gated change as needed.
  5. Evaluate the whole candidate release: contracts, exact operations, negative cases, Host compatibility, recovery, upgrades, and removal.
  6. Release and maintain: retain provenance, traces, review decisions, versions, deprecation policy, and rollback paths.

Dimensions tell you what surfaces exist; patterns organize who is responsible for what; mechanisms describe how to implement those responsibilities. Tests must assess the combination.

05 / A SMALL WORKED EXAMPLE

Decision Brief: one identity, several possible releases

The following is a teaching prototype, not an implementation evaluated in the paper. Suppose decision-brief is independently installed, and a named skills-compatible Host can activate it.

decision-brief/                    # managed unit: decision-brief
  SKILL.md                        # reusable task contract
  manifest.json                   # illustrative release metadata
  references/brief-template.md     # load when drafting
  scripts/check-brief.js           # exact structural validation
  tests/                          # contract + failure fixtures

# SKILL.md (abbreviated)
---
name: decision-brief
description: Draft an evidence-backed brief for a proposed decision.
---
Accept topic and proposed_decision. Return brief_path.
Separate sourced facts, assumptions, alternatives, and recommendation.
Load references/brief-template.md only when drafting.
Run scripts/check-brief.js before requesting release approval.
On validation failure: repair or stop; do not publish.
Require a fresh, authorized human approval before publishing.

# manifest.json (illustrative, not a required standard)
{"id":"decision-brief","version":"1.0.0",
 "host":"demo-host","sourceRevision":"example-a1"}

Classify the unit

C1: the Skill specifies the reusable procedure; the checker supports it.

C2: the package has a separate identity and release metadata.

C3: the premise supplies an identified, supported Host activation path.

The profile is Resource-Backed + Tool-Backed. A human approval requirement alone does not establish Companion-Coupled: that requires a separate interface and a task-state round trip.

Test the contract, not just the file

A deterministic checker might verify required headings or source-field presence. It cannot, by those checks alone, establish that evidence is true or the recommendation is good.

Tests should include missing references, checker failure, permission denial, stale approval, and recovery after interruption. Actual evaluation also needs repeated model-mediated runs and task-quality judgments.

Engineering consolidation versus evolution

A later release could add the exact checker after traces show recurring malformed briefs. The authors call this Engineering Consolidation: evidence-driven additions of engineering structure. It is a possible trajectory, not a required progression from prose toward code.

Identity-Preserving Evolution occurs when an accepted change produces a new version of the same managed unit, with provenance, compatibility, and lifecycle history retained. An agent proposing a better instruction is only candidate generation. Changing the model or improvising during one run is not a Skillware release.

execution evidence → change proposal → evaluation → governed release

Self-Evolution supplies candidate changes from experience. Collaborative Evolution is one possible governance arrangement for contributions from humans, agents, and deployments. Its end-to-end shared-release workflow remains future work. Field deployment by teams is likewise a hypothesis, with risks including local overfitting, privacy leakage, fragmented variants, and review overload.

06 / INTERACTIVE LAB

Try the boundary tests, then govern a release

Two local, deterministic simulations make the distinctions concrete. They do not call a model, inspect repositories, execute Skills, or estimate real-world performance. Classifier inputs represent your evidence judgments; the release gate is an illustrative policy, not a mandated standard.

A · Which object are you classifying?

Predict before you change it

  • Remove lifecycle support. Does membership change?
  • Leave only C3 unresolved. Is that the same as a negative result?
  • Make all three conditions supported for a tool-first server. What have you changed: the tool, or your assumptions about its primary unit?

Answers: LC is independent; unresolved evidence does not establish membership; manual overrides change the evidence assumptions, not the real artifact.

B · Keep the identity; govern the version

Independent of lab A. Begin with installed release 1.0.0. A candidate patch must pass this demo’s gates before adoption. A failed gate leaves the current release untouched.

Lifecycle journal

What to notice

A proposal is not a release. A blocked candidate does not replace the installed unit. Adoption changes the version while preserving decision-brief. Rollback restores the prior release, rather than inventing a new identity. Removal changes availability but retains the journal.

This toy keeps one candidate and one previous release in memory. It models no artifact hashes, durable storage, access control, actual evaluation, or operating-system uninstall. Reloading the page resets it. Real systems need those mechanisms and evidence that they work.

07 / HOW FAR TO TRUST THE FRAMEWORK

Useful distinctions; still an unvalidated boundary instrument

What the paper establishes

  • A concrete vocabulary connecting behavioral source, artifact, identity, Host, runtime, trace, and outcome.
  • An auditable three-condition membership protocol with lifecycle management kept separate.
  • Recurring artifact signals at collection scale and inspectable fixed-revision examples.
  • Constructible software-pattern relations across prose, scripts, events, and packages.

What remains open

  • Whether independent analysts agree on unit boundaries and behavioral primacy.
  • Whether the proposed patterns or mechanisms improve success, safety, cost, or maintainability.
  • Whether the same unit behaves reliably across Hosts and models.
  • Whether complete governed evolution works in sustained production use.

The corpus is registry-heavy and affected by aliases, forks, generated artifacts, uneven repository contributions, and missing source revisions. Content deduplication does not remove every sampling bias. Cases are purposive, not prevalence estimates. Fixed commits aid reproducibility but age; source inspection is not direct execution.

A strong next experiment would compare alternative implementations on fixed tasks, Hosts, models, runtime versions, tools, permissions, and sampling settings. Use repeated paired trials; report task success, constraint violations, run-to-run variance, latency, cost, recovery, and human-review burden. Longitudinal studies should track how instructions migrate into resources or exact code, and whether that improves maintenance.

Takeaway: first identify the thing being managed. Then separate its specification from its execution, and its membership from its quality. Only after that can versions, tests, responsibility, and evidence attach to the right object.

Closing connection: for a context platform, this ontology suggests keeping a reusable behavioral artifact’s identity and provenance distinct from the contexts and traces of its runs; the paper does not propose a context-lake or context-graph architecture.