Harness Book Best Practice
wquguru/harness-books
Best practices for working on the Harness books repo. An agent skill from wquguru/harness-books.
深度调研主题并自动生成知识关系图谱PDF。接收研究主题后自动进行网络调研、信息收集、知识整理,最终生成专业的可视化关系图谱。适用于"研究...并做图"、"深度分析...并可视化"、"生成知识图谱"等场景。
$ npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wshuyi/research-to-diagram research-to-diagram --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wshuyi/research-to-diagram.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/research-to-diagram .claude/skills/research-to-diagram && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "research-to-diagram" agent skill from https://github.com/wshuyi/research-to-diagram/tree/main/skills/research-to-diagram into .claude/skills/research-to-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-to-diagram", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wshuyi/research-to-diagram/tree/main/skills/research-to-diagramType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wshuyi/research-to-diagram research-to-diagram --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wshuyi/research-to-diagram.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/research-to-diagram .agents/skills/research-to-diagram && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "research-to-diagram" agent skill from https://github.com/wshuyi/research-to-diagram/tree/main/skills/research-to-diagram into .agents/skills/research-to-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-to-diagram", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wshuyi/research-to-diagram research-to-diagram --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wshuyi/research-to-diagram.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/research-to-diagram .cursor/skills/research-to-diagram && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "research-to-diagram" agent skill from https://github.com/wshuyi/research-to-diagram/tree/main/skills/research-to-diagram into .cursor/skills/research-to-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-to-diagram", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wshuyi/research-to-diagram.git --path skills/research-to-diagram--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wshuyi/research-to-diagram research-to-diagram --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wshuyi/research-to-diagram.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/research-to-diagram .gemini/skills/research-to-diagram && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "research-to-diagram" agent skill from https://github.com/wshuyi/research-to-diagram/tree/main/skills/research-to-diagram into .gemini/skills/research-to-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-to-diagram", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wshuyi/research-to-diagram research-to-diagramInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wshuyi/research-to-diagram.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/research-to-diagram .github/skills/research-to-diagram && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "research-to-diagram" agent skill from https://github.com/wshuyi/research-to-diagram/tree/main/skills/research-to-diagram into .github/skills/research-to-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-to-diagram", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wshuyi/research-to-diagram research-to-diagram --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wshuyi/research-to-diagram.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/research-to-diagram .opencode/skills/research-to-diagram && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "research-to-diagram" agent skill from https://github.com/wshuyi/research-to-diagram/tree/main/skills/research-to-diagram into .opencode/skills/research-to-diagram/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "research-to-diagram", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
research-to-diagram深度调研主题并自动生成知识关系图谱PDF。接收研究主题后自动进行网络调研、信息收集、知识整理,最终生成专业的可视化关系图谱。适用于"研究...并做图"、"深度分析...并可视化"、"生成知识图谱"等场景。
Research To Diagram is an agent skill from wshuyi/research-to-diagram. 深度调研主题并自动生成知识关系图谱PDF。接收研究主题后自动进行网络调研、信息收集、知识整理,最终生成专业的可视化关系图谱。适用于"研究...并做图"、"深度分析...并可视化"、"生成知识图谱"等场景。
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts (for example `COMPARISON.md`, `README.md` and `USAGE_EXAMPLES.md`).
It sits in Documents & Office, covering Diagrams and PDF. The repository describes itself as: Deep research and auto-generate knowledge relationship diagrams in PDF. From research to visualization in one tool. 深度调研并自动生成知识关系图谱PDF。 The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c13ec59. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
brewnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Research To Diagram loads about 1.1k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 301 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from wshuyi/research-to-diagram at commit c13ec59, republished under its MIT licence (© wshuyi). 301 words, ~1,112 tokens.
.claude/skills/research-to-diagram/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.深度调研主题并自动生成知识关系图谱PDF。从研究到可视化的一站式工具。
这个 Skill 接收用户提供的研究主题,自动进行深度网络调研、信息收集、知识整理、结构设计,最终生成专业的可视化关系图谱PDF。与 structure-to-pdf 不同,本 Skill 专注于主动研究和知识挖掘,而非被动的数据转换。
当用户想要:
关键词:
- 深度调研主题和相关知识
- 设计图谱结构和层次
- 创建可视化图表
- 生成PDF文档根据主题类型选择最佳结构:
人物关系图:
概念图谱:
技术架构:
优先使用 Graphviz (DOT 语言):
digraph G {
// 全局样式
graph [rankdir=TB bgcolor="#fdfdf5" fontname="Arial Unicode MS"]
node [shape=box style="rounded,filled" fillcolor="#e8f4f8"]
edge [fontname="Arial Unicode MS"]
// 使用 subgraph cluster 分组
subgraph cluster_group1 {
label="分组名称"
node1 [label="节点1"]
node2 [label="节点2"]
}
// 定义关系
node1 -> node2 [label="关系类型" color=red]
}备选工具:
dot -Tpdf diagram.dot -o output.pdf可选生成说明文档,包含:
默认保存位置:~/Downloads/ 或用户指定目录
生成文件:
<topic>_relations.dot - Graphviz 源文件<topic>_relations.pdf - 最终PDF图谱<topic>_sources.md - 参考资料(可选)用户:深度调查《三国演义》里人物之间的关系,然后做个结构图 PDFSkill 执行:
用户:研究 Kubernetes 架构并生成可视化图谱Skill 执行:
用户:分析二战主要国家和联盟关系,做成图表Skill 执行:
| 特性 | research-to-diagram | structure-to-pdf |
|---|---|---|
| 输入 | 仅主题/研究问题 | 现成的结构化数据 |
| 调研 | ✅ 自动深度调研 | ❌ 无需调研 |
| 知识整理 | ✅ 自动提取和结构化 | ❌ 直接使用用户数据 |
| 应用场景 | 知识探索、研究可视化 | 快速数据转换 |
| 时间 | 较长(需调研) | 快速 |
何时使用本 Skill:
何时使用 structure-to-pdf:
必需:
brew install graphviz (macOS)可选:
brew install plantumlnpm install -g @mermaid-js/mermaid-cli用户可以通过参数自定义:
--tool: 指定可视化工具 (graphviz/plantuml/mermaid)--layout: 指定布局方向 (TB/LR/BT/RL)--output: 指定输出目录--depth: 调研深度 (quick/medium/deep)--sources: 是否生成参考资料文档- 家族/组织用 cluster 分组
- 人物用 box/ellipse,重要人物用特殊形状
- 血缘关系用实线,婚姻用红色,其他用虚线
- 添加图例说明符号含义- 顶层概念在上方
- 子概念逐层展开
- is-a 关系用实线,has-a 用虚线
- 使用颜色区分不同类别- 分层架构用 rankdir=TB
- 组件用矩形,服务用圆角矩形
- 依赖关系用箭头
- 关键路径用粗线或特殊颜色中文显示乱码:
graph [fontname="Arial Unicode MS"]
node [fontname="Arial Unicode MS"]
edge [fontname="Arial Unicode MS"]图谱过于复杂:
concentrate=true 合并相同边布局不理想:
ranksep 和 nodeseprank=same 强制节点同层splines 设置© wshuyi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts) in skills/research-to-diagram of wshuyi/research-to-diagram.
Open the folder on GitHubat commit c13ec59
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wshuyi/research-to-diagram, which our catalogue first saw on October 7, 2026.
Research To Diagram next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Research To Diagram this skillwshuyi/research-to-diagram | 157 | 1 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Harness Book Best Practicewquguru/harness-books | 3.2k | — | ~4.1k | Automated safety check: Pass | None | |
| Ky Markdown RebuilderKyrieCheungYep/ky-markdown-rebuilder | 117 | — | ~5.7k | Automated safety check: Pass | None | |
| Paper Interpreterchujianyun/skills | 742 | — | ~810 | Automated safety check: Pass | Custom licence | |
| Gemini Document Processingeinverne/dotfiles | 121 | — | ~1.6k | Automated safety check: Notes | GPL-3.0 | |
| Paper Interpreterdigoal/blog | 8.6k | — | ~1.1k | Automated safety check: Pass | GPL-2.0 |
wquguru/harness-books
Best practices for working on the Harness books repo. An agent skill from wquguru/harness-books.
KyrieCheungYep/ky-markdown-rebuilder
Rebuild visual documents into reliable Markdown by combining text extraction with page or screenshot alignment.
chujianyun/skills
论文解读助手。适用于用户发送 arXiv 论文链接,并希望下载论文、解读论文、生成读书笔记、做论文拆解或输出详细报告时使用。会在工作目录创建论文文件夹、下载 PDF 与 TeX Source(如有)、生成中文 Markdown 报告。默认先交付初稿,不自动复查;如果用户明确同意,再安排后续复查。不适用于只要简短推荐语的情况。
einverne/dotfiles
Guide for implementing Google Gemini API document processing - analyze PDFs with native vision to extract text, images, diagrams, charts, and tables.
digoal/blog
深度解读学术论文,将论文 PDF(文件或 URL)转化为通俗易懂、图文并茂的 Markdown 解读文档,保存到项目的 markdown/ 目录。触发条件:用户上传或提供论文 PDF、提到"解读论文"/"读论文"/"分析这篇论文"/"帮我看这篇 paper",或任何需要深入理解一篇学术论文的场景。即使用户只说"帮我看这个 PDF"但内容是论文,也应使用本…
GAIK-project/gaik-toolkit
Converts scattered documents and media (recordings, notes, diagrams, PDFs, spreadsheets) into structured MS Word reports.
Categories
深度调研主题并自动生成知识关系图谱PDF。接收研究主题后自动进行网络调研、信息收集、知识整理,最终生成专业的可视化关系图谱。适用于"研究...并做图"、"深度分析...并可视化"、"生成知识图谱"等场景。. Research To Diagram is an agent skill from wshuyi/research-to-diagram.
Research To Diagram fits situations like: tasks that involve Diagrams; tasks that involve PDF.
Run `npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a claude-code`. Or copy the skill folder (skills/research-to-diagram in wshuyi/research-to-diagram) into .claude/skills/research-to-diagram in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a codex`. Or copy the skill folder (skills/research-to-diagram in wshuyi/research-to-diagram) into .agents/skills/research-to-diagram in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wshuyi/research-to-diagram --skill research-to-diagram -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/research-to-diagram, .gemini/skills/research-to-diagram, .github/skills/research-to-diagram and .opencode/skills/research-to-diagram in your project.
Going by SKILL.md and its folder, Research To Diagram needs a shell for the scripts in its folder and the command-line tools its instructions call (brew and npm). Our summary lists: Node.js; A Bash shell.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Research To Diagram is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Research To Diagram: Harness Book Best Practice (wquguru/harness-books, 3.2k stars), Ky Markdown Rebuilder (KyrieCheungYep/ky-markdown-rebuilder, 117 stars), Paper Interpreter (chujianyun/skills, 742 stars) and Gemini Document Processing (einverne/dotfiles, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wshuyi (a GitHub user) maintains it in wshuyi/research-to-diagram, which has 157 GitHub stars. The repository was last updated on January 2, 2026.
Source: wshuyi/research-to-diagram on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.