/oh-my-claudecode-research:update-version runs instead · from oh-my-claudecode-research
Propagates version bumps in artifact filenames (e.g. v4→v5) to all referencing files like CLAUDE.md, skills, agent memories, and export scripts, then offers to delete obsolete archives.
This skill never runs in Claude Code
It ships in oh-my-claudecode-research at skills/, but /oh-my-claudecode-research:update-version (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
When the user bumps a version — the figure Deck file, the Outline file, or a working copy of
either — propagate the new filename/version into every file that references the old one so no
downstream tool points at a stale file. Then offer to delete genuinely-obsolete archive files
(never auto-delete).
Default to English for the report; keep filenames verbatim. Override the report language via
the project CLAUDE.md.
Core principle: there is ONE current version of each artifact. Every live reference should name the current file. The only references that stay frozen are dated historical records (sync/todofig reports, dated changelog entries inside agent memories) — those record what was true at a past date and must not be rewritten.
The previously-current values live in CLAUDE.md ## Research stack:
| Setting | ## Research stack key | Env var |
|---|---|---|
| Figure deck | Deck file | DECK_FILE |
| Outline | Outline file | OUTLINE_FILE |
The delta between these and the user's new files gives the rename pairs. After propagating, update
the ## Research stack values themselves so they hold the new current names.
You need the NEW current value for each bumped artifact (outline and/or deck). If $ARGUMENTS
contains @-mentions, parse them. Otherwise ask the user and stop for input — say exactly which
to provide and that they should reply with @-mentions. Do not guess versions. A user may bump only
one artifact (e.g. only the deck); accept a partial set and only propagate what changed.
For each bumped artifact:
CLAUDE.md ## Research stack — Deck file: and Outline file: hold the previously-current
values. The delta gives the rename pairs (e.g. figures_v7.key → figures_v8.key; outline_v4.md → outline_v5.md).outline.md → <new .md>)
if the project has legacy suffix-less references that silently resolve to the old file.figures_v[0-9]+\.key, outline(_v[0-9]+)?\.(md|docx).Print the derived OLD → NEW pairs before applying.
The live sweep is the source of truth (line numbers drift — never trust cached line numbers).
Search the workspace for the tolerant pattern (force-include gitignored .claude/ internals):
PAT='figures_v[0-9]|outline(_v[0-9]+)?\.(md|docx)|<your old tokens>'
grep -rInE "$PAT" . --include='*.md' --include='*.sh' --include='*.py' \
-g '!.git' 2>/dev/null | grep -av 'Binary file' | sort -u
# .claude internals (some paths are gitignored):
grep -rInE --no-ignore --hidden "$PAT" .claude 2>/dev/null | grep -av 'Binary file' | sort -u
Cross-check the sweep against the usual homes of a version pointer (project-specific — the sweep finds the exact set):
CLAUDE.md — ## Research stack Deck file: / Outline file:; any prose in the file-layout / figure-map / conventions sections that names the current outline or deck./sync docx-embed target, a /todofig mtime-compare line, the cropfig default deck path).<outline>".sync_reports/*.md, todofig_reports/*.md).Last synced: marker + past-dated changelog bullets; a sync-coordinator's dated log entries.Outline v4 line atop outline_v3.md) — that file is that version.Edit each LIVE pointer with the OLD → NEW replacement (exact string replacement; replace-all where the
token repeats). Then update the ## Research stack Deck file: / Outline file: values to the new
names. After editing config/scripts, verify:
# script syntax still parses, and the new file the script now points to exists:
bash -n <export-script> && echo "export script OK"
ls -la <new deck/outline file>
If the user only bumped one artifact, only touch that artifact's pointers.
Superseded files accumulate. After the pointer update, list delete candidates (superseded outline
archives, retired generators, old changelogs) and ask the user which to remove. Never delete without
explicit per-file confirmation. Re-verify each still exists and is truly superseded before proposing.
Present them as a checklist ([ ] delete per file); act only on the ones the user checks. Use git rm
if tracked, rm if not. If a deleted file was referenced by a LIVE pointer, fix that reference too.
# Version pointer update — YYYY-MM-DD
## Renames applied
- <old> → <new> (per artifact)
## Files updated (LIVE pointers)
- <file> : <what changed> ✅
## Skipped (FROZEN — historical records)
- <file / reason>
## Delete candidates (confirmation needed)
- [ ] <file>
## Verification
- export script syntax OK / new file exists / config values updated
End by noting anything the sweep surfaced that wasn't expected, so future runs know where new pointers live.
@-mentioned. Never assume the new version number./todofig, /sync, and cropfig.## Research stack last so it always reflects the new current state.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub youngeun1209/oh-my-claudecode-research --plugin oh-my-claudecode-research18 skills in this plugin
/cropfigThree-step pipeline from a Keynote (.key) or PowerPoint (.pptx) deck to manuscript + outline. Func 1 exports vector PDFs per slide; func 2 crops them (vector preserved) and renders an outline-grade PNG from the same cropped artifact; func 3 copies PDFs into the LaTeX manuscript figures dir and PNGs into the outline.md figures dir, then inserts/updates image links after each result heading./figure-bakeDrive one figure from design idea to manuscript-ready vector PDF + outline-ready PNG. Loops `@figure-descriptor` → `@analysis-implementer` → `@reviewer` against a single fig-id in `figures.json`, with the `cropfig` skill auto-invoked at the end of each implement phase to keep manuscript + outline artifacts in lockstep. The third Phase 2 engine — a 3-agent loop, more complex than `/iterate-revision`'s 2-agent loop, and the only Phase 2 engine that executes real code per iteration. Safe to re-run; safe to resume after BLOCKED or HALT./iterate-revisionRevise one manuscript section against the reviewer team until DONE, BLOCKED, or HALT. Loops `@paper-writer` ↔ `@reviewer` with a venue-specific reviewer brief, recording every iteration's issues + verdict to `reviews.json` and updating `paper.json.sections[name]` status / iter. The first OMCR engine — a worked example of how to compose `skills/orchestrate/phases/*` primitives into a domain-specific loop. Safe to re-run; safe to resume after BLOCKED or HALT.Other plugins' skills for the same job