dos-setup

dos-setup is a skill for Claude Code, Codex from anthony-chaudhary/dos-kernel. It costs 55 tokens per session (1,631 once invoked), scanned A, original, MIT.

A setup check for the DOS plugin, a tool that provides repository workflows, hooks, and an MCP server. It verifies that the required Python package can be imported, runs a diagnostic check, and shows what the plugin installed.

In plain words
What is it for?
Use it after installation or when DOS hooks or MCP tools fail, to verify the package, run the workspace diagnosis, inspect bundled capabilities, and find the next DOS workflow.
Why use it?
It identifies installation or interpreter problems before the plugin's hooks and server are expected to work. This is especially useful when the plugin and the Python environment are not using the same interpreter.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the dos-kernel plugin — 18 skills, 3 hooks, 1 MCP server shipped together

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.

agentmods
npx agentmods add skills/anthony-chaudhary/dos-kernel/dos-setup
Any agent
npx skills add anthony-chaudhary/dos-kernel --skill dos-setup
Clone the repo
git clone --depth 1 https://github.com/anthony-chaudhary/dos-kernel

Made for: Claude Code, Codex.

Or install dos-kernel, the plugin that ships this one along with the rest of its 18 skills, 3 hooks, 1 MCP server.

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 dos-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/dos-setup.svg)](https://agentmods.dev/skills/anthony-chaudhary/dos-kernel/dos-setup)
Your own site
<a href="https://agentmods.dev/skills/anthony-chaudhary/dos-kernel/dos-setup"><img src="https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/dos-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,631 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00055 $0.01631
Opus 5 $0.00028 $0.00816
Sonnet 5 $0.00011 $0.00326
Haiku 4.5 $0.00006 $0.00163

Measured 4d ago against content hash 25f84afc2b7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dos-setup 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 4d 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.

claude-plugin/skills/dos-setup/SKILL.md · 124 lines

How it starts

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

dos-setup — confirm the plugin is wired, then point at the next move

The plugin ships JSON + markdown; the brains ship as a pip package. The bundled hooks shell python -m dos.cli … and the bundled MCP server runs python -m dos_mcp.server — both need the dos-kernel package importable in the SAME Python that Claude Code launches. This skill verifies that one prerequisite and shows you what the plugin gave you. It is the only DOS skill that names the pip package; the rest are domain-free.

Step 1 — Is the kernel importable? (the one prerequisite)

python -c "import dos, dos_mcp; print('dos', dos.__version__)"
  • Prints a version → the package is installed and importable. Go to Step 2.

  • ModuleNotFoundError: dos → the plugin's hooks/MCP cannot work yet. Install the package (the [mcp] extra pulls the MCP server framework the bundled server needs):

    pip install "dos-kernel[mcp]"
    

    Install it into the SAME interpreter Claude Code runs (the one python resolves to here). Then re-run Step 1. If python is the wrong interpreter, the hooks will silently no-op (they fail safe, by design) and the MCP server will print an install hint in /mcp.

  • ModuleNotFoundError: dos_mcp → the core installed but not the MCP extra; re-run the pip install "dos-kernel[mcp]" line above.

Step 2 — Does the kernel see this workspace? (confirm wiring)

python -m dos.cli doctor --workspace . --json

A JSON object with lanes, paths, and stamp means the kernel is reading THIS repo. Skim it once — those values are the layout the bundled skills and the MCP dos_arbitrate / dos_verify tools read instead of hardcoding anything. If this repo has no dos.toml, the lanes are auto-derived from your top-level directories and everything still works (the generic default).

Step 3 — See it work end to end (60 seconds, throwaway repo)

Before reading the skills, watch the kernel make a real call. This runs in a disposable git repo and cleans up after itself:

Read the full file on GitHub · 124 lines

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. 4d ago First seen · 124 lines · 55 tokens per session scan A 25f84afc2b7f

Subscribe to this mod's changes

dos-setup is a skill published in the GitHub repository anthony-chaudhary/dos-kernel (19 stars, last pushed 10d ago), licensed MIT. It adds 55 tokens to every session and 1,631 once invoked, about $0.0003 per session on Opus 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.