Agent skill

Harness Doctor

by PromptPartner in PromptPartner/agentsmith

Check whether this project's Agentsmith harness is installed correctly and healthy — fires on "is my harness set up right?", "harness doctor", "check my harness".

MITAuto-check passedAgent Workflows

Install Harness Doctor

skills CLI
$ npx skills add PromptPartner/agentsmith --skill harness-doctor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PromptPartner/agentsmith harness-doctor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PromptPartner/agentsmith.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/harness-doctor .claude/skills/harness-doctor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
harness-doctor
GitHub stars
177
Token cost
~845 tokens
SKILL.md length
389 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Check whether this project's Agentsmith harness is installed correctly and healthy — fires on "is my harness set up right?", "harness doctor", "check my harness".

  • Agent Workflows work in your project
  • SKILL.md covers When this fires, Identify the target, Fast path — if the Agentsmith… and Fallback — self-contained…, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Harness Doctor is an agent skill from PromptPartner/agentsmith. Check whether this project's Agentsmith harness is installed correctly and healthy — fires on "is my harness set up right?", "harness doctor", "check my harness". Part of the Agentsmith harness; checks each selected agent's managed rules, settings, skills, hooks, verification, and leanness with a one-line fix for each finding.

Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires filesystem and command access; the full report requires the cross-platform Agentsmith CLI.

It sits in Agent Workflows. The repository describes itself as: Universal, model-agnostic operating harness for AI agents (Claude, Codex, Gemini, …) — a lean core + work-type profiles assembled by one setup script. The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “s Agentsmith harness is installed correctly and healthy — fires on”
  • “harness doctor”
  • “check my harness”
  • “/harness-doctor”

Requirements

  • Compatibility (from SKILL.md): Requires filesystem and command access; the full report requires the cross-platform Agentsmith CLI.

What it can do on your machine

Read from SKILL.md and the folder at commit 19afde4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires filesystem and command access; the full report requires the cross-platform Agentsmith CLI.

    From compatibility in the SKILL.md frontmatter.

Context cost

Harness Doctor loads about 845 tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 389 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~86
When it runs · the whole SKILL.md, loaded when a task matches
~845

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PromptPartner/agentsmith at commit 19afde4, republished under its MIT licence (© PromptPartner). 389 words, ~845 tokens.

Download SKILL.mdSave it as .claude/skills/harness-doctor/SKILL.md (or your agent's skills folder).
name
harness-doctor
description
Check whether this project's Agentsmith harness is installed correctly and healthy — fires on "is my harness set up right?", "harness doctor", "check my harness". Part of the Agentsmith harness; checks each selected agent's managed rules, settings, skills, hooks, verification, and leanness with a one-line fix for each finding.
compatibility
Requires filesystem and command access; the full report requires the cross-platform Agentsmith CLI.

Harness doctor — is the harness healthy?

Confirm the harness is wired correctly, in plain language, with a concrete fix per finding.

When this fires

"is my harness set up right / healthy?" / "harness doctor" / after an install or a --self-update.

Identify the target

Use the agent named by the operator or the explicit AGENTSMITH_AGENT value. Never infer the active agent from this skill's install path: portable canonical content may be copied into a required client adapter such as .claude/skills. Without an explicit agent, run the common project checks and label agent-specific capabilities as unknown.

Fast path — if the Agentsmith CLI is available

Run agentsmith doctor, adding --agent <id[,id...]> when the target is known. If the command is not on PATH, use .agentsmith/agentsmith on macOS/Linux or .agentsmith\\agentsmith.cmd on Windows. Report instructions, actual safety, skills, MCP/config, hooks/scanner, and runtime helpers separately. For instructions, report the effective global/project/nested chain, fingerprints, managed core metadata, and combined/duplicate token estimates. An unsupported optional capability does not make instruction discovery unhealthy, and a duplicate core is a warning rather than permission to rewrite it.

Show full SKILL.md (213 more words)Show less

Fallback — self-contained project checks

Check each; report pass, or a one-line fix:

  • Rules: canonical AGENTS.md is present and contains the AgentSmith BEGIN/END managed block. When a target requires a generated instruction adapter such as CLAUDE.md, compare its managed content with AGENTS.md. Fix: update the intended agent through the Agentsmith installer.
  • Configuration: validate only the declared target's native configuration. For Claude, check .claude/settings.json and/or settings.local.json. For Codex, validate .codex/config.toml when present and the managed config.toml under CODEX_HOME (or the user's .codex directory when that variable is unset). Never treat one client's configuration as proof of another's.
  • Skills and hooks: inspect the shared .agents/skills pack first, then any genuinely required client adapter and the target's declared hook integration. Never report hook parity for a client that only discovers instructions or skills.
  • .harness/verify.conf exists AND has a real phase — not just the sanity :: placeholder. Fix: edit it to list this project's real checks.
  • Runtime helpers: agentsmith verify --list succeeds without requiring Bash or WSL.
  • Leanness: use the compatibility report's static-context measurement for canonical AGENTS.md, and report the line/token budget. Over budget → move prose into a skill or doc, not more core/.

Report

A short pass/fix list headed by the selected agent or “common project checks,” most-important first. End with the single highest-value fix to do next.

© PromptPartner, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/harness-doctor of PromptPartner/agentsmith.

Open the folder on GitHubat commit 19afde4

Compare with similar skills

Harness Doctor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Harness Doctor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Harness Doctor this skillPromptPartner/agentsmith177—~845Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k36 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 36 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from PromptPartner/agentsmith

All 10 skills in this repo
  • Autonomous Run

    PromptPartner/agentsmith

    Prepare, start, inspect, resume, or stop a finite local overnight coding run after a human has accepted a Wayfinder terminal spec; coordinates a declared Claude/Codex maker and independent checker…

    177 GitHub stars~1.3k tokensUpdated 2 days ago
    Auto-check passed
  • Grill With Docs

    PromptPartner/agentsmith

    Grill a fuzzy, single-session repository change into shared language, recorded decisions, and a handoff-ready plan.

    177 GitHub stars~960 tokensUpdated 2 days ago
    Auto-check passed
  • Wayfinder

    PromptPartner/agentsmith

    Wayfind a foggy, multi-session effort into an accepted repository spec and separate implementation-ticket drafts.

    177 GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed
  • Handoff

    PromptPartner/agentsmith

    Checkpoint work for recovery — fires on "handoff", "wrap up", context pressure, a closed phase, or before a long external wait or irreversible gate.

    177 GitHub stars~702 tokensUpdated 2 days ago
    Auto-check passed
  • Harness Help

    PromptPartner/agentsmith

    Orient a non-coder to this project's Agentsmith harness — fires on "what is this harness?", "what are my rules?", "which profile am I on?", "what do I type next?".

    177 GitHub stars~568 tokensUpdated 2 days ago
    Auto-check passed
  • New Feedback

    PromptPartner/agentsmith

    Log a harness lesson / post-incident so the SYSTEM improves, not just this one bug — fires on "log a harness lesson", "post-incident", "we should make this less likely", System-Evolution moments.

    177 GitHub stars~608 tokensUpdated 2 days ago
    Auto-check passed

Categories

Questions about Harness Doctor

What does Harness Doctor do?

Check whether this project's Agentsmith harness is installed correctly and healthy — fires on "is my harness set up right?", "harness doctor", "check my harness". Harness Doctor is an agent skill from PromptPartner/agentsmith.", "harness doctor", "check my harness".

When should I use Harness Doctor?

Harness Doctor fits situations like: agent Workflows work in your project.

How do I install Harness Doctor in Claude Code?

Run `npx skills add PromptPartner/agentsmith --skill harness-doctor -a claude-code`. Or copy the skill folder (skills/harness-doctor in PromptPartner/agentsmith) into .claude/skills/harness-doctor in your project. Claude Code loads it when a task matches its description.

How do I install Harness Doctor in Codex?

Run `npx skills add PromptPartner/agentsmith --skill harness-doctor -a codex`. Or copy the skill folder (skills/harness-doctor in PromptPartner/agentsmith) into .agents/skills/harness-doctor in your project. Codex loads it when a task matches its description.

Can I use Harness Doctor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PromptPartner/agentsmith --skill harness-doctor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/harness-doctor, .gemini/skills/harness-doctor, .github/skills/harness-doctor and .opencode/skills/harness-doctor in your project.

What does Harness Doctor need to run?

SKILL.md names no scripts, command-line tools or credentials: Harness Doctor is instructions for the agent only. Compatibility (from SKILL.md): Requires filesystem and command access; the full report requires the cross-platform Agentsmith CLI..

Does Harness Doctor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Harness Doctor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Harness Doctor use?

Harness Doctor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Harness Doctor use?

About 845 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Harness Doctor?

Skills that share tags, products or a category with Harness Doctor: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Harness Doctor?

PromptPartner (a GitHub user) maintains it in PromptPartner/agentsmith, which has 177 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 9, 2026.

Source: PromptPartner/agentsmith on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.