multi-manus-planning
Multi-project Manus-style planning with coordinator pattern. Supports project switching, separate planning/source paths, and cross-machine sync via git. Creates task_plan.md, findings.md, and progress.md.
What this skill does
# Planning with Files
Work like Manus: Use persistent markdown files as your "working memory on disk."
## Multi-Project Support (v3.0)
This skill supports multiple project contexts via a coordinator file.
### On Skill Activation
**FIRST**, check for a coordinator file:
1. Check if `.planning/index.md` exists (walking up from CWD like git finds `.git`)
2. If found, determine active project using priority cascade:
- **Priority 1:** `$MANUS_PROJECT` environment variable (explicit override)
- **Priority 2:** `.planning/.active.override.$CLAUDE_CODE_SESSION_ID` (session-local state)
- **Priority 3:** `active:` field in `index.md` (workspace default)
3. Look up that project's path in the Projects table
4. Expand `~` to the user's home directory in paths
5. Use that path as `{project_path}` for all planning files
6. Create the directory if it doesn't exist
7. Report: "Planning context: [project-name] at [path]"
If no `.planning/` found:
- Use current directory as `{project_path}` (backward compatible)
- Planning files go directly in CWD
**Session ID:**
Claude Code exposes `$CLAUDE_CODE_SESSION_ID` (a UUID) in all execution contexts.
Use this for session-local override files. TTY detection doesn't work because
Claude Code's Bash tool runs without a TTY attached.
### Planning File Locations
All planning files use `{project_path}`:
- `{project_path}/task_plan.md`
- `{project_path}/findings.md`
- `{project_path}/progress.md`
### Project Commands
Recognize these natural language patterns:
| User Says | Action |
| ------------------------------------ | ----------------------------------------------------------------- |
| "switch to [name]" | Write to session override file, read new project's task_plan.md |
| "set default [name]" | Update `active:` in index.md (workspace default for new sessions) |
| "list projects" / "show projects" | Display all projects from index.md table |
| "which project?" / "current context" | Show active project name, source, and resolved path |
| "add project [name]" | Interactive flow to create new project (see below) |
| "set default path [path]" | Update default_path in index.md |
| "where are planning files?" | Show resolved `{project_path}` |
| "where is source?" | Show source path for current project |
### Adding a Project
When user says "add project [name]":
**First, check if project already exists** in the Projects table:
- If exists: "Project '[name]' already exists. Would you like to update it, use a different name, or switch to it?"
- If not exists: continue with creation flow
1. **Ask for planning location** using AskUserQuestion:
- Option 1: "Default location ({default_path}/[name]/)" [Recommended]
- Option 2: "Somewhere else (I'll specify)"
2. If "somewhere else", ask for the custom planning path
3. **Ask for source/working folder**:
- "What's the source/working folder for this project?"
- This is where the actual code lives
4. **Create the project**:
- Create the planning directory if it doesn't exist
- Create task_plan.md with Source header (see template)
- Create findings.md
- Create progress.md
- Add row to Projects table in index.md
- Set as active project
5. **Report**:
```
Created project "[name]":
- Planning: [resolved planning path]
- Source: [source path]
- Files: task_plan.md, findings.md, progress.md
```
### Switching Projects (Session-Local)
When user requests a project switch with "switch to [name]":
1. Read `.planning/index.md`
2. Verify the requested project exists in the Projects table
3. Get session ID from `$CLAUDE_CODE_SESSION_ID` environment variable
4. Write the project name to `.planning/.active.override.$CLAUDE_CODE_SESSION_ID`
- This is session-local - does NOT modify index.md
- Other Claude Code sessions are unaffected
5. Read the new project's `task_plan.md` if it exists
6. Report: "Switched to [name] (this session). Current task: [summary from task_plan.md or 'No active task']"
If the requested project doesn't exist, offer to create it.
### Setting Workspace Default
When user says "set default [name]":
1. Verify the requested project exists in the Projects table
2. Update the `active:` field in `.planning/index.md`
3. Report: "Set [name] as workspace default. New sessions will start with this project."
This changes the default project for all new sessions in this workspace.
### Intent Mismatch Detection
If the user mentions working on a project different from the active one:
- Example: Active is "bracket" but user says "let's work on the college advisor"
- Prompt: "You mentioned college-advisor but we're in bracket context. Switch projects?"
### Example index.md
```markdown
# Planning Coordinator
active: college-advisor
default_path: ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/Personal/Planning
## Projects
| Name | Planning Path | Source Path | Description |
| --------------- | ------------------------- | ---------------------------------- | --------------------------- |
| college-advisor | {default}/college-advisor | ~/scripts/projects/college-advisor | College matching automation |
| bracket | {default}/bracket | ~/scripts/projects/bracket | macOS backup utility |
| imageintact | ~/custom/path | ~/Library/.../XCode/ImageIntact | Photo backup app (custom) |
```
**Path Resolution:**
- `{default}` expands to the `default_path` value
- `~` expands to user's home directory
- Planning Path = where planning files live
- Source Path = where project code lives
---
## Quick Start
Before ANY complex task:
1. **Check for coordinator** — Read `.planning/index.md` if it exists
2. **Create `task_plan.md`** — See [templates/task_plan.md](templates/task_plan.md)
3. **Create `findings.md`** — See [templates/findings.md](templates/findings.md)
4. **Create `progress.md`** — See [templates/progress.md](templates/progress.md)
5. **Re-read plan before decisions** — Refreshes goals in attention window
6. **Update after each phase** — Mark complete, log errors
## The Core Pattern
```
Context Window = RAM (volatile, limited)
Filesystem = Disk (persistent, unlimited)
→ Anything important gets written to disk.
```
## File Purposes
| File | Purpose | When to Update |
| -------------- | --------------------------- | ------------------- |
| `task_plan.md` | Phases, progress, decisions | After each phase |
| `findings.md` | Research, discoveries | After ANY discovery |
| `progress.md` | Session log, test results | Throughout session |
## Critical Rules
### 1. Create Plan First
Never start a complex task without `task_plan.md`. Non-negotiable.
### 2. The 2-Action Rule
> "After every 2 view/browser/search operations, IMMEDIATELY save key findings to text files."
This prevents visual/multimodal information from being lost.
### 3. Read Before Decide
Before major decisions, read the plan file. This keeps goals in your attention window.
### 4. Update After Act
After completing any phase:
- Mark phase status: `in_progress` → `complete`
- Log any errors encountered
- Note files created/modified
### 5. Log ALL Errors
Every error goes in the plan file. This builds knowledge and prevents repetition.
```markdown
## Errors Encountered
| Error | Attempt | Resolution |
| ----------------- | ------- | ---------------------- |
| FileNotFoundError | 1 | Created default config |
| API timeout | 2 | Added retry logic |
```
### 6. Never Repeat Failures
```
if action_faileRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.