Agent skill

Survey Paper Generator

by dair-ai in dair-ai/dair-academy-plugins

Builds a single-file HTML survey paper on an AI or ML topic from a research bundle the agent curates, with prose and SVG figures written by Kimi K2.6.

MITAuto-check: notesResearch & Science

Install Survey Paper Generator

skills CLI
$ npx skills add dair-ai/dair-academy-plugins --skill survey-generator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dair-ai/dair-academy-plugins survey-generator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dair-ai/dair-academy-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/survey-generator/skills/survey-generator .claude/skills/survey-generator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
survey-generator
GitHub stars
614
Used in
2 other repos
Token cost
~2.1k tokens
SKILL.md length
1,142 words
Files
7
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Builds a single-file HTML survey paper on an AI or ML topic from a research bundle the agent curates, with prose and SVG figures written by Kimi K2.6.

  • Works in 6 steps: Read the anchor resource → Define the taxonomy and sections → Curate the bibliography → …
  • Producing a survey paper or literature review page on a technical AI topic
  • SKILL.md covers What this skill does, Inputs from the user, Requirements and Workflow for the agent, plus 2 more sections
  • Runs Python scripts from its folder; calls python3; needs FIREWORKS_API_KEY

What it does

Given a topic and a public anchor resource such as an awesome-list, an arXiv survey or a papers index, the agent reads the source, extracts the landscape of related work and assembles a `research_bundle.json` with a title, taxonomy, sections and a bibliography of real papers. The agent does only this curation and writes none of the paper's text.

`build_artifact.py` then sends the bundle and a fixed `style_spec.json` to Kimi K2.6 through the Fireworks chat completions API in a single call. The model returns a self-contained HTML file with inline SVG figures, numbered sections, an academic layout and a reference list. You can set a bibliography size (20 by default, 40 to 50 for a fuller survey, 80 to 100 for an exhaustive one) and a section count, which defaults to 6 to 10. A bundle template and a finished agentic-engineering example ship with it.

A FIREWORKS_API_KEY environment variable is required, and the script uses only the Python 3 standard library. If the topic or source URL is missing, the agent asks for them before starting.

When your agent uses it

  • Producing a survey paper or literature review page on a technical AI topic
  • Turning a curated papers list into a structured, cited HTML document
  • Making a quick overview of a research area with figures and a bibliography

Example prompts

  • “Write a survey paper on Reasoning Models using the DAIR.AI AI Papers of the Week repo as the anchor.”
  • “Generate a survey with 40 to 50 references on agentic engineering from this awesome list.”
  • “Make a literature review artifact on diffusion models, using an arXiv survey as the source.”

Requirements

  • A FIREWORKS_API_KEY environment variable
  • Python 3 (standard library only)
  • Network access to read the source and call the API
  • Pre-approved tools (allowed-tools): Read, Write, Bash, WebFetch, AskUserQuestion

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Read the anchor resource
  2. Define the taxonomy and sections
  3. Curate the bibliography
  4. Write research_bundle.json
  5. Run the generator
  6. Preview and iterate

What it can do on your machine

Read from SKILL.md and the folder at commit 0abffdc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash
    • WebFetch
    • AskUserQuestion

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • FIREWORKS_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Survey Paper Generator loads about 2.1k tokens when it runs. Until then it costs about 107 tokens; SKILL.md has 1,142 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~107
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Bash, WebFetch, AskUserQuestion

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dair-ai/dair-academy-plugins at commit 0abffdc, republished under its MIT licence (© dair-ai). 1,142 words, ~2,149 tokens.

Download SKILL.mdSave it as .claude/skills/survey-generator/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
survey-generator
description
Generate a polished, single-file HTML survey paper on any AI/ML topic by curating a research bundle from a public anchor resource and handing it to Kimi K2.6 via the Fireworks API for one-shot artifact generation. Use when the user asks for a "survey paper" or "literature review" artifact on a technical topic. The invoking agent does all research curation; Kimi K2.6 does the writing and inline SVG rendering.
allowed-tools
Read, Write, Bash, WebFetch, AskUserQuestion

Survey Generator Skill

Generate an academic-style survey paper as a single self-contained HTML file.

What this skill does

Given a topic and a public anchor resource, this skill:

  1. Reads the anchor resource and extracts the landscape of relevant work.
  2. Builds a structured research_bundle.json (title, taxonomy, sections, bibliography of real papers).
  3. Calls Kimi K2.6 via the Fireworks chat completions API with the research bundle and a fixed style_spec.json.
  4. Writes a single-file HTML artifact with inline SVG figures, an academic layout, numbered sections, and a References list.

The agent using this skill is responsible only for research curation. All prose, figures, and HTML are generated by Kimi K2.6 in one API call.

Inputs from the user

The user invokes this skill with at minimum:

  • topic: a concise survey topic, for example "Agentic Engineering" or "Reasoning Models".
  • source_url: a public anchor resource. Any curated list, canonical blog post, arXiv survey, GitHub awesome-list, or index page works. Suggested starting points: DAIR.AI AI Papers of the Week (a continuously updated open-source index of notable AI/ML papers, well suited for broad topics), a GitHub awesome-* repo, an arXiv survey PDF, or a well-maintained papers page.

Optional:

  • bibliography_size: target bibliography size. Default 20 for a quick survey. Use 40 to 50 for a comprehensive survey, 80 to 100 for an exhaustive one. Section length and token budget scale with this.
  • section_count: number of sections, default 6 to 10.

If the user has not provided these, use AskUserQuestion to collect them before proceeding.

Requirements

  • FIREWORKS_API_KEY exported in the environment. The build script reads it from os.environ.
  • Python 3 with stdlib only (urllib). No external dependencies.

Workflow for the agent

Follow these steps in order. Do not skip steps.

Step 1. Read the anchor resource

Fetch and read source_url. If it is a GitHub repo, fetch the README and any relevant README-*.md or papers.md indices. If it is an arXiv survey, use the abstract, figures, and section headings. If it is a blog post, read it in full. Extract the key subtopics and the papers or systems it references by name.

For broad AI/ML topics, DAIR.AI AI Papers of the Week is a particularly rich anchor: it has weekly issues going back years, each with short summaries of 6 to 10 notable papers, so it is easy to scan across time and filter to the subset that matches your topic.

If a paper-search tool is available to your agent (a Papers-of-the-Week MCP, arXiv search, Semantic Scholar, Google Scholar, an organization's internal index, etc.), use it to expand the candidate pool beyond what the anchor resource cites directly.

Step 2. Define the taxonomy and sections

Draft a taxonomy rooted at the topic with 4 to 8 branches, each with 2 to 4 children. Branches should cover distinct subareas of the topic, not overlap. Draft 6 to 10 numbered sections that match the taxonomy progression: introduction, foundations, methods, evaluation, open problems. Figure 1's viewport height scales automatically with the total leaf count via the geometry contract in style_spec.json, so deeper taxonomies render cleanly.

Step 3. Curate the bibliography

Pick real papers sized to bibliography_size. For a comprehensive survey, 40 to 50 entries is the sweet spot; the skill has been tested up to 100 entries with max_tokens=81920 in build_artifact.py. Every entry must have: key, authors, year, title, venue, and a 1 to 2 sentence summary. Do not invent papers. Every section's papers array must reference keys that exist in the bibliography.

Step 4. Write research_bundle.json

Write research_bundle.json in the skill directory (next to build_artifact.py). Use templates/research_bundle_template.json as the structural scaffold. Required top-level fields: title, authors_placeholder, anchor_source, abstract_hints, taxonomy, paradigms, stack, sections, table, bibliography. See examples/agentic-engineering/research_bundle.json for a complete worked example.

Step 5. Run the generator
bash
python3 build_artifact.py

Run this from the skill directory. The script reads research_bundle.json and style_spec.json, calls Kimi K2.6 on Fireworks, and writes output/survey_kimi-k2p6_v{N}.html. Each run produces a new versioned file.

To use a different Fireworks model (for example Kimi K2.5 for side-by-side comparison):

bash
FIREWORKS_MODEL=accounts/fireworks/models/kimi-k2p5 python3 build_artifact.py

Output filenames are slugged by model so you can compare versions across models.

Show full SKILL.md (471 more words)Show less
Step 6. Preview and iterate

Open the HTML file locally. It is a fully self-contained HTML document, so you can also serve it from any static host, embed it in a dashboard, or hand it to any artifact-preview mechanism your agent exposes.

If figures look weak, sharpen style_spec.json (the required_figures and figure_quality_note keys) and rerun. If prose is thin or sections are missing, tighten the section guidance fields in research_bundle.json. Do not edit the Kimi output directly; iterate on inputs.

Common figure failure modes and the style_spec patterns that fix them:

  • Nodes from different panels collapsing into one panel: require <g transform="translate(OFFSET,0)"> groups with panel-local coordinates (enforced for Figure 2).
  • Leaf rects overlapping vertically so labels get clipped: enforce rect_pitch greater than rect_height with an explicit formula and a sanity check (enforced for Figure 1).
  • Root label overflowing its pill: pin minimum rect width in the spec (enforced for Figure 1, width=200).
  • Sibling nodes in a row overlapping horizontally (e.g. Worker A, Worker B, Worker C in an orchestrator-workers panel): enforce a deterministic rect_width and center_x formula for N nodes in a fixed-width panel, with a minimum horizontal gap between adjacent rects (enforced for Figure 2 multi-node rows).
  • Panel contents drifting to the left or right edge instead of sitting in the middle of the panel background: pin each group's translate offset to match the panel background's x position (10, 270, 530) and center all content on panel-local x=120 (enforced for Figure 2).
  • Figures emitted in the wrong numeric order because the model preferred a different narrative flow: require the captions to use the exact IDs from required_figures in sequence (Figure 1 before Figure 2 before Figure 3), even if it means placing two figures in the same section (enforced via hard_rules_for_generation).
  • Right-side labels on the stack diagram getting clipped at the viewport edge: widen the stack SVG viewport to 720 and require role-text tspans to fit within x=710 (enforced for Figure 3).

When adding a new figure or changing an existing one, follow the same pattern: declare an absolute viewport, per-element coordinates or a deterministic formula, and a hard-invariant check clause at the end of the description.

Files in this skill

  • SKILL.md - this file.
  • build_artifact.py - Python script that calls Fireworks.
  • style_spec.json - visual and structural spec (topic-agnostic).
  • templates/research_bundle_template.json - empty template for new topics.
  • examples/agentic-engineering/ - reference 100-paper run (research_bundle.json + survey.html).

Hard rules the agent must follow

  1. Never invent bibliography entries. Every cited paper must be a real work with a real venue.
  2. Every section's papers array must reference keys in the bibliography.
  3. Never edit the generated HTML. Iterate on research_bundle.json or style_spec.json and rerun.
  4. Do not modify the hard rules in style_spec.json.hard_rules_for_generation.
  5. Keep the style_spec topic-agnostic. Topic-specific content lives only in research_bundle.json.
  6. Do not use em dashes or arrow symbols in the research bundle prose fields.

© dair-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files in plugins/survey-generator/skills/survey-generator of dair-ai/dair-academy-plugins.

  • SKILL.md
  • LICENSE
  • build_artifact.py
  • examples/agentic-engineering/research_bundle.json
  • examples/agentic-engineering/survey.html
  • style_spec.json
  • templates/research_bundle_template.json

Open the folder on GitHubat commit 0abffdc

Used in 2 other repositories

We found 6 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in dair-ai/dair-academy-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Survey Paper Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Survey Paper Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Survey Paper Generator this skilldair-ai/dair-academy-plugins6142 repos~2.1kAutomated safety check: NotesMIT
Citation ManagementK-Dense-AI/claude-scientific-writer2.4k2 repos~3.9kAutomated safety check: NotesMIT
Paper Research on arXivXiaomiMiMo/MiMo-Code14k—~1.5kAutomated safety check: PassMIT
Autonomous Researchfedericodeponte/opendraft507—~8.2kAutomated safety check: PassApache-2.0
Literature Reviewer Skillstephenlzc/AI-Powered-Literature-Review-Skills1751 repos~4.5kAutomated safety check: PassMIT
Arxiv MCP Serverblazickjp/arxiv-mcp-server3.2k—~353Automated safety check: PassApache-2.0

Similar skills

  • Citation Management

    K-Dense-AI/claude-scientific-writer

    Finds papers in OpenAlex, PubMed and Google Scholar, turns DOIs, PMIDs and arXiv IDs into clean BibTeX, and validates citations for a manuscript or thesis.

    2.4k GitHub starsUsed in 2 repos~3.9k tokens
    Research & ScienceAuto-check: notes
  • Paper Research on arXiv

    XiaomiMiMo/MiMo-Code

    Searches arXiv, fetches metadata, generates BibTeX, downloads PDFs and finds citations and related papers using a bundled Python script.

    14k GitHub stars~1.5k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Autonomous Research

    federicodeponte/opendraft

    An 18-agent pipeline that turns one topic line into a drafted research paper, literature review, or thesis chapter.

    507 GitHub stars~8.2k tokensUpdated 9 days ago
    Research & ScienceAuto-check passed
  • Literature Reviewer Skill

    stephenlzc/AI-Powered-Literature-Review-Skills

    根据用户提供的论文主题,进行系统性中英文文献回顾(Literature Survey). An agent skill from stephenlzc/AI-Powered-Literature-Review-Skills.

    175 GitHub starsUsed in 1 repo~4.5k tokens
    Research & ScienceAuto-check passed
  • Arxiv MCP Server

    blazickjp/arxiv-mcp-server

    A skill your agent uses when finding, comparing, reading, or monitoring arXiv papers, including requests for abstracts, citation graphs, original LaTeX, section-level technical details, or…

    3.2k GitHub stars~353 tokensUpdated 2 days ago
    Research & ScienceAuto-check passed
  • Official

    Indexes research papers on the Hugging Face Hub from arXiv, links them to models and datasets, claims authorship and generates markdown research articles from templates.

    11k GitHub starsUsed in 4 repos~4.2k tokens
    Research & ScienceAuto-check passed

More from dair-ai/dair-academy-plugins

All 8 skills in this repo
  • Research Wiki Builder

    dair-ai/dair-academy-plugins

    Creates and maintains configurable research wikis: scaffold a folder, add sources, compile pages and indexes, and file query answers back.

    614 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Gemini Image Generator

    dair-ai/dair-academy-plugins

    Generates and edits images with Google's Gemini Nano Banana Pro model through the Gemini API, including photo edits and multi-image composition.

    614 GitHub starsUsed in 2 repos~3.5k tokens
    Auto-check: notes
  • YouTube Talk Notetaker

    dair-ai/dair-academy-plugins

    Converts a YouTube talk into a markdown study note with slide images, a timestamped transcript and editable notes, browsable through a small local server.

    614 GitHub stars~2.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Learn

    dair-ai/dair-academy-plugins

    Help a user learn a topic through adaptive tutoring, lesson planning, practice, retrieval checks, explanations, study guides, or exercises.

    614 GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • LLM Council on Fireworks AI

    dair-ai/dair-academy-plugins

    Has several open-weight models answer a question, rank each other's anonymized answers, then lets a chairman model write the final response through Fireworks AI.

    614 GitHub stars~5k tokensUpdated 2 mo ago
    Auto-check: notes
  • X Agent Intelligence Feed

    dair-ai/dair-academy-plugins

    Builds a self-contained HTML digest of AI and agent news pulled from chosen X accounts through the official X MCP server, grouped into categories like Coding Agents and Agent Research.

    614 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Survey Paper Generator

What does Survey Paper Generator do?

Builds a single-file HTML survey paper on an AI or ML topic from a research bundle the agent curates, with prose and SVG figures written by Kimi K2.6. json` with a title, taxonomy, sections and a bibliography of real papers. The agent does only this curation and writes none of the paper's text.

When should I use Survey Paper Generator?

Survey Paper Generator fits situations like: producing a survey paper or literature review page on a technical AI topic; turning a curated papers list into a structured, cited HTML document; making a quick overview of a research area with figures and a bibliography.

How do I install Survey Paper Generator in Claude Code?

Run `npx skills add dair-ai/dair-academy-plugins --skill survey-generator -a claude-code`. Or copy the skill folder (plugins/survey-generator/skills/survey-generator in dair-ai/dair-academy-plugins) into .claude/skills/survey-generator in your project. Claude Code loads it when a task matches its description.

How do I install Survey Paper Generator in Codex?

Run `npx skills add dair-ai/dair-academy-plugins --skill survey-generator -a codex`. Or copy the skill folder (plugins/survey-generator/skills/survey-generator in dair-ai/dair-academy-plugins) into .agents/skills/survey-generator in your project. Codex loads it when a task matches its description.

Can I use Survey Paper Generator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dair-ai/dair-academy-plugins --skill survey-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/survey-generator, .gemini/skills/survey-generator, .github/skills/survey-generator and .opencode/skills/survey-generator in your project.

What does Survey Paper Generator need to run?

Going by SKILL.md and its folder, Survey Paper Generator needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named FIREWORKS_API_KEY. Our summary lists: A FIREWORKS_API_KEY environment variable; Python 3 (standard library only); Network access to read the source and call the API. Its frontmatter pre-approves these tools: Read, Write, Bash, WebFetch, AskUserQuestion.

Does Survey Paper Generator access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Survey Paper Generator safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Survey Paper Generator use?

Survey Paper Generator is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Survey Paper Generator use?

About 2.1k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Survey Paper Generator?

Skills that share tags, products or a category with Survey Paper Generator: Citation Management (K-Dense-AI/claude-scientific-writer, 2.4k stars), Paper Research on arXiv (XiaomiMiMo/MiMo-Code, 14k stars), Autonomous Research (federicodeponte/opendraft, 507 stars) and Literature Reviewer Skill (stephenlzc/AI-Powered-Literature-Review-Skills, 175 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Survey Paper Generator?

dair-ai (a GitHub organization) maintains it in dair-ai/dair-academy-plugins, which has 614 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on July 21, 2026.

Source: dair-ai/dair-academy-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.