By skathio
Multi-agent engineering workflow system: plan, code, review — with SOLID/OWASP guardrails, deterministic hooks, and a global ruleset.
One-time SoMi onboarding for an existing codebase. Builds the Repo Atlas, confirms detected conventions into a pre-filled 99-overrides scaffold, produces a gap report (test thin ice, hotspots, candidate first refactors), and suggests a calibration work item.
Targeted architectural review of a change, plan, or ADR. Evaluates boundaries, contracts, dependency direction, and reversibility on a years-long horizon. Output lands under .somi/reviews/<slug>/ when scoped to a work item.
You are building the **repo-level MAX artifact**: a single deep read of this codebase, distilled
Bounded code → review → fix loop on a single iteration. Exits on approve, on Blocker/Major-free verdict, on iteration cap, on diff cap, or on a recurring finding (coder/reviewer disagree → human).
Fan out provably-independent iterations into isolated git worktrees, run each under /code-loop concurrently, then integrate them one at a time behind a gate (re-test + review per merge). Conservative by construction — only iterations the plan marks Parallelizable with disjoint file sets are eligible.
Reviews architectural decisions, ADRs, new modules/services, dependency direction changes, and contract changes. Use before introducing a new service, splitting/merging modules, or changing a published interface. Optimizes for long-term maintainability, clear boundaries, and reversibility of decisions.
Elite implementation agent. Use to execute against an approved plan in .somi/plans/<slug>/, or for constrained, well-scoped implementation tasks. Writes maintainable, secure, well-tested code with senior-level design judgment. Keeps the plan in sync — when implementation reveals the plan needs to change, updates spec/decisions/phases in place and appends a diary entry. Detects bad abstractions, tight coupling, and accidental complexity while implementing.
Feature / user-story design agent (MAX tier). Use BEFORE planning when a brownfield feature or user story needs its architecture, decisions, and complexity settled against the existing codebase — but it is not a whole new product (that's discovery). Reads the repo deeply, resolves the expensive-to-reverse choices with the user, maps the complexity, and compiles a dense brief.md the ECO planner/coder execute against without re-researching.
Pre-development discovery & requirements-engineering agent. Use BEFORE any planning or coding, when a new software idea / product concept needs to be turned into a defensible requirements + high-level-design foundation. Performs extensive competitive and complaint research, then authors the .somi/rd/<slug>/ document set (research report, BRD, SRS, FRD, SDD, TDD) with inline user verification at every crossroads. Its output is the cornerstone that the planner consumes.
Staff-engineer-grade planning agent. Use BEFORE writing non-trivial code, when scoping a feature, decomposing an ambiguous request, or when the user asks "how should we approach X". Produces the .somi/plans/<slug>/ artifact set (context, spec, decisions, phases, progress, diary) with inline user verification on architectural choices. Always invoke for changes that cross modules, touch security/auth, or require migrations.
Use when adding or changing an HTTP/gRPC/library API. Covers resource modeling, error shapes, versioning, idempotency, pagination, and backward compatibility. Optimizes for callers, not implementers.
Use when naming things, structuring functions, deciding whether to add a comment, or cleaning up code mid-implementation. Pragmatic clean-code rules with explicit anti-patterns and when-not-to-apply guidance.
Use when researching a software idea before specifying it — scanning competitors, mining real user complaints and churn reasons, finding recurring failure modes to design away from, and turning that evidence into requirements, non-goals, and risks. Covers where to look, signal-vs-noise, citation discipline, and how to avoid fabrication and confirmation bias.
Use when adding logs, metrics, or traces — or when reviewing whether code can be debugged in production at 3am. Covers structured logging, the three signals, correlation, cardinality, and alerting philosophy.
Use when the work touches authentication, authorization, cryptography, secret handling, input validation, deserialization, file uploads, template rendering, outbound HTTP triggered by user input, or any sensitive sink. Provides concrete defenses for the OWASP Top 10 mapped to actionable code-level checks.
Matches all tools
Hooks run on every tool call, not just specific ones
Executes bash commands
Hook triggers when Bash tool is used
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Modifies files
Hook triggers on file write and edit operations
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools
An opinionated, reusable multi-agent engineering workflow system for Claude Code and GitHub Copilot.
The latest published version is on npm and in the GitHub Releases; see CHANGELOG.md for release notes.
SoMi gives engineering teams a shared, version-controlled "operating system" for working with Claude: three first-class build workflows — plan → code → review — plus an upstream discovery workflow that turns a raw product idea into a research-grounded requirements & design foundation. All backed by specialised subagents, deterministic guardrail hooks, composable skills, and a global ruleset that enforces SOLID, clean code, and OWASP defenses.
It is designed to be:
| Command | Tier | Agent | Purpose |
|---|---|---|---|
/discover | MAX | discovery-analyst | Research the competition, then author the requirements & design foundation (BRD/SRS/FRD/SDD/TDD) + a brief.md for a new product |
/design | MAX | designer | Settle a brownfield feature's architecture against the codebase; compile the brief.md the cheap tier executes against |
/plan | ECO | planner | Sequence the design (brief) into phases, risks, slices, DoD, test & rollout strategy |
/code | ECO | coder | Execute against an approved plan + brief with senior-level design judgment |
/debug | ECO | coder (+MAX hatch) | Reproduce first, isolate under a bounded hypothesis budget, fix under /code-loop, keep the repro test as the regression guard; writes a one-page rca.md |
/review | MAX | reviewer | Strict, skeptical, fresh-context review of code / plans / designs with severity-graded findings |
/ship | both | planner+coder+reviewer | Full (optional MAX front-load →) plan → code → review pipeline, gated at every stage |
Two economic tiers. The MAX tier (opus) front-loads expensive reasoning — research, design,
decisions, complexity mapping, fresh-eyes review — into a dense, bounded brief.md. The ECO tier
(sonnet) executes against that brief without re-researching, so the high-volume work (plan detail,
iterative coding) runs cheaply. /discover (new product) and /design (brownfield feature) are the
MAX front-loads that feed /plan; /ship-loop runs the whole pipeline continuously, gating once at
the MAX→ECO model switch. Supporting MAX agents (by handoff): security-reviewer,
architecture-reviewer, test-strategist, refactorer. See
docs/AGENTS.md.
Runtime: a current Node (LTS) on
PATH— nobash, nojqrequired. Both Claude Code and GitHub Copilot already bundle Node, so most installs need nothing extra; the Node runtime itself is Windows-native (no bash/jq to install). Seedocs/HOOKS.mdfor one open caveat on Windows path-separator coverage in the path-matching guards.
# Add the SoMi marketplace and install the plugin:
/plugin marketplace add https://github.com/skathio/somi
/plugin install somi@somi
Updates flow through /plugin update somi.
npm install -g @skathio/somi
Then in Claude Code: /plugin install somi.
SoMi is also a GitHub Copilot extension, installable the same way as the Claude Code plugin:
copilot plugin marketplace add https://github.com/skathio/somi
copilot plugin install somi@somi
Once installed, use @somi in GitHub Copilot chat:
@somi /plan Add per-team rate limiting to the public webhook endpoint
@somi /code rate-limiting-webhooks phase 1, iteration 1
@somi /review rate-limiting-webhooks
On GitHub Copilot, select the
somiagent as your session persona for this same front-door behavior automatically — no need to already know which command to type. Seedocs/PLUGIN.md.
npx claudepluginhub skathio/somi --plugin somiHarness-native ECC plugin for engineering teams - 67 agents, 279 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses
v9.54.1 — Reliability wave: tangle contextual review correction loop with hard round ceiling, progress-supervised review rounds (per-agent stall watch, descendant-tree kills), council diversity and agy pin fixes, marketplace generator source-of-truth fix, provider troubleshooting runbook and cost-expectations docs. Run /octo:setup.
Evidence-gated AI coding workflow: scan → analyze → plan → TDD → execute → fix → verify → review, powered by Codebase Memory MCP >= 0.9.0 with optional Serena LSP intelligence. Includes blast-radius planning, test/cycle gates, independent review, and Windows Git Bash hook auto-resolution.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Persistent file-based planning for AI coding agents. Crash-proof markdown plans (task_plan.md, findings.md, progress.md) that survive context loss and /clear, with an opt-in completion gate and multi-agent shared state. Manus-style. Works with Claude Code, Codex CLI, Cursor, Kiro, OpenCode and 60+ agents via the SKILL.md standard. Includes Arabic, German, Spanish, and Chinese (Simplified and Traditional).
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques