Portable Claude Code skills from M2AI: model routing, prompt engineering, agent auditing, strategy stress-testing, and workflow tooling.
Run an After-Action Review on an agent dispatch run, build execution, or multi-step orchestrated operation. Gathers forensics across the orchestrator DB, A2A endpoints, pm2 logs, git history, and queue files; classifies failure modes; captures benchmarks; produces a structured AAR. Use when the user says "aar", "after action review", "let's review what happened", "review this run", or after any dispatch that produced mixed results worth learning from.
Interview the user about their agent usage patterns and risk tolerance, then generate a tiered action-class policy document. Each tier gets classification criteria, required approvals, rollback procedures, and monitoring expectations. Use when someone says "/action-class-policy", "define action classes", "agent permissions policy", "what actions can my agent take unsupervised", or wants a governance framework for agent autonomy.
Structured post-mortem for the failure mode where an agent executed the correct mechanical action but produced the wrong outcome — the action succeeded, the goal failed. Walks through what semantic context was missing, where to add it, and how to prevent recurrence. Use when an agent did exactly what it was told but the result was wrong, or the user says "/action-outcome-postmortem", "right action wrong result", "agent succeeded but outcome was bad", "mechanical success semantic failure".
Set up and run a two-AI coding workflow where a primary assistant handles planning and code generation while an adversarial auditor stress-tests the plan, catches edge cases, and reviews output before shipping. Use when the user wants complementary AI tool pairing, a structured code review gate, an adversarial planning loop, or a background audit running in parallel with active development.
Evaluate an agent codebase against 12 infrastructure primitives (permission model, token budget, crash recovery, tool assembly, streaming events, state machine, provenance, stop reasons, boot sequence, verification harness, memory decay, health checks) and return a severity-ranked gap analysis with prioritized upgrade path. Use when auditing agent architecture, reviewing agent readiness, or planning what infrastructure to build next.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
178 portable Claude Code skills for building, governing, and operating AI agents — architecture, safety, model strategy, cost control, code pipelines, and business analysis. One install, organized into 13 working divisions.
In Claude Code:
/plugin marketplace add m2ai-portfolio/m2ai-skills-pack
/plugin install m2ai-skills-pack@m2ai-skills-pack
Restart Claude Code. Skills auto-trigger on their descriptions, or invoke explicitly (e.g. /model-router, /diagnose, /aar).
| Division | Skills | Focus |
|---|---|---|
| 🏗️ Agent Architecture & Design | 18 | Design, scaffold, and structure single- and multi-agent systems. |
| 🛡️ Safety, Governance & Control | 17 | Guardrails, permissions, kill switches, and judgment gates before an agent acts. |
| 🩺 Operations, Reliability & Observability | 16 | Health checks, diagnostics, post-mortems, and run observability. |
| 🔀 Model & Inference Strategy | 12 | Routing, migration, cross-model review, and provider monitoring. |
| 💰 Cost & Token Economics | 6 | Token spend, boot tax, and inference-cost exposure. |
| 🔓 Portability & Vendor Independence | 10 | Lock-in scoring, licensing, and exit-cost analysis. |
| 🧠 Context & Memory | 8 | Context hygiene, memory architecture, and world-model design. |
| 🏭 Build Pipelines & Code Comprehension | 15 | Spec-first build loops, code comprehension, and migration safety. |
| 🧰 Skills, Tools & MCP | 21 | Build, audit, convert, and maintain skills, tools, and MCP servers. |
| 📊 Strategy & Business Analysis | 27 | Briefings, stress-tests, market signals, and workflow-investment scoring. |
| ✅ Deliverable Quality & Verification | 10 | Hostile-reviewer passes and trust scoring before anything ships. |
| 🗂️ Productivity & Workflow | 14 | Sessions, handoffs, recall, calendar, and remote access. |
| 🎬 Content & Media | 4 | Image and video prompt engineering and shorts pipelines. |
| 178 |
Design, scaffold, and structure single- and multi-agent systems.
| Skill | What it does | When to use |
|---|---|---|
| agent-architecture-audit | Evaluate an agent codebase against 12 infrastructure primitives (permission model, token budget, crash recovery, tool… | Auditing agent architecture, reviewing agent readiness, or planning what infrastructure to build next |
| agent-sdk-layer-stack | Build a personal multi-agent AI command center using Claude Code as the immutable foundation with independently swapp… | Designing a personal AI stack, replacing an agent framework, building a multi-agent system, or asking "how do I build my own ag… |
| agents-md-generator | Generate or lint an AGENTS.md file from repository analysis. | The user says "generate agents.md", "create agents.md", "lint agents.md", "agents file", "agent instructions", or wants to crea… |
| anticipation-gap-audit | Scores any agent definition or skill manifest against the four consumer-AI breakthrough problems (context, reliabilit… | Designing or restructuring an agent system. |
| bitter-lesson-scorecard | Score an agent system design against the Bitter Lesson principle — how much "how" is encoded vs "what", how much bets… | Designing new agent systems, reviewing agent architecture, or deciding what to simplify |
| build-spec-generator | Takes a workflow that scored BUILD from workflow-fit-scorer and emits a deployment-ready build spec — trigger, I/O co… | Designing or restructuring an agent system. |
| classify-agent | Classify a problem into one of four agent architectures: coding harness, dark factory, auto research, or orchestratio… | Starting a new agent project, evaluating a build approach, or when someone says "what kind of agent should I build?", "classify… |
| claudemd-router | Restructure a bloated CLAUDE.md into a lean router that delegates to compartmentalized .claude/rules/ files. | CLAUDE.md exceeds ~80 lines, when adding a new domain of instructions, or when the user says "clean up my CLAUDE.md", "my CLAUD… |
npx claudepluginhub m2ai-portfolio/m2ai-skills-pack --plugin m2ai-skills-packTools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Browser automation and end-to-end testing MCP server by Microsoft. Enables Claude to interact with web pages, take screenshots, fill forms, click elements, and perform automated browser testing workflows.
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses