Add Agent Zero-native skill adapter format #14
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/skills#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The repository already supports the Agent Zero deployment path (
usr/skills/<skill-id>/) throughlib.adapters.agent-zeroandlib.mkAgentZeroHomeManagerModule.That is not yet an Agent Zero-native format adapter. Current Agent Zero documentation uses the shared
SKILL.mdbase but also supports discovery metadata such astagsand trigger fields, and provides its own validator/CLI. Agent Zero matches skills using name/description/tags.Keep the canonical skill source platform-neutral. Do not hand-maintain a second Agent Zero copy.
Parent: #11
Backlog: #13
Required design
Define a generated Agent Zero view derived from each canonical
skills/<skill-id>/package.Canonical source remains:
Agent Zero view installs under:
The adapter may add Agent Zero-specific discovery metadata, but must not fork the instruction body.
Metadata policy
Preserve the repository's canonical selection convention:
description: 2–8 comma-separated keywords;SKILL.mdbody.For Agent Zero, derive richer discovery fields from explicit adapter metadata rather than making the canonical description verbose. Candidate adapter fields:
tagstriggers/ current upstream trigger field spellingDo not invent trigger phrases from the body at install time. Adapter metadata must be deterministic and reviewable.
Research/validation gate
Before implementation:
agent0ai/agent-zero;SKILL.mdor an Agent Zero-side metadata companion supported by upstream;Flake/API shape
Expose Agent Zero as a first-class format, not merely a target root. The design should make it possible to obtain:
Exact attribute names should follow the existing flake naming style rather than creating a parallel API hierarchy.
Acceptance
formatfromdeployment pathso this ambiguity does not return wearing a fake mustache.Upstream verification — 2026-08-22
Checked current
agent0ai/agent-zeroruntime rather than relying only on prose docs.Confirmed:
skills/and userusr/skills/;triggers,trigger_patterns,trigger, oractivationas trigger aliases;tags/tag;allowed-tools,allowed_tools, ortools;version,author,license,compatibility, andmetadataare also parsed;Design implication: use canonical generic SKILL.md as the source body, keep terse canonical descriptions, and generate an Agent Zero view that adds deterministic
tags+triggers. Prefer canonical spellingtriggers; runtime compatibility withtrigger_patternsexists but does not need to become our emitted spelling.Still verify the generic
skills-refvalidator's behavior for extra top-level Agent Zero keys before choosing whether generated A0 metadata can live directly in an otherwise generic file or must exist only in the transformed Agent Zero view.