/varie-workstation:routefrom varie-workstation
Sends a message to the best matching Workstation session by repo name, task ID, or context keywords. Useful for dispatching work to existing sessions without knowing session IDs.
Ships in varie-workstation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill can run in Claude Code or Pi. Before running Workstation helper scripts, read ../_shared/agent-compatibility.md and resolve:
WORKSTATION_DISPATCH → scripts/workstation-dispatchWORKSTATION_NOTIFY → scripts/workstation-notifyUse CLAUDE_PLUGIN_ROOT when it is set; otherwise resolve the script path relative to this skill directory.
Auto-route a message to the best matching session.
Context: This skill is designed for the Manager session inside Workstation. If the agent detects it's not in a Manager context (no workstation socket responding), inform the user:
This is the primary dispatch skill for orchestration. Use it when:
Important: /route finds an existing session or creates a first session on a repo. It does NOT create a second session on a repo that already has one — it routes to the existing one. To create an additional session on the same repo, use create-worker (see "Multiple Sessions on the Same Repo" below).
<query> - Search query to match a session (repo name, task ID, or keywords)<message> - The message to send to the matched session's terminalThe workstation uses fuzzy matching to find the best session:
When multiple sessions exist on the same repo, the query is also matched against task names. For example, if my-app has sessions "auth-refactor" and "bug-fixes", routing with query "bug-fixes" matches the correct one.
"$WORKSTATION_DISPATCH" route "<query>" "<message>"
Success response:
{
"status": "ok",
"received": "route",
"targetSessionId": "abc123"
}
Error responses:
{"status": "error", "message": "No session found matching: xyz"}
{"status": "error", "message": "Missing query in payload"}
On success:
Routed to session (matched: "<query>")
Session: abc123
Message sent: "<first 50 chars>..."
On no match:
No session found matching "<query>".
Available sessions:
- webapp (task: user_auth)
- my-project (task: orchestration)
Would you like me to:
1. Create a new session for this repo?
2. Try a different search query?
User: "Continue the character API work"
Manager interprets:
- Query: "character API" (from user's words)
- Message: "resume the work" (inferred intent)
Runs:
"$WORKSTATION_DISPATCH" route "character API" "resume the work"
Response to user:
Routed to webapp session.
Sent: "resume the work"
User: "What's happening with spine automation?"
Orchestrator:
"$WORKSTATION_DISPATCH" route "spine" "what's your current status?"
User: "Let's get back to the infra work"
Orchestrator:
"$WORKSTATION_DISPATCH" route "infra" "/work-resume"
A single project/repo can have multiple sessions running simultaneously (e.g., one for feature work, one for bug fixes). Here's how to handle this:
Routing to one of several sessions:
/route bug-fixes "run the test suite"Creating an additional session on an existing repo:
/route does not create a second session — it finds the existing one. To create another session, use create-worker:
"$WORKSTATION_DISPATCH" create-worker <repo> <repo-path> <task-name>
Always ask the user for a task name when creating an additional session. Without distinct task names, sessions are indistinguishable.
Example flow:
User: "I need another session on my-app for testing"
Manager: "I'll create a 'testing' session on my-app."
Run: "$WORKSTATION_DISPATCH" create-worker my-app /path/to/my-app testing
→ "Created! Route to it with: /route testing <message>"
To find the repo path, check projects.yaml:
cat ~/.varie/manager/projects.yaml | grep -A3 "<project_name>"
skipPermissions setting from ~/.varie/config.yaml. Use /workstation skip-permissions on to enable autonomous mode for auto-created workers.create-worker for additional sessions and always assign a task nameWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub varie-ai/workstation --plugin varie-workstation16 skills in this plugin
/discover-projectsScan for new project repos and add them to the Manager's project index. Use when you want to discover repos that aren't yet tracked./dispatchSend a message/command to a specific session by ID. This skill is for the Manager session inside Workstation app. If you are in a standalone agent session, suggest the user open the Workstation app and use this skill from the Manager terminal./projectShow detailed status of a specific project by reading its archive, project_plan, and issues. Use for deep dive into one project's state./projectsShow all projects with current status. Manager-specific skill for cross-project visibility./work-checkpointSave current work state to persistent checkpoint. Use frequently to track progress, especially after completing steps or before taking breaks./work-handoverGenerate comprehensive handover documentation for session end. Use when wrapping up a session, taking a long break, or handing off to another session.Other plugins' skills for the same job