/varie-workstation:discover-projectsfrom varie-workstation
Scans directories for new project repos (with .git or CLAUDE.md) and adds them to a project index. Useful for first-time setup or after creating new repos.
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.
Scan for new project repos and add them to the project index.
/discover-projects # Scan default workspace
/discover-projects ~/external_projects # Scan a directory for repos
/discover-projects ~/code/my-app # Add a single repo
When you provide a path, the daemon detects what it is:
| Path Type | Behavior |
|---|---|
Has .git or CLAUDE.md | Treated as a single repo, added directly |
Directory without .git | Scanned for repos inside (up to 3 levels deep) |
| Non-existent path | Returns error |
# Add a single repo
"$WORKSTATION_DISPATCH" discover-projects ~/code/my-app
# Scan a directory
"$WORKSTATION_DISPATCH" discover-projects ~/external_projects
Response:
{
"status": "ok",
"message": "Discovered 3 repos at ~/external_projects, added 3 to projects",
"discovered": [
{
"name": "project-a",
"path": "~/external_projects/project-a",
"hasClaudeMd": true,
"source": "learned"
}
],
"total": 3,
"newCount": 3,
"customPath": "~/external_projects"
}
"$WORKSTATION_DISPATCH" discover-projects
Returns all known repos (from default workspace scan + previously learned repos).
Read current projects:
cat ~/.varie/manager/projects.yaml
Scan common locations:
# List directories in workspace
ls -d ~/workplace/projects/*/ 2>/dev/null
# Check each for .git or CLAUDE.md
for dir in ~/workplace/projects/*/; do
if [ -d "$dir/.git" ] || [ -f "$dir/CLAUDE.md" ]; then
echo "$dir"
fi
done
Repos discovered via custom path are persisted to:
~/.varie-workstation/learned-repos.json
This means they survive daemon restarts and will be available for routing.
## Discovered Projects
Found 3 repos at ~/external_projects:
| Repo | Path | CLAUDE.md |
|------|------|-----------|
| project-a | ~/external_projects/project-a | Added Varie section |
| project-b | ~/external_projects/project-b | Created |
| project-c | ~/external_projects/project-c | Already present |
Projects index updated. You can now use `/route project-a <message>` to work with them.
## Discovered Projects
Added repo: my-app
| Repo | Path | CLAUDE.md |
|------|------|-----------|
| my-app | ~/code/my-app | Added Varie section |
You can now use `/route my-app <message>` to work with it.
## Discover Projects
Scanned ~/external_projects/
No new repos found. Path may already be known or contain no git repos.
Use `/projects` to see all tracked projects.
## Discover Projects
Error: Path does not exist: ~/nonexistent/path
Please check the path and try again.
For repos with existing CLAUDE.md, the skill injects a minimal section:
## Workstation
Key skills: `/work-start`, `/work-checkpoint`, `/work-handover`, `/work-status`.
This helps sessions in those repos know about available skills.
User: "I have some projects in ~/clients that I want to track"
Response:
Running discovery for ~/clients...
## Discovered Projects
Found 2 repos at ~/clients:
| Repo | Path | CLAUDE.md |
|------|------|-----------|
| client-a | ~/clients/client-a | Added Varie section |
| client-b | ~/clients/client-b | Created |
Projects added to index. You can now use `/route client-a <message>` to work with them.
User: "I just cloned a repo to ~/code/new-project, can you add it?"
Response:
Running discovery for ~/code/new-project...
## Discovered Projects
Added 1 repo:
| Repo | Path | CLAUDE.md |
|------|------|-----------|
| new-project | ~/code/new-project | Added Varie section |
You can now use `/route new-project <message>` to work with it.
User: "This is my first time, can you find my repos?"
Response:
Running discovery for default workspace...
## Discovered Projects
Found 12 repos in ~/workplace/projects:
| Repo | Path | CLAUDE.md |
|------|------|-----------|
| webapp | ~/workplace/projects/webapp | Already present |
| api-server | ~/workplace/projects/api-server | Added Varie section |
... (etc)
All repos added to project index. Use `/projects` to see the full list.
Tip: If you have repos in other locations, use `/discover-projects <path>` to add them.
What SKILL.md sets; muted values are Claude Code's defaults
16 skills in this plugin
/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.npx claudepluginhub varie-ai/workstation --plugin varie-workstationOther plugins' skills for the same job