YALC-the-GTM-operating-system: Skill for Claude Code

.claude/skills/run-doctor/SKILL.md

run-doctor is a skill for Claude Code from Othmane-Khadri/YALC-the-GTM-operating-system. It costs 107 tokens per session (1,942 once invoked), scanned A, original, MIT.

A read-only health check for YALC GTM-OS, a tool for managing go-to-market work. It checks the environment, database, settings, provider connections, and current runtime state.

In plain words
What is it for?
Use it to check whether YALC is working, whether configuration and API keys are set up, and which diagnostic layer needs attention.
Why use it?
It shows whether YALC is correctly connected and configured without changing files or using service credits. It also points out missing or warning conditions.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Othmane-Khadri/YALC-the-GTM-operating-system's own configuration. It tells Claude Code how to work on YALC-the-GTM-operating-system itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything YALC-the-GTM-operating-system configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Othmane-Khadri/YALC-the-GTM-operating-system. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Othmane-Khadri/YALC-the-GTM-operating-system/main/.claude/skills/run-doctor/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Othmane-Khadri/YALC-the-GTM-operating-system

Made for: Claude Code.

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 run-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/othmane-khadri/yalc-the-gtm-operating-system/run-doctor/github.svg)](https://agentmods.dev/skills/othmane-khadri/yalc-the-gtm-operating-system/run-doctor)
Your own site
<a href="https://agentmods.dev/skills/othmane-khadri/yalc-the-gtm-operating-system/run-doctor"><img src="https://agentmods.dev/badge/skills/othmane-khadri/yalc-the-gtm-operating-system/run-doctor/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 run-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/othmane-khadri/yalc-the-gtm-operating-system/run-doctor"><img src="https://agentmods.dev/badge/skills/othmane-khadri/yalc-the-gtm-operating-system/run-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,942 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 warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 104
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 142
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00107 $0.01942
Opus 5 $0.00053 $0.00971
Sonnet 5 $0.00021 $0.00388
Haiku 4.5 $0.00011 $0.00194

Measured 13d ago against content hash 8d601251a3a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

run-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 13d 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/skills/run-doctor/SKILL.md · 154 lines

How it starts

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

Run Doctor

I'll run the 5-layer health check and tell you what's missing. This is the read-only diagnostic that proves YALC is wired up correctly — environment file, SQLite schema, framework + user config, live provider connectivity, and runtime state. Nothing here writes to disk or burns credits.

When This Skill Applies

Use this skill when the user says:

  • "is YALC working"
  • "diagnose YALC"
  • "check YALC health"
  • "is everything configured"
  • "run the health check"
  • "are my keys set up"

NOT this skill (use debugger instead):

  • A specific command failed — debugger walks the error funnel layer by layer.
  • "fix", "not working", "broken", "troubleshoot" — those route to debugger.

NOT this skill (use setup instead):

  • "set up YALC" — that's the onboarding flow.

What This Skill Does

  1. Imports the runDoctor function from src/lib/diagnostics/doctor.ts directly (no fresh CLI subprocess).
  2. Captures the printed health check output by intercepting console.log and process.exit.
  3. Renders a clean per-layer summary: PASS / FAIL / WARN / SKIP for each check.
  4. For any FAIL'd or WARN'd provider, surfaces the matching /keys/connect/<provider> URL (the URL hint A5 added).
  5. Offers to walk you through fixing each failure — typically by opening the relevant /keys/connect/... route in your browser via yalc-gtm dashboard --route /keys/connect/<provider>.

What This Skill Does NOT

  • Modify env files, configs, or the database. Read-only.
  • Send any external requests beyond the live provider probes that doctor itself runs.
  • Auto-fix anything. All fixes need your approval.

Pre-flight (do this before step 1)

Onboarding interruption guard. Run:

test -f ~/.gtm-os/.in-flight-setup && echo "BLOCKED" || echo "OK"

If BLOCKED, surface a soft warning: setup is mid-flight and the diagnostic snapshot may be incomplete (config + DB are still being assembled). Since this skill is read-only and never writes anything, ask the user whether to (a) run anyway against the in-flight state, or (b) finish yalc-gtm setup --resume first and re-invoke. Default to (b) unless the user explicitly opts in to (a).

Read the full file on GitHub · 154 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. 13d ago First seen · 154 lines · 107 tokens per session scan A 8d601251a3a8

Subscribe to this mod's changes

run-doctor is a skill published in the GitHub repository Othmane-Khadri/YALC-the-GTM-operating-system (301 stars, last pushed 23d ago), licensed MIT. It adds 107 tokens to every session and 1,942 once invoked, about $0.0005 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.