
Backward Traceability
Clickable citations for every number in your research paper that jump straight to the code line that generated it. You wrap your experiment outputs in LaTeX hypertarget tags, reference them with hyperlinks in your paper text, and compile to a PDF where reviewers can verify any result by clicking through to the appendix code listing. Includes scripts to scan for orphaned references and verify that printed values match code outputs. The workflow is rigid (you can't hand-type numbers anymore) but that's the point. If you've ever had a reviewer question a result and couldn't remember which script version produced it, this forces that problem to never happen.
- skills.sh installs
- 2.3K
- GitHub stars
- 459
- last updated
- Aug 21, 2026
Install
$ npx -y skills add lingzhi227/agent-research-skills --skill backward-traceability --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/lingzhi227/agent-research-skills
- Categories
- AI & Agent Building, Data Science & ML, Office & Documents
- First seen
- Jun 3, 2026
More from lingzhi227/agent-research-skills
All 31- Math Reasoning2.2K
- Citation Management2.2K
- Data Analysis2K
- Deep Research2K
- Idea Generation1.9K
- Novelty Assessment1.9K
- Paper Writing Section1.8K
- Paper Revision1.8K
- Experiment Design1.8K
- Github Research1.8K
- Research Planning1.8K
- Survey Generation1.8K
- Algorithm Design1.7K
- Rebuttal Writing1.7K
- Code Debugging1.7K
- Related Work Writing1.7K
- Table Generation1.7K
- Self Review1.7K
- Slide Generation1.7K
- Paper Compilation1.7K
- Atomic Decomposition1.6K
- Paper To Code1.6K
- Experiment Code1.6K
- Paper Assembly1.6K