core: Skill for Codex

.codex/skills/local-ci/SKILL.md

local-ci is a skill for Codex from module-federation/core. It costs 68 tokens per session (857 once invoked), scanned A, original, MIT.

A local CI runner and command guide for checking changes with jobs shaped like the repository’s GitHub Actions checks.

In plain words
What is it for?
Use it to validate package code, Metro, end-to-end tests, developer tools, bundle sizes, and build-and-test changes.
Why use it?
It helps developers choose the smallest relevant validation job and clearly report failures and skipped checks before pushing changes.

Skill for Codex

Written for Codex: agents/openai.yaml present.

This is module-federation/core's own configuration. It tells Codex how to work on core itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything core configures →

About the project

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.

module-federation/core · 2,677 stars · on GitHub · module-federation.io

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/module-federation/core/main/.codex/skills/local-ci/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/module-federation/core

Made for: Codex.

Wrote 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.

agentmods badge for local-ci

README.md
[![agentmods](https://agentmods.dev/badge/skills/module-federation/core/local-ci/github.svg)](https://agentmods.dev/skills/module-federation/core/local-ci)
Your own site
<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.

agentmods 80×15 button for local-ci

Your own site · 80×15
<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>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 857 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash bbf5334f437e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.codex/skills/local-ci/SKILL.md · 104 lines

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

  1. Start with the smallest deterministic check that matches the change.
  2. Prefer pnpm run ci:local --only=<job> for CI-parity validation.
  3. Prefer direct Turbo or package scripts only when they are the smaller equivalent of the CI job.
  4. 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 with build-and-test only 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 of build-and-test.
  • Devtools workflow or Playwright/devtools changes: run devtools.
  • Bundle-size workflow/reporting changes: run bundle-size.
  • GitHub workflow syntax only: use actionlint locally 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:local fails in Check 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.

Read the full file on GitHub · 104 lines

Files

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.

Changes

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.

  1. 2mo ago First seen · 104 lines · 68 tokens per session scan A bbf5334f437e

Subscribe to this mod's changes

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.

Related

local-ci compared with skills from other repositories

local-ci next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
local-cimodule-federation/coreSkill2.7ktodayMITA68Codex
audit-accessibilityNVIDIA/elementsSkill113todayApache-2.0A98Claude Code
tuturuuu-cli-resourcestutur3u/platformSkill54todayApache-2.0A26Codex
next-application-structuresoulcodex/agenticSkill107d agoMITA64Claude Code, Codex
fullstack-engineerbuiphucminhtam/forgewrightSkill495d agononeA62Claude Code
next-cache-components-optimizervercel/next.jsSkill143ktodayMITA123Claude Code
next-partial-prefetching-optimizervercel/next.jsSkill143ktodayMITA82Claude Code