From research-engine
Use when the user asks Codex to research a URL, paper, repo, video, blog, documentation page, or topic and produce a structured cited markdown report or follow up on a previous research session using the research-engine workflow.
How this skill is triggered — by the user, by Claude, or both
Slash command
/research-engine:research-engineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to run the research-engine workflow in Codex. The Claude Code slash commands in `commands/` are the canonical source for the full pipeline; this skill adapts the same contract to Codex tools.
Use this skill to run the research-engine workflow in Codex. The Claude Code slash commands in commands/ are the canonical source for the full pipeline; this skill adapts the same contract to Codex tools.
Create or update a session under:
research/YYYY-MM-DD-<slug>/
├── README.md
├── sources.json
├── intent.json
├── session.md # follow-ups only
├── transcript.md # YouTube only, when available
└── related/*.md # when related sources exist
Use Korean for synthesized findings and answers unless the user asks for another language. Keep direct quotes in the original language.
target, optional --yes, optional --fresh, and optional --slug <name>.scripts/classify_url.sh.yt-dlp; fetch metadata and transcript with scripts/yt_fetch.sh. For the lightweight preview, captions are preferred; if captions are absent, captions attempts Groq Whisper fallback from GROQ_API_KEY (env or ~/.config/research-engine/) and otherwise returns partial status. For visual/demo/tutorial focus or missing transcript, run scripts/yt_fetch.sh frames <url> <cache>/frames and Read the JPEG paths in frames.json. Full analysis (the youtube-adapter, or its direct equivalent on Codex) is AV-first: download media once with yt_fetch.sh media, always run frames + transcribe (Whisper primary transcript) from the local file, and use captions --captions-only into a separate captions/ directory only to cross-check proper nouns/numbers/terms against the Whisper transcript.https://arxiv.org/html/<id>; fall back to PDF.gh repo view when authenticated; otherwise fetch public repo metadata and README from the web.--yes, infer {purpose, focus, audience_level, notes} and mark intent_mode: "assumed". Without --yes, ask 1-3 concise questions before continuing.research/YYYY-MM-DD-<slug>/, save intent.json, and gather evidence.lib/adapter_contract.md as the internal evidence shape. When a task is broad enough and the user permits parallel agents, dispatch focused subagents matching agents/*-adapter.md; otherwise do the same evidence gathering directly with Codex tools.README.md with the section contract in lib/report_sections.md. Every factual claim in 핵심 포인트, 상세 분석, and 인용 / 원문 must have a precise [n] citation.sources.json with one-indexed sources, original input, input type, intent, and creation timestamp.scripts/push_to_notion.sh <report_dir>, store output_notion_url in sources.json, and add the Notion line to README.md. If not configured, skip silently.commands/research.md Step 7.6). Fold the just-finished session into the durable wiki immediately, so it never lives only as a raw research/<slug>/ artifact. Runs automatically; skip silently if WIKI_AUTO_INGEST=0 or no vault resolves; never fail the research run on a wiki error (artifacts are already persisted).
wiki/):
[ "${WIKI_AUTO_INGEST:-1}" = "0" ] && echo "wiki auto-ingest disabled" && exit 0
node lib/wiki/vault_resolve.mjs --explain # inspect "ok"
VAULT="$(node lib/wiki/vault_resolve.mjs)" # "ok": false → skip silently (no vault)
mkdir -p "${VAULT}"/{concepts,entities,synthesis,ephemeral,_drafts,_todos,_index}
[ -f "${VAULT}/AGENTS.md" ] || cp lib/wiki/AGENTS.template.md "${VAULT}/AGENTS.md"
[ -f "${VAULT}/index.md" ] || printf '# Wiki Index\n' > "${VAULT}/index.md"
<slug> via the "Wiki Workflow" ingest contract below, but write to the resolved ${VAULT}: read research/<slug>/README.md + sources.json + ${VAULT}/index.md + ${VAULT}/AGENTS.md → one ${VAULT}/_index/plan-<slug>.json (constitution-conformant pagePlan; links only to catalog-real slugs) → apply once:
node lib/wiki/apply.mjs --vault "${VAULT}" --plan "${VAULT}/_index/plan-<slug>.json" --date <today>
The log.md exact-match dedup guard makes re-running /research for the same slug a no-op. Capture created/merged counts for the final response.commands/research.md Step 7.6.3): unless WIKI_MIRROR_REPORT=0 or the vault did not resolve, copy the full README verbatim into ${VAULT}/reports/ with a Korean human-readable filename:
[ "${WIKI_MIRROR_REPORT:-1}" = "0" ] || node lib/wiki/report_mirror.mjs --vault "${VAULT}" --research-dir "research/<slug>" --date <today>
Body unchanged; frontmatter augmented with tags: [ai-generated, research-report], report_slug, source. Idempotent per report_slug; the reports/ folder is isolated from the concept/entity index + lint. Never fail the run on a mirror error. Capture the mirrored file path for the final response.📚 LLM Wiki: {created}개 생성 / {merged}개 병합 → ${VAULT} (or wiki: skipped when no vault). If the verbatim mirror ran, append one more line: 📄 Report (verbatim): ${VAULT}/reports/<file>.--slug <name> or scripts/find_latest_session.sh research.README.md, sources.json, intent.json, and existing session.md.[n] citations; append new sources to sources.json only when newly fetched evidence is used.session.md using the format in commands/research-followup.md.session.md path.lib/report_sections.md.README.md, sources.json, and intent.json exist and citations in README.md correspond to entries in sources.json.commands/wiki.md가 정본. Codex에서 동일 계약으로:
wiki/ 없으면 생성 + lib/wiki/AGENTS.template.md → wiki/AGENTS.md 복사 + 빈 index.md.research/<slug>(raw 불변) + wiki/index.md 카탈로그 읽기 → 헌법대로 pagePlan JSON(tldr/perspective/links, links는 카탈로그 실재 slug만) 생성 → node lib/wiki/apply.mjs --vault wiki --plan <tmp> --date <today> 1회.node lib/wiki/lint.mjs --vault wiki.--file 환류·lint --fix 자동수정은 MVP out-of-scope(후속).scripts/wiki_publish.sh.
한글 합성, raw 절대 수정 금지, 무출처 주장 금지, slug ASCII.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub gprecious/gprecious-marketplace --plugin research-engine