Repository navigation
Conversation
releases A personal kit that extends an official AgentKit kit pins every foundation skill as an @agentkit/<x> release, and SkillX refuses the revision with kit.base_unavailable until each one is served. Only two such releases exist today, so personal kits over engineer cannot be published. The dispatch-only workflow builds ak at a given AgentKit commit, plans the kit from `ak skills kit inspect --json`, and publishes each skill with --kit-origin remote-signed. Skills of a tier: free kit are public; skills of paid kits are private so proprietary content never becomes public. Every pack must reproduce the digest AgentKit pins before upload; a release already served at that digest is skipped and a different one fails the entry. A dry-run mode stops after the digest check. Refs bestagentkits/agentkit#3043 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FL32ryrxYhDccy3nBi2JxS
This branch has not been deployed
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.
Why
A personal kit that extends an official AgentKit kit (
ak skills kit init --extends engineer@0.2.0) pins every foundation skill as an@agentkit/<x>release. SkillX verifies each pin against a release it serves and refuses the revision withkit.base_unavailableotherwise. Live check today: 103 of the 105 engineer bases answer 404. Only@agentkit/bro@0.2.0and@agentkit/sumup@0.2.0exist, and their digests match the current tree. As a result, no personal kit over engineer can be published (bestagentkits/agentkit#3043).What
.github/workflows/publish-agentkit-kit-mirror.ymlruns only on dispatch frommain. Inputs:agentkit-sha,kit,channel(defaultbeta),onlyanddry-run.planjob (no credentials): buildsakat the commit, runsak skills kit init --extends <kit>@<version>andinspect --jsonin an isolated home, then builds the plan and uploads it as thekit-mirror-planartifact.publishjob (skillx-publishenvironment): handles each entry in turn:skillx packand requires the digest AgentKit pins before any upload (withdry-run, the job stops here);--kit-origin remote-signed, using OIDC first and falling back toSKILLX_AGENTKIT_KIT_PUBLISH_KEY, with a per-commit idempotency key;tier: freekit (kits/core) are published public. Skills of every other kit (paidengineer,marketing) are published private, so proprietary kit content never becomes public.scripts/agentkit-kit-mirror-plan.mjsis the validated planner: identity ↔ak-<x>mapping, owner kit, sha256 digest, existing directory, duplicates andonly. It is tested byscripts/agentkit-kit-mirror-plan.test.mjs.docs/deployment-guide.mdgains step 8 covering trusted publisher or key setup, dispatch, and the visibility rule.Verification
node --test scripts/agentkit-kit-mirror-plan.test.mjs: 4/4 pass.dev:onlynarrows the plan, and an unknown id exits 1.bash -npasses on every run step, and the YAML parses.pnpm install/ vitest, and a real dispatch. The dispatch needs the owner'sreleases:publish:@agentkitcredential.Follow-ups
dry-run: truefirst, then for real, forengineerandmarketing.Refs bestagentkits/agentkit#3043
Generated by Claude Code