tex-edges

Extract citation keys from .tex files and create knowledge-graph edges.

29|4|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/matsen/bipartite --skill tex-edges
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tex-edges
Source: https://github.com/matsen/bipartite/tree/main/skills/tex-edges
Command: npx skills add https://github.com/matsen/bipartite --skill tex-edges

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add knowledge graph edges from TeX paper citations to connect manuscripts to the bip knowledge graph, enabling automated provenance and discovery.

Core Features & Use Cases

  • Extract citation keys from .tex files and map them to paper IDs in the knowledge graph.
  • Create edges with relations like cites, references, or supports to connect papers to projects and workflows.
  • Use case: given a TeX manuscript with a bibliography, automatically link top-cited papers to the nexus graph for navigation and discovery.

Quick Start

Run /tex-edges on your TeX project folder to start populating the knowledge graph.

Frequently Asked Questions about tex-edges

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

FAQPage Schema
How do I extract citations from a TeX manuscript into a knowledge graph?

To extract TeX citations into a knowledge graph, run the extraction on your .tex project folder to parse citation commands like \cite, \citep, and \citet, mapping them to paper IDs and creating provenance edges.

Can I link a LaTeX bibliography directly to my existing knowledge graph projects?

Yes, you can link a LaTeX bibliography to your knowledge graph projects by mapping citation keys from your .bib sources to paper IDs, creating edges with relations like cites, references, or supports to connect papers.

What citation commands does the paper-linking process recognize when parsing TeX files?

The paper-linking process recognizes standard LaTeX citation commands when parsing TeX files, specifically targeting \cite, \citep, and \citet to identify cited papers and map them to the bipartite knowledge graph.

How to populate a knowledge graph with manuscript provenance using TeX sources?

Populate a knowledge graph with manuscript provenance by parsing .tex sources, extracting citation keys, and updating the graph with edges that define relation types and connect top-cited papers to your workflows.

Does this citation extraction approach work with a bipartite knowledge graph structure?

Yes, this citation extraction approach works with a bipartite knowledge graph structure, creating edges that link cited papers to projects and enabling automated provenance and navigation discovery.

What is the best way to automate provenance discovery for TeX documents?

The best way to automate provenance discovery for TeX documents is parsing .tex sources to recognize citation commands, mapping keys to paper IDs, and updating the knowledge graph with relation type edges.