"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 GitHub Issues (backward compatible).
| 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 |
/repo-scan |
Report | Security scan for vulnerabilities, malware, secrets |
/s-review |
- | S (Sonnet) - trivial changes |
/o-review |
- | O (Opus) - simple features |
/sc-review |
- | SC (Sonnet → Codex) - moderate, budget |
/oc-review |
- | OC (Opus → Codex) - complex, quality |
/soc-review |
- | SOC (Sonnet → Opus → Codex) - security-critical |
/codex-review |
- | Standalone Codex review |
"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
- TDD implementation (Opus writes tests, Sonnet writes code)
- Run tests (systematic debugging if failures)
- Code review (S/O/SC/OC/SOC 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 review tier with smart recommendations based on size and security:
| Tier | Models | When Recommended |
|---|---|---|
| S | Sonnet | size:XS, trivial |
| O | Opus | size:S, simple features |
| SC | Sonnet → Codex | size:M, moderate |
| OC | Opus → Codex | size:L, complex |
| SOC | Sonnet → Opus → Codex | size:XL, security-critical |
"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 skill frontmatter: kick runs on Opus (writes tests), tdd runs on Sonnet (writes code). Opus must invoke the tdd skill for GREEN/REFACTOR — writing production code directly is a TDD violation.
"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.
| Tier | Name | Models | Cost | When to Use |
|---|---|---|---|---|
| 1 | S | Sonnet | $ | Typos, config, trivial fixes |
| 2 | O | Opus | $$ | Simple features, clear scope |
| 3 | SC | Sonnet → Codex | $$ | Moderate changes, budget-conscious |
| 4 | OC | Opus → Codex | $$$ | Complex features, quality focus |
| 5 | SOC | Sonnet → Opus → Codex | $$$$ | Security-critical, large refactors |
All multi-pass reviews are cascading — each pass reviews cumulative changes including previous fixes.
| Size | Default | If Security Files Detected |
|---|---|---|
size:XS |
S | O |
size:S |
O | SC |
size:M |
SC | OC |
size:L |
OC | SOC |
size:XL |
SOC | SOC |
Security files: auth, crypto, payment, token, secret, password, session, oauth, jwt, key, credential
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 (default)
task_backend: github
github:
project_board: true
# Beans
task_backend: beans
beans:
path: .beans
prefix: beans-
# Local
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."
Simple operations run on Haiku (cheap) in forked contexts to save tokens:
| Skill | Model | Operations |
|---|---|---|
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) |
kick |
Opus | orchestration, test writing (RED phase) |
tdd |
Sonnet | production code writing (GREEN/REFACTOR) |
Split-model TDD: Opus writes tests (the spec), Sonnet writes code (constrained by the test).
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)
├── kick/SKILL.md # /kick (Extractor)
├── backlog/SKILL.md # /backlog (Architect)
│
├── handoff/SKILL.md # /handoff (Fischer)
├── handoff-ops/SKILL.md # Handoff file management (Haiku)
│
├── s-review/SKILL.md # /s-review (Sonnet)
├── o-review/SKILL.md # /o-review (Opus)
├── sc-review/SKILL.md # /sc-review (Sonnet → Codex)
├── oc-review/SKILL.md # /oc-review (Opus → Codex)
├── soc-review/SKILL.md # /soc-review (Sonnet → Opus → Codex)
├── codex-review/SKILL.md # /codex-review (standalone)
│
├── repo-scan/SKILL.md # /repo-scan (security scanning)
│
├── using-pasiv/SKILL.md # Skill awareness guide
├── tdd/SKILL.md # TDD methodology (Sonnet - GREEN/REFACTOR)
├── 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-tiers.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
- 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
