mf-module-info
Fetch metadata and manifest info for a remote Module Federation module — publicPath, remoteEntry, type file URLs, and the module's remotes/exposes/shared from its mf-manifest.json. Two modes: (1) inside a consumer project, pass only the remote name and the entry URL is resolved from mfConfig.remotes; (2) outside a consumer project, pass the remote name plus its remoteEntry URL directly. To inspect the current project's own config, use mf-context instead.
How do I install this agent skill?
npx skills add https://github.com/module-federation/core --skill mf-module-infoIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides tools to inspect Module Federation metadata from remote entries or local configurations. It performs network requests to fetch manifest files but does not execute remote code, handle sensitive credentials, or perform unauthorized file operations. All external interactions are consistent with the documented purpose of the skill.
- Socketpass
No alerts
- Snykfail
Risk: HIGH · No issues
- Runlayerpass
2 files scanned · No issues
What does this agent skill do?
Step 1: Parse $ARGUMENTS:
- First token →
<module-name> - If a second token looks like a URL (starts with
http) →<remoteEntry-url>(standalone mode); remaining tokens →[project-root] - Otherwise →
[project-root](consumer mode)
Step 2 — consumer mode (no URL provided):
Call the mf-context Skill (passing [project-root]) to collect MFContext, then run:
node scripts/module-info.js --context '<MFContext-JSON>' --module '<module-name>'
Step 2 — standalone mode (URL provided): Run with an empty context and the explicit URL:
node scripts/module-info.js --context '{}' --module '<module-name>' --url '<remoteEntry-url>'
Step 3: Present the result from the script output:
| Field | Description |
|---|---|
publicPath | Base URL of the remote |
remoteEntry | Full URL to remoteEntry.js |
typesZip | URL to @mf-types.zip |
typesApi | URL to @mf-types.api (shown only if present) |
hasSsr | Whether SSR build artifacts were detected |
exposes | Modules this remote exposes |
remotes | Remotes this module depends on |
shared | Shared dependencies declared by this module |
If result.error is set, surface it directly and stop.
Step 4 (conditional): If the user explicitly asks to see the type declarations (e.g. "show me the types", "what types does it export"), fetch result.typesZip or result.typesApi and display the relevant type definitions.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/module-federation/core/mf-module-info">View mf-module-info on skillZs</a>