codex-rs/skills/src/assets/research/cross-paper-report/SKILL.md
Generate integrated cross-paper explanations from KB cards. Use when a user asks to explain, compare, synthesize, understand, or deep-dive into one or more knowledge base cards, or asks how cards relate or work together.
npx skillsauth add agents2agentsai/ata cross-paper-reportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
For conversation-derived reports, use
$conversation-report. For LaTeX PDF output, use$latex-reportafter generating the narrative.
You MUST produce a deep narrative explanation — no exceptions, no shortcuts. A short summary is NEVER acceptable.
Hard minimums. If any section falls below, STOP and expand before proceeding.
| Tier | Word floor | When to use | |------|-----------|-------------| | Focal | 800–2500 words | 1–4 cards (all focal), or the 2–4 most novel/complex/central in a 5–12 set | | Supporting | 400–600 words | Remaining papers in a 5–12 set |
Three principles govern all output from this skill:
Determine <kb_path> per $kb (default ${CODEX_KB_PATH}). If KB is disabled, work from card content in the conversation. Skip all KB reads/writes.
After reading all requested cards:
Skip if KB is disabled or running as a cluster subagent.
$kb. Scan tags/connections for related unrequested cards.$paper-discovery pipeline, or auto-continue flow. Skip entirely if user says "only these cards."Read all cards per $kb. If KB is disabled, use conversation context.
Never drop cards. If 10 are relevant, all 10 appear. Use tiering or Large-Set Synthesis — never cut.
Cluster subagents: all cards focal, skip user confirmation. When user confirmed scope or triggered from $paper-discovery, proceed without asking.
Organize in whatever sequence tells the clearest story. Integrate equations, analogies, and Details blocks where they naturally belong:
5 substantive paragraphs: problem & core idea, method, key technical detail, results with numbers, connection to focal cards. No stage walkthroughs or Details blocks needed.
Produce when 2+ cards. Skip for single-card requests. Read research-context.md (if KB enabled) to frame around user priorities.
Compare along concrete technical dimensions with specific numbers and implementation details. Close with a How the Papers Relate prose section.
Before completing: verify word-count floors are met. If any section is below, expand it.
Cluster subagents never call present_reading_view — return content as text.
Section length: Each section ≤ 40 lines. Focal papers split into 2–3 ## sub-sections (Problem & Core Idea, Method, Results & Analysis). Supporting papers: single ## section each. Comparison: ## How the Papers Relate, split if longer.
Phase 1 (Outline): IMMEDIATELY call present_reading_view with document_id, title, and content containing ONLY ## headings with empty bodies.
Phase 2 (Fill): The tool result tells you the next section. Call update_document_section for each sequentially.
Markdown: Always put a blank line before list items — without it, the parser treats them as plain text.
Follow-ups: append_to_section with foldable=true for expansions, patch_document_section for corrections, update_document_section only for full rewrites. Keep sections ≤40 visible lines. No editorial labels in headings.
Skip if KB is disabled.
1. Journal — Prepend to <kb_path>/research-journal.md: date, title, papers compared, key findings (1-2 bullets), card IDs touched.
2. Research context — If user shows preference signals during Q&A, briefly offer to note in research-context.md. Never block the interaction.
3. Follow-up persistence — When Q&A produces new insights, spawn fire-and-forget $kb subagent to persist them (card IDs + new insights, 2-4 sentences each).
Group into 3–6 thematic clusters (4–8 cards each). Present to user: cluster names with rationale, card IDs, bridge cards, and a shared terminology glossary (5–10 cross-cluster terms).
Launch one subagent per cluster in parallel. Overrides: skip Phase 0, skip Presentation (return text), all cards focal, no user confirmation, include shared glossary.
Each returns: per-card walkthroughs + within-cluster synthesis, cluster summary, cross-cluster interface (key terms, equations, specific numbers, bridge points).
If a subagent fails, proceed with remaining. Note the gap, offer retry.
New analytical layer connecting clusters (not a summary). Required sections: Scope & Framing, Cross-Cluster Evolution Tracing, Design Space Mapping, Failure Mode Lineage, Key Equations Across the Stack, How the Papers Relate, Practical Takeaways. Use cross-cluster interfaces as primary data source. Ground in specific numbers.
testing
Multi-repo workspace management: clone repos, create execution runs, track papers/datasets/artifacts, manage snapshots, and review audit logs. Use when the user wants to organize multi-repo work, run experiments in sandboxes, or track research resources.
tools
Build, edit, recalculate, import, and export spreadsheet workbooks with the preloaded @oai/artifact-tool JavaScript surface through the artifacts tool.
tools
Build, edit, render, import, and export presentation decks with the preloaded @oai/artifact-tool JavaScript surface through the artifacts tool.
development
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).