Astronomy paper summarize
Skill zzyu17/astronomy-paper-summarize/skills/astronomy-paper-summarize
Multi-agent astronomy paper summarization skill. 8-agent team for rough overview (rapid triage) and deep summary (comprehensive critical analysis) with research-background-aware relevance scoring. 4 modes: rough, deep, both, config. Triggers on: summarize paper, paper summary, rough overview, deep summary, astro paper, astronomy paper, analyze paper, break down paper, what does this paper say, 论文总结, 天文学论文.From its SKILL.md
npx -y skills add zzyu17/astronomy-paper-summarize --skill astronomy-paper-summarizeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
10.8 KB, as published. Nobody here has run it
Astronomy Paper Summarize
Transforms astronomy research papers into structured, actionable summaries powered by an 8-agent team whose behavior is guided by the user's own research background.
Two summarization modes:
- Rough Overview — Rapid literature triage: research question, methodology, 1-3 key findings, relevance score, quick takeaway. 2 agents, ~2-3 min.
- Deep Summary — Comprehensive critical analysis: structured summary, methodological deep dive, critical evaluation, research connection, terminology glossary, new directions. 5 agents, ~5-8 min.
Two execution modes:
- Subagent-Driven (default) — Each agent dispatched as a fresh sub-agent with isolated context. Better for long/complex papers.
- Inline Execution — Agents executed sequentially in-session as structured checklists. Better for short papers or quick triage.
Routing discipline: This skill assumes the user wants to summarize an astronomy paper. If the user's intent is ambiguous (e.g., they might want original research or peer review instead), clarify before proceeding.
Trigger Conditions
Trigger Keywords (case-insensitive)
Paper summarization:
- "summarize paper", "summarize this paper", "paper summary", "summarize pdf"
- "rough overview", "deep summary", "paper deep dive"
- "analyze paper", "review this paper for me"
- "what does this paper say", "break down this paper"
Astronomy-specific:
- "astro paper", "astronomy paper", "astrophysics paper"
- "exoplanet paper", "cosmology paper", "galaxy paper"
Anti-Triggers
This skill is specifically for summarizing astronomy papers. It should NOT activate when the user wants to conduct original research, write a paper, or perform formal peer review — those are separate workflows.
Detection Logic
If the user mentions any trigger keyword AND provides or references a paper (PDF path, arXiv ID, title, URL), activate this skill. If no paper is provided, ask the user to provide one.
Mode Selection & Routing
When activated, follow this flow:
- Trigger detected → Load this skill context
- Read
agents/paper_intake_agent.md→ Execute intake as the first agent - paper_intake_agent handles:
cdinto the paper's project directory (all paths relative from here)- Load/create
../.astro-paper/config.yaml(parent of paper directory) - Prompt for research background if missing (Core Research Topic, Primary Goal, Proposed Methodology)
- Generic fallback if user skips: auto-extract from abstract, present for approval
- Ask user: Rough, Deep, or Both?
- Ask user: Subagent-Driven (default) or Inline Execution?
- Extract paper metadata via ADS → arXiv → manual fallback
- Route based on answers:
- Rough: Phase 2a → Phase 3
- Deep: Phase 2b → Phase 3
- Both: Phase 2a → Phase 2b → Phase 3
Agent Team (8 Agents)
| # | Agent | Role | Phase | Mode |
|---|---|---|---|---|
| 1 | paper_intake_agent | Config + metadata + routing | Phase 1 | Both |
| 2 | rough_skimmer_agent | Rapid skimming, core extraction, jargon simplification | Phase 2a | Rough |
| 3 | relevance_assessor_agent | Multi-dimensional relevance scoring, implications | Phase 2a | Rough |
| 4 | deep_reader_agent | Structured summary (I→M→R→D→C) | Phase 2b | Deep |
| 5 | methodology_analyst_agent | Technical methodology, paper-type-adaptive extraction | Phase 2b | Deep |
| 6 | critical_evaluator_agent | Critical analysis: strengths, limitations, robustness | Phase 2b | Deep |
| 7 | connection_synthesizer_agent | Research connection, glossary, references | Phase 2b | Deep |
| 8 | report_compiler_agent | Markdown assembly, PDF conversion, naming | Phase 3 | Both |
Phase Boundaries
| Phase | Agents | Deliverable |
|---|---|---|
| Phase 1 — Intake | paper_intake_agent | Config loaded/created, mode + execution mode selected, paper metadata, paper text extracted to ./paper-summaries/.staging/paper_fulltext.txt |
| Phase 2a — Rough | rough_skimmer_agent → relevance_assessor_agent | Rough Overview Markdown content |
| Phase 2b — Deep | deep_reader_agent → methodology_analyst_agent → critical_evaluator_agent → connection_synthesizer_agent | Deep Summary Markdown content |
| Phase 3 — Compile | report_compiler_agent | Final Markdown files + PDFs |
When both mode: Phase 2a → Phase 2b → Phase 3.
Execution Mode Dispatch
Path Roots (Both Modes)
Capture and keep these two absolute paths separate:
SKILL_DIR = absolute directory containing this SKILL.md
PAPER_DIR = absolute directory containing the user's paper
Bundled prompt templates and references always resolve from SKILL_DIR:
${SKILL_DIR}/agents/
${SKILL_DIR}/references/
Paper input, research configuration, staging files, and generated reports always resolve from PAPER_DIR. Never resolve bundled resources relative to PAPER_DIR, and never write paper outputs into SKILL_DIR.
Output Discipline (Both Modes)
CRITICAL: All analysis agents write output to staging files, never to the conversation.
Analysis agents (rough_skimmer, relevance_assessor, deep_reader, methodology_analyst, critical_evaluator, connection_synthesizer) write their full output to ./paper-summaries/.staging/<agent_name>.md and return ONLY a brief 1-line confirmation. The report_compiler_agent assembles final output from staging files via bash cat + heredocs — staging content never enters the conversation context.
NEVER read file content into the conversation for verification or any other purpose:
| ❌ Prohibited | ✅ Allowed |
|---|---|
cat file.md | test -s file.md && echo "OK" |
view file.md | wc -l < file.md |
head -N file.md (more than 5 lines) | head -5 file.md (only to sample a few lines for debugging) |
pdftotext file.pdf - (stdout) | pdftotext -layout file.pdf path/to/output.txt |
| Any tool that returns file content | Any bash command that returns only metadata (size, line count, existence) |
Subagent-Driven (Default)
For each agent in the active phase sequence, dispatch a fresh sub-agent through the platform's native operation. The sub-agent's working directory defaults to the session's working directory — you MUST pass PAPER_DIR and SKILL_DIR as literal variables and instruct the agent to prefix every command that accesses paper data or output with cd "${PAPER_DIR}" &&.
First, capture both path roots:
SKILL_DIR="/absolute/path/to/skills/astronomy-paper-summarize"
PAPER_DIR="/absolute/path/to/papers/<paper-name>" # from paper_intake_agent Step 0
Use the operation available on the current platform:
| Platform | Native subagent operation | Completion operation |
|---|---|---|
| Codex | spawn_agent with a concrete task_name, fork_turns: "none", and the assembled prompt in message | Call wait_agent for the returned agent |
| Claude Code | Agent with the built-in general-purpose agent and the assembled prompt | Wait for the foreground Agent result |
| Copilot | Its native general-purpose subagent operation with task tool and the assembled prompt | Wait for that worker to finish |
| Other compatible platforms | The corresponding subagent dispatch operation with the assembled prompt | Wait for that worker to finish |
Assemble every worker prompt in this exact order:
PAPER_DIR="<absolute paper directory>"
SKILL_DIR="<absolute directory containing SKILL.md>"
CRITICAL: Shell sessions are stateless. Every command that accesses paper data or output must start with:
cd "${PAPER_DIR}" &&
Bundled resources are read from absolute paths under:
${SKILL_DIR}/agents/
${SKILL_DIR}/references/
<full content of ${SKILL_DIR}/agents/<agent_name>.md>
Paper text path relative to PAPER_DIR:
./paper-summaries/.staging/paper_fulltext.txt
<research background from config or fallback>
<paths of prerequisite staging files>
Identify every bundled reference required by the worker with its absolute path under ${SKILL_DIR}/references/.
The sub-agent writes its output to paper-summaries/.staging/<agent_name>.md and returns only a brief confirmation. The main session never loads the full content.
Dispatch agents in the existing phase order. Start an agent only after all prerequisite staging files have been produced; do not parallelize dependent analysis agents. After all analysis agents complete, dispatch report_compiler_agent, which assembles via bash.
Inline Execution
For each agent in the active phase sequence, work through sequentially:
-
First, capture both path roots:
SKILL_DIR="/absolute/path/to/skills/astronomy-paper-summarize" PAPER_DIR="/absolute/path/to/papers/<paper-name>" # from paper_intake_agent Step 0CRITICAL: Bash sessions are stateless —
cddoes NOT persist between calls. Every file command MUST be prefixed withcd "${PAPER_DIR}" &&. -
Read the agent template from
${SKILL_DIR}/agents/<agent_name>.mdand any required bundled reference from${SKILL_DIR}/references/<file>.md -
Execute the agent's instructions — prefix all file operations with
cd "${PAPER_DIR}" && -
Confirm the staging file was written (do NOT read file content):
cd "${PAPER_DIR}" && test -s paper-summaries/.staging/<agent_name>.md && echo "OK" || echo "MISSING" -
If MISSING, re-execute the agent. If OK, move to the next agent.
-
After all analysis agents, execute
report_compiler_agentinstructions (withcdprefix on all commands)
Warning: If running both mode on a long paper, monitor context usage. Warn the user if approaching context limits.
Fallback
If Subagent-Driven mode is selected but the platform does not support sub-agent dispatch, fall back to Inline Execution and inform the user.