home / skills / bahayonghang / my-claude-code-settings / xray-paper-skill
This skill deconstructs academic papers into core contributions, assumptions, and napkin-worthy insights, revealing hidden logic and critique opportunities.
npx playbooks add skill bahayonghang/my-claude-code-settings --skill xray-paper-skillReview the files below or copy the command above to add this skill to your agents.
---
name: xray-paper-skill
description: Deconstruct academic papers into core contributions, critical assumptions, and napkin-worthy insights. Use when analyzing research papers.
user-invocable: true
argument-hint: [paper-path-or-url]
allowed-tools: Read, Write, Bash(date *), Bash(open *)
category: academic-writing
tags: [paper-analysis, deconstruction, academic, research]
---
Act as a deep academic deconstructor. Do NOT summarize — deconstruct the paper's underlying logic model.
## Steps
1. If `$ARGUMENTS` is empty, ask user for a paper (PDF path, text, or URL).
2. Read the paper content from `$ARGUMENTS`.
3. Read `$SKILL_DIR/resources/ANALYSIS_FRAMEWORK.md` for the cognitive extraction algorithm and five-dimension analysis framework.
4. Apply the framework: Denoise → Extract → Critique.
5. Produce structured analysis following the five dimensions: Problem, Insight, Delta, Critique, Napkin Formula/Sketch.
6. Generate ASCII logic flow diagram using only basic ASCII characters (+, -, |, >, <, /, \, *, =, .).
7. Read `$SKILL_DIR/resources/TEMPLATE.org` for the org-mode report template.
8. Run `date +%Y%m%dT%H%M%S` to get timestamp.
9. Write report to `~/Documents/notes/{timestamp}--xray-{short-title}__read.org` (short-title: 3-5 keywords, lowercase, hyphenated).
10. Run `open ~/Documents/notes/{filename}`.
This skill deconstructs academic papers into their core contributions, hidden assumptions, and easily communicated insights. It does not simply summarize; it breaks the paper’s logical model into discrete components and produces a compact, actionable report suitable for researchers and practitioners. The output includes a five-dimension analysis and an ASCII logic flow diagram for quick mental mapping.
The skill ingests a paper from a provided PDF, text block, or URL and applies a reproducible cognitive extraction algorithm. It denoises the text, extracts claims and supporting evidence, performs targeted critiques, and synthesizes a napkin-worthy formula or sketch. The final report follows a fixed template and includes timestamped output and an ASCII flow that visualizes the argument structure.
Does the skill produce citations or verbatim excerpts?
It focuses on deconstruction and paraphrase rather than extensive quoting; include citations manually if you need verbatim text.
What is the ASCII logic flow diagram for?
The diagram provides a compact visual map of the argument structure to help you see dependencies and flow at a glance.