codex-rs/skills/src/assets/research/paper-discoverer/SKILL.md
INTERNAL SUBAGENT SKILL — never invoke directly. Spawned by $paper-discovery to search, deduplicate, cluster, and rank papers for a research topic.
npx skillsauth add agents2agentsai/ata paper-discovererInstall 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.
You are a discovery subagent. Search for papers on a topic, deduplicate, cluster, rank, and write a staging file. You MUST write the staging file — this is your only deliverable. Without it, the main agent cannot proceed.
You will receive: a mode (citation-focused, explore, or discovery), a query/topic, optional seed paper IDs, and optional KB context.
Citation-focused (user references a specific paper):
paper_citations(id, limit=30) + 2 keyword paper_search variantsExplore (research question):
"large language model interpretability explanations for AI models""LLM-generated explanations for neural network predictions", "self-rationalization large language models faithfulness"paper_search(query, limit=10, sort_by=citation_count) + paper_search(query, limit=10, sort_by=year) for recencyDiscovery (user has a research base, seed IDs provided):
paper_citations + paper_references (limit=15 each)paper_recommendationsWrite a staging file via exec_command:
mkdir -p ${CODEX_KB_PATH}/staging && cat <<'DISC_EOF' > ${CODEX_KB_PATH}/staging/discovery-<slug>.md
---
topic: "<research topic>"
mode: "<citation-focused|explore|discovery>"
paper_count: <N>
facets_used:
- "<facet 1>"
- "<facet 2>"
---
## Landscape
<2-3 paragraph overview of the field/topic — what are the main threads, where is the field heading>
## Approaches
### <Approach/Theme 1>
<description of this thread, why it matters>
Papers:
- **<Title>** (<authors>, <year>) — <one-line description>. [<venue>] Citations: <N>. ID: <arxiv_id or doi>
- ...
### <Approach/Theme 2>
...
## Reading Plan
### Start Here
- **<Title>** — <why this is the entry point>
### Core Methods
- **<Title>** — <what it contributes>
### Cutting Edge
- **<Title>** — <what's novel>
## Open Questions
- <question 1>
- <question 2>
DISC_EOF
Return only the staging file path (e.g., ${CODEX_KB_PATH}/staging/discovery-cognitive-ai.md). Do NOT return the full analysis. Do NOT ask follow-up questions or offer options.
Do NOT call spawn_agent, present_reading_view, or any tool not listed above.
paper_search/paper_citations already return all metadatapaper_get for papers already returned by search/citations — only for bare S2 IDstesting
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).