SomaHub
60 community AMPS for Soma agents. Skills bring expertise. Muscles learn from repetition. Protocols enforce behavior. Automations run without thinking. Templates bundle it all.
Protocols
Behavioral rules — how your agent acts. Skip them and things break.
breath cycle
v2.0.0Inhale → hold → exhale. Auto-breathe at 50%/70%/85%. Commands: /exhale, /breathe, /rest, /inhale.
community safe
v2.0.0Community/public content must never contain private data. The channel-guard script catches leaks pre-push. This protocol covers the judgment — what to keep private, where it belongs.
correction capture
v1.1.0When corrected, acknowledge without justifying, log old→new pattern, write a muscle if repeated. Third correction on same thing → escalate to protocol or identity.
deep recall
v1.1.0Preloads are surface memory. On continued sessions, deepen context: soma-seam trace the work topic, soma-reflect for past patterns, scan recent session logs.
detection triggers
v1.0.0Capture on corrections, preferences, 3+ patterns, knowledge gaps. Bubble-up: log → muscle → protocol → core.
frontmatter standard
v1.1.0Every .md file needs frontmatter: type, status, created, updated. All AMPS get `## TL;DR` for warm-tier loading.
git identity
v2.0.0Soma's guard checks git identity on every commit. Configure expected email in settings.json — mismatches trigger warnings. This behavior is built into soma-guard.ts.
heat tracking
v2.0.0Soma loads protocols and muscles by temperature: cold (skip), warm (breadcrumb), hot (full). Heat auto-adjusts from usage patterns and decays when idle. /pin and /kill for manual control.
hub sharing
v1.0.0How Soma handles /hub share. This behavior is built into the hub extension — this protocol helps you understand what's happening. Not loaded into the system prompt.
implementation plans
v1.0.0Write plans your next self can execute without re-reading anything.
inter agent inbox
v1.0.0File-based messaging between AI agents. Drop a markdown file in the recipient's inbox directory. No automation needed — just files. Enables asynchronous collaboration across sessions and agent systems.
maps
v1.1.0MAPS — My Automation Protocol Scripts. Before any task, check for a MAP. After any repeated task, build one. MAPS connect AMPS into repeatable processes. Refine on every use.
pattern evolution
v1.4.0Maturation: Skills → Muscles → Protocols → Automations. Born from gaps and repeated friction. Not every pattern climbs the full ladder.
plan hygiene
v1.0.0Plans rot. Update remaining on every touch. Stale docs poison sessions.
pre flight
v1.0.0Check what exists before creating. Verify assumptions before building.
quality standards
v1.0.0Deletion is irreversible — move or archive. Tests cover NEW code, not just pass on old. Blast radius before editing — find every caller, test, and doc. Atomic commits — one concern each.
response style
v1.0.0Prefer prose over bullets. Minimum formatting for the content. One question per response max. No hollow social scripts.
session checkpoints
v2.0.0Soma can auto-commit .soma/ state on every exhale and surface git diffs on boot. Two tracks: .soma/ internal git (never pushed) and project code (squash before push).
task tracking
v1.0.0One board: .soma/_kanban.md. Move cards in real time. Verify on exhale. A stale board is worse than no board.
tool discipline
v3.0.0Scripts first, then raw commands. Read before edit. Check .soma/amps/scripts/ before writing grep/find. Build a script when you do the same thing twice.
workflow
v1.0.0Test before commit, commit before moving on, push before walking away. Know your deploy branch. Unpushed work is invisible — treat it as unfinished.
working style
v1.1.0Be direct — no ceremony. Lead with action. Know your tools before starting — name them, note gaps. Understand before you change, verify after you build AND after you ship. Maintain the tools — when code changes, verify scripts still produce correct output. Plans live in files, not in context.
Muscles
Learned patterns — reusable workflows that improve through use.
code navigator
v1.0.0soma-code.sh — 11 commands for codebase navigation. map before editing, refs before renaming, find before grep.
doc hygiene
v1.0.0plans rot. Update `remaining` on every touch. Empty → archive. After shipping, scan for stale docs. Verify docs match code before referencing.
icon audit
v1.0.0browse icon libraries, extract SVGs, build numbered comparison pages, screenshot for visual AI review. Works with any SVG library (Lucide, Phosphor, etc).
incremental refactor
v1.0.0never refactor blind. Phase: (1) scan → `soma-refactor.sh scan/refs/graph/tags` to map dependencies + references, (2) route audit → `soma-refactor.sh routes` if touching extensions (signals/capabi
memory lane reflection
v1.0.0Structured reflection technique for AI agents — surface connections the tactical mind misses by tracing concepts through memory, then retracing backwards with new perception.
micro exhale
v1.0.0after major completions, append `## HH:MM` summary to session log. One file per day, read first, never overwrite. Checkpoint within session, not a full exhale.
plan lifecycle
v1.0.0end-to-end flow from idea to shipped to consolidated. (1) **Idea** → capture in `docs/ideas/`, link from kanban. (2) **Revise** → read against current state, strip what's done/stale, extract survi
post fix learning
v1.0.0After fixing something hard: document the fix, why previous attempts failed, what led down the wrong path, and write a rule to prevent it next time.
pre flight check
v1.0.0"we already have X, want to extend it?" This is how senior engineers prevent duplication. Execute requests thoughtfully, not reflexively.
precision edit
v1.0.0the match must be verified by `read` first.
ripple awareness
v1.0.0When X changes, what else must update? Map the blast radius before committing. Cross-reference checks prevent stale docs, broken imports, and drift.
safe file ops
v1.0.0Safe file operations — read before write, verify after edit, never delete without scanning dependencies.
scope discipline
v1.0.0Don't add features beyond what was asked. A bug fix doesn't need surrounding code cleaned up. A simple feature doesn't need extra configurability. Stop building when done.
task tooling
v1.0.0Before touching code, name your tools. Map scripts, muscles, and MAPs for each phase of the task. Gaps are worth building for.
test hygiene
v1.1.0Validate tests aren't stale after any code removal, rename, or restructure. Run all suites, grep for orphaned references, check pass counts. Dead tests are worse than no tests.
twin delegation
v1.0.0Spawn and coordinate twin Soma sessions via cmux. Write preloads, open panes, send commands, poll for completion. The coordinator pattern — no framework, just preloads and a shared filesystem.
verification instinct
v1.0.0Before reporting work as done, verify it actually works. Run it. Not 'it looks correct' — run it. Recognize your own rationalizations for skipping checks.
Scripts
CLI tools — bash scripts that extend your agent's capabilities.
soma code
v2.0.0Fast codebase navigator — find, map, refs, blast radius, structure, and more
soma focus
v1.0.0Set boot focus — primes the next session to load relevant MAPs, plans, and context for a keyword
soma plans
v1.0.0Plan lifecycle management — list, check, archive, and audit plans
soma reflect
v1.0.0Parse session logs for observations, gaps, and recurring patterns
soma spell
v1.0.0Canadian English spelling checker and fixer with project dictionary
Templates
Agent bundles — identity, settings, and dependencies in one install.
architect
v2.0.0Structure-focused agent for engineering teams — code review, standards enforcement, verification-first workflow
core
v2.0.0Default Soma setup — breath cycle, heat tracking, learning protocols, and clean memory structure. What every agent starts with.
default
v1.0.0Standard Soma setup — core protocols, session management, heat tracking, and workflow.
devops
v2.0.0Ops-focused agent for deployment, CI/CD, and infrastructure — verify before deploy, maintain tooling, automate everything
fullstack
v1.0.0Daily driver for web and app development — precision editing, safe operations, task awareness, doc hygiene, test discipline
maintainer
v1.0.0Codebase steward — test hygiene, doc maintenance, dependency health, technical debt tracking
nextjs
v1.0.0Next.js App Router specialist — RSC, server actions, route groups, middleware, ISR/SSG/SSR, Tailwind, Vercel deploy
preload template
v1.0.0Customize how Soma writes preloads — override the default format with your own sections.
python ml
v1.0.0Python ML/Data specialist — notebooks, experiment tracking, data pipelines, model evaluation, reproducibility
refactorer
v1.0.0Migration and refactoring specialist — scan before touching, one file at a time, backward-compatible transitions, verify at every step
rust
v1.0.0Rust systems specialist — ownership, lifetimes, error handling, cargo workspace, unsafe discipline, performance-aware
writer
v2.0.0Writing-focused agent for technical content, blogging, and documentation — accuracy first, honest voice, learns your style
Automations
Executable workflows — rituals and hooks that run without thinking.
debug
v1.1.0Systematic bug hunting — contain, scope, locate, fix, verify. Avoids common agent traps: guessing, naive text analysis, chasing false leads.
refactor
v1.0.0Extract, move, or restructure code safely. Scan blast radius, audit dependencies, execute incrementally, verify everything.
update
v1.0.0Outer cycle for project migration. Detects version gap, chains phase files, verifies each jump.
visual gap analysis
v1.0.0Map any workflow as an ASCII sequence diagram. Find gaps at every handoff. Test the full path end-to-end. Diagrams find bugs — E2E tests prove fixes.
Contribute
Got a protocol your agent swears by? A muscle that saves you hours? Soma is source-available — contribute to the hub.
Learn how to contribute →