You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add layer annotations for oras CLI compatibility #23
When pulling a skill artifact with oras pull, the CLI skips layers because they lack the org.opencontainers.image.title annotation on individual layer descriptors:
$ oras pull quay.io/docsclaw/skill-policy-comparator:1.0.0
✓ Skipped application/vnd.docsclaw.skill.card.v1+yaml
✓ Skipped application/vnd.agentskills.skill.content.v1.tar+gzip
Skipped pulling layers without file name in "org.opencontainers.image.title"
Users must fall back to oras copy --to-oci-layout which produces an OCI layout directory instead of extracting files directly.
Root cause
In internal/oci/pack.go, we set org.opencontainers.image.title on the manifest annotations but not on individual layer descriptors. The oras pull command looks for the title annotation on each layer to determine the output filename.
This enables a workflow where users can download skills using the standard oras CLI without needing docsclaw installed — useful for personal agents, CI/CD pipelines, and environments where installing docsclaw is not practical.
Scope
Modify Pack() in internal/oci/pack.go to add title annotations to layer descriptors
Only affects artifact mode (not --as-image which uses standard OCI image layer types)
No breaking changes to existing artifacts (annotations are additive)
Activity
feat(oci): add layer title annotations for oras CLI compatibility
feat(oci): add title annotation to config blob
feat(oci): root tarball at . for clean oras pull workflow
feat(oci): push individual file layers in artifact mode