doctor

doctor is a skill for Claude Code from jcooley8/pincushion-plugin. It costs 57 tokens per session (743 once invoked), scanned A, original, MIT.

A read-only health check for the Pincushion add-on in a coding assistant. It checks the plugin, Node.js, and whether the Pincushion service is available without changing settings or files.

In plain words
What is it for?
Use it to check plugin installation and version, Node.js compatibility, and whether the Pincushion service is running in the current session.
Why use it?
It helps explain why Pincushion tools are missing or why sign-in, project links, or pins do not work. It avoids making changes while diagnosing the setup.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions Claude Code; mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the pincushion plugin — 9 skills, 1 MCP server shipped together

Good fit Use it to check plugin installation and version, Node.js compatibility, and whether the Pincushion service is running in the current session.

Compare 6 skills from other repositories ↓
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 jcooley8/pincushion-plugin
Claude Code
/plugin install pincushion

Made for: Claude Code.

Or install pincushion, the plugin that ships this one along with the rest of its 9 skills, 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 doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/jcooley8/pincushion-plugin/doctor/github.svg)](https://agentmods.dev/skills/jcooley8/pincushion-plugin/doctor)
Your own site
<a href="https://agentmods.dev/skills/jcooley8/pincushion-plugin/doctor"><img src="https://agentmods.dev/badge/skills/jcooley8/pincushion-plugin/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 doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/jcooley8/pincushion-plugin/doctor"><img src="https://agentmods.dev/badge/skills/jcooley8/pincushion-plugin/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 743 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.
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.00057 $0.00743
Opus 5.5 $0.00023 $0.00297
Sonnet 5.5 $0.00011 $0.00149
Haiku 4.5 $0.00006 $0.00074

Measured 6d ago against content hash 106544b3fb17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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.

plugins/pincushion/skills/doctor/SKILL.md · 85 lines

How it starts

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

Pincushion doctor

Run a read-only health check. Do not sign in, create or confirm a project, claim, approve or resolve pins, or edit files. Never print credentials or read ~/.pincushion/.

Checks

1. Plugin

Use only the command for the current host:

claude plugin list --json
codex plugin list --json

In Cursor, check Cursor Settings → Plugins; there is no plugin-list command. Run the host command with --help first if a flag is rejected.

Record whether pincushion is installed and enabled, and its version. If the version is current but the skills look old, recommend /reload-plugins in Claude Code or a new session in the other hosts.

2. Node.js

node --version

The server needs Node.js 22.22 or newer in the 22.x line, or Node.js 24. On an older Node the server exits at start and the error often goes only to the host's MCP log, so the Pincushion tools simply don't appear. Report the version and, if it is too old, tell the user to install Node.js 24 LTS.

3. MCP server

Check that the pincushion MCP tools are available in this session, for example get_project_identity_diagnostic. If they are missing, check that the server can start at all:

  • Claude Code: node "${CLAUDE_PLUGIN_ROOT}/server/cli.js" --version
  • Codex and Cursor: npx -y [email protected] --version

A version number means the package runs; the host has not loaded the server. Recommend restarting the session, then the host's MCP log if it still fails.

4. Sign-in and project

Call get_project_identity_diagnostic with no arguments. It is read-only, makes no network request and never returns credentials. Report:

  • authentication: signed in, or signed out
  • project for this folder: the confirmed or configured project, several candidates (ambiguous), or none

Then call get_project_context with no arguments to confirm the account can read its projects. It is read-only and never creates or changes a project.

5. Pin read

If a project is linked, call list_setup_pins. It is read-only. Report the number of open pins. An empty list is a pass.

Read the full file on GitHub · 85 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. 6d ago Changed 106544b3fb17
  2. 18d ago First seen · 85 lines · 57 tokens per session scan A b1213ffe3920

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository jcooley8/pincushion-plugin (1 stars, last pushed today), licensed MIT. It adds 57 tokens to every session and 743 once invoked, about $0.0002 per session on Opus 5.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-11-15.

Related

doctor compared with skills from other repositories

doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doctorjcooley8/pincushion-pluginSkill1todayMITA57Claude Code
post-mortemgriddynamics/rosettaSkill384todayApache-2.0A17Claude Code
memorix-troubleshootingAVIDS2/memorixSkill9606d agoApache-2.0A36Claude Code
wechat-devtoolsWaterTian/wechat-devtools-mcpSkill1722d agoMITA24Claude Code
qa-knowledgegriddynamics/rosettaSkill384todayApache-2.0A32Claude Code, Codex
solr-querygriddynamics/rosettaSkill384todayApache-2.0A27Claude Code, Codex
debugginggriddynamics/rosettaSkill384todayApache-2.0A19Claude Code