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/.agents/skills/sokra-mode/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/sokra-mode)<a href="https://agentmods.dev/skills/module-federation/core/sokra-mode"><img src="https://agentmods.dev/badge/skills/module-federation/core/sokra-mode/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/sokra-mode"><img src="https://agentmods.dev/badge/skills/module-federation/core/sokra-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00043 | $0.00204 |
| Opus 5.5 | $0.00017 | $0.00082 |
| Sonnet 5.5 | $0.00009 | $0.00041 |
| Haiku 4.5 | $0.00004 | $0.00020 |
Grade A, and why
sokra-mode 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 1mo 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.
What it actually says
Sokra mode for Codex
Read and follow the repository's shared Sokra-mode guidance before working on the requested task. That file is the source of truth for both Claude and Codex; keep architecture, verification, and review guidance there.
Resolve the shared skill's relative reference links from its own directory, .claude/skills/sokra-mode/. Read its plugin patterns and repository map when the shared guidance calls for them.
Invoke this skill with $sokra-mode. Preserve the existing opt-in behavior through agents/openai.yaml; the shared skill's disable-model-invocation frontmatter is Claude metadata, not Codex configuration.
What ships with it
1 file 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.
- 1mo ago Changed · -71 lines · -30 tokens per session 5dfd2ceac019
- 1mo ago First seen · 87 lines · 73 tokens per session scan A 47ff217c232f
sokra-mode is a skill published in the GitHub repository module-federation/core (2,677 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 204 once invoked, about $0.0002 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-09-25.
sokra-mode compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sokra-modemodule-federation/core | Skill | 2.7k | today | MIT | A | 43 | Codex |
| magic-uimagicuidesign/magicui | Skill | 23k | yesterday | MIT | A | 56 | Claude Code, Codex |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 2d ago | MIT | A | 84 | Claude Code, Codex |
| port-sacred-terminal-ui-to-typescript-cliinternet-development/www-sacred | Skill | 1.6k | 2d ago | MIT | A | 0 | Claude Code, Codex |
| typescript-languageHoangNguyen0403/agent-skills-standard | Skill | 583 | today | MIT | A | 35 | Claude Code, Codex |
| typescript-toolingHoangNguyen0403/agent-skills-standard | Skill | 583 | today | MIT | A | 41 | Claude Code, Codex |
| typescript-best-practicesHoangNguyen0403/agent-skills-standard | Skill | 583 | today | MIT | A | 37 | Claude Code, Codex |