Vendor skills as flat skills/ children for marketplace install - #6
Draft
heyglassy wants to merge 9 commits into
Draft
Vendor skills as flat skills/ children for marketplace install#6heyglassy wants to merge 9 commits into
heyglassy wants to merge 9 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Today
codex plugin marketplace add planetscale/codex-plugininstalls zero skills. Both Codex install pathsgit clonewithout--recurse-submodules(and the bundle-tar path rejects links, so symlinks don't help either), soskills/anddatabase-skills/arrive empty. It only works for us because we clone recursively. So: submodules out, skills vendored in — generated byscripts/sync-skills.py, with upstream commits recorded in.codex-plugin/skill-sources.json. The weekly workflow re-runs the sync and opens a PR.All 21 skills are direct children of
skills/, two of them index skills that route to the rest:Flat on purpose:
.codex-plugin/plugin.jsondiscovers skills recursively, but Agent Plugins v1 manifests walkskills/atmax_depth: 2and OpenAI's validator only inspects direct children — a nested tree would load only the two indexes under the newer format. Index prose lives inskill-index/<ns>/SKILL.md; the sync regenerates the routing table between<!-- BEGIN GENERATED INDEX -->markers from each child'sdescription, so it can't drift.Non-obvious bits of the sync:
plugin:skill, so the upstreamplanetscale-prefix is stripped (planetscale:safe-orchestrator), while engine skills take adatabase-prefix somysql/postgresaren't global names.../01-readonly-inventory/SKILL.md; the rename broke all 32. Remapped via an upstream-dir → vendored-name table, thenvalidate_references()fails the sync on any dangling link (31 refs, 0 dangling).Also fixes what the validator was rejecting:
"skills"pointed at./database-skills/skills/(outside the accepted root, so the database skills shipped where Codex can't import them),shortDescriptionwas over the 30-char limit,skills/script/had noSKILL.md, and the requiredlogo/logoDark/composerIconassets were missing.validate_plugin.pynow passes; sync is idempotent.Draft until the two blockers outside this repo clear:
mcp.pscale.dev/.well-known/openai-apps-challenge404s (domain verification), and the toolreadOnlyHint/openWorldHint/destructiveHintannotations are unverifiable behind OAuth.Link to Devin session: https://app.devin.ai/sessions/03b6759590044baea63ffb497eecad20
Open in Devin Desktop: https://app.devin.ai/desktop/session/03b6759590044baea63ffb497eecad20?variant=devin
Requested by: @heyglassy