Skip to content

Skill OS Authoring Reference

This is a concise field reference for v4.1 Skill OS metadata. The metadata is declarative and validation-only.

Skill Registry Fields

FieldRequiredNotes
idYesLowercase slug.
nameYesHuman-readable name.
versionYesSemver-like string.
descriptionYesPublic-facing summary.
categoryYesGroup such as business-operator or security-audit.
triggersNoOptional discovery hints.
required_contextNoSafe relative paths.
provided_outputsNoExpected draft/report outputs.
risk_levelYeslow, medium, high, or restricted.
permissionsYesKnown permission classes or mapped tool permissions.
recommended_modelsNoModel category hints only.
token_budgetNoSuggested budget, not enforced.
skill_fileYesSafe relative path to markdown skill.
checksNoSafe relative paths to check files.
examplesNoGeneric public examples.

Prompt Template Fields

FieldRequiredNotes
idYesLowercase slug.
nameYesHuman-readable name.
versionYesSemver-like string.
descriptionYesPublic-facing summary.
race_plus.roleYesWho the prompt acts as.
race_plus.actionYesWhat it should do.
race_plus.contextYesInputs and required files.
race_plus.expectationYesDesired result.
race_plus.constraintsYesSafety and scope limits.
race_plus.output_formatYesExpected shape.
race_plus.verificationYesChecks before use.
race_plus.next_actionYesManual next step.
variablesNoNamed placeholders.
compatible_agentsNoPortability hints.
examplesNoGeneric prompts.

Permission Classes

ClassMeaning
read-onlyInspect or report without state changes.
draft-onlyProduce text, plans, or drafts for review.
write-with-confirmationFuture write path requiring explicit confirmation.
restricted-adminFuture high-risk path such as publish, deploy, DNS, credentials, billing, or ad spend.

Guardrail Types

TypeIntended Use
pre_toolAdvisory check before a tool class or operation.
pre_writeAdvisory check before local write paths.
pre_external_writeAdvisory check before future external write paths.
post_changeValidation reminder after changes.
session_summaryCapture or review session summary expectations.

Guardrail Severity

SeverityIntended Use
lowInformational boundary.
mediumReview recommended.
highExplicit care and validation expected.
restrictedConfirmation metadata required.

Workflow skill_os Fields

FieldRequiredNotes
skillsNoExisting skill IDs.
promptsNoExisting prompt template IDs.
permissionsNoExisting tool permission IDs.
guardrailsNoExisting guardrail IDs.
required_contextNoSafe relative paths that must exist.

All skill_os fields are optional. Workflows without Skill OS metadata remain valid.

Work TypeSuggested Risk
Read-only inspectionlow
Draft-only docs or operator summarieslow
Source edits with testsmedium
Release preparation or security audithigh
Publish, deploy, DNS, credential, billing, or ad-spend pathrestricted

Safe Path Rules

  • Use relative paths.
  • Do not use drive letters or home-directory paths.
  • Do not use .. traversal.
  • Keep paths inside the workspace.
  • Reference files that exist when bundled.
  • Prefer repo paths such as .ai/prompts/example.md or docs/example.md.

Released under the MIT License.