Doctor
1:1 WorkBuddy port of oh-my-codex — 46 catalog-driven skills (30 active + 16 deprecated), bilingual docs.
npx -y skills add mrzhangguoguo/oh-my-workbuddy --skill doctorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Diagnose and fix oh-my-workbuddy skill installation issues — missing or duplicate skill roots, stale package versions, broken AGENTS.md/memory. Trigger "doctor", "fix skill install", "why is my skill missing", "diagnose skills".
SKILL.md
6.0 KB, ~1.6k tokens by cl100k_base, as published. Nobody here has run it
Ported from oh-my-codex
doctor. OMX runtime conventions ($macroinvocation,omxCLI,.omx/state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list,.workbuddy/memory).
Doctor Skill
You are the oh-my-workbuddy Doctor — diagnose and fix installation issues for this
skill package. WorkBuddy loads skills from a user skill root (~/.workbuddy/skills/)
and an optional project skill root (.workbuddy/skills/ in the repo). A healthy
install has exactly one copy of each skill in the active root(s), and no stale
leftovers from older installs that could cause duplicate or shadowed entries.
Note: OMX/Codex-specific surfaces (
~/.codex/config.toml,~/.codex/hooks/*.sh,.omx/state) do not exist in WorkBuddy and are intentionally dropped from this diagnostic.
Canonical skill roots
- User scope (recommended):
~/.workbuddy/skills/ - Project scope:
.workbuddy/skills/(repo-relative)
If both a legacy path (e.g. an old ~/.codebuddy/skills/ or ~/.agents/skills/)
and the canonical root exist, WorkBuddy may discover skills from both trees and
show duplicate entries. Archive or remove the legacy tree once you have confirmed
~/.workbuddy/skills/ is your active root.
Task: Run Installation Diagnostics
Use the task list (TaskCreate/TaskUpdate) to track the six checks below as you go,
and append a short summary to .workbuddy/memory/YYYY-MM-DD.md when done.
Step 1: Check Package Version
# Installed location(s) of oh-my-workbuddy skills
find ~/.workbuddy/skills -maxdepth 2 -name SKILL.md 2>/dev/null | head
# Latest published version (if distributed via npm)
LATEST=$(npm view oh-my-workbuddy version 2>/dev/null)
echo "Latest npm: ${LATEST:-<not published via npm>}"
Diagnosis:
- If
~/.workbuddy/skillsdoes not exist or is empty: CRITICAL — no user skills installed. - If a per-skill version marker is present and differs from
LATEST: WARN — outdated install (run setup again).
Step 2: Check for Duplicate / Legacy Skill Roots
ls -la ~/.workbuddy/skills/ 2>/dev/null
ls -la .workbuddy/skills/ 2>/dev/null
# Look for legacy leftovers from older tooling
ls -la ~/.codebuddy/skills/ 2>/dev/null
ls -la ~/.agents/skills/ 2>/dev/null
Diagnosis:
- If
~/.workbuddy/skillsand.workbuddy/skillsboth contain the same skill: WARN — same skill present in two scopes (project copy shadows user copy). - If a legacy tree (
~/.codebuddy/skills,~/.agents/skills) exists with oh-my-workbuddy skills: WARN — legacy root can cause duplicate entries; remove it.
Step 3: Check AGENTS.md / Project Wiring
ls -la ~/.workbuddy/AGENTS.md 2>/dev/null
ls -la .workbuddy/AGENTS.md 2>/dev/null
ls -la AGENTS.md 2>/dev/null
Diagnosis:
- If a project
AGENTS.mdexists but lacks the oh-my-workbuddy marker: WARN — outdated project guidance. Refresh it (see Fix below). - Missing
AGENTS.mdis OK unless the project expects orchestration wiring.
Step 4: Check Memory Directory
ls -la ~/.workbuddy/memory/ 2>/dev/null
ls -la .workbuddy/memory/ 2>/dev/null
Diagnosis:
- If the memory directory is missing: INFO — memory is optional; create it if you
want durable cross-session notes (used by
note/hudidioms).
Step 5: Check for Stale Leftover Scripts
# Any old hook/wrapper scripts left by previous installs
ls -la ~/.workbuddy/hooks/ 2>/dev/null
ls -la .workbuddy/hooks/ 2>/dev/null
Diagnosis:
- If legacy
*.shwrappers exist (e.g.keyword-detector.sh,session-start.sh): WARN — stale scripts from an older install; safe to remove.
Step 6: Verify a Known Skill Loads
test -f ~/.workbuddy/skills/doctor/SKILL.md && echo "doctor: OK" || echo "doctor: MISSING"
test -f ~/.workbuddy/skills/omx-setup/SKILL.md && echo "omx-setup: OK" || echo "omx-setup: MISSING"
Diagnosis:
- If a known skill is missing from the active root: CRITICAL — install is incomplete.
Report Format
After running all checks, output:
## oh-my-workbuddy Doctor Report
### Summary
[HEALTHY / ISSUES FOUND]
### Checks
| Check | Status | Details |
|-------|--------|---------|
| Package Version | OK/WARN/CRITICAL | ... |
| Skill Roots (dup/legacy) | OK/WARN | ... |
| AGENTS.md | OK/WARN | ... |
| Memory Dir | OK/INFO | ... |
| Legacy Scripts | OK/WARN | ... |
| Known Skill Loads | OK/CRITICAL | ... |
### Issues Found
1. [Issue description]
2. [Issue description]
### Recommended Fixes
[List fixes based on issues]
Auto-Fix (if user confirms)
If issues are found, ask the user: "Would you like me to fix these automatically?" Use the AskUserQuestion tool for a clean yes/no. If yes, apply fixes:
Fix: Missing / Incomplete Install
Re-run setup:
./omw setup --force --verbose
# or, for a single user: install skills to ~/.workbuddy/skills
See the omx-setup skill for details.
Fix: Legacy / Duplicate Skill Roots
# Remove legacy trees only if they contain oh-my-workbuddy skills.
# Back up first if unsure:
# mv ~/.codebuddy/skills ~/.codebuddy/skills.bak
rm -rf ~/.codebuddy/skills
rm -rf ~/.agents/skills
Fix: Stale Leftover Scripts
rm -f ~/.workbuddy/hooks/keyword-detector.sh
rm -f ~/.workbuddy/hooks/persistent-mode.sh
rm -f ~/.workbuddy/hooks/session-start.sh
Fix: Outdated AGENTS.md
Refresh the project guidance. If a AGENTS.md exists, prefer merging rather than
overwriting user-authored content; otherwise write the oh-my-workbuddy-managed block.
Do not delete unrelated project documentation.
Post-Fix
After applying fixes, inform the user:
Fixes applied. Restart the WorkBuddy session / reload skills for changes to take effect.
Gives 0 of the 12 instructions most memory context skills give in ~1.6k tokens
Counted across 674 of the 847 authors here whose files we hold, read 2026-08-06
- inform the user when setup is completein 21 of 674, across 6 files
- confirm the draft with the user before writingin 21 of 674, across 6 files
- update the agent skills block in place if it existsin 21 of 674, across 6 files
- present findings to the userin 20 of 674, across 5 files
- write the three docs files from seed templatesin 20 of 674, across 5 files
- ask the user about each decision one at a timein 19 of 674, across 4 files
- edit CLAUDE.md if it existsin 18 of 674, across 3 files
- explore current repo statein 18 of 674, across 3 files
- do not overwrite user edits to surrounding sectionsin 18 of 674, across 3 files
- back up the original file before overwritingin 16 of 674, across 8 files
- keep the memory index under 200 linesin 15 of 674
- Provide actionable steps and verificationin 13 of 674, across 2 files
Said here and by no other author read
- track checks using task tools
- check package version
- check for duplicate or legacy roots
- check AGENTS.md wiring
- check for stale leftover scripts
- verify a known skill loads
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.