Tool Permissions
v4.1 Sprint A adds a declarative tool permission model for future Skill OS workflows.
This is a schema and example layer only. Sprint A does not enforce permissions, block tools, or execute automation.
Files
.ai/registries/tool-permissions.yaml
.ai/schema/tool-permission.schema.jsonPermission Classes
| Class | Intended Use |
|---|---|
read-only | Inspect, search, list, validate, and report without changing state. |
draft-only | Create proposed text, plans, patches, or release notes without applying external changes. |
write-with-confirmation | Perform local or reversible writes only after explicit confirmation and validation. |
restricted-admin | Publish, deploy, DNS, billing, ad spend, production credentials, tag movement, or public release publication. |
Example Tool IDs
The Sprint A registry includes generic examples:
filesystem-readfilesystem-writegit-commitgit-pushnpm-publishgithub-releasegithub-release-publishdns-changead-spend-changesecret-rotationoperator-draft
Restricted Examples
The following are modeled as restricted-admin:
- npm publish
- GitHub release publication
- DNS changes
- Ad spend changes
- Secret rotation
Sprint C Status
Permission classes remain declarative, and Sprint C adds read-only CLI inspection:
- No permission enforcement.
- No command blocking.
- No external tool automation.
- No runtime behavior change.
- Validation checks known classes, confirmation requirements, and dangerous operations that cannot be marked read-only.
multimodel-dev-os skill-os list permissionsprints known permission IDs.multimodel-dev-os skill-os show permission <id>prints class and guardrail metadata.
Future sprints should add read-only inspection, then carefully scoped guardrail integration.
Sprint D - Guardrails Integration
Sprint D introduces declarative guardrails (.ai/registries/guardrails.yaml) that map to specific tool permissions and operations.
- Pre-Tool Safety: Destructive operations like
git-reset-hardorforce-pushare subject to advisory pre-tool guardrails. - Confirmation Rules: Guardrails with
restrictedseverity,pre_external_writetype, or those applying to therestricted-adminclass require confirmation flags. - Validation: All guardrails are validated against the schema and check files to ensure proper safety mapping before any future runtime support is designed.
Safety Direction
Restricted-admin operations should require explicit current-turn maintainer approval. They should never be inferred from nearby planning, release-prep, or validation tasks.
Business Operator Drafts
Sprint F adds operator-draft as a draft-only permission example for business operator templates.
operator-draft allows review-only summaries, briefs, recaps, and SOP drafts from provided input. It blocks sending messages, updating external systems, publishing content, and spending money.
This permission remains declarative. Sprint F does not enforce permissions at runtime.
For classification guidance, see Skill OS Migration Guide and Skill OS Authoring Reference.
