backward-traceability

Trace PDF numeric outputs to exact LaTeX code lines via hypertarget anchors.

Updated Apr 23, 2026
One-click install
npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill backward-traceability
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backward-traceability
Source: https://github.com/Embers-of-the-Fire/agent-research-skills-opencode/tree/main/.opencode/skills/backward-traceability
Command: npx skills add https://github.com/Embers-of-the-Fire/agent-research-skills-opencode --skill backward-traceability

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables reproducible PDF generation by making every numeric value traceable to the exact code line that produced it.

Core Features & Use Cases

  • Hypertarget & hyperlink traceability: Attach unique labels to numeric outputs and link them back to source code for auditability.
  • Compile-time numeric evaluation: Use \num-like patterns to compute values during document assembly while preserving traceability.
  • Use Case: In a research paper pipeline, ensure reported metrics such as accuracy or loss map to specific lines in the experiment code, enabling verification and audits.

Quick Start

Run the traceability checker against your LaTeX project and integrate hypertarget anchors with your code outputs.

Frequently Asked Questions about backward-traceability

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make numeric outputs in LaTeX traceable to the exact source code line?

You can achieve traceability by applying hypertarget and hyperlink anchors alongside compile-time numeric evaluation during document assembly, attaching unique labels that link PDF values back to specific code lines.

What is compile-time numeric evaluation for reproducible PDF generation?

Compile-time numeric evaluation computes values during document assembly using num-like patterns while preserving traceability, ensuring every reported metric maps to its source code for verification and audits.

Can I use hypertarget and hyperlink anchors to trace research paper metrics back to experiment code?

Yes, hypertarget and hyperlink anchors attach unique labels to numeric outputs, allowing you to map reported metrics such as accuracy or loss directly to specific lines in your experiment code.

Do I need a YAML frontmatter with name and description inside SKILL.md to run the traceability checker?

Yes, running the traceability checker requires a YAML frontmatter containing name and description inside SKILL.md, which provides the script-driven workflow for cross-reference checks against your LaTeX project.

What's the best way to verify reported metrics map to specific lines in experiment code?

The best way to verify metrics map to experiment code is running a script-driven traceability checker against your LaTeX project, using hypertarget anchors to cross-reference numeric outputs during compile-time evaluation.