"The PASIV device enables shared dreaming."
In Inception, the PASIV (Portable Automated Somnacin IntraVenous) device connects the team, enabling them to enter dreams together and extract what matters most. This tool does the same for your codebase - connecting your team of AI agents to extract working, tested, reviewed implementations from the seeds of ideas.
Solo dev workflow: specs β issues β TDD implementation β review β merge.
Every extraction needs a team. PASIV connects them:
| Role | What They Do | In PASIV |
|---|---|---|
| Dreamer | Explores possibilities, refines the vision | /brainstorm - Socratic design refinement |
| Extractor | Leads the operation, pulls value from the target | /kick - orchestrates the full flow |
| Architect | Designs the dream levels | /backlog - structures specs into issues |
| Forger | Transforms and adapts | /issue, /parent - shapes ideas into trackable work |
| Point Man | Handles the details | task-ops, git-ops, project-ops - the helpers |
| Chemist | Enables deep dreaming | TDD, verification, systematic debugging - the methodology |
| Fischer | Carries context between dreams | /handoff - structured session memory |
# Add the marketplace
/plugin marketplace add inceptyon-labs/PASIV
# Install the plugin
/plugin install pasiv@pasivPrefer a UI? Use TARS - a visual plugin manager for Claude Code:
- Browse and install plugins from a curated library
- Automatic update notifications
- Easy enable/disable without uninstalling
# Initialize PASIV in your project (interactive setup)
/pasiv init
# Refine a vague idea into a design
/brainstorm
# Stress-test an existing half-baked plan
/brainstorm rough-idea.md
# Parse a design/spec into issues
/backlog design.md
# Start working on an issue (full extraction)
/kick 42
# Work on the highest priority task
/kick next
# Save session context before ending
/handoff"You need the simplest version of the idea."
Run /pasiv init to configure PASIV for your project. The interactive wizard:
- Chooses your task backend β GitHub Issues, Beans, or local markdown
- Configures project board (GitHub) or hooks (Beans)
- Creates project directories β
docs/handoffs/,docs/designs/,docs/plans/,docs/scans/ - Writes
.pasiv.ymlβ your backend configuration - Appends PASIV rules to
CLAUDE.mdβ session start behavior, rules, directory map - Optionally initializes design system β for frontend projects
PASIV supports pluggable task backends. Choose the one that fits your workflow:
| Backend | Best For | Storage | Dependencies |
|---|---|---|---|
| GitHub Issues | Team collaboration, CI integration | GitHub API | gh CLI |
| Beans | Solo devs, agent-native, version-controlled | .beans/ flat files |
beans CLI |
| Local Markdown | Zero dependencies, simple projects | docs/tasks/ files |
None |
No .pasiv.yml defaults to Local Markdown (zero-dependency). GitHub and Beans are opt-in via /pasiv init or .pasiv.yml.
| Level | Type | Scope | Example |
|---|---|---|---|
| Epic | Strategic | Multiple features, weeks/months | "User Authentication System" |
| Feature | Tactical | Single capability, days/week | "OAuth Login" |
| Task | Execution | Single work item, hours | "Create OAuth callback endpoint" |
| Command | Creates | Description |
|---|---|---|
/pasiv init |
Config | Interactive setup wizard |
/brainstorm |
Design doc | Socratic dialogue to refine ideas |
/brainstorm doc.md |
Design doc | Stress-test existing document |
/issue |
Task | Create single work item |
/parent |
Feature β Tasks | Create feature with task sub-issues |
/backlog |
Epic β Feature β Task | Parse spec into full hierarchy |
/kick 42 |
- | Full implementation flow for a specific task |
/kick next |
- | Work on highest priority ready task |
/handoff |
Handoff doc | Save session context for next session |
/reflect |
Memory / feedback | Persist durable facts, corrections, and reusable workflows from the session |
/repo-scan |
Report | Security scan for vulnerabilities, malware, secrets |
/review [profile] |
- | Review the diff at a depth β quick/standard/deep/codex (or legacy S/O/SC/OC/SOC) |
"An idea is like a virus. Resilient. Highly contagious."
Choose your entry point based on what you have:
| You have... | Start with | Flow |
|---|---|---|
| Vague idea | /brainstorm |
β design.md β /backlog β /kick |
| Half-baked plan | /brainstorm doc.md |
β refined design β /backlog β /kick |
| Clear requirements | /backlog spec.md |
β issues β /kick |
| Single task | /issue |
β /kick 42 |
| Existing issue | /kick 42 |
(inline planning) |
| Forked/cloned repo | /repo-scan |
β security report |
| New project | /pasiv init |
β configured and ready |
| End of session | /handoff |
β context preserved |
flowchart LR
subgraph Ideation
A[Vague Idea] --> B["#47;brainstorm"]
C[Half-baked Plan] --> B
B --> D[design.md]
end
subgraph Planning
D --> E["#47;backlog"]
F[Clear Spec] --> E
E --> G[Issues]
H[Single Task] --> I["#47;issue"]
I --> G
end
subgraph Execution
G --> J["#47;kick"]
J --> K[Plan & Approve]
K --> L[TDD Implement]
L --> M[Review]
M --> N[Verify]
N --> O[Merge]
end
style B fill:#e1f5fe
style E fill:#fff3e0
style J fill:#e8f5e9
"What's the most resilient parasite? An idea."
Socratic design refinement - turn vague ideas into validated designs before writing code.
/brainstorm # Start from a vague idea
/brainstorm rough-plan.md # Refine existing document
| Phase | What Happens |
|---|---|
| 1. Understand | Read existing doc OR ask "What are you building?" |
| 2. Socratic Dialogue | One question at a time (5-10 questions) |
| 3. Explore Approaches | Present 2-3 options with trade-offs |
| 4. Present Design | 200-300 word chunks, validate each |
| 5. Document | Save to docs/designs/YYYY-MM-DD-feature.md |
| 6. Next Steps | Offer /backlog, /parent, or /issue |
- Clarifying: "Who will use this?" "What triggers this flow?"
- Challenging: "What if this fails?" "How does this scale?"
- Scoping: "Is X in scope?" "Can we defer Y?"
Output: Validated design document ready for /backlog
"You mustn't be afraid to dream a little bigger, darling."
/kick 42 # By issue number (GitHub) or bean ID (Beans)
/kick lensing-gc5o # Beans bean ID
/kick task-001 # Local task ID
/kick next # Highest priority ready task
- Detect backend (read
.pasiv.yml) - Load session handoff (if one exists in
docs/handoffs/) - Fetch task details via
task-ops - Check for sub-issues (if parent, use autonomous flow)
- Baseline test run (Haiku runs tests β ensures clean baseline)
- Move to In Progress
- Load design system (if
area:frontendorarea:mobile) - Create plan β select review depth β wait for approval
- Implementation (Opus writes RED tests in-context; a fresh Sonnet implementer subagent does GREEN β keeps the coordinator lean)
- Run tests (systematic debugging if failures)
- Code review (review profile, based on selection)
- Verification gate (Haiku fixes simple issues, escalates complex to Opus)
- Check off acceptance criteria
- Write handoff (if parent issue with remaining tasks)
- Merge to main, move to Done, close task
During plan approval, select a review profile with smart recommendations based on size and security:
| Profile | Passes | When Recommended |
|---|---|---|
quick |
Sonnet | size:XS, trivial |
standard |
Opus β Codex | most changes (default) |
deep |
Sonnet β Opus β Codex | size:XL, security-critical |
Configurable in .pasiv.yml; legacy S/O/SC/OC/SOC work as aliases. See docs/reference/review-profiles.md.
"The dreamer can always remember the genesis of the idea."
PASIV enforces split-model TDD β the stronger model writes the spec, the cheaper model writes the code:
RED (Opus) β GREEN (Sonnet) β REFACTOR (Sonnet) β COMMIT β repeat
| Phase | Model | Why |
|---|---|---|
| RED (write test) | Opus | Tests ARE the specification. Stronger model writes better specs. |
| GREEN (write code) | Sonnet | Code is constrained by the test. Cheaper model follows the spec. |
| REFACTOR | Sonnet | Clean up while tests stay green. |
This is enforced by context isolation: the execute coordinator (Opus) writes the RED tests in-context, then dispatches a fresh Sonnet implementer subagent for GREEN/REFACTOR/COMMIT. The noisy edit-test-iterate loop runs in the subagent's window, so the coordinator stays lean (standard 200k) and the Sonnet workers stay on subscription.
"Every dream has a foundation."
Before starting work on any issue, PASIV runs the test suite to establish a clean baseline:
- Haiku runs tests and reports results
- If tests pass: Continue with implementation
- If tests fail: Ask user how to proceed (fix first, proceed anyway, or cancel)
This ensures you're not blamed for pre-existing test failures.
Before merge, fresh evidence is required with smart escalation:
Haiku handles:
- Running all checks (tests, build, lint, typecheck)
- Simple fixes (syntax errors, missing imports, lint auto-fixes)
- Max 2 simple fix attempts per check
Escalates to Opus when:
- Simple fixes don't work after 2 attempts
- Logic errors detected
- Complex debugging needed
The gate loops until all checks pass β no "should work" claims.
| Check | How It Works |
|---|---|
| Tests | Haiku runs β tries simple fixes β escalates to Opus if needed |
| Build | Same strategy - simple first, escalate if complex |
| Lint | Haiku auto-fixes (usually works) |
| TypeCheck | Simple types first, escalate if complex |
"We need to go deeper."
Reviews always happen at the Task level β Epics and Features are containers.
/kick on |
Behavior |
|---|---|
| Task | Implement β Review β Merge |
| Feature | For each Task: Implement β Review β Merge |
| Epic | For each Feature β For each Task: Implement β Review β Merge |
When you /kick an Epic:
Epic: User Authentication System
βββ Feature: Email/Password Login
β βββ Create user table β S (size:XS, area:db)
β βββ Create auth endpoint β OC (size:M) [security]
β βββ Create login form β SC (size:M, area:frontend)
β
βββ Feature: OAuth Login
βββ Add OAuth config β SC (size:S) [security]
βββ Add OAuth callback β OC (size:M) [security]
Total: 5 Tasks across 2 Features
Approve and start autonomous run? [Yes/Customize/Cancel]
- Approve once, walk away β implements all Tasks autonomously
- Stops only on error β asks how to proceed
- Auto-closes Features when all their Tasks complete
- Auto-closes Epic when all Features complete
- Writes handoffs between tasks to preserve context
Task priority order:
area:dbβarea:infraβarea:backendβarea:frontend- Within same area:
priority:highβpriority:mediumβpriority:low
When tests fail, root cause analysis is enforced:
- Investigate β Read full error, find root cause
- Hypothesize β Form specific theory
- Test β Make ONE minimal change
- Verify β Run tests again
Three Strikes Rule: After 3 failed fix attempts, stop and reassess.
"An idea is like a virus. Resilient. Highly contagious. And even the smallest seed of an idea can grow."
PASIV preserves session context through structured handoff files, inspired by the Claude Context OS pattern.
/handoff # Write handoff before ending session
| Trigger | What Happens |
|---|---|
You run /handoff |
Write session state to docs/handoffs/ |
| Context compaction | PreCompact hook reminds you to write handoff |
| Parent issue mid-flow | /kick auto-writes handoff between tasks |
| Next session start | /kick loads latest handoff, archives it |
- What was done (completed work)
- Exact numbers and metrics
- Decisions made (with rationale and alternatives considered)
- Open questions (UNCLEAR, ASSUMED, MISSING)
- Files changed and why
- What NOT to re-read
- Next steps and files to load
Handoffs live at docs/handoffs/handoff-YYYY-MM-DD-{topic}.md and are archived to docs/handoffs/archive/ after loading.
"You're asking me for inception."
/repo-scan # Scan current repo
/repo-scan ~/path/to/repo # Scan a specific directory
Multi-ecosystem security scan that checks for:
- Dependency vulnerabilities (CVEs)
- Suspicious install scripts
- Obfuscated or encoded code
- Network calls to unknown servers
- Malware patterns (miners, shells, exfiltration)
- Hardcoded secrets and credentials
- File system anomalies
Generates a report in docs/scans/ with a verdict: PASS, CAUTION, or FAIL.
Reviews run as profiles β an ordered chain of passes resolved by the review skill:
| Profile | Passes | When |
|---|---|---|
none |
β | skip |
quick |
Sonnet | trivial |
standard |
Opus β Codex | most changes (default) |
deep |
Sonnet β Opus β Codex | security-critical / large |
Passes are cascading (each sees prior fixes) and host-aware β a Claude subagent or the Codex MCP under Claude Code; claude -p (Claude-as-reviewer) or native under a Codex host. Configurable in .pasiv.yml; legacy S/O/SC/OC/SOC work as aliases. Standalone: /review [profile]. Full matrix, schema, and adapters: docs/reference/review-profiles.md.
PASIV integrates with interface-design for consistent UI implementation.
How it works:
- When
/kickprocesses an issue witharea:frontendorarea:mobilelabel, it automatically loads.interface-design/system.md - The design system defines tokens (spacing, colors, typography) and patterns (buttons, cards, forms)
- Implementation must reference established tokens and follow documented patterns
/pasiv initasks if your project has a frontend and offers to run/interface-design:init
Setup (per project):
# Initialize design system in your project
/interface-design:initVerification:
# Audit code against design system
/interface-design:audit src/components/pasiv init writes two things to your project:
Task backend configuration:
# GitHub
task_backend: github
github:
project_board: true
# Beans
task_backend: beans
beans:
path: .beans
prefix: beans-
# Local (default)
task_backend: local
local:
path: docs/tasksOperational behavior appended to your project's CLAUDE.md:
- Session Start β Load latest handoff, state understanding before starting
- Rules β Use PASIV skills, write state to disk, TDD enforced, verification gate
- Where Things Live β Directory map for handoffs, designs, plans, scans
This keeps PASIV context per-project. Projects without the PASIV section in CLAUDE.md are unaffected.
"I bought the airline."
The flow runs on Opus as a lean coordinator that dispatches Sonnet subagents for the heavy work; helper operations run on Haiku in forked contexts:
| Skill | Model | Operations |
|---|---|---|
kick |
Opus | orchestrator/router β setup + sequence the flow |
plan |
Opus | plan + native tasks (writing-plans rigor, ladder, gap check) |
execute |
Opus (coord) | writes RED in-context; dispatches a Sonnet implementer subagent for GREEN |
review |
Opus (coord) | per-pass reviewer-subagent / codex dispatch by profile |
finish |
Opus | completion summary, handoff, merge, close |
git-ops |
Haiku | branch, commit, push, merge |
task-ops |
Haiku | route to backend (issue-ops, beans-ops, local-ops) |
issue-ops |
Haiku | GitHub issue CRUD |
beans-ops |
Haiku | Beans flat-file CRUD |
local-ops |
Haiku | Local markdown CRUD |
project-ops |
Haiku | GitHub Project board operations |
test-runner |
Haiku | run tests, parse results, report |
handoff-ops |
Haiku | read/archive handoff files |
verification |
Haiku β Opus | simple fixes (Haiku), complex debugging (Opus) |
Split-model TDD: the execute coordinator (Opus) writes RED tests; a fresh Sonnet implementer subagent does GREEN in an isolated context β so the whole session stays in standard 200k.
Optional tier routing: plan tags tasks mechanical/standard/frontier; map them to per-host models in .pasiv.yml model_routing (e.g. mechanical β Haiku) and execute picks the cheapest-capable model per task. Dormant by default. See docs/reference/model-optimization.md.
Smart escalation: Verification starts with Haiku for simple fixes, escalates to Opus only when needed.
| Category | Labels |
|---|---|
| Priority | priority:high, priority:medium, priority:low |
| Size | size:XS (<1h), size:S (1-4h), size:M (4-8h), size:L (8-16h), size:XL (16+h) |
| Area | area:frontend, area:backend, area:infra, area:db |
Note: Issue types (Epic, Feature, Task) use GitHub's native --type flag (GitHub backend) or the type field (Beans/local backends).
Issues are automatically added to a GitHub Project board (when using the GitHub backend).
- Auto-creates project named after your repo (on first
/issue,/parent, or/backlog) - Prompts if other projects exist (choose existing or create new)
- Status updates: Issues move to In Progress/Done automatically
- Prioritization:
/backlogoutputs suggested implementation order
gh auth refresh -s project| Backend | Requirements |
|---|---|
| All | Claude Code with plugin support |
| GitHub | gh CLI, jq |
| Beans | beans CLI (npm install -g @beans-lang/cli), jq |
| Local | None |
| Codex reviews | Codex CLI |
rm -rf ~/.claude/plugins/cache
claude plugin update PASIVhooks/
βββ hooks.json # PreCompact hook config
βββ pre-compact.sh # Reminds to write handoff before compaction
scripts/
βββ init.sh # Project initializer (called by /pasiv init)
skills/
βββ pasiv-init/SKILL.md # /pasiv init (setup wizard)
βββ brainstorm/SKILL.md # /brainstorm (Dreamer)
βββ issue/SKILL.md # /issue (Forger)
βββ parent/SKILL.md # /parent (Forger)
βββ backlog/SKILL.md # /backlog (Architect)
β
β # /kick flow β thin router + on-demand step-skills (Extractor)
βββ kick/SKILL.md # orchestrator/router (Opus)
βββ plan/SKILL.md # plan + native tasks (Opus)
βββ execute/SKILL.md # RED in-context β Sonnet implementer subagent for GREEN (Opus coord)
βββ review/SKILL.md # /review β profile-driven, host-aware (Opus coord)
βββ finish/SKILL.md # merge / handoff / close (Opus)
β
βββ handoff/SKILL.md # /handoff (Fischer)
βββ handoff-ops/SKILL.md # Handoff file management (Haiku)
βββ reflect/SKILL.md # /reflect (persist learnings to memory/skills)
β
βββ repo-scan/SKILL.md # /repo-scan (security scanning)
β
βββ using-pasiv/SKILL.md # Skill awareness guide
βββ verification/SKILL.md # Verification gate (Haiku β Opus)
βββ systematic-debugging/SKILL.md # Debug methodology (Opus)
β
βββ task-ops/SKILL.md # Backend router (Haiku)
βββ issue-ops/SKILL.md # GitHub backend (Haiku)
βββ beans-ops/SKILL.md # Beans backend (Haiku)
βββ local-ops/SKILL.md # Local markdown backend (Haiku)
βββ git-ops/SKILL.md # Git operations (Haiku)
βββ project-ops/SKILL.md # GitHub Project operations (Haiku)
βββ test-runner/SKILL.md # Test execution (Haiku)
docs/
βββ reference/ # On-demand reference docs (loaded by skills)
β βββ review-profiles.md
β βββ methodology.md
β βββ design-system.md
β βββ labels.md
β βββ github-projects.md
β βββ model-optimization.md
β βββ examples.md
βββ designs/ # Design documents from /brainstorm
βββ plans/ # Implementation plans
βββ scans/ # Security scan reports
- Development methodology (TDD cycle, verification gates, systematic debugging) and brainstorming flow inspired by superpowers
- Subagent-driven execution, native-task, and model-tier routing patterns inspired by the Claude Code fork pcvelz/superpowers
- The
grill-meinterview pattern (recommend-an-answer, codebase-first) and handoff refinements (reference-don't-duplicate, suggested-skills) inspired by mattpocock/skills by @mattpocock - Over-engineering "ladder" (YAGNI, stdlib/native-first, no unrequested abstractions) for planning and implementation inspired by ponytail by @DietrichGebert
- Session handoff pattern and per-project CLAUDE.md structure inspired by Claude Context OS
- Beans flat-file task backend powered by beans by @hmans
- Design system integration powered by interface-design by @Dammyjay93
- Name and lore inspired by Christopher Nolan's Inception (2010)
"Do you want to take a leap of faith? Or become an old man, filled with regret, waiting to die alone?"
Connect to PASIV.
/kick next
