chore(skills): use shared skills package [DO-NOT-MERGE]#8965
chore(skills): use shared skills package [DO-NOT-MERGE]#8965abretonc7s wants to merge 11 commits into
Conversation
There was a problem hiding this comment.
Thanks for adding a focused skills workflow and tests around the cache/postinstall behavior. I am requesting changes because the new root postinstall entry currently breaks the repo’s normal install path: LavaMoat allow-scripts detects the root lifecycle script and exits until $root$ is configured, even though Yarn itself will not execute lifecycle scripts with enableScripts: false.
Please address the install failure by either adding the explicit root allow-scripts policy or moving this cache refresh into an explicitly invoked setup command instead of declaring a root lifecycle script. I verified scripts/skills-postinstall.test.ts passes with coverage disabled, and git diff --check origin/main...HEAD passes.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 9969f81. Configure here.

🚧 DO NOT MERGE YET — waiting on
@metamask/skillsnpm publicationThis PR intentionally depends on the shared
@metamask/skillspackage from MetaMask/skills#24.Merge order:
@metamask/skillsfrom feat(skills): add shared sync cli package skills#24.[DO-NOT-MERGE]and this banner before merging.Until the package exists on npm, dependency install / immutable install checks are expected to fail with package-not-found errors.
Summary
yarn skillsintegration for Core, mirroring Mobile/Extension behavior.@metamask/skillsCLI instead of keeping Core-local sync scripts.Related
Validation
Validated against a locally packed
@metamask/skillstarball from MetaMask/skills#24:node --check bin/metamask-skills.mjsnpm pack --pack-destination /tmpsync --target /Users/deeeed/dev/metamask/core-4 --dry-runpostinstall --target /Users/deeeed/dev/metamask/core-4 --dry-runwithSKILLS_AUTO_UPDATE=1METAMASK_SKILLS_TARGET_REPO=coreNote: CI dependency installation requires
@metamask/skillsto be published and this branch lockfile to be updated after MetaMask/skills#24 lands.How to use
Run manual sync:
To opt into best-effort regeneration during setup/install, add this to
.skills.localor your shell:Optional filters work through the shared installer:
Use
METAMASK_SKILLS_TARGET_REPOlocally for forks or unusual remotes that should use the canonicalcoreoverlays.Note
Low Risk
Developer-only install/sync tooling and gitignored generated files; no runtime controller or client behavior changes.
Overview
Adds MetaMask agent skills to Core via the shared
@metamask/skillsCLI, aligned with Mobile/Extension:yarn skillsrunsmetamask-skills sync, andpostinstalloptionally refreshes the skills cache when the binary is present.package.jsongains the dev dependency,skills/skills:postinstallscripts, and Lavamoat$root$allowlisting so install-time skills hooks can run..gitignorenow excludes local config (.skills.local), cache (.skills-cache/), and generated outputs under.claude/skills/,.agents/skills/, and.cursor/rules/(and stops tracking.sisyphus/as an exception)..skills.local.exampledocuments optional overrides (SKILLS_DOMAINS,SKILLS_AUTO_UPDATE, skill source paths). The README adds an Agent skills section with usage examples (--domain,--select,--reset).Reviewed by Cursor Bugbot for commit 147301e. Bugbot is set up for automated code reviews on this repo. Configure here.