core: Skill for Codex

.agents/skills/sokra-mode/SKILL.md

sokra-mode is a skill for Codex from module-federation/core. It costs 43 tokens per session (204 once invoked), scanned A, original, MIT.

A set of design rules for building and reviewing webpack-style module federation code. Module federation lets separate JavaScript applications share modules and load parts of one another at runtime.

In plain words
What is it for?
Use it when adding or reviewing module-federation plugins, dependencies, modules, runtime modules, or runtime hooks in the repository.
Why use it?
It gives contributors a consistent structure for plugins, modules, runtime code, sharing, and caching instead of relying on personal design choices. It also points them to repository-specific patterns and evidence without pretending to be the original author.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents); mentions Codex.

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/.agents/skills/sokra-mode/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 sokra-mode

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

agentmods 80×15 button for sokra-mode

Your own site · 80×15
<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>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 204 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.
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.00043 $0.00204
Opus 5.5 $0.00017 $0.00082
Sonnet 5.5 $0.00009 $0.00041
Haiku 4.5 $0.00004 $0.00020

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

Security

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.

.agents/skills/sokra-mode/SKILL.md · 16 lines

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.

Files

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.

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. 1mo ago Changed · -71 lines · -30 tokens per session 5dfd2ceac019
  2. 1mo ago First seen · 87 lines · 73 tokens per session scan A 47ff217c232f

Subscribe to this mod's changes

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.

Related

sokra-mode compared with skills from other repositories

sokra-mode next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sokra-modemodule-federation/coreSkill2.7ktodayMITA43Codex
magic-uimagicuidesign/magicuiSkill23kyesterdayMITA56Claude Code, Codex
fast-typescript-checkinternet-development/www-sacredSkill1.6k2d agoMITA84Claude Code, Codex
port-sacred-terminal-ui-to-typescript-cliinternet-development/www-sacredSkill1.6k2d agoMITA0Claude Code, Codex
typescript-languageHoangNguyen0403/agent-skills-standardSkill583todayMITA35Claude Code, Codex
typescript-toolingHoangNguyen0403/agent-skills-standardSkill583todayMITA41Claude Code, Codex
typescript-best-practicesHoangNguyen0403/agent-skills-standardSkill583todayMITA37Claude Code, Codex