workspace-bootstrap

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

A setup workflow for preparing a DocMason repository, including its environment, required folders, and recorded runtime information.

In plain words
What is it for?
Use it when starting DocMason work, when its virtual environment is missing, or when the recorded workspace state says repair is needed.
Why use it?
It turns an unready or moved project workspace into a state suitable for safe local operation and avoids trusting an unsuitable Python setup.

Skill for Claude CodeCodex

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

Good fit Use it when starting DocMason work, when its virtual environment is missing, or when the recorded workspace state says repair is needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jetxu-llm/docmason/workspace-bootstrap
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-bootstrap
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-bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/skills/jetxu-llm/docmason/workspace-bootstrap/github.svg)](https://agentmods.dev/skills/jetxu-llm/docmason/workspace-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/jetxu-llm/docmason/workspace-bootstrap"><img src="https://agentmods.dev/badge/skills/jetxu-llm/docmason/workspace-bootstrap/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-bootstrap

Your own site · 80×15
<a href="https://agentmods.dev/skills/jetxu-llm/docmason/workspace-bootstrap"><img src="https://agentmods.dev/badge/skills/jetxu-llm/docmason/workspace-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,752 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.00028 $0.01752
Opus 5.5 $0.00011 $0.00701
Sonnet 5.5 $0.00006 $0.00350
Haiku 4.5 $0.00003 $0.00175

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

Security

Grade A, and why

workspace-bootstrap 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-bootstrap/SKILL.md · 89 lines

How it starts

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

Workspace Bootstrap

Use this skill when the task is to make a DocMason workspace ready for use, or when ask has discovered that the workspace is not yet ready for a safe answer path.

This is also the correct first explicit setup workflow when the current agent is not running on the native Codex path and needs to determine whether adapter-specific guidance should be refreshed.

Required Capabilities

  • local file access
  • shell or command execution
  • ability to inspect command output

If the agent cannot perform these capabilities, stop and explain that the environment is not capable enough for the workflow.

Procedure

  1. Inspect runtime/bootstrap_state.json when it exists.
    • if it already says the current workspace root is ready and .venv still exists, do not rerun deep bootstrap work by default
    • if it belongs to another workspace root, treat that as a moved-repo repair case
    • treat self-contained as the only ordinary ask-time ready environment grade
      • in practice this means the repo-local steady-state runtime is trusted for ordinary work
    • treat mixed and degraded as repair-needed states
  2. If .venv is absent or docmason is not yet runnable from the repo-local environment, start with:
    • ./scripts/bootstrap-workspace.sh --yes
    • add --json when machine-readable output helps
    • on native Codex ordinary cold starts, treat ./scripts/bootstrap-workspace.sh --yes --json as the single governed mutation surface before ask-time workspace work can continue
    • the launcher should run a capability-aware preflight first, then either continue silently or stop once with a structured host-access-upgrade boundary
    • in Codex Default permissions, the ordinary path should use repo-local bootstrap cache only; it should not probe shared user cache paths first
    • the launcher should prefer the controlled UV bootstrap asset path for ordinary native cold starts instead of broad local-machine Python scavenging
    • the launcher may honor an explicit DOCMASON_BOOTSTRAP_PYTHON override for operator repair, but that is not the ordinary first-run path
  3. Once the launcher succeeds, prefer the repo-local environment for subsequent commands:
    • ./.venv/bin/python -m docmason doctor --json
    • ./.venv/bin/python -m docmason prepare --json --yes
    • or the docmason executable installed inside .venv
  4. Run docmason doctor --json when you need a readiness snapshot after launcher completion or on an already prepared workspace.
  5. Run docmason prepare --json --yes when the launcher was not used, or when bootstrap needs an explicit rerun to repair or complete the repo-local environment.
  6. If prepare reports a degraded result, follow the reported next steps and rerun only the necessary deterministic command.
  7. Use docs/setup/manual-workspace-recovery.md only when the launcher or prepare still cannot finish honestly after the governed automatic path has already had enough access.
  8. If the corpus already contains PPTX, DOCX, or XLSX files and LibreOffice is missing or detected but unusable:
    • LibreOffice is required only for an Office-rendering corpus; it is not a universal machine baseline dependency
    • on macOS with Homebrew already present, DocMason may use brew install --cask libreoffice-still
    • on macOS without Homebrew, DocMason should use the official LibreOffice installer path instead of trying to install Homebrew first
    • on macOS, if LibreOffice is already detected but fails the governed smoke probe, prepare --yes should treat that as a repair or reinstall case rather than as a fake ready state
    • on Linux, install LibreOffice with the distro package manager or the official packages, then ensure soffice is on PATH
  9. Run docmason status --json when you need to confirm the resulting workspace stage.
  10. Recommend docmason sync --json when source files are present and the user needs a usable knowledge base next.
  11. If the current agent ecosystem is a compatibility target such as Claude Code rather than the native Codex path, decide here whether generated adapter guidance is needed.
  12. Recommend docmason sync-adapters --json only when the current agent ecosystem depends on generated adapter files or those files are missing or stale.
  13. Once .venv exists, prefer the repo-local interpreter for subsequent repository commands instead of switching back to an arbitrary system Python.
  14. Return the final readiness judgment to the main agent. Do not delegate environment sign-off.

Read the full file on GitHub · 89 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 · 89 lines · 28 tokens per session scan A 1a93833e335e

Subscribe to this mod's changes

workspace-bootstrap is a skill published in the GitHub repository JetXu-LLM/DocMason (152 stars, last pushed 4d ago), licensed Apache-2.0. It adds 28 tokens to every session and 1,752 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-bootstrap compared with skills from other repositories

workspace-bootstrap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workspace-bootstrapJetXu-LLM/DocMasonSkill1524d agoApache-2.0A28Claude Code, Codex
openloreaakarim/OpenLoreSkill2.0k9d agoApache-2.0A42Claude Code, Codex
openlore-housekeepingaakarim/OpenLoreSkill2.0k9d agoApache-2.0A48Claude Code, Codex
openkb-deck-neonVectifyAI/OpenKBSkill5.0k4mo agoApache-2.0A173Claude Code, Codex
openkb-deck-editorialVectifyAI/OpenKBSkill5.0k4mo agoApache-2.0A117Claude Code, Codex
openkb-html-criticVectifyAI/OpenKBSkill5.0k4mo agoApache-2.0A132Claude Code, Codex
transformer-attentionVectifyAI/OpenKBSkill5.0k4mo agoApache-2.0A46Claude Code, Codex