Graph
ResearchgraphGraph is an Agent Skill for research published in the ZimoLiao/scholaraio repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when the user asks about citation relationships, references, citing papers, shared references, bibliographic overlap, or graph-style paper connections.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/ZimoLiao/scholaraio/blob/HEAD/.claude/skills/graph/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/graph, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
引用图谱查询
查看论文的参考文献、谁引用了此论文、以及多篇论文的共同参考文献。
执行逻辑
查看论文的参考文献
scholaraio refs "<paper-id>" [--ws NAME]
查看谁引用了此论文
scholaraio citing "<paper-id>" [--ws NAME]
共同参考文献分析
scholaraio shared-refs "<id1>" "<id2>" [--min N] [--ws NAME]
参数说明:
--min N— 最少被 N 篇论文共同引用才纳入结果(默认 2)--ws NAME— 限定工作区范围
前提条件
参考文献数据来自 Semantic Scholar,需先通过以下方式获取:
- 入库时自动拉取
- 已有论文运行
refetch --all --force补拉 - 之后运行
index --rebuild重建索引以更新 citations 表
空结果排查:如果
refs/citing返回空结果,说明该论文的引用数据尚未获取。先运行refetch "<paper-id>"补拉,再index --rebuild更新 citations 表。
示例
用户说:"这篇论文引了哪些文献"
→ 执行 refs "<paper-id>"
用户说:"哪些论文引用了这篇"
→ 执行 citing "<paper-id>"
用户说:"这两篇论文有什么共同引用"
→ 执行 shared-refs "<id1>" "<id2>"