npm / @metamask/skills
@metamask/skills
What changed in @metamask/skills 0.1 to 0.4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-25.
13 breaking46 new APIs and options8 behavior and defaults14 tooling15 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@metamask/skills 0.439 changes
Breaking changes 7
Visual-testing failures are now reported as one-line JSON on stdout with structured error fields and per-class exit codes.
Removes the mobile visual-testing launch flag.
Installed by default as a stable base skill for Mobile and Extension; runs for ambiguous, large, security-sensitive, performance-sensitive, or contract/API work. Opt out with the documented yarn command.
Installed by default as a stable base skill for Mobile and Extension; its trigger behavior changes on the next sync.
Updates guidance for client-mcp-core 0.13.x/0.14.0 and device-mcp 0.7.0/0.8.0; removes knowledge-store commands, knowledge reuse, and the --goal and --flow-tags launch flags. Failures use one-line JSON stdout and per-class exit codes.
Updates guidance for client-mcp-core 0.13.1 and 0.14.0, removes knowledge-store commands and mandatory knowledge reuse, replaces the webpack test-build script, and documents 0.14.0 commands.
The visual-testing guidance removes this script in favor of yarn build:test.
New APIs and options 19
Adds a repo-agnostic analytics base and a MetaMask Mobile overlay for the canonical tracking API; installs even when its domain is filtered out.
Adds a repo-agnostic base and a MetaMask Mobile overlay for version-gated remote flags; installs even when its domain is filtered out.
Documents this client-mcp-core 0.14.0 command for visual testing.
Documents the browser command for client-mcp-core 0.14.0 visual testing.
Adds a repo-agnostic base and a MetaMask Mobile overlay for Routes and NavigationService; installs even when its domain is filtered out.
Adds a skill for syncing a client with the backend notifications category manifest, with a MetaMask Mobile overlay.
Adds an observability domain with Sentry, Tempo, and telemetry cost-control skills.
Extends the performance domain with measurement, anti-pattern scanning, and React Compiler error-triage and coverage-antipattern skills.
Adds generated Perps review checklists composed from the Perps library and repository overlays.
Adds a machine-readable rule pack describing criterion-family areas, class, status, and rules; client-only families identify their client.
Adds mobile planning skills for planning, specification planning, and Jira briefs.
Adds a platform domain covering Extension runtime architecture and failure modes.
Adds a base skill for PR review.
Adds a skill suggesting follow-up actions after MetaMask Mobile CI classifies a Hermes CPU-profile regression.
Adds a recipe-library auditing skill using the release's shared mm-harness version and checklist conventions.
Adds a recipe performance skill using the release's shared mm-harness version and checklist conventions.
Adds a recipe-planning skill with checklist and proof-artifact conventions, pinned to one mm-harness version with an install-time version check.
Adds a MetaMask Mobile selector-patterns skill.
Adds a TypeScript domain with authoring and migration skills.
Behavior and default changes 3
Supports explicit-only skill invocation, preserves repository overlays, and prunes managed retired skill names during sync.
Installed by default as a stable base skill for Mobile and Extension; planning calls it only when a Jira ticket is already identified.
Provides the documented opt-out command for the newly default-installed planning skills.
Tooling 5
Documents this client-mcp-core 0.14.0 command for visual testing.
Adds component-view flake guidance, reusable Appium interaction-stability patterns, and a lint-enforced checklist requiring yarn eslint on new component-view tests.
Adds an MCP-free baseline for looking up MetaMask Design System components, with Mobile and Extension overlays that do not pin a component inventory or require Storybook MCP.
Replaces the removed yarn build:test:webpack script in visual-testing guidance.
Required on new component-view tests before finishing.
Fixes and other changes 5
Adds activity mapper guidance, including cross-client advice.
Now triggers on edits to existing strings as well as newly added strings.
Requires the marketing section to remain last on mobile in notifications-category-sync.
Adds a recipe-cooking skill with checklist and proof-artifact conventions; fixes preserve acceptance criteria, the installed acceptance-cli path, and the all-guard baseline exception.
The Mobile performance and animation guidance for Reanimated 4.x says to use scheduleOnRN from a worklet.
@metamask/skills 0.339 changes
Breaking changes 5
A
base: trueskill cannot also be experimental; the linter treats this as an error.All four implementations now use consistent truthiness for
base:values;base: onno longer passes lint while being skipped by the installer.A base skill description must be long enough to self-trigger; violations are errors.
Domain values are validated against existing domains instead of silently installing the base set and exiting successfully on a typo.
The frontmatter key
mandatorywas renamed tobase; update skills still using the old key.
New APIs and options 11
Adds skills for the assets domain.
Skills marked
base: truein frontmatter install on every automatic postinstall regardless of domain selection, providing a useful set with no configuration.Adds a MetaMask mobile content-guidelines skill.
Adds an analyzer flag for setting the context minimum percentage.
Adds a skill for adding EVM networks in the extension repository.
Adds a skill for using Flashlight to assess Android vitals.
Adds a skill for choosing mobile test-layer placement.
Adds a MetaMask Mobile visual-testing skill.
Adds opt-in pruning of stale project skills.
Setting
SKILLS_PRUNE_STALE=1opts in to stale project skill pruning.Adds an analyzer flag for restricting the audit to swaps.
Behavior and default changes 5
The Extension UI skill is now an MMDS gateway.
Mobile testing guidance now defaults to the component-view layer, and the Appium local-run playbook moved into this skill.
Automatic postinstall syncing is now the default; set
SKILLS_AUTO_UPDATE=0to opt out. An explicitly empty value still means off.The audit now covers the whole capture, classifies non-swaps frames by their relation to swaps call stacks, and reports named context areas alongside swaps rows.
Reports swaps-owned, swaps-path, and concurrent non-swaps areas in separate tables; adds inclusive time to the swaps table and caps non-swaps fix-table rows.
Tooling 8
Guidance adds flakiness and assertion patterns, requires awaiting async-gated content, and bans nested
findByinsidewaitFor.Adds a unified extension-testing skill.
Clarifies where integration tests belong.
Adds a mobile integration-testing skill.
Unifies the Mobile testing skills.
Adds context for a wider CPU audit.
Adds a skill that parses Hermes or React Native Release Profiler
.cpuprofilecaptures and audits slow frames in swaps and bridge.Updates the extension UI-development skill to include newly added design-system components.
Fixes and other changes 10
A failed automatic sync now warns instead of exiting 0 silently, allowing the caller's guard to react and preventing stale skills from appearing fresh; postinstall still never fails yarn install.
The sync installer selection works when npm or Yarn drops the executable bit, so a configured private overlay no longer prevents base skills from being installed.
Appends
-oBatchMode=yesto an existing value rather than replacing it, preserving custom SSH keys, agents, and ProxyCommand configuration.When no valid entries are selected, installs the base set instead of every domain.
Domain selections are validated against existing domains; a saved empty value from the old all-choice picker is no longer treated as no saved selection.
Readers now strip inline comments consistently so comments do not become part of domain names.
Preserves
METAMASK_SKILLS_DIRandCONSENSYS_SKILLS_DIRentries when rewriting.skills.local.Caps the delegated sync subprocess so it cannot hang yarn install indefinitely and reports
ETIMEDOUTexplicitly.Executes the
tools/installshipped beside the pinned package instead of preferring executable code from the unpinned cache clone.The command remains unchanged and still installs every domain.
@metamask/skills 0.28 changes
Breaking changes 1
Prefixes all perps skill names with perps-, changing the names developers use to identify those skills.
New APIs and options 7
Adds a skill for breaking down perps tickets.
Adds a component-scaffold skill for MetaMask Mobile.
Adds a controller-integration skill for mobile and extension development.
Adds EVM network integration skills for swaps.
Adds a flaky-test-detection skill.
Adds a multiproject validation skill for perps.
Adds a product-authoring skill for writing perps tickets.
@metamask/skills 0.110 changes
New APIs and options 9
Adds bundled package fallback for consumer repos.
Adds the describe CLI discovery command.
Adds the list CLI discovery command.
Adds the install command to the metamask-skills CLI.
Adds the postinstall command to the metamask-skills CLI.
Adds repo inference for consumer repos.
Adds repo-local skills cache support for consumer repos.
Adds the search CLI discovery command.
Adds handling for
SKILLS_AUTO_UPDATE=1in consumer repos.
Tooling 1
Adds the sync command to the metamask-skills CLI.