Backward Traceability
Makes every number in a LaTeX paper hyperlink back to the code line that produced it, with compile-time formulas.
- CCM score
- 52 of 100
- skills.sh installs
- 2.3K
- GitHub stars
- 483
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full traceability flow: tagging code outputs with
\hypertarget, referencing them via\hyperlink, and evaluating derived values with\num{} - Includes
ref_numeric_values.pywith--scanto report orphan references and unreferenced numbers, and--verifyto cross-check paper values againstresults.txt - Enforces that no numeric result is typed by hand and that the appendix code listing matches the code actually executed
- Designed for research papers where reproducibility and data integrity must be verified before submission
Install
$ npx -y skills add lingzhi227/agent-research-skills --skill backward-traceability -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Backward Traceability
Make every number in the final PDF hyperlink back to the exact code line that produced it.
Input
$0— Paper project directory containing code and LaTeX files
References
- Traceability patterns and LaTeX commands:
~/.claude/skills/backward-traceability/references/traceability-patterns.md
Scripts
Scan hypertarget/hyperlink references
python ~/.claude/skills/backward-traceability/scripts/ref_numeric_values.py \
--scan paper/main.tex --output report.json
Reports: all hypertargets, hyperlinks, orphan references, unreferenced numeric values.
Verify cross-reference integrity
python ~/.claude/skills/backward-traceability/scripts/ref_numeric_values.py \
--verify paper/main.tex --code-output results.txt
Cross-checks values between paper text and code output. Reports mismatches.
Workflow
Step 1: Tag Code Outputs
For every numeric value produced by experiment code, add hypertarget tags:
# In experiment code output:
print(f"\\hypertarget{{R1a}}{{45.3}}") # Mean accuracy
print(f"\\hypertarget{{R1b}}{{2.1}}") # Std deviation
Details
- Repository
- github.com/lingzhi227/agent-research-skills
- Categories
- Research & Academic, Writing & Content
- First seen
- Jun 3, 2026
Questions
What does the backward-traceability skill do?
The backward-traceability skill makes every number in the final PDF hyperlink back to the exact code line that produced it. It uses \hypertarget and \hyperlink LaTeX commands and evaluates \num{formula} expressions at compile time.
How do I install the backward-traceability skill?
Run npx -y skills add lingzhi227/agent-research-skills --skill backward-traceability -y in a project to install it. Once installed, the backward-traceability skill lets the agent tag code outputs and link them from paper text.
Who should use backward-traceability in a research paper workflow?
Researchers who need reproducibility and data integrity checks for their paper can use backward-traceability. It helps verify that each reported value in a LaTeX paper matches the code output that produced it.
Where does backward-traceability sit in the Research & Academic category?
Backward-traceability is in the Research & Academic category alongside research, paper-context-resolver, repo-intake-and-plan, minimal-run-and-audit and env-and-assets-bootstrap. Its distinct focus is linking PDF numbers back to the code lines that generated them.
More from lingzhi227/agent-research-skills
All 31- Math Reasoning2.3K
- Citation Management2.2K
- Data Analysis2.1K
- Deep Research2K
- Idea Generation1.9K
- Novelty Assessment1.9K
- Paper Writing Section1.9K
- Github Research1.9K
- Paper Revision1.9K
- Experiment Design1.9K
- Research Planning1.9K
- Survey Generation1.8K
- Algorithm Design1.8K
- Code Debugging1.8K
- Rebuttal Writing1.8K
- Related Work Writing1.8K
- Self Review1.8K
- Table Generation1.8K
- Paper Compilation1.7K
- Slide Generation1.7K
- Atomic Decomposition1.7K
- Paper To Code1.7K
- Experiment Code1.7K
- Paper Assembly1.7K
Similar to Backward Traceability
More Research & Academicmath-reasoninglingzhi227/agent-research-skills2.3K installsFormal mathematical reasoning for research papers — derive equations, write proofs, formalize problem settings, select statistical tests, and generate LaTeX mat
pyzoterok-dense-ai/scientific-agent-skills2.3K installsInteract with Zotero reference management libraries using the pyzotero Python client. Retrieve, create, update, and delete items, collections, tags, and attachm
market-research-reportsk-dense-ai/scientific-agent-skills2.3K installsBuild evidence-traceable market research reports and assumption-driven market sizing or forecast scenarios. Use for market definition, industry and customer evi
auto-paper-demomarimo-team/skills2.3K installsMake a demo of a research paper in a marimo notebook fully automatically without extra user input.
academic-research-suiteimbad0202/academic-research-skills-codex2.3K installsARS-Codex workflows for research, academic writing, manuscript review, research-to-paper pipelines, and experiment planning. Use when the user asks for deep res
research-lookupk-dense-ai/scientific-agent-skills2.3K installsCompile current scholarly evidence for a scientific manuscript or research brief. Use when the user explicitly asks to gather literature, references, background