Collect and classify work items at the start of a collab session. Invoked by collab skill after creating a new session.
View on GitHubskills/gather-session-goals/SKILL.md
February 3, 2026
Select agents to install to:
npx add-skill https://github.com/ben-mad-jlp/claude-mermaid-collab/blob/main/skills/gather-session-goals/SKILL.md -a claude-code --skill gather-session-goalsInstallation paths:
.claude/skills/gather-session-goals/# Gather Session Goals ## Overview Collect and classify work items at the start of a collab session through iterative questioning. **Invoked by:** collab skill after creating a new session **Returns to:** collab skill (which manages the work item loop) ## Collab Session Required Before proceeding, check for active collab session: 1. Check if `.collab/` directory exists 2. Check if any session folders exist within 3. If no session found: ``` No active collab session found. Use /collab to start a session first. ``` **STOP** - do not proceed with this skill. 4. If multiple sessions exist, check `COLLAB_SESSION_PATH` env var or ask user which session. ## The Process ### Step 1: Open Question Ask the user: **"What do you want to accomplish this session?"** Store the initial response. Parse any items mentioned and add them to the work items list with type = "unknown". ### Step 2: Anything Else Loop After parsing the initial response: 1. Infer type for each item from context: - Contains "setup", "install", "configure", "organize", "clean up", "docker", "deploy" → type = "task" - Contains "fix", "bug", "broken", "error", "crash", "fail" → type = "bugfix" - Contains "add", "new", "create", "implement", "build", "refactor", "clean", "simplify", "restructure", "investigate", "explore", "spike" → type = "code" - Otherwise → type = "unknown" 2. Ask: **"Anything else?"** 3. If user provides more items: - Parse and infer types - Repeat from step 2 4. If user says no/done/that's it: - Proceed to Step 3 ### Step 3: Classify Unknown Items For each item still marked as type = "unknown": Ask: **"What type is '[item title]'?"** ``` 1. code 2. bugfix 3. task ``` Set the item type based on user response. ### Step 4: Present Summary Display the work items for confirmation: ``` Here are the work items for this session: 1. [bugfix] Fix login redirect issue 2. [code] Add user authentication 3. [code] Clean up database layer Does