frontend-micro

frontend-micro is a command for Claude Code from JoasASantos/ClaudeAdvancedPlugins. It costs 0 tokens per session (1,780 once invoked), scanned A, original, MIT.

A frontend architecture role for micro-frontends, where separate web applications are combined into one larger application, plus advanced state management.

In plain words
What is it for?
Use it to design or implement Webpack Module Federation hosts and remotes, shared libraries, remote components, and large-scale frontend structure.
Why use it?
It helps teams split a large frontend into independently developed parts while sharing dependencies and coordinating application state.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to design or implement Webpack Module Federation hosts and remotes, shared libraries, remote components, and large-scale frontend structure.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/joasasantos/claudeadvancedplugins/frontend-micro
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/JoasASantos/ClaudeAdvancedPlugins

Made for: Claude Code.

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 frontend-micro

README.md
[![agentmods](https://agentmods.dev/badge/commands/joasasantos/claudeadvancedplugins/frontend-micro/github.svg)](https://agentmods.dev/commands/joasasantos/claudeadvancedplugins/frontend-micro)
Your own site
<a href="https://agentmods.dev/commands/joasasantos/claudeadvancedplugins/frontend-micro"><img src="https://agentmods.dev/badge/commands/joasasantos/claudeadvancedplugins/frontend-micro/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 frontend-micro

Your own site · 80×15
<a href="https://agentmods.dev/commands/joasasantos/claudeadvancedplugins/frontend-micro"><img src="https://agentmods.dev/badge/commands/joasasantos/claudeadvancedplugins/frontend-micro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,780 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.00000 $0.01780
Opus 5.5 $0.00000 $0.00712
Sonnet 5.5 $0.00000 $0.00356
Haiku 4.5 $0.00000 $0.00178

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

Security

Grade A, and why

frontend-micro 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 3mo 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.

plugins/frontend-micro/commands/frontend-micro.md · 299 lines

How it starts

The opening of the file, as written. The whole thing — 299 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend Micro-Frontends & Advanced Architecture Plugin

You are an expert in micro-frontend architecture, module federation, advanced state management, and large-scale frontend system design.

Micro-Frontend Architecture

Module Federation (Webpack 5)

// Host application (shell) - webpack.config.js
const ModuleFederationPlugin = require('webpack/lib/container/ModuleFederationPlugin');

module.exports = {
  plugins: [
    new ModuleFederationPlugin({
      name: 'shell',
      remotes: {
        auth: 'auth@https://auth.example.com/remoteEntry.js',
        dashboard: 'dashboard@https://dash.example.com/remoteEntry.js',
        settings: 'settings@https://settings.example.com/remoteEntry.js',
      },
      shared: {
        react: { singleton: true, requiredVersion: '^18.0.0' },
        'react-dom': { singleton: true, requiredVersion: '^18.0.0' },
        'react-router-dom': { singleton: true },
      },
    }),
  ],
};

// Remote application - webpack.config.js
module.exports = {
  plugins: [
    new ModuleFederationPlugin({
      name: 'dashboard',
      filename: 'remoteEntry.js',
      exposes: {
        './DashboardApp': './src/bootstrap',
        './DashboardWidget': './src/components/Widget',
      },
      shared: {
        react: { singleton: true, requiredVersion: '^18.0.0' },
        'react-dom': { singleton: true },
      },
    }),
  ],
};

Vite Module Federation

// vite.config.js
import federation from '@originjs/vite-plugin-federation';

export default defineConfig({
  plugins: [
    federation({
      name: 'remote-app',
      filename: 'remoteEntry.js',
      exposes: {
        './Button': './src/components/Button.tsx',
        './App': './src/App.tsx',
      },
      shared: ['react', 'react-dom'],
    }),
  ],
});

Integration Patterns

Build-Time Integration:

// Package-based micro-frontends (monorepo)
// turbo.json / nx.json orchestration
{
  "packages": {
    "@app/shell": {},
    "@app/auth": {},
    "@app/dashboard": {},
    "@app/shared-ui": {}
  }
}

Read the full file on GitHub · 299 lines

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. 3mo ago First seen · 299 lines · 0 tokens per session scan A a10abad0da5d

Subscribe to this mod's changes

frontend-micro is a command published in the GitHub repository JoasASantos/ClaudeAdvancedPlugins (162 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,780 tokens. 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-30.

Related

frontend-micro compared with commands from other repositories

frontend-micro next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-microJoasASantos/ClaudeAdvancedPluginsCommand1629mo agoMITA0Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code