Skip to main content
skill CX Codex

backward-traceability — Claude Code skill: how to install

Connects every numeric value in a research PDF directly to the source code line that produced it. Helps verify data reproducibility across LaTeX documents.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a claude-code
Open on GitHub

What backward-traceability does

This skill binds numbers in paper text to the exact calculations that generated them. Experiment code outputs \hypertarget tags alongside raw values, while the LaTeX manuscript references them via clickable \hyperlink tags. Derived metrics evaluate at compilation time with \num{}, and full code listings sit in the appendix.

Verification runs through the bundled ref_numeric_values.py Python script. It scans main.tex for broken or orphan references and compares reported metrics directly against results.txt. For the LaTeX side, projects require both hyperref and listings packages.

Hardcoding numerical values in the manuscript breaks traceability checks immediately, forcing you to keep code output and paper numbers strictly in sync.

What it helps with

  • link PDF metrics to source code lines
  • find unreferenced or orphan numeric targets in LaTeX
  • verify experiment outputs against values in paper text
  • generate clickable code listings in LaTeX appendices

Example prompts for the agent

  • Check backward traceability for numbers in paper/main.tex
  • Run verification between paper/main.tex and results.txt
  • Scan paper directory for unreferenced numeric targets

How to install backward-traceability

1Skills CLI (Vercel)

npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a claude-code

2Manually: put the files in place

~/.claude/skills/backward-traceability/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/backward-traceability/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about backward-traceability

How to install backward-traceability in Claude Code?

Run npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a claude-code in your terminal.

What does backward-traceability do?

It converts metrics in your PDF into clickable links leading to the code lines that produced them and scans for mismatched numbers.

Which LaTeX packages are required for backward-traceability?

You need to include \usepackage{hyperref} and \usepackage{listings} in your LaTeX preamble.

Similar skills

Everything for Science and research →

From the same set30

figure-generation Builds publication-ready scientific plots through query expansion, code execution, and visual verification. Helps researchers format charts for papers. CX Codex +1 2,300installs math-reasoning Derives equations, writes proofs, formalizes research problems, and produces publication-ready LaTeX markup for research papers. CX Codex +1 2,200installs latex-formatting Sets up conference LaTeX templates, fixes formatting, and runs a pre-submission check. Handy when the deadline is close. CX Codex +1 2,200installs citation-management A skill that keeps citations in a LaTeX paper in order: harvests missing references via Semantic Scholar, validates cite keys against .bib, and formats the bibliography. CX Codex +1 2,100installs data-analysis Writes statistical analysis code for a paper: picks a test that fits the data and reports p-values, effect sizes and confidence intervals. CX Codex +1 2,000installs deep-research Runs a systematic academic literature review on a topic: finds papers, reads them, builds a database and writes a final report. Useful when you need the state of a field, not a few search hits. CX Codex +1 1,900installs research-planning Turns a topic or idea into a structured research plan: methodology, paper sections, dependency-ordered tasks and diagrams. CX Codex +1 1,800installs github-research Finds open-source repositories matching research topics, inspects their codebases, and produces an integration blueprint. Useful when tracking down implementations of algorithms. CX Codex +1 1,800installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor