Skip to content

Stop 2 of 5

Shipped

Open Agent Skills

One rule book for every agent

A skill is a page of instructions for one job. This package makes sure every agent reads that page the same way, on any AI model.

One page of instructions is read. Its name matches where it is kept, its old names still find it, who may load it is read clearly, its ID stays the same after a rename, and no problems are found. A different page with a hidden trick in it is refused, with the reason.

A real example

The same idea, twice

An everyday case

You write one house rule: no nuts. It is written down once, in one place. Nobody keeps their own version.

At work

A shared library of approved playbooks and standard operating procedures. One source of truth, under version control, that does not depend on one AI vendor.

Try it

Will every agent read it the same?

Your company has one page of instructions for a job. Pick what happens to it.

Tap a situation to see what happens.

This is a demo. Nothing is sent or saved.

What you get

Three things, in plain words

  1. Every team and repo pulls the same approved skill

  2. A file with a hidden trick in it is refused, with the reason

  3. A label on a file gives no access. Only your grants do

Better inside Botscape

Botscape loads every skill through this package, so your rules and preferences travel with the work into each service and repo.

The honest part

Where it stops today

Shipped

The library decides what a document says, not what a seat may do. Authentication, authorization, runtime loading, and policy belong to the host. The package is private on GitHub Packages and needs Node 22 or newer.

For your engineers

The technical version

The same package, in the words your engineers use. Open what you need.

Ships as@ryanwatts-getben/open-agent-skillsSkill metadata and identity library · Version 0.4.0

The numbers it will not move past

A skill is a Markdown file with YAML frontmatter. This library reads that frontmatter, the stable identity, and the manifest the same way every time, and says exactly what it could not read. It does not guess.

Metadata contract
0.1
Separate from the package version
Frontmatter
32 KB
Largest frontmatter block it will parse
YAML aliases
0
Anchors and aliases are refused outright
Dependency kinds
20
skill, tool, route, grant, approval, test, and more
Relationships
19
Each allowed only for the kinds it fits
Slug
64
Characters at most in a portable name or id
How Open Agent Skills works, step by step
  1. 1. Frontmatter, read once and read the same

    parseSkillFrontmatter returns the name, description, aliases, allowed tools, invocation controls, and any namespaced metadata. Every problem it found comes back as a diagnostic code with a plain message.

    • If the invocation controls cannot be read, readable is false. A false restriction flag is not permission to load.
    • disable-model-invocation keeps a skill out of automatic loading.
    • allowed-tools must be a space-separated string. Anything else is a diagnostic, not a guess.
  2. 2. A stable id that survives a rename

    resolveSkillIdentity keeps the loader id, picks a stable id from the namespaced metadata when one exists, and collects the structural aliases. It never moves a directory or changes the loader id.

    • A parent is an organization label. It grants no scope, grant, approval, or review authority.
    • A portable name that does not match its folder is reported as name-leaf.
    • An alias must look like a slug, so free text cannot become an identity.
  3. 3. A manifest that maps what a skill touches

    A manifest lists the skill’s dependencies by kind and relationship, with evidence and verification. Paths resolve only inside the repository root or the skill folder. Anything that escapes is rejected.

    • Evidence carries a level, from declared to manually verified.
    • Lifecycle runs proposed, available, blocked, and retired, with unknown kept as its own state.
    • Unknown stays a value of its own in every list, so missing evidence never reads as passed.
What is fixed, and what adapts
Fixed

One metadata contract (0.1), bounded YAML with aliases switched off, twenty dependency kinds, and nineteen named relationships.

Adapts

A skill can add a namespaced id, a parent label, aliases, and a manifest. A host can keep its own loader, catalog, and policy around the parse.

What it refuses, and how you can tell
  • YAML anchors and aliases
  • Paths that resolve outside the repository or the skill folder
  • A parent label used as authority
  • Publishing to the public npm registry
  1. 1.Botscape reads every skill document with parseSkillFrontmatter and checks authored skills with the heading outline. Its loader and runtime policy stay in the Botscape repository.
  2. 2.The brix skill reads as name brix with alias a1b1-bot-subagent-layout and no diagnostics. That output is captured from the package itself and shown below.
  3. 3.A frontmatter block that uses a YAML anchor is refused with yaml-alias-limit, and its invocation reads as unreadable.
Engineer’s lab: Read five skill headers

Botscape's own BRIX skill, and four documents that show what the library accepts, flags, and refuses.

SKILL.md · botscape/skills/brix/SKILL.md, first lines

---
name: brix
aliases: a1b1-bot-subagent-layout
description: BRIX ([][b][r][i][x]) plans and coordinates stable lettered work packages such as A1 and B1. The slug is brix. A plan does not dispatch workers.
---

# BRIX

What the library read

ok
true
name
brix
aliases
a1b1-bot-subagent-layout, brix
allowed tools
none declared
invocation
readable true · disableModelInvocation false · multiModel false
loader id
brix
stable id
brix
parent
none

No diagnostics. A model may load it.

Each result above is the output of parseSkillFrontmatter and resolveSkillIdentity captured with Open Agent Skills 0.2.0. The brix result uses the whole Botscape BRIX skill, with its first lines shown here.

Used by
  • Botscape. Every skill document a seat loads, and skills that agents author

Claims read from open-agent-skills at 7e185c6.