workspace-doctor

workspace-doctor is a skill for Claude Code, Codex from JetXu-LLM/DocMason. It costs 21 tokens per session (838 once invoked), scanned A, original, Apache-2.0.

A read-only checker for a DocMason workspace, the project directory and tools used to maintain DocMason content.

In plain words
What is it for?
Use it to inspect workspace readiness and receive commands for bootstrapping or preparing an environment that is not ready.
Why use it?
It shows what is missing or degraded without changing the repository, so the next repair step is clear.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

Good fit Use it to inspect workspace readiness and receive commands for bootstrapping or preparing an environment that is not ready.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jetxu-llm/docmason/workspace-doctor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JetXu-LLM/DocMason --skill workspace-doctor
Clone the repo
git clone --depth 1 https://github.com/JetXu-LLM/DocMason

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workspace-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/jetxu-llm/docmason/workspace-doctor/github.svg)](https://agentmods.dev/skills/jetxu-llm/docmason/workspace-doctor)
Your own site
<a href="https://agentmods.dev/skills/jetxu-llm/docmason/workspace-doctor"><img src="https://agentmods.dev/badge/skills/jetxu-llm/docmason/workspace-doctor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workspace-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/jetxu-llm/docmason/workspace-doctor"><img src="https://agentmods.dev/badge/skills/jetxu-llm/docmason/workspace-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 838 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00838
Opus 5.5 $0.00008 $0.00335
Sonnet 5.5 $0.00004 $0.00168
Haiku 4.5 $0.00002 $0.00084

Measured 3mo ago against content hash b2f967107128, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workspace-doctor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/canonical/workspace-doctor/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workspace Doctor

Use this skill when the task is to inspect the current workspace and explain what is missing or degraded.

Required Capabilities

  • local file access
  • shell or command execution
  • ability to summarize structured diagnostics

If the agent cannot inspect local files or run commands, stop and explain that the workspace cannot be diagnosed reliably.

Procedure

  1. Run docmason doctor --json.
  2. Explain blockers first, then degraded conditions, then optional follow-up.
  3. If the environment is not ready and .venv is absent, direct the next action to ./scripts/bootstrap-workspace.sh --yes.
    • treat the launcher as the governed cold-start preflight and bounded liveness gate for bootstrap Python selection, not as an unbounded trust of whatever python3 happens to be first on PATH
    • on native Codex, the ordinary path should not branch into manual cache probing or manual recovery before that governed launcher settles
  4. Otherwise, if the environment is not ready, direct the next action to docmason prepare --yes.
    • treat mixed and degraded toolchain states as repair-needed, not ordinary ask-time ready
  5. If doctor reports a control-plane blocker or pending confirmation, surface that blocker before lower-severity degraded conditions.
    • for pending native Codex host-access upgrade, direct the next action to switching the thread to Full access
    • for pending high-intrusion prepare, direct the next action to docmason prepare --yes
    • for pending material sync, direct the next action to docmason sync --yes
  6. If office-renderer is blocked:
    • on macOS with Homebrew already present, recommend brew install --cask libreoffice-still or docmason prepare --yes
    • on macOS without Homebrew, recommend docmason prepare --yes or the official installer from https://www.libreoffice.org/download/download/
    • on Linux, recommend the distro package manager or official packages, then re-run doctor
  7. If the normal launcher or prepare path still cannot complete honestly after the governed automatic path has already had enough access, point the deeper fallback to docs/setup/manual-workspace-recovery.md.
  8. Return the diagnosis to the main agent without mutating workspace state.

Read the full file on GitHub · 59 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 59 lines · 21 tokens per session scan A b2f967107128

Subscribe to this mod's changes

workspace-doctor is a skill published in the GitHub repository JetXu-LLM/DocMason (152 stars, last pushed 4d ago), licensed Apache-2.0. It adds 21 tokens to every session and 838 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

workspace-doctor compared with skills from other repositories

workspace-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workspace-doctorJetXu-LLM/DocMasonSkill1524d agoApache-2.0A21Claude Code, Codex
PostHog Events Debuggingdjinilabs/helpmatonSkill10todaynoneA16Claude Code, Codex
resolve-handoffomnigent-ai/omnigentSkill12ktodayApache-2.0A23Claude Code, Codex
iterate-implementationhumanlayer/humanlayerSkill13k7d agoApache-2.0A16Claude Code, Codex
typescript-testingComposioHQ/composioSkill31ktodayMITA92Claude Code, Codex
cli-e2eComposioHQ/composioSkill31ktodayMITA62Claude Code, Codex
potpie-clipotpie-ai/potpieSkill5.8k5d agoApache-2.0A60Codex