Skip to content

ci: publish skill to ClawHub under @metamask - #54

Open
yashovardhan wants to merge 1 commit into
mainfrom
ci/clawhub-publish
Open

yashovardhan wants to merge 1 commit into
mainfrom
ci/clawhub-publish

Conversation

@yashovardhan

Copy link
Copy Markdown
Member

Summary

  • Adds .github/workflows/publish-clawhub.yml. On push to main that touches skills/metamask-agent-wallet/** or CHANGELOG.md (or manual dispatch), it:
    • reads metadata.version from SKILL.md
    • skips if that version already exists on ClawHub
    • otherwise publishes it under the @metamask publisher, with the matching CHANGELOG.md entry as release notes and source-repo/commit/path provenance
  • README: new ClawHub (OpenClaw) install section, and a step 4 under Release coupling describing the auto-publish.

7.7.0 is already live at https://clawhub.ai/metamask/metamask-agent-wallet (published manually), so the first run after merge will skip.

Setup required before merge

Add a CLAWHUB_TOKEN repository secret: an API token for an account that is a member of the @metamask ClawHub publisher. Without it the workflow fails at the login step.

Test plan

  • Version and changelog extraction tested locally against SKILL.md / CHANGELOG.md (7.7.0)
  • clawhub inspect --version exits 0 for an existing version and 1 for a missing one (used for the skip check)
  • After merge + secret: run via workflow_dispatch and confirm it logs "already on ClawHub; skipping"

🤖 Generated with Claude Code

Add a workflow that publishes skills/metamask-agent-wallet to ClawHub on
merge to main when metadata.version is new, using the matching
CHANGELOG.md entry as release notes. Document ClawHub install in README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@yashovardhan
yashovardhan requested a review from a team as a code owner September 30, 2026 13:13
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v6

- name: Setup Node
uses: actions/setup-node@v6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants