Module Federation is a system for sharing code, resources, and dependencies between separate JavaScript applications, allowing a large application to be split into independently developed micro-frontends. It is used by web developers building applications from multiple cooperating front-end modules, with runtime loading, manifests, type hints, and plugins supporting that architecture.
Borrowing it
Nothing to install: this file belongs to module-federation/core. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/module-federation/core/main/.codex/skills/local-ci/SKILL.mdgit clone --depth 1 https://github.com/module-federation/coreWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/module-federation/core/local-ci)<a href="https://agentmods.dev/skills/module-federation/core/local-ci"><img src="https://agentmods.dev/badge/skills/module-federation/core/local-ci/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/module-federation/core/local-ci"><img src="https://agentmods.dev/badge/skills/module-federation/core/local-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.00857 |
| Opus 5.5 | $0.00027 | $0.00343 |
| Sonnet 5.5 | $0.00014 | $0.00171 |
| Haiku 4.5 | $0.00007 | $0.00086 |
Grade A, and why
local-ci scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Local CI
Use the local CI runner and Turbo/package scripts as the source of truth for validation in this repo.
Quick Start
- Start with the smallest deterministic check that matches the change.
- Prefer
pnpm run ci:local --only=<job>for CI-parity validation. - Prefer direct Turbo or package scripts only when they are the smaller equivalent of the CI job.
- Report exactly which command ran, what failed first, and which expected checks were skipped.
Workflow
1. Inspect available local CI jobs
Run:
pnpm run ci:local --list
Use this when the right job is unclear or when the repo may have added or renamed jobs.
For the current job map, read references/jobs.md.
2. Pick the smallest matching job
Use these defaults:
- Package code in
packages/*: start withbuild-and-testonly if the change is broad; otherwise prefer package build/test commands. - Metro packages or Metro workflow changes: use
build-metro, then Metro E2E jobs only if relevant. - E2E app changes: run the matching
e2e-*job instead ofbuild-and-test. - Devtools workflow or Playwright/devtools changes: run
devtools. - Bundle-size workflow/reporting changes: run
bundle-size. - GitHub workflow syntax only: use
actionlintlocally only to see skip behavior; the actual action is CI-only. - Broad CI, packaging, publint, Turbo, or shared runtime changes: run
build-and-test.
3. Run commands in CI order
When reproducing CI, use the same command shape as the repo:
pnpm run ci:local --only=build-and-test
pnpm run ci:local --only=devtools
pnpm run ci:local --only=e2e-runtime
To run more than one job:
pnpm run ci:local --only=build-and-test,bundle-size
4. Interpret failures correctly
- Treat the first failing step as the actionable failure.
- Ignore known noisy warnings unless they exit non-zero.
- Distinguish repo-wide drift from changed-file gates.
- If
ci:localfails inCheck code format, inspect the changed-file formatter result before running broader builds. - If a dependency build outside the touched scope fails, note it separately as an unrelated blocker.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 104 lines · 68 tokens per session scan A bbf5334f437e
local-ci is a skill published in the GitHub repository module-federation/core (2,677 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 857 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
local-ci compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| local-cimodule-federation/core | Skill | 2.7k | today | MIT | A | 68 | Codex |
| audit-accessibilityNVIDIA/elements | Skill | 113 | today | Apache-2.0 | A | 98 | Claude Code |
| tuturuuu-cli-resourcestutur3u/platform | Skill | 54 | today | Apache-2.0 | A | 26 | Codex |
| next-application-structuresoulcodex/agentic | Skill | 10 | 7d ago | MIT | A | 64 | Claude Code, Codex |
| fullstack-engineerbuiphucminhtam/forgewright | Skill | 49 | 5d ago | none | A | 62 | Claude Code |
| next-cache-components-optimizervercel/next.js | Skill | 143k | today | MIT | A | 123 | Claude Code |
| next-partial-prefetching-optimizervercel/next.js | Skill | 143k | today | MIT | A | 82 | Claude Code |