Add mirror-skills workflow: sync skills/ to agentmail-skills#6
Closed
SanjithSambath wants to merge 2 commits into
Closed
Add mirror-skills workflow: sync skills/ to agentmail-skills#6SanjithSambath wants to merge 2 commits into
SanjithSambath wants to merge 2 commits into
Conversation
Syncs skills/ to the agentmail-skills mirror root on every push to main that touches skills/, recreates the agentmail-sdk alias for pinned external lockfiles, and guards that all pinned skillPaths still resolve before pushing with the deploy key. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
Author
|
Closing — direction inverted. |
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.
Adds
.github/workflows/mirror.yml: on every merge to main touchingskills/**, rsyncs skill folders to the root of agentmail-skills, turning that repo into a read-only mirror.Design points:
skills-lock.jsonfiles pinagentmail-to/agentmail-skillswith root-levelskillPaths — the sync preserves all historical folder names, and a guard step fails the run before pushing if any pinned<skill>/SKILL.mdwould vanish.agentmail-sdkalias: that skill is consolidated intoagentmail(PR Release 0.4.0: consolidate agentmail-skills content, add education skills #5), but external lockfiles pinagentmail-sdk/SKILL.md, so each sync re-creates it as a copy ofagentmailwith the frontmatter name rewritten.agents/openai.yamldirs are stripped from the mirror (plugin-only metadata); README/LICENSE on the mirror are preserved.concurrencygroup serializes racing merges.MIRROR_DEPLOY_KEYsecret here (to be provisioned before first dispatch; theGITHUB_TOKENstayscontents: read).Merge order: after PR #5 (otherwise the first sync would delete the education skills from the mirror). Merging this PR fires no sync (path filter) — the first sync is a manual
workflow_dispatchafter the secret exists.🤖 Generated with Claude Code