collab
- Repo stars 330
- License MIT
- Author repo claude-skill-registry
Collab Sessions
Entry point for collab workflow. Handles session management and delegates to MCP state machine.
Step 1: Check Server
Tool: mcp__plugin_mermaid-collab_mermaid__check_server_health
Args: {}
If not healthy: "Server not running. Start with: bun run bin/mermaid-collab.ts start" STOP if server not running.
Step 2: Find/Create Session
List sessions for this project:
Tool: mcp__plugin_mermaid-collab_mermaid__list_sessions
Args: {}
If sessions exist: Present list with "Create new" option If no sessions: Go to Step 3
Step 3: Create New Session
- Generate name:
mcp__plugin_mermaid-collab_mermaid__generate_session_name() - Ask user to confirm or pick own name
- Initialize state:
Tool: mcp__plugin_mermaid-collab_mermaid__update_session_state Args: { "project": "<cwd>", "session": "<name>", "phase": "brainstorming", "currentItem": null } - Get first skill from state machine:
Tool: mcp__plugin_mermaid-collab_mermaid__complete_skill Args: { "project": "<cwd>", "session": "<name>", "skill": "collab-start" } - Invoke: result.next_skill
Step 4: Resume Existing Session
- Get session state:
mcp__plugin_mermaid-collab_mermaid__get_session_state() - Check for snapshot:
- If snapshot exists: Load it, delete it, invoke snapshot.activeSkill
- If no snapshot: Call complete_skill with current phase's skill, invoke result.next_skill
No Manual Routing
This skill does NOT:
- Route by item type (MCP state machine does this)
- Invoke brainstorming/rough-draft directly (complete_skill returns next skill)
- Manage the work item loop (routing nodes handle this)
- Fluxly category
- Data
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 94 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @majiayu000 · MIT
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Plug-and-play
- External API key
- No requirement detected
- Detected OS requirements
- macOS · Linux · Windows
- Runtime requirements
- Bun
- Detected file/system behavior
-
- Read-only
- Write / modify
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. If not healthy: "Server not running. Start with: bun run bin/mermaid-collab.ts start" STOP if server not running.
List sessions for this project: If sessions exist: Present list with "Create new" option If no sessions: Go to Step 3
Generate name: mcppluginmermaid-collabmermaidgeneratesessionname() Ask user to confirm or pick own name Initialize state:
Get session state: mcppluginmermaid-collabmermaidgetsessionstate() Check for snapshot: If snapshot exists: Load it, delete it, invoke snapshot.activeSkill
# Collab Sessions
Entry point for collab workflow. Handles session management and delegates to MCP state machine.
## Step 1: Check Server
```
Tool: mcp__plugin_mermaid-collab_mermaid__check_server_health
Args: {}
```
If not healthy: "Server not running. Start with: bun run bin/mermaid-collab.ts start"
**STOP** if server not running.
## Step 2: Find/Create Session
List sessions for this project:
```
Tool: mcp__plugin_mermaid-collab_mermaid__list_sessions
Args: {}
```
**If sessions exist:** Present list with "Create new" option
**If no sessions:** Go to Step 3
## Step 3: Create New Session
1. Generate name: `mcp__plugin_mermaid-collab_mermaid__generate_session_name()`
2. Ask user to confirm or pick own name
3. Initialize state:
```
Tool: mcp__plugin_mermaid-collab_mermaid__update_session_state
Args: { "project": "<cwd>", "session": "<name>", "phase": "brainstorming", "currentItem": null }
```
4. Get first skill from state machine:
```
Tool: mcp__plugin_mermaid-collab_mermaid__complete_skill
Args: { "project": "<cwd>", "session": "<name>", "skill": "collab-start" }
```
5. Invoke: result.next_skill
## Step 4: Resume Existing Session
1. Get session state: `mcp__plugin_mermaid-collab_mermaid__get_session_state()`
2. Check for snapshot:
- If snapshot exists: Load it, delete it, invoke snapshot.activeSkill
- If no snapshot: Call complete_skill with current phase's skill, invoke result.next_skill
## No Manual Routing
This skill does NOT:
- Route by item type (MCP state machine does this)
- Invoke brainstorming/rough-draft directly (complete_skill returns next skill)
- Manage the work item loop (routing nodes handle this) Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> Step 1: Check Server → Step 2: Find/Create Session → Step 3: Create New Session → Step 4: Resume Existing Session → No Manual Routing
terms -> STOP · If sessions exist · If no sessions · Entry point for collab workflow. · If not healthy: "Server not running. · 1. Generate name: mcppluginmermaid-collabmermaidgeneratesessionname() 2. · 1. Get session state: mcppluginmermaid-collabmermaidgetsessionstate() 2.
files/cmd -> mcppluginmermaid-collabmermaidgeneratesessionname() · mcppluginmermaid-collabmermaidgetsessionstate() · bin/mermaid-collab.ts · Find/Create · brainstorming/rough-draft
body sha256 -> b94fb2b2ac8b
Decide Fit First
Design Intent
How To Use It
Boundaries And Review