doctor

doctor is a skill for Codex from hehee9/codex-compressor. It costs 23 tokens per session (265 once invoked), scanned A, original, Apache-2.0.

A diagnostic command for codex-compressor, a tool that manages Codex settings and hooks. It checks Python, platform support, permissions, hook support, and buffer settings.

In plain words
What is it for?
Checking whether the environment is supported, whether settings can be read or written, and whether existing buffer values need migration.
Why use it?
It helps identify setup problems before installation or use, including settings that may need review.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Checking whether the environment is supported, whether settings can be read or written, and whether existing buffer values need migration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hehee9/codex-compressor/doctor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hehee9/codex-compressor --skill doctor
Clone the repo
git clone --depth 1 https://github.com/hehee9/codex-compressor

Made for: Codex.

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/hehee9/codex-compressor/doctor/github.svg)](https://agentmods.dev/skills/hehee9/codex-compressor/doctor)
Your own site
<a href="https://agentmods.dev/skills/hehee9/codex-compressor/doctor"><img src="https://agentmods.dev/badge/skills/hehee9/codex-compressor/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/hehee9/codex-compressor/doctor"><img src="https://agentmods.dev/badge/skills/hehee9/codex-compressor/doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 265 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.00023 $0.00265
Opus 5.5 $0.00009 $0.00106
Sonnet 5.5 $0.00005 $0.00053
Haiku 4.5 $0.00002 $0.00026

Measured 3mo ago against content hash a998b16bb9a9, 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 3mo 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/codex-compressor/skills/doctor/SKILL.md · 26 lines

What it actually says

진단

# macOS/Linux
PYTHONPATH="${PLUGIN_ROOT}/runtime" python3 -m codex_compressor doctor

# Windows PowerShell
$env:PYTHONPATH = Join-Path $env:PLUGIN_ROOT "runtime"
py -3 -m codex_compressor doctor

진단은 다음을 확인합니다.

  1. Python이 3.11 이상인지 확인합니다.
  2. 현재 플랫폼과 Codex 버전이 지원 범위인지 확인하고, 알 수 없는 버전은 경고로 표시합니다.
  3. Codex 설정 파일을 읽고 쓸 권한이 있는지 확인합니다.
  4. 후크를 사용하는 모드라면 후크 기능과 /hooks 신뢰 승인이 가능한지 확인합니다.
  5. 새 설치 기본값 16384, 인식 가능한 기존 값 155200, 기타 값에 대한 마이그레이션 확인을 구분합니다.

진단에서 WARN이 나오면 이유를 확인한 뒤 진행합니다. FAIL이나 BLOCKED를 무시하고 설정 파일을 직접 덮어쓰지 않습니다.

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. 3mo ago First seen · 26 lines · 23 tokens per session scan A a998b16bb9a9

Subscribe to this mod's changes

doctor is a skill published in the GitHub repository hehee9/codex-compressor (10 stars, last pushed 29d ago), licensed Apache-2.0. It adds 23 tokens to every session and 265 once invoked, about $0.0001 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-08-31.

Related

doctor compared with skills from other repositories

doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doctorhehee9/codex-compressorSkill1029d agoApache-2.0A23Codex
developer-cognitive-instinctsiampantherr/SecureContextSkill81mo agoMITA22Claude Code
developer-anti-patterns-to-avoidiampantherr/SecureContextSkill81mo agoMITA26Claude Code
developer-debugging-methodologyiampantherr/SecureContextSkill81mo agoMITA21Claude Code
developer-performance-instinctsiampantherr/SecureContextSkill81mo agoMITA20Claude Code
mex-statechartmex-memory/mexSkill1.8kyesterdayMITA73Codex
kn-debugknowns-dev/knownsSkill2565d agoMITA25Claude Code, Codex