overlay-open-skill-2

A governed-execution overlay that wraps an open-ecosystem SKILL.md by reference under a pinned sha256 digest, enforces scope bounds, an explicit allowed-tools set, and an operator approval gate, then runs the wrapped skill's effect under that authorization and seals an effect receipt — refusing when the upstream content drifts from the pin.

You’re reading version sha-1bdfc0cce133. Go to the current version

Overview

The open skill ecosystem publishes plain SKILL.md instruction files that any agent can read and follow. Those files carry no scope bounds, no tool allowlist, and no protection against an upstream edit silently changing what a skill does after it has been adopted. This overlay closes that gap without ever editing or copying the upstream file.

The overlay pins the upstream by reference plus a sha256 digest, declares the scope it is allowed to touch and the exact set of tools the wrapped skill may use, and — crucially — actually runs the wrapped skill's effect under that authorization, sealing a receipt that proves the governed work happened. It is not a pin-and-refuse demo: when the guards pass, real bytes are produced under a governed output prefix and their digest is recorded.

SKILL.md

Governed Overlay for an Open-Ecosystem Skill

The open skill ecosystem publishes plain SKILL.md instruction files that any agent can read and follow. Those files carry no scope bounds, no tool allowlist, and no protection against an upstream edit silently changing what a skill does after it has been adopted. This overlay closes that gap without ever editing or copying the upstream file.

The overlay pins the upstream by reference plus a sha256 digest, declares the scope it is allowed to touch and the exact set of tools the wrapped skill may use, and — crucially — actually runs the wrapped skill's effect under that authorization, sealing a receipt that proves the governed work happened. It is not a pin-and-refuse demo: when the guards pass, real bytes are produced under a governed output prefix and their digest is recorded.

What it governs

  • Digest pin. The upstream is resolved (fetched live in a real run, or read from a resolver-supplied digest in the deterministic harness) and its sha256 is compared to the pinned digest. If they differ, the overlay raises runx.overlay.digest.stale and refuses rather than running changed instructions unseen.
  • Scope bounds. The requested unit of work must fall inside the declared scope bounds, and any file the effect writes must stay under allowed_output_prefix. An out-of-scope request raises runx.overlay.scope.exceeded and refuses.
  • Explicit allowed tools. Every tool the wrapped skill may touch is named (fs.read, fs.write, net.fetch); there is no wildcard.
  • Approval gate. The governed effect only runs when an explicit operator approval flag is present. Otherwise it raises runx.overlay.approval.denied.

What it does when the guards pass

The overlay consumes the attenuation: it reads the wrapped skill's specification, performs the wrapped effect within the granted scope, and writes the result under the governed output prefix. The sealed receipt records:

  • execution_performed: true and wrapped_ran: true;
  • the authorization it ran under (pinned digest, resolution mode, granted scope, allowed tools);
  • the effect it produced (the act performed, the output path, the output_sha256 of the bytes written, and the byte count).

Inputs

input required meaning
resolved_upstream_url one of these three raw URL of the upstream to fetch and hash live
resolved_upstream_path one of these three local snapshot of resolved upstream to read and hash
resolved_digest one of these three sha256 the resolver already computed
theme_name yes the in-scope unit of work to run
theme_spec yes the wrapped skill's specification the effect consumes
artifact no the target the effect is applied to
output_dir / output_name no where the governed output is written (under the prefix)
approved yes operator approval flag; must be true to run the effect

Guarantees

  • The upstream file is never copied or edited; only its reference and digest are pinned.
  • No effect runs on a stale pin, an out-of-scope request, or without approval.
  • Every non-refused run seals an effect receipt whose output_sha256 a reviewer can reproduce from the recorded inputs.

Verifying a run

Run the skill on a real input and pass the resulting receipt to runx verify --receipt ./receipts/receipt.json --json; a passing verdict plus the execution_performed: true receipt is the proof that the governed effect ran under the pinned authorization.

Published execution profile

The execution profile published with sha-1bdfc0cce133, shown as its exact bytes.

Runner
  • default
Profile digestsha256:d1cfd0ca1183e274fef5f8ee2c68ca29a36b0cf3053191a5b436e9ccb3936cf5
skill: overlay-open-skill-2
version: 0.1.3
catalog:
  kind: skill
  audience: public
  visibility: public
  role: canonical
runners:
  default:
    default: true
    inputs:
      resolved_digest:
        type: string
        required: false
        description: sha256 of the resolved upstream content (deterministic harness resolution).
      resolved_upstream_url:
        type: string
        required: false
        description: Raw URL of the upstream to fetch and hash live (real run resolution).
      resolved_upstream_path:
        type: string
        required: false
        description: Local path to a resolved upstream snapshot to read and hash.
      theme_name:
        type: string
        required: true
        description: The theme to apply; must be within the declared scope bounds.
      theme_spec:
        type: string
        required: true
        description: The wrapped skill's theme file content (palette + font pairing) to apply.
      artifact:
        type: string
        required: false
        description: The target HTML artifact to theme.
      output_dir:
        type: string
        required: false
        description: Output directory; must stay under allowed_output_prefix.
      output_name:
        type: string
        required: false
        description: Output file name for the themed artifact.
      approved:
        type: boolean
        required: true
        description: Operator approval flag; the governed effect refuses without approved=true.
    steps:
      - id: default
        tool:
          command: node
          args:
            - run.mjs
        inputs:
          resolved_digest: $input.resolved_digest
          resolved_upstream_url: $input.resolved_upstream_url
          resolved_upstream_path: $input.resolved_upstream_path
          theme_name: $input.theme_name
          theme_spec: $input.theme_spec
          artifact: $input.artifact
          output_dir: $input.output_dir
          output_name: $input.output_name
          approved: $input.approved
        outputs:
          decision:
            required: false
          execution_performed:
            required: false
          authorization:
            required: false
          effect:
            required: false
          wrapped_ran:
            required: false
        scopes:
          - overlay.theme.apply
harness:
  cases:
    - name: in-scope-applies-and-seals
      runner: default
      inputs:
        resolved_digest: sha256:c35893e221e28895c52143cc11bf30e41a44817796b39d4b15727dadc9796552
        theme_name: ocean-depths
        approved: true
        output_dir: .overlay-out/
        output_name: themed-ocean.html
        artifact: <!doctype html><html><head><title>Deck</title></head><body><h1>Q3 Review</h1><p>Body.</p></body></html>
        theme_spec: |
          # Ocean Depths

          A professional and calming maritime theme that evokes the serenity of deep ocean waters.

          ## Color Palette

          - **Deep Navy**: `#1a2332` - Primary background color
          - **Teal**: `#2d8b8b` - Accent color for highlights and emphasis
          - **Seafoam**: `#a8dadc` - Secondary accent for lighter elements
          - **Cream**: `#f1faee` - Text and light backgrounds

          ## Typography

          - **Headers**: DejaVu Sans Bold
          - **Body Text**: DejaVu Sans

          ## Best Used For

          Corporate presentations, financial reports, professional consulting decks, trust-building content.
      expect:
        status: sealed
        receipt:
          schema: runx.receipt.v1
      operator_journeys:
        - mode: standalone
          confusors:
            - skill-adopt
            - sandbox-harden
          request: Wrap this open-ecosystem skill and run it under an approval gate.
          expected_outcome: Return the wrapped skill's governed effect after the operator approves its pinned digest and scope.
        - mode: composed
          request: Continue this overlay-open-skill-2 work from evidence already gathered upstream.
          expected_outcome: Return the wrapped skill's governed effect after the operator approves its pinned digest and scope.
          prior_evidence:
            - The wrapped skill reference and its pinned digest already admitted.
          must_not_repeat:
            - Do not re-approve a run already authorized.
    - name: digest-stale-refuses
      runner: default
      inputs:
        resolved_digest: sha256:0000000000000000000000000000000000000000000000000000000000000000
        theme_name: ocean-depths
        approved: true
        output_dir: .overlay-out/
        output_name: themed-ocean.html
        theme_spec: |
          # Ocean Depths
          - **Deep Navy**: `#1a2332`
          - **Headers**: DejaVu Sans Bold
          - **Body Text**: DejaVu Sans
      expect:
        status: failure
        receipt:
          schema: runx.receipt.v1
    - name: scope-exceeded-refuses
      runner: default
      inputs:
        resolved_digest: sha256:c35893e221e28895c52143cc11bf30e41a44817796b39d4b15727dadc9796552
        theme_name: ocean-depths
        approved: true
        output_dir: ../escape/
        output_name: themed.html
        theme_spec: |
          # Ocean Depths
          - **Deep Navy**: `#1a2332`
          - **Headers**: DejaVu Sans Bold
          - **Body Text**: DejaVu Sans
      expect:
        status: failure
        receipt:
          schema: runx.receipt.v1
    - name: approval-denied-refuses
      runner: default
      inputs:
        resolved_digest: sha256:c35893e221e28895c52143cc11bf30e41a44817796b39d4b15727dadc9796552
        theme_name: ocean-depths
        approved: false
        output_dir: .overlay-out/
        output_name: themed.html
        theme_spec: |
          # Ocean Depths
          - **Deep Navy**: `#1a2332`
          - **Headers**: DejaVu Sans Bold
          - **Body Text**: DejaVu Sans
      expect:
        status: failure
        receipt:
          schema: runx.receipt.v1

Published package and test evidence.

The latest recorded test covers an earlier version, sha-d38ca8900a72. It does not establish a result for this version.

Test result

Harness resultAn earlier version was tested
Tested versionsha-d38ca8900a72Not this page’s version, sha-1bdfc0cce133
Recorded result4 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Declared cases4

Package identity

Published revisionsha-1bdfc0cce133
Content digestsha256:1bdfc0cce1335b18ded424e426eb3c1abe5e6c7a20a145835f3aadcb15aebfc6
SKILL.md digestsha256:55309759d7ba939bd46bea601fb724415b827d58e533bc9576b653e86e3bb1dc
Execution profile digestsha256:d1cfd0ca1183e274fef5f8ee2c68ca29a36b0cf3053191a5b436e9ccb3936cf5
Publisher identityUnverified publisher · codeboost-tr
Trust tierCommunityPublished through the registry without publisher verification. This tier is not a code assessment.
Attestations
  • Publisher · Declaredcodeboost-tr · 13 Oct 2026
Source provenanceNot published with this version

Version history

  1. sha-d38ca8900a72Content digest sha256:d38ca8900a72d6c2058e1c211ac7c95bb8c5ccb70c781b963e6941a91e279212
  2. sha-0b695fe752c4Content digest sha256:0b695fe752c46a4599d37b98b8d086355e4b813359442cf0c2a40a49a8dbfbe2
  3. sha-7f9acadbb0bdContent digest sha256:7f9acadbb0bd475a956e5de7995d0c0990fa4d7fbd173259be3223c0daecb56b
  4. sha-1bdfc0cce133ViewingContent digest sha256:1bdfc0cce1335b18ded424e426eb3c1abe5e6c7a20a145835f3aadcb15aebfc6