Agent skill

Results Backfill

by yunshenwuchuxun in yunshenwuchuxun/latex-paper-skills

Back-fill verified experiment results into an existing empirical paper draft.

MITAuto-check passedDocuments & Office

Install Results Backfill

skills CLI
$ npx skills add yunshenwuchuxun/latex-paper-skills --skill results-backfill -a claude-code

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

GitHub CLI
$ gh skill install yunshenwuchuxun/latex-paper-skills results-backfill --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/yunshenwuchuxun/latex-paper-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/results-backfill .claude/skills/results-backfill && 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
results-backfill
GitHub stars
267
Token cost
~1.7k tokens
SKILL.md length
652 words
Files
5 (incl. scripts, references, assets)
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Back-fill verified experiment results into an existing empirical paper draft.

  • Works in 3 steps: Results Discovery → Paper Back-fill → Polish
  • Tasks that involve LaTeX
  • SKILL.md covers When to Use, When NOT to Use, Inputs and Outputs, plus 5 more sections
  • Runs Python scripts from its folder; calls python3 and conda

What it does

Results Backfill is an agent skill from yunshenwuchuxun/latex-paper-skills. Back-fill verified experiment results into an existing empirical paper draft. Resolves placeholders, upgrades hypotheses to factual claims, generates figures/tables, drafts abstract, and runs rhythm refinement + QA.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts, reference files and assets (for example `references/backfill-workflow.md`, `scripts/discover_results.py` and `scripts/generate_results_table.py`).

It sits in Documents & Office, covering LaTeX. The repository describes itself as: A modular skill-based framework for writing, revising, and managing LaTeX academic papers with AI assistance. The licence is MIT.

When your agent uses it

  • Tasks that involve LaTeX

Example prompts

  • “/results-backfill”

Requirements

  • Python 3

Workflow steps

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

  1. Results Discovery
  2. Paper Back-fill
  3. Polish

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • conda

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

  • Network

    No URLs in SKILL.md.

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

  • Credentials

    Names no API keys, tokens, secrets or passwords.

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

Context cost

Results Backfill loads about 1.7k tokens when it runs, and up to ~2.7k if it reads all its reference files. Until then it costs about 58 tokens; SKILL.md has 652 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.7k

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 passed

The automated check found no risky patterns in SKILL.md.

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); the scripts in this folder are not scanned.

SKILL.md

The full file from yunshenwuchuxun/latex-paper-skills at commit d0f1061, republished under its MIT licence (© yunshenwuchuxun). 652 words, ~1,682 tokens.

Download SKILL.mdSave it as .claude/skills/results-backfill/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
results-backfill
description
Back-fill verified experiment results into an existing empirical paper draft. Resolves placeholders, upgrades hypotheses to factual claims, generates figures/tables, drafts abstract, and runs rhythm refinement + QA.
metadata.short-description
Post-experiment paper completion from verified results

Results Back-fill

Use this skill after empirical-paper-writer has produced a draft with placeholders and the user has run experiments outside the AI session.

When to Use

  • empirical-paper-writer has completed design + code + placeholder draft.
  • The user has run experiments in their configured conda environment.
  • paper/results/ contains new CSV / data files from completed experiments.

When NOT to Use

  • The paper draft does not yet exist (use empirical-paper-writer first).
  • Experiments have not been run yet.
  • The user only wants experiment design without paper completion.

Inputs

  • paper/main.tex (draft with placeholders)
  • paper/results/*.csv (experiment results)
  • notes/design/experiment-matrix.csv
  • issues/<timestamp>-<slug>.csv
  • brief/contribution-map.yaml
  • paper.config.yaml (runtime configuration)

Outputs

  • Updated main.tex with verified results, real figures/tables, factual claims
  • Updated issues CSV with Result_Status=verified and Status=DONE
  • Generated LaTeX input files under paper/results/
  • Drafted abstract (W0)
  • Refined prose (RF1)
  • Compiled main.pdf

Non-Negotiable Rules

  1. No fabrication: Only use data from actual result files. Never invent numbers.
  2. Verify before claiming: Only upgrade (hypothesis) to factual claim when CSV data confirms the result.
  3. Bounded claims: Factual statements must include specific numbers from verified results (e.g., "reduces violations by 12.3%"), not vague improvements.
  4. Dependency enforcement: Follow the same dependency rules as empirical-paper-writer — never mark DONE if dependencies are not DONE/SKIP.

Workflow

Phase 1: Results Discovery
  1. Read paper.config.yaml for runtime configuration.
  2. Scan paper/results/ for all CSV, JSON, and data files.
  3. Read notes/design/experiment-matrix.csv to identify all planned experiments.
  4. Match result files to experiment-matrix rows:
    bash
    python3 scripts/discover_results.py --project-dir <paper_dir>
    See references/backfill-workflow.md for naming conventions and the assets/result-file-template.csv schema.
  5. If matches look correct, update the matrix in-place:
    bash
    python3 scripts/discover_results.py --project-dir <paper_dir> --update-status
  6. Read the issues CSV and update Result_Status for matched experiment issues (E5-E8).
Phase 2: Paper Back-fill

Execute in order:

  1. Contribution upgrade:

    • Read brief/contribution-map.yaml.
    • For each claim with verified supporting experiments, update main.tex:
      • Replace (hypothesis) with bounded factual statement.
      • Update Introduction contributions list.
  2. Results section fill:

    • Main comparison: populate tables from main_results.csv.
    • Ablation studies: populate ablation table from ablation results and upgrade the surrounding narrative from hypothesis-safe to verified, bounded claims.
    • Robustness/error analysis: populate figures/tables and write verified takeaways tied to specific numbers.
    • Efficiency: populate efficiency comparison table and write a bounded trade-off discussion (accuracy vs cost).
  3. LaTeX table/figure generation:

    • Convert CSV results to LaTeX \input{} files under paper/results/:
      bash
      python3 scripts/generate_results_table.py <results.csv> -o paper/results/<name>.tex --bold-best --caption "..." --label "tab:..."
    • Generate TikZ plots or include matplotlib-exported PDFs where appropriate.
    • Replace \fbox{...placeholder...} with actual \includegraphics or table references.
  4. Figure resolution:

    • For each remaining \fbox{...} placeholder:
      • If data exists → generate the figure.
      • If data is missing → replace with [Figure pending: <reason>].
  5. Abstract (W0):

    • Draft abstract from verified results following the rules in experiment-evidence.md:
      • Problem (1 sentence)
      • Method (1-2 sentences)
      • Setting (1 sentence)
      • Key result (1 sentence, verified only)
      • Implication (1 sentence)
    • Maximum 250 words. No citations. No unexpanded acronyms.
  6. Conclusion upgrade:

    • Update the Conclusion section to remove (hypothesis) / [Pending: ...] tags for any claim now supported by verified results.
    • Ensure every factual takeaway is bounded by specific numbers from verified tables/figures.
  7. Mark issues DONE:

    • Update E5-E8, W0, and any back-filled Writing issues in the issues CSV.
    • Respect dependency enforcement.
Show full SKILL.md (158 more words)Show less
Phase 3: Polish
  1. RF1 — Rhythm refinement:

    • Apply latex-rhythm-refiner section-by-section.
    • Preserve all citations and verified numbers.
  2. QA:

    • Run citation audit:
      bash
      python3 ../arxiv-paper-writer/scripts/citation_policy.py --project-dir <paper_dir> audit-bib
      python3 ../arxiv-paper-writer/scripts/citation_policy.py --project-dir <paper_dir> audit-tex --issues <issues.csv>
    • Run issue validation with tex audit:
      bash
      python3 ../empirical-paper-writer/scripts/validate_empirical_paper_issues.py <issues.csv> --audit-tex <paper_dir>/main.tex
  3. Compile:

    bash
    python3 ../arxiv-paper-writer/scripts/compile_paper.py --project-dir <paper_dir> --check-warnings --fail-on-warnings
  4. Deliver main.tex, ref.bib, figures, and main.pdf.

Runtime Environment

Before running any script:

  1. Read paper.config.yaml → runtime.conda_env or runtime.python.
  2. If conda_env is set, activate it: conda activate <env_name>.
  3. If python is set, use that interpreter directly.
  4. If neither is set, ask the user which conda environment to use.

Relationship to Other Skills

paper-from-zero
    ↓ routes to
empirical-paper-writer (design + code + placeholder draft)
    ↓ user runs experiments
results-backfill (this skill: back-fill results + complete paper)

Success Criteria

  • All \fbox placeholders resolved or explicitly marked [Pending: <reason>].
  • No (hypothesis) tags remain for claims with verified evidence.
  • Abstract is non-placeholder, <=250 words, matches verified results.
  • All DONE issues pass dependency check.
  • validate_empirical_paper_issues.py --audit-tex produces zero warnings for verified issues.
  • Paper compiles without Overfull \hbox warnings.

© yunshenwuchuxun, 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 4 other files (scripts, references, assets) in .codex/skills/results-backfill of yunshenwuchuxun/latex-paper-skills.

  • SKILL.md
  • assets/result-file-template.csv
  • references/backfill-workflow.md
  • scripts/discover_results.py
  • scripts/generate_results_table.py

Open the folder on GitHubat commit d0f1061

Compare with similar skills

Results Backfill 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.

Results Backfill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Results Backfill this skillyunshenwuchuxun/latex-paper-skills267—~1.7kAutomated safety check: PassMIT
Research Writingalfonso0512/research-writing-skill4901 repos~818Automated safety check: PassMIT
Paper WritingMLNLP-World/Paper-Writing-Tips4.7k—~630Automated safety check: PassNone
Evomath TaoEvoScientist/EvoSkills4782 repos~3.8kAutomated safety check: PassApache-2.0
Math Modeling to EI Conference Paperjihe520/MathModelAgent6.2k—~688Automated safety check: PassNone
PaperjurySpark-To-Paper-Skills/paperjury1.2k—~5.3kAutomated safety check: PassMIT

Similar skills

  • Research Writing

    alfonso0512/research-writing-skill

    科研论文写作助手,提供 30 个 Prompt 模板覆盖论文写作全流程. An agent skill from alfonso0512/research-writing-skill.

    490 GitHub starsUsed in 1 repo~818 tokens
    Documents & OfficeAuto-check passed
  • Paper Writing

    MLNLP-World/Paper-Writing-Tips

    学术论文写作检查与优化助手。基于 MLNLP-World 社区整理的论文写作技巧,帮助检查和优化学术论文。Use when: (1) 检查论文 LaTeX 格式和排版, (2) 优化公式符号使用, (3) 改进图表设计, (4) 润色英文学术表达, (5) 检查参考文献格式, (6) 投稿前终稿检查, (7) 用户询问论文写作技巧或规范。

    4.7k GitHub stars~630 tokensUpdated 15 days ago
    Documents & OfficeAuto-check passed
  • Evomath Tao

    EvoScientist/EvoSkills

    A skill your agent uses whenever the user submits a non-trivial mathematical claim that needs a rigorous proof or audit.

    478 GitHub starsUsed in 2 repos~3.8k tokens
    Documents & OfficeAuto-check passed
  • Rewrites a math modeling competition paper into an English EI conference submission, using a bundled IEEE LaTeX template, with evidence tracked back to the original paper.

    6.2k GitHub stars~688 tokensUpdated 8 days ago
    Documents & OfficeAuto-check passed
  • Paperjury

    Spark-To-Paper-Skills/paperjury

    Three modes for CS-conference papers (CVPR/ICCV/ECCV vision, ACL/EMNLP/NAACL NLP, ICLR/NeurIPS/ICML/AAAI ML).

    1.2k GitHub stars~5.3k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Compiledeck

    scunning1975/MixtapeTools

    Create and compile beautiful Beamer presentations following the Rhetoric of Decks philosophy.

    474 GitHub starsUsed in 2 repos~3.1k tokens
    Documents & OfficeAuto-check passed

More from yunshenwuchuxun/latex-paper-skills

All 8 skills in this repo
  • Arxiv Paper Writer

    yunshenwuchuxun/latex-paper-skills

    Writes ML/AI review and survey papers for arXiv using the IEEEtran LaTeX template with verified BibTeX citations.

    267 GitHub stars~3.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Collaborating With Claude

    yunshenwuchuxun/latex-paper-skills

    Use the Claude Code CLI as a depth-analysis co-pilot for paper-from-zero.

    267 GitHub stars~1.2k tokensUpdated 6 mo ago
    Auto-check passed
  • Collaborating With Gemini

    yunshenwuchuxun/latex-paper-skills

    Use the Gemini CLI as a breadth-exploration co-pilot for paper-from-zero.

    267 GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • Paper From Zero

    yunshenwuchuxun/latex-paper-skills

    Route a fixed research topic into a rigorous paper-generation workflow.

    267 GitHub stars~1.5k tokensUpdated 6 mo ago
    Auto-check passed
  • Empirical Paper Writer

    yunshenwuchuxun/latex-paper-skills

    Draft IEEE-style empirical ML/AI papers from a structured research contract.

    267 GitHub stars~5.3k tokensUpdated 6 mo ago
    Auto-check passed
  • Check Collaborators

    yunshenwuchuxun/latex-paper-skills

    Verify that Gemini CLI and Claude Code CLI are installed, authenticated, and API-reachable before starting collaboration workflows.

    267 GitHub stars~1.4k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Results Backfill

What does Results Backfill do?

Back-fill verified experiment results into an existing empirical paper draft. Results Backfill is an agent skill from yunshenwuchuxun/latex-paper-skills. Back-fill verified experiment results into an existing empirical paper draft.

When should I use Results Backfill?

Results Backfill fits situations like: tasks that involve LaTeX.

How do I install Results Backfill in Claude Code?

Run `npx skills add yunshenwuchuxun/latex-paper-skills --skill results-backfill -a claude-code`. Or copy the skill folder (.codex/skills/results-backfill in yunshenwuchuxun/latex-paper-skills) into .claude/skills/results-backfill in your project. Claude Code loads it when a task matches its description.

How do I install Results Backfill in Codex?

Run `npx skills add yunshenwuchuxun/latex-paper-skills --skill results-backfill -a codex`. Or copy the skill folder (.codex/skills/results-backfill in yunshenwuchuxun/latex-paper-skills) into .agents/skills/results-backfill in your project. Codex loads it when a task matches its description.

Can I use Results Backfill 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 yunshenwuchuxun/latex-paper-skills --skill results-backfill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/results-backfill, .gemini/skills/results-backfill, .github/skills/results-backfill and .opencode/skills/results-backfill in your project.

What does Results Backfill need to run?

Going by SKILL.md and its folder, Results Backfill needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and conda). Our summary lists: Python 3.

Does Results Backfill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Results Backfill safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Results Backfill use?

Results Backfill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Results Backfill use?

About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 973 tokens, read only when the agent opens those files.

What are the alternatives to Results Backfill?

Skills that share tags, products or a category with Results Backfill: Research Writing (alfonso0512/research-writing-skill, 490 stars), Paper Writing (MLNLP-World/Paper-Writing-Tips, 4.7k stars), Evomath Tao (EvoScientist/EvoSkills, 478 stars) and Math Modeling to EI Conference Paper (jihe520/MathModelAgent, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Results Backfill?

yunshenwuchuxun (a GitHub user) maintains it in yunshenwuchuxun/latex-paper-skills, which has 267 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on March 25, 2026.

Source: yunshenwuchuxun/latex-paper-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.