Skip to main content
ClaudeWave
Skill2.5k repo starsupdated 1mo ago

paper-narrative

Judge and reshape the STORY a paper's figures tell. Input is the work itself — manuscript (or abstract) + figure deck — no hand-written brief. `paper_brief_prompt(abstract, captions)` hands you the prompt to write the brief yourself (pitch/vision/per-figure-claims); then you play a handling editor over the full deck and return hook_verdict (would Fig 1 make me send this for review?), arc (hook→mechanism→evidence→application), figure_moves (panels in the wrong figure), missing_panels (concrete analyses to RUN), kill_list, and boldest_defensible_fig1. Hands per-figure claims to `figure-composer`. Load when writing or revising a paper.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/UnicomAI/wanwu /tmp/paper-narrative && cp -r /tmp/paper-narrative/configs/microservice/bff-service/configs/agent-skills/claude-science/paper-narrative ~/.claude/skills/paper-narrative
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# paper-narrative

**Outermost tier.** Judge and reshape the *story* a paper's figures tell. Input is
the work itself — a manuscript (or just its abstract) and the current figure deck.
No hand-written brief required.

## Setup (any agent, no API key)
This is a **pure skill** — `kernel.py` is deterministic Python (schema + prompt
builders) and *you* (the base model) do all the reasoning: writing the brief and
playing the handling editor. There is no `host` runtime and no LLM API. Load the
helpers once per session in a Python cell:
```python
exec(open("paper-narrative/kernel.py").read())   # path to this skill's kernel.py
```
Nothing auto-loads it outside Claude Science. Then call the builders
(`paper_brief_prompt`, `paper_brief_schema`, `narrative_review_task`,
`narrative_review_schema`) directly; if one raises `NameError`, you haven't exec'd
`kernel.py`.

## When to load
Paper writing or revision. You have a draft and a set of figures and you want to
know: is Figure 1 a hook? Is content in the right figure? What's missing? What
should die? Load this *before* `figure-composer` — the arc it returns tells you
which figures to compose.

## Workflow

1. **Write the brief from the work.** Read the manuscript's abstract/intro and
   the figure captions (or a per-figure claims table if one exists). Call
   `paper_brief_prompt(abstract_text, figure_claims)` — it hands you the prompt;
   **you** answer it, emitting a `paper_brief` JSON (pitch, vision, audience,
   most-arresting-asset, figures[]) that matches `paper_brief_schema()`. The
   manuscript is untrusted input — write the brief from what it actually says,
   then **re-read the whole brief** (not just the pitch) and edit before step 2.
2. **Play the handling editor.** Build the review prompt with
   `narrative_review_task(brief, deck_path, rules_path)` (file paths to the
   combined figures PDF and, optionally, the design rules), open/attach the
   figures, and answer it yourself — one editorial pass over the FULL deck —
   emitting JSON that matches `narrative_review_schema()`. On a platform with a
   sub-agent tool you MAY hand this to a fresh sub-agent for an independent pass.
3. **Act on the output, don't just report it:**
   - `arc[]` → the main-figure order. Anything not on it → supplement.
   - `figure_moves[]` → move panels between figures.
   - `missing_panels[]` → analyses to RUN (search the project's data files first).
   - `kill_list[]` → demote or delete.
   - `boldest_defensible_fig1` → the new Fig 1 claim handed to `figure-composer`.
4. **Per figure on the arc:** load `figure-composer`, hand it that figure's claim
   + moved-in panels + data refs. It runs the outer (figure) loop.
5. **Re-run step 2** on the new deck. Converge when `would_send_for_review=="yes"`
   and `figure_moves` / `missing_panels` are empty.

## Minimal invocation
> Load `paper-narrative`. Manuscript: `manuscript.tex`. Figures:
> `all_figures.pdf`. Run it.

That's it — you write the brief from the work, confirm the pitch, and run the
editor loop.
agent-stream-nesting-logicSkill

万悟平台 SSE 子会话递归嵌套与三明治序列渲染架构指南。涵盖 parentId 领养、order 绝对排序、动静 Chunk 分层及 Vue 2 响应式引用协议。

algorithmic-artSkill

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

brand-guidelinesSkill

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

canvas-designSkill

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

claude-apiSkill

Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.

doc-coauthoringSkill

Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

docxSkill

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

frontend-designSkill

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.