doctor

doctor is a skill for Claude Code from christopherkarani/ryk. It costs 0 tokens per session (400 once invoked), scanned A, original, Apache-2.0.

A diagnostic tool for checking ryk installation, repository policy status, host integration, and Claude Code plugin readiness.

In plain words
What is it for?
Use it to inspect ryk and plugin health, find missing policy files or binaries, and guide follow-up repairs.
Why use it?
It shows which part of the ryk setup is missing or misconfigured before you rely on its safety features.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is ./scripts/zig build.

Part of the ryk plugin — 5 skills shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add christopherkarani/ryk
Claude Code
/plugin install ryk

Made for: Claude Code.

Or install ryk, the plugin that ships this one along with the rest of its 5 skills.

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 doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/christopherkarani/ryk/doctor.svg)](https://agentmods.dev/skills/christopherkarani/ryk/doctor)
Your own site
<a href="https://agentmods.dev/skills/christopherkarani/ryk/doctor"><img src="https://agentmods.dev/badge/skills/christopherkarani/ryk/doctor.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 400 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.1 $0.00000 $0.00400
Opus 5 $0.00000 $0.00200
Sonnet 5 $0.00000 $0.00080
Haiku 4.5 $0.00000 $0.00040

Measured 6d ago against content hash 4f5df3298025, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 6d 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.

integrations/claude-code-plugin/skills/doctor/SKILL.md · 73 lines

What it actually says

doctor

Check ryk installation, policy status, host integration status, and plugin readiness.

When to use

Use this skill when you want to verify that ryk is properly installed, that a policy exists for the current repository, and that the Claude Code plugin integration is ready.

Commands

Run the ryk plugin doctor for Claude Code:

ryk plugin doctor claude

Run the general ryk doctor for platform capabilities:

ryk doctor

Interpreting results

Missing ryk binary

If ryk is not found in PATH, install ryk first. Build from source with Zig 0.16.0:

./scripts/zig build

The binary will be at ./zig-out/bin/ryk.

Missing policy

If .ryk/policy.yaml is missing, initialize one:

ryk init --preset claude-code

If the claude-code preset is not available, use the closest plugin-safe preset:

ryk init --preset generic-agent

Then validate it:

ryk policy check .ryk/policy.yaml

Missing Claude Code plugin install

If the plugin directory is not detected, ensure the ryk repository includes integrations/claude-code-plugin/ and that you are running from the workspace root.

Follow-up diagnostics

If the doctor reports warnings:

  1. Read the warning message carefully.
  2. Fix missing policies or binaries.
  3. Re-run ryk plugin doctor claude to confirm.
  4. If issues persist, run ryk doctor for platform-specific capability notes.

Notes

  • This skill does not modify host configuration.
  • The plugin does not collect telemetry. Release CLI commands may record only fixed anonymous metadata; see docs/telemetry.md.
  • The doctor output goes to stdout; errors go to stderr.
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. 6d ago First seen · 73 lines · 0 tokens per session scan A 4f5df3298025

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository christopherkarani/ryk (39 stars, last pushed 16d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 400 tokens. 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.