Agent skill

Sokra Mode

by module-federation in module-federation/core

Apply sokra's webpack design discipline to module-federation/core plugin architecture, runtime, caching, and reviews when asked for sokra mode or to review or build something like sokra would.

MITAuto-check passedBackend & APIs

Install Sokra Mode

skills CLI
$ npx skills add module-federation/core --skill sokra-mode -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install module-federation/core sokra-mode --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/module-federation/core.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/sokra-mode .claude/skills/sokra-mode && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sokra-mode
GitHub stars
2.7k
Token cost
~233 tokens
SKILL.md length
86 words
Files
2
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Apply sokra's webpack design discipline to module-federation/core plugin architecture, runtime, caching, and reviews when asked for sokra mode or to review or build something like sokra would.

  • Tasks that involve Caching
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Sokra Mode is an agent skill from module-federation/core. Apply sokra's webpack design discipline to module-federation/core plugin architecture, runtime, caching, and reviews when asked for sokra mode or to review or build something like sokra would.

Its SKILL.md is about 230 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Backend & APIs, covering Caching. It works with webpack. The repository describes itself as: Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications. The licence is MIT.

When your agent uses it

  • Tasks that involve Caching

Example prompts

  • “/sokra-mode”

What it can do on your machine

Read from SKILL.md and the folder at commit 9135b23. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sokra Mode loads about 233 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 86 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~51
When it runs · the whole SKILL.md, loaded when a task matches
~233

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from module-federation/core at commit 9135b23, republished under its MIT licence (© module-federation). 86 words, ~233 tokens.

Download SKILL.mdSave it as .claude/skills/sokra-mode/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
sokra-mode
description
Apply sokra's webpack design discipline to module-federation/core plugin architecture, runtime, caching, and reviews when asked for sokra mode or to review or build something like sokra would.

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.

© module-federation, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/sokra-mode of module-federation/core.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 9135b23

Compare with similar skills

Sokra Mode next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sokra Mode compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sokra Mode this skillmodule-federation/core2.7k—~233Automated safety check: PassMIT
Nextjs Turbopackkurealnum/dotfiles2905 repos~540Automated safety check: PassNone
Build Perf Baselinedotnet/skills5.6k1 repos~3.6kAutomated safety check: PassMIT
Stripe Projectsfossasia/eventyay1.7k5 repos~2kAutomated safety check: NotesApache-2.0
FoundatioFoundatioFx/Foundatio2.1k—~3.9kAutomated safety check: PassApache-2.0
Wp Block Themesgambitph/Stackable3513 repos~985Automated safety check: PassGPL-3.0

Similar skills

  • Nextjs Turbopack

    kurealnum/dotfiles

    Next.js 16+ and Turbopack — incremental bundling, FS caching, dev speed, and when to use Turbopack vs webpack.

    290 GitHub starsUsed in 5 repos~540 tokens
    Backend & APIsAuto-check passed
  • Build Perf Baseline

    dotnet/skills

    Official

    Establish MSBuild/.NET build performance baselines before optimizing.

    5.6k GitHub starsUsed in 1 repo~3.6k tokens
    Backend & APIsAuto-check passed
  • Stripe Projects

    fossasia/eventyay

    A skill your agent uses when the user wants to provision infrastructure or third-party services using Stripe Projects.

    1.7k GitHub starsUsed in 5 repos~2k tokens
    Backend & APIsAuto-check: notes
  • Foundatio

    FoundatioFx/Foundatio

    A skill your agent uses when working with Foundatio infrastructure abstractions for .NET -- caching, queuing, messaging, file storage, distributed locking, or background jobs.

    2.1k GitHub stars~3.9k tokensUpdated today
    Backend & APIsAuto-check passed
  • Wp Block Themes

    gambitph/Stackable

    A skill your agent uses when developing WordPress block themes: theme.json (global settings/styles), templates and template parts, patterns, style variations, and Site Editor troubleshooting (style…

    351 GitHub starsUsed in 3 repos~985 tokens
    Backend & APIsAuto-check passed
  • Wp Performance

    gambitph/Stackable

    A skill your agent uses when investigating or improving WordPress performance (backend-only agent): profiling and measurement (WP-CLI profile/doctor, Server-Timing, Query Monitor via REST headers)…

    351 GitHub starsUsed in 3 repos~1.5k tokens
    Backend & APIsAuto-check passed

More from module-federation/core

  • Changeset PR

    module-federation/core

    Create or update a .changeset/.md file for the current branch or PR in this repository, choose the correct package scope and release type, and verify the result against repo-specific Changesets…

    2.7k GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Gh PR Metadata

    module-federation/core

    Update the current GitHub PR title and body for this repository so they match the repo's pull request template and conventional-commit title style.

    2.7k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Local CI

    module-federation/core

    Run this repository's local CI parity commands and pnpm run ci:local jobs.

    2.7k GitHub stars~914 tokensUpdated today
    Auto-check passed
  • Sokra Mode

    module-federation/core

    Design, build, and maintain module-federation/core the way sokra (Tobias Koppers) built webpack 5: plugin architecture, container/sharing, runtime, caching, and reviews.

    2.7k GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Sokra Mode

What does Sokra Mode do?

Apply sokra's webpack design discipline to module-federation/core plugin architecture, runtime, caching, and reviews when asked for sokra mode or to review or build something like sokra would. Sokra Mode is an agent skill from module-federation/core. Apply sokra's webpack design discipline to module-federation/core plugin architecture, runtime, caching, and reviews when asked for sokra mode or to review or build something like sokra would.

When should I use Sokra Mode?

Sokra Mode fits situations like: tasks that involve Caching.

How do I install Sokra Mode in Claude Code?

Run `npx skills add module-federation/core --skill sokra-mode -a claude-code`. Or copy the skill folder (.agents/skills/sokra-mode in module-federation/core) into .claude/skills/sokra-mode in your project. Claude Code loads it when a task matches its description.

How do I install Sokra Mode in Codex?

Run `npx skills add module-federation/core --skill sokra-mode -a codex`. Or copy the skill folder (.agents/skills/sokra-mode in module-federation/core) into .agents/skills/sokra-mode in your project. Codex loads it when a task matches its description.

Can I use Sokra Mode in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add module-federation/core --skill sokra-mode -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sokra-mode, .gemini/skills/sokra-mode, .github/skills/sokra-mode and .opencode/skills/sokra-mode in your project.

What does Sokra Mode need to run?

SKILL.md names no scripts, command-line tools or credentials: Sokra Mode is instructions for the agent only.

Does Sokra Mode access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sokra Mode safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sokra Mode use?

Sokra Mode is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sokra Mode use?

About 233 tokens (SKILL.md is roughly 932 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sokra Mode?

Skills that share tags, products or a category with Sokra Mode: Nextjs Turbopack (kurealnum/dotfiles, 290 stars), Build Perf Baseline (dotnet/skills, 5.6k stars), Stripe Projects (fossasia/eventyay, 1.7k stars) and Foundatio (FoundatioFx/Foundatio, 2.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sokra Mode?

module-federation (a GitHub organization) maintains it in module-federation/core, which has 2,656 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 9, 2026.

Source: module-federation/core on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.