askill
skills-doctor

skills-doctorSafety 85Repository

Validate that the current VM has the right `agent-skills` installed for the repo you’re working in.

0 stars
1.2k downloads
Updated 3/29/2026

Package Files

Loading files...
SKILL.md

skills-doctor

Description

Validate that the current VM has the right agent-skills installed for the repo you’re working in.

This is a soft doctor: it reports issues and suggested fixes, but should not block work.

Use when:

  • Agents are missing required skills (dx-doctor, lockfile-doctor, railway-doctor, etc.)
  • You suspect ~/.agent/skills is stale on a VM
  • You want a quick “is my skills stack correct for this repo?” check

How it works

The doctor performs two classes of checks:

1. Skills-Plane Health (local diagnosis)

Verifies the shared skills plane at ~/.agent/skills is properly installed:

  • ~/.agent/skills exists (as symlink or directory)
  • Symlink target points at expected canonical location (e.g., ~/agent-skills)
  • AGENTS.md exists in the skills plane
  • Baseline artifact exists (dist/universal-baseline.md)
  • Required skill directories exist for the repo profile
  • Reports installed SHA for version tracking

2. Repo-Specific Skill Checks

  • Picks a repo profile from skill-profiles/ based on your repo’s origin remote URL.
  • Checks that each required skill directory exists under ~/.agent/skills (or AGENT_SKILLS_DIR).
  • Prints a small actionable summary.

Architecture

The skills plane follows a one shared plane per VM model:

~/.agent/skills -> ~/agent-skills (symlink)

Multiple IDE/client surfaces (claude-code, opencode, gemini-cli, etc.) consume this shared plane through their own bootstrap/config rails (e.g., ~/.claude/CLAUDE.md -> ~/.agent/skills/AGENTS.md).

This doctor checks the shared plane locally. For fleet-wide skills alignment, see dx-fleet check --mode weekly which includes:

  • skills_plane_alignment - Fleet-wide skills plane health
  • ide_bootstrap_alignment - IDE bootstrap/config rail alignment

Usage

# From inside a repo (prime-radiant-ai, affordabot, llm-common)
~/.agent/skills/skills-doctor/check.sh

Optional overrides:

export AGENT_SKILLS_DIR=”$HOME/.agent/skills”
export SKILLS_DOCTOR_PROFILE=”prime-radiant-ai”   # or affordabot, llm-common
~/.agent/skills/skills-doctor/check.sh

For JSON output (useful in fleet checks):

~/.agent/skills/health/skills-doctor/check.sh --json

Exit Codes

  • 0: All checks pass
  • 1: Missing skills or skills-plane issues detected
  • 2: Warnings only (recommended skills missing)

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

70/100Analyzed 3/30/2026

A well-structured meta-skill for validating the skills-plane health on a VM. Covers two check classes (local skills-plane health and repo-specific skill checks) with clear architecture explanation, usage examples with environment variable overrides, and proper exit codes. Scores well on safety (soft doctor) and clarity but is tightly coupled to the internal agent-skills ecosystem with limited reusability outside this specific setup. Lacks implementation details and step-by-step setup instructions which slightly reduces actionability. The internal_only signal is moderate - it's a legitimate internal diagnostic tool but not broadly reusable.

85
75
60
70
65

Metadata

Licenseunknown
Version-
Updated3/29/2026
Publisherstars-end

Tags

llm