/nanlabs-ops:nanlabs-workstation-triagefrom nanlabs-ops
Workstation health triage, validate tooling, directory layout, and run nan-doctor with remediation suggestions.
Ships in nanlabs-ops. 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.
Use when the user reports workstation issues, install problems, tool failures, or needs a health check before starting work.
Run this skill on the local workstation where the user is experiencing issues. Do not run it on a remote server unless the user confirms the remote has the NaNLABS setup.
Verify nan-doctor is installed:
command -v nan-doctor
If missing, install via chezmoi (chezmoi apply) or direct installation.
Repo location: The internal-workstation repository (which manages this skill) is cloned at
~/.ai-workspace/repos/github.com/nanlabs/internal-workstation. When updating or debugging this skill, check that path first.
Use the mode that matches the user's need:
| Mode | Command | When to use |
|---|---|---|
| Colored (default) | nan-doctor | Interactive terminal session, human-readable colored output |
| Markdown | nan-doctor --issue | GitHub issues, Slack threads, tickets, paste-ready block |
| JSON | nan-doctor --json | Automation scripts, CI parsing, enriched machine-readable report |
| ClickUp inventory | nan-doctor --clickup | Upsert this machine to M&I Workstation Inventory (opt-in; requires clickup auth login) |
| ClickUp preview | nan-doctor --clickup-dry-run | Show what would be uploaded without calling ClickUp |
--issue)Always use nan-doctor --issue (not the default) when the output will be shared in:
--json)Use nan-doctor --json only when:
python3 in PATH--clickup)Use when Technology needs a live registry of NaNLABS workstations:
clickup auth status
nan-doctor --clickup-dry-run
nan-doctor --clickup
One task per machine in the Workstation Inventory (ClickUp list ID 901714155258). Never paste API tokens into tickets, auth is via clickup auth login only.
The doctor's behavior is controlled by ~/.config/nanlabs/profile.env. Checks can be selectively enabled/disabled via environment variables:
| Variable | Default | Effect |
|---|---|---|
NAN_DOCTOR_GROUP_CORE | true | Core tools: git, curl, wget, jq, rg, fd, zsh, gh |
NAN_DOCTOR_GROUP_NODE | true | Node.js: fnm, node |
NAN_DOCTOR_GROUP_PYTHON | true | Python: uv, python3 |
NAN_DOCTOR_GROUP_GO | profile-driven | Go: go (enabled with install_group_go or productivity CLIs) |
NAN_DOCTOR_GROUP_DOCKER | true | Docker: docker |
NAN_DOCTOR_GROUP_AI | true | LLM API key presence flags (ANTHROPIC_API_KEY, OPENAI_API_KEY, GEMINI_API_KEY) |
NAN_DOCTOR_GROUP_SKILLS_PRODUCTIVITY | false | Optional productivity tool group |
NAN_DOCTOR_SKILL_JIRA | false | JIRA skill integration check |
NAN_DOCTOR_SKILL_CONFLUENCE | false | Confluence skill integration check |
Note: Profile variables are read from
~/.config/nanlabs/profile.env. If the file is missing, defaults apply.
The doctor validates the presence and structure of:
~/.local/share/nanlabs/prompts~/.local/share/nanlabs/skills~/.local/share/nanlabs/templates~/.local/share/nanlabs/mcp/github~/.local/share/nanlabs/mcp/clickup~/.local/share/nanlabs/mcp/notion~/.local/share/nanlabs/mcp/slackPropose fixes in order of lowest risk first:
chezmoi apply to bootstrap the full NaNLABS installationuv via curl -LsSf https://astral.sh/uv/install.sh, go via chezmoi apply with the go group or productivity profile)gh auth login, clickup auth login, or glab auth login as appropriate~/.config/nanlabs/profile.env and run chezmoi apply~/.config/nanlabs/env.d/go.env exists and GOPATH/bin is on PATH (eval "$(nan-loadenv --emit)")Run with --issue to get the full markdown checklist. Address failures in this order:
chezmoi apply to restore directory structuregh, clickup, glab)~/.config/nanlabs/profile.env matches the intended profileIf python3 is not available, fall back to nan-doctor --issue and parse the markdown manually.
The easyoptions.sh library is missing from ~/.local/lib/nanlabs. Re-run chezmoi apply to restore it, or check if the NaNLABS installation is incomplete.
If the doctor reports legacy workflow-* symlinks in ~/.claude/skills/ or ~/.agents/skills/, these should point to nanlabs-* equivalents. Run dots-skills sync or re-link manually.
profile.env or authentication state, user must approve and execute fixes.nanlabs-dev-companion or direct chezmoi guidance.nanlabs-build-error-resolver instead of this skill.nan-doctor --help, full option list~/.config/nanlabs/profile.env, check group configuration~/.local/lib/nanlabs/easy-options/easyoptions.sh, dependency libraryWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub nanlabs/agent-toolkit --plugin nanlabs-ops4 skills in this plugin
/hol-guardHOW - Set up, verify, and troubleshoot HOL Guard local protection for supported AI coding harnesses. Use when a user wants to inspect Guard status, detect a harness, install Guard, run guided or manual setup, perform a dry run, launch through Guard, or review approvals and receipts./nanlabs-presentations-reconciliationReconcile the NaNLABS ClickUp Presentations list against Google Calendar Thursday events. Creates missing tasks; updates Video Link, External Minutes, talk type, category, and description fields. Use after a batch of delivered talks./nanlabs-propose-skillHOW — Propose a new public skill or agent to the GitHub repository nanlabs/agent-toolkit (https://github.com/nanlabs/agent-toolkit). Use when sharing a local skill, checking for duplicates, opening a contribution issue, or preparing a pull request against that repo for maintainers to review.