/oh-my-claudecode-research:save-session-log runs instead · from oh-my-claudecode-research
Writes a structured session log with requests, analyses, files, and decisions, then syncs durable knowledge into a wiki vault. Useful for preserving session context.
This skill never runs in Claude Code
It ships in oh-my-claudecode-research at skills/, but /oh-my-claudecode-research:save-session-log (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Write a structured Markdown record of what happened in this session to the project's session-logs dir, so the user has a durable, skimmable trace of the conversation, the analyses run, the files touched, and what's left open — then mirror any lasting knowledge into the wiki.
This is a working record for the user — not a scientific artifact, not a replacement for a
TODO file or agent memories, and not a sync/status report. Default to English for the
narrative; keep file paths, commands, filenames, and identifiers verbatim. Override the
narrative language via the project CLAUDE.md.
Reconstruct content from this conversation's actual context — do not invent. If something is uncertain (e.g. whether a long job finished), say so explicitly rather than guessing.
Resolve config in priority order: env var → project CLAUDE.md ## Research stack block → default.
| Setting | ## Research stack key | Env var | Default |
|---|---|---|---|
| Session logs dir | Session logs dir | SESSION_LOGS_DIR | session-logs/ |
| Wiki dir | Wiki dir | WIKI_DIR | docs/wiki/ (if present) |
Get the timestamp from the shell (never assume the date):
mkdir -p <Session logs dir>
date '+%Y-%m-%d_%H%M'
Filename: <Session logs dir>/session_<YYYY-MM-DD_HHMM>_<slug>.md.
<slug> = $ARGUMENTS if provided; otherwise derive a short kebab-case slug (≤4 words) from the session's main theme.-2, -3, … rather than overwriting.Scan the conversation and pull out, faithfully:
Skip empty sections rather than padding them.
Use this structure (translate the headings if the project language is not English):
# Session Log — YYYY-MM-DD HHMM
**Slug:** <slug>
**One-line:** <what this session did, one sentence>
## 1. Goals / requests this session
- <request 1>
## 2. What was done (workflow)
- <task 1> — <result/state> ✅/🟡/❌
## 3. Files created / modified / deleted (save locations)
| Action | Path | What |
|--------|------|------|
| created | `path` | … |
## 4. Analysis results / verification (if any)
- <result/number — mark unfinished background jobs explicitly>
## 5. Decisions (do not relitigate)
- <decision + reason>
## 6. Open / next steps
- [ ] <todo / waiting-on>
## 7. Reproduction / reference commands (if any)
- `command` — what it does
Keep it concise and scannable — this is a record, not an essay.
Wiki dir is configured)The session log is a per-session trace; the wiki is the project's canonical distilled knowledge base. When this session produced knowledge that outlives the session, mirror it in so future sessions actually see it — this is the step that keeps the vault from going stale.
[[wikilink]] cross-references. Do not restructure a page, rewrite
prose wholesale, or duplicate the whole log into the wiki.Outline file;
if the session's result conflicts with it, flag it rather than overwriting the wiki to match.If nothing is wiki-worthy, state "no wiki update (nothing settled to distill this session)" and move on.
After writing, tell the user:
Do not commit to git unless the user asks.
-2, -3)./sync; for figure TODOs use /todofig.)Outline file; never let a wiki edit contradict it — flag the conflict instead.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./literature-sweepFind, summarize, and verify N papers on a topic, then drop verified entries into `references.bib` and the literature summary CSV. Dispatches `@literature-curator` (one or many instances) over a CrossRef/OpenAlex candidate list, runs every survivor through the `verify-citation` skill, and writes the run summary to `citations.json.last_sweep`. Sequential by default; opt-in `--parallel N` (1 ≤ N ≤ 4) fan-out for speed. Safe to re-run; idempotent against duplicate DOIs (existing BibTeX entries are skipped, not double-added)./manuscript-scaffoldScaffold a LaTeX manuscript directory for a research project — copy the bundled skeleton (main.tex + sections/* + figures/ + references.bib + .gitignore + README), optionally apply a journal-specific documentclass from templates/journal-registry.json, optionally clone an Overleaf project and cache the Git credential helper (token never persisted to tracked files), commit on the default branch, and ask before pushing. Invoked by /start-research phase 6, but also standalone-callable when adding a manuscript dir to an existing project later./omcr-setupInstall OMCR infrastructure in a project — scaffold empty CLAUDE.md marker blocks (`## Project context` / `## Research stack` / `## Language preference`), create `.claude/agent-memory/` for the 6 core agents with canonical-template MEMORY.md, initialize empty `references.bib` + `references.csv`, and install a curated permission allowlist in `.claude/settings.json`. Does NOT ask about the user's research project (no working title / hypothesis / venue / preset interview). For that, run `/start-research` after this completes. Safe to re-run — never overwrites existing user content.Other plugins' skills for the same job