Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By Yuvasee
Orchestrates multi-phase autonomous development workflows: initialize sessions with git worktrees, investigate codebases, plan implementations, execute with dual-agent comparison, test changes, and generate PR summaries — all within Claude Code.
npx claudepluginhub yuvasee/samocodeYou are executing the [phase] phase of a Samocode session. Your goal is to [goal].
Session wrap-up and summary generation. Use when all phases complete.
Execute plan phases iteratively. Use during implementation phase to build features.
Initialize new Samocode sessions. Creates working directory, session folder, and _overview.md.
Deep-dive codebase exploration for investigation phase. Use at start of sessions to understand problem space.
ADHD-optimized code explainer. Generates layered, scannable explanations with hooks, maps, and progress markers.
Run OpenAI Codex CLI as a subagent for second opinions, code reviews, and questions. Use when you want a different AI model's perspective.
Run Google Gemini CLI as a subagent for second opinions, code reviews, and questions. Use when you want a different AI model's perspective.
Execute implementation tasks with different approaches (single, dual-agent, plan-based).
Deep-dive investigation with documentation output.
Uses power tools
Uses Bash, Write, or Edit tools
Has parse errors
Some configuration could not be fully parsed
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
PROJECT.md-first autonomous development with hybrid auto-fix documentation. 8-agent pipeline, auto-orchestration, docs auto-update on commit (true vibe coding). Knowledge base system with 90% faster repeat research. Strict mode enforces SDLC best practices automatically. Works for ANY Python/JavaScript/TypeScript/Go project.
Describe your goal, approve the spec, then step away — Claude and Codex loop together until it's right.
Multi-agent orchestration for code that matters.
Multi-agent /workflow development pipeline (planner → plan-review → coder → code-review) with typed handoff contracts, lifecycle hooks, and MCP servers.
Personal Claude Code + Codex dev stack: security hooks, AI-first code conventions, /security-review, /repo-map, /stack-check, portable statusline. Designed to complement other skills-based plugins, not replace them.
Commands, agents, skills, and context for AI-assisted development workflows
Walk-away AI coding sessions, locally orchestrated. Drives Claude or Codex through full SDLC phases with human gates, so you can hand off multi-hour engineering work and walk away.
You give samocode a real engineering task — research a codebase, plan a refactor, implement a feature, run tests, clean up. It runs an AI CLI in a loop, walking your task through investigation → requirements → planning → implementation → testing → quality phases. It pauses to ask you questions when it needs to (_qa.md), waits for plan approval, and notifies you on Telegram when something needs your attention. You come back two hours later, your branch has the work done, with commits, tests, and a summary.
It's open-source, runs Claude or Codex as the orchestration provider (Gemini available as a second-opinion subagent), and runs locally — no SaaS, no proxy, your code never leaves your machine.
Not an engineer? See docs/eli10.md for a friendly walkthrough.
legacy/." (30 min unattended)If your task is "I need to think about this with the AI for 10 minutes" — use Claude / Cursor / Aider directly. samocode is for the cases where you'd rather walk away.
pip install samocode
Create .samocode in your project root:
MAIN_REPO=~/your-project
WORKTREES=~/your-project/worktrees/
SESSIONS=~/your-project/_sessions/
Run a session:
samocode \
--config ~/your-project/.samocode \
--session add-jwt-auth \
--task "Add JWT-based authentication to the Express API"
samocode creates a worktree, spawns the AI CLI, walks the task through phases, and signals when it's done or needs you. Watch progress in ~/your-project/_sessions/26-XX-XX-add-jwt-auth/_overview.md.
To hack on samocode itself, clone the repo instead:
git clone https://github.com/Yuvasee/samocode ~/samocode
cd ~/samocode && ./install.sh && pip install -r requirements.txt
install.sh links samocode skills into both ~/.claude/skills and ~/.codex/skills. Claude-only slash commands and agent files are linked into ~/.claude; Codex provider runs read the phase agent files directly from the installed samocode package.
→ See examples/ for runnable scenarios.
Three layers, each with a single responsibility:
Parent session Worker (Python) Child AI CLI
───────────── ─────────────── ────────────
You + your CLI → spawns provider CLI → reads _overview.md
monitors progress reads _signal.json executes one action
relays Q&A decides loop/stop writes _signal.json
Each iteration is stateless: the child CLI starts fresh, reads _overview.md, executes one action, writes a signal, exits. The Python worker is intentionally dumb — it just spawns the CLI and reads signals. All decisions happen in the child agent.
Phases:
init → investigation → requirements → planning → implementation → testing → quality → done
↑ ↑
human gate human gate
(answer Q&A) (approve plan)
→ See ARCHITECTURE.md for deeper dive.