algorithm-design
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and…
Make every number in the final PDF traceable to the exact code line that produced it. Uses \hypertarget/\hyperlink LaTeX commands and \num{formula} evaluated at compile time. Use for reproducibility and data integrity verification.
Claude Code
$ npx -y skills add lingzhi227/agent-research-skills --skill backward-traceability --agent claude-code
Codex
$ npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a codex -y
Cursor
$ npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a cursor -y
Gemini CLI
$ npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a gemini-cli -y
GitHub Copilot
$ npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a github-copilot -y
OpenCode
$ npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a opencode -y
Windsurf
$ npx skills add lingzhi227/agent-research-skills --skill backward-traceability -a windsurf -y
name: backward-traceability
description: Make every number in the final PDF traceable to the exact code line that produced it. Uses \hypertarget/\hyperlink LaTeX commands and \num{formula} evaluated at compile time. Use for reproducibility and data integrity verification.
argument-hint: [paper-directory]Make every number in the final PDF hyperlink back to the exact code line that produced it.
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.
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.
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 deviationLabel format: `{prefix}{line_number}{letter}` where letter = a, b, c... for multiple values on same line.
Use `\hyperlink` to create clickable references in the paper:
Our method achieves \hyperlink{R1a}{45.3}\% accuracy
($\pm$\hyperlink{R1b}{2.1}).For values derived from other values, use `\num{}` for compile-time evaluation:
% \num{formula, "explanation"} → evaluated at compile time
The improvement is \num{45.3 - 38.7, "accuracy gain"}\%.Create an appendix with the full code listing, with `\hypertarget` anchors at relevant lines:
\section*{Appendix: Code Listing}
\begin{lstlisting}[escapechar=@]
@\hypertarget{code1}{}@result = model.evaluate(test_data)
@\hypertarget{code2}{}@accuracy = result['accuracy']
\end{lstlisting}Required packages:
\usepackage{hyperref}
\usepackage{listings}31 skills for Claude Code covering the full academic research paper lifecycle — from literature search to slide generation — plus GitHub repository analysis for research topics. Extracted from 17 GitHub repos studying LLM-agent-driven research automation.
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and…
Decompose research ideas into atomic, self-contained concepts with bidirectional math-code mapping. For each concept, extract the…
Manage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using Semantic Scholar, validate cite keys…
Debug experiment code with structured error analysis. Categorize errors, apply targeted fixes with retry logic, and use…
Generate statistical analysis code with 4-round review. Select appropriate statistical tests, interpret results, and produce…
Conduct systematic academic literature reviews in 6 phases, producing structured notes, a curated paper database, and a…
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…