ワンクリックで
bip-lit-edges
Add knowledge graph edges from TeX paper citations. Use when connecting papers cited in manuscripts to the bip knowledge graph.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Add knowledge graph edges from TeX paper citations. Use when connecting papers cited in manuscripts to the bip knowledge graph.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Check remote server CPU, memory, and GPU availability via SSH
Cold-start into a worktree/clone from a fresh conversation — read the PR, issue, and any status files, figure out where things stand, then STOP and ask the user what to do next. Use for a fresh conversation dropped into a bip-spawn or bip-epic-spawn worktree/clone that already has history (a PR, an in-progress phase, or a stalled worker).
Quick poll of tracked EPICs and code repos for new manuscript-relevant results
Persist manuscript session state before context reset
Cold-start for a manuscript session — the paper is the source of truth and shared context; discuss results, orchestrate research through issues/PRs, and update the paper as threads complete
Spawn a Claude session in a clone for an EPIC issue
| name | bip-lit-edges |
| description | Add knowledge graph edges from TeX paper citations. Use when connecting papers cited in manuscripts to the bip knowledge graph. |
Workflow for extracting citations from TeX manuscripts and adding them as knowledge graph edges.
/bip-lit-edges ~/writing/my-paper-tex
Use a parallel Explore subagent to understand the paper's topic, key concepts, and related projects.
Grep the .tex files for all citation commands (\cite, \citep, \citet, \citealp, etc.):
grep -roh '\\cite[a-zA-Z]*{[^}]*}' ~/writing/paper-tex/*.tex \
| tr ',' '\n' | sed 's/.*{//;s/}//;s/^ *//' | sort | uniq -c | sort -rn
The uniq -c | sort -rn gives citation frequency — the most-cited papers are likely the most important ones to connect.
Citation keys (e.g., Kim2020-ip, Aldous1996-fk) usually match bip paper IDs directly:
cd ~/re/nexus
for key in Key1 Key2 Key3; do
echo -n "$key: "
bip get "$key" --human 2>/dev/null | head -1 || echo "NOT FOUND"
done
When a key is NOT FOUND, the paper may still be in the library under a different key suffix (e.g., Sethna2019-lv in bib vs Sethna2019-at in library). Search by title or keyword:
bip search "OLGA" # search by tool/method name or keyword
If found under a different key, ask the user if they want to fix the bib and tex files to use the library's key. If yes, update both main.bib (the @ARTICLE{...} key) and all \cite{...} references in .tex files.
For papers truly not in library, add via bip s2 add "DOI:...". If rate-limited, note for later.
Look at the highly-cited papers and the subagent analysis. Create concept nodes for:
Only create concepts for things that bridge multiple papers — a concept that only one paper touches isn't pulling its weight in the graph.
bip concept add concept-id --name "Name" --aliases "a,b" --description "..."
# Paper → concept
bip edge add -s PaperID -t concept:concept-id -r introduces -m "Summary"
# Concept → project (if relevant)
bip edge add -s concept:concept-id -t project:project-id -r applied-in -m "Summary"
Paper → concept relationship types:
| Type | Use |
|---|---|
introduces | Paper first presents or defines this concept |
extends | Paper builds upon or generalizes the concept |
applies | Paper uses concept as a tool or method |
models | Paper provides computational/mathematical model |
evaluates-with | Paper uses concept for evaluation/benchmarking |
critiques | Paper identifies limitations or problems |
Concept → project relationship types: applied-in, relevant-to
cd ~/re/nexus && make viz
open -a "Google Chrome" viz/knowledge-graph.html
# 1. Get citation keys ranked by frequency
grep -roh '\\cite[a-zA-Z]*{[^}]*}' ~/writing/my-method-tex/*.tex \
| tr ',' '\n' | sed 's/.*{//;s/}//;s/^ *//' | sort | uniq -c | sort -rn
# 2. Check top keys against library
cd ~/re/nexus
for key in Smith2020-ab Jones2019-cd Brown2021-ef; do
echo -n "$key: "
bip get "$key" --human 2>/dev/null | head -1 || echo "$key: NOT FOUND"
done
# 3. Add missing papers
bip s2 add "DOI:10.1234/missing-paper"
# 4. Create concept if it bridges papers
bip concept add my-method --name "My Method" --description "Novel approach for X"
# 5. Add edges
bip edge add -s MyPaper2025-xx -t concept:my-method -r introduces -m "Introduces the method"
bip edge add -s Smith2020-ab -t concept:my-method -r applies -m "Earlier application"
bip edge add -s concept:my-method -t project:my-project -r applied-in -m "Core method"
# 6. Visualize
make viz && open -a "Google Chrome" viz/knowledge-graph.html
bip search "OLGA"), then fix bib+tex to match the library key