Guide · Agent skill
How to use the hv-analysis agent skill (横纵分析法)
Updated · written with AI from the project's own documentation and checked against our catalogue data
hv-analysis is an agent skill, a set of instructions and scripts that an AI agent loads when a task matches it. When you ask the agent to research a product, company, concept or person in depth, this skill makes it follow a fixed two-axis method and deliver a long PDF report instead of a short chat answer. This guide explains what the skill does, how to install it, how to trigger it, what it needs, and where to be careful.
Quick start
- 1Download the ZIP. Get the hv-analysis ZIP from the page.
- 2Unzip into a skills folder. Place it in ~/.claude/skills/ for personal use or .claude/skills/ inside a project.
- 3Or upload in the Claude apps. Go to Settings → Capabilities → Skills and upload the skill.
- 4Install the PDF packages. Run pip install weasyprint markdown --break-system-packages in an environment with Python 3.
- 5Make a natural request. Ask for an in-depth study of a product, company, concept or person in plain language.
- 6Review and check the PDF. Read the generated report and verify key facts against the listed sources.
What the hv-analysis skill makes the agent do
The skill is built on the horizontal-vertical analysis method (横纵分析法), which the source credits to Khazix. The vertical axis traces the subject's full history from its origin to today, covering its founders, funding, key versions, strategy shifts and controversies. The horizontal axis compares the subject with its competitors at the current point in time. The agent then combines both axes into a long written report.
The final output is a formatted PDF with a cover page, headers and page numbers. The skill also sets a writing style for the report, so the result reads as a narrative rather than a list of facts.
- Vertical axis: origin, timeline, decision logic and stages of development
- Horizontal axis: competitors, user reputation, ecosystem position and trends
- Intersection: links history to today's position and gives forecast scenarios
- Deliverable: a PDF named after the subject, produced by the bundled script
Install hv-analysis (ZIP or upload)
Download the ZIP from the page, then choose one of two routes. For a personal setup, unzip it into ~/.claude/skills/. For a single project, unzip it into the project's .claude/skills/ folder. Either way the skill folder should contain SKILL.md, scripts/md_to_pdf.py and references/schema.json.
If you use the Claude apps instead, upload the skill under Settings → Capabilities → Skills.
- Personal: ~/.claude/skills/
- Project only: .claude/skills/ inside the project folder
- Claude apps: Settings → Capabilities → Skills, then upload
Install the Python packages the PDF script needs
The PDF step runs a Python script that depends on two packages. The skill's own instructions give this install command, which includes a flag needed on some systems.
- Requires Python 3
- Packages: weasyprint and markdown
pip install weasyprint markdown --break-system-packagesHow to trigger the skill with a natural request
You do not need a special command. Describe what you want researched in plain language. The skill is meant for requests that need systematic background, not simple definitions. Trigger phrases in the source include 横纵分析, 研究一下, 帮我分析, 深度研究, 竞品分析, 帮我摸清楚 and 帮我搞懂, as well as deep research in English. Phrases like 'what is X' should not trigger it.
If you already name the subject clearly, the agent should start without asking follow-up questions. Otherwise it confirms the subject, its type, your motive and any focus area.
- Good: 用横纵分析法研究 Hermes Agent (the source's own example pattern)
- Good: 帮我做个 deep research on this company before we decide
- Good: 竞品分析 for a tool and its rivals, with the report as PDF
- Avoid: 什么是 X (a plain definition; the skill is wasteful here)
Example workflow from request to PDF
Once triggered, the agent is told to run web searches, ideally with parallel sub-agents, one for history and one for competitors. It checks sources and fills gaps before writing. It then writes the report as Markdown and converts it using the bundled script.
The conversion command in the source takes an input Markdown file, an output PDF and optional title and author arguments. The file name pattern for the report is the subject name followed by 横纵分析报告.
- Step 1: web search for history and competitors, preferring primary sources
- Step 2: write the vertical analysis, the horizontal analysis and the intersection
- Step 3: save as Markdown, then convert to PDF with the script
- Step 4: list sources with URLs and access dates at the end
python [skill目录]/scripts/md_to_pdf.py input.md output.pdf --title "研究对象名称" --author "数字生命卡兹克"What the skill needs to run
Beyond Python 3 and the two packages, the agent environment needs web search and web fetch tools. The source says the skill uses network access. An optional web-access skill can be installed and the agent will prefer it when present. For academic topics, the source suggests querying the arXiv API.
- Python 3 with weasyprint and markdown
- Web search and fetch tools in the agent environment
- Optional: web-access skill, if installed
- Optional: access to the arxiv.org API for academic topics
- The skill runs scripts and uses the network
Safety notes: scripts and network use
This skill runs a script and sends search queries to the public web and to third-party sites. Do not use it for confidential or internal research. Treat the output as a draft: the source warns that the agent may write long narrative claims from web sources that need checking.
Review the script before running it if you want to know exactly what it does. Check every key fact in the report against its cited source, especially for time-sensitive topics.
- Do not use for confidential or internal research
- Verify facts and dates in the report against sources
- Read scripts/md_to_pdf.py if you need to audit it
- Expect the agent to flag missing information rather than invent it, per the source's rules
Tips for better reports
Give the agent the subject's exact name, its type (product, company, concept or person) and, if relevant, why you are researching it now. The method depends on rich sources, so the skill tells the agent to search more rather than stop early. Expect long output: the source sets targets of 10,000 to 30,000 Chinese characters for a full report.
- Name the subject precisely and state its type
- Say what decision the report supports, to focus the analysis
- Ask for a specific focus area if you have one
- Check the sources list at the end before relying on the report
What people use it for
- An analyst preparing a background report on a company before a investment or partnership decision
- A founder studying a product's history and its rivals before choosing a direction
- A writer or researcher building a long, sourced overview of a tech product and its competitors
- Someone who wants a PDF deliverable to share, instead of a chat answer
Frequently asked questions
How do I install the hv-analysis skill?
Download the ZIP from the page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. In the Claude apps, you can instead upload it under Settings → Capabilities → Skills.
What does hv-analysis require?
It requires Python 3, the weasyprint and markdown packages, and web search and fetch tools in the agent environment. An optional web-access skill and access to the arXiv API are helpful for some topics.
Is hv-analysis free to use?
The source lists the licence as MIT. Check the licence file in the repository for the exact terms before reuse. The source does not state any price.
Why is the agent not triggering the skill?
The skill is meant for deep research, so simple 'what is X' questions will not trigger it. Ask for a systematic study, using words like 研究一下, 竞品分析 or deep research, and name the subject clearly.
Is it safe to use for confidential research?
The source says no for confidential or internal research. The skill searches the public web and may send queries to third-party sites.
How does it compare with a normal chat answer or other research tools?
A normal chat answer is short and unstructured. This skill follows a fixed two-axis method and outputs a long PDF report with sources. The source notes it is wasteful for quick questions, so use a plain chat for those.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Use hv-analysis if you need a structured, sourced background report on a product, company or person and want a PDF you can share. Skip it for quick definitions, confidential work, or any time-sensitive fact you cannot check yourself.
Download the skill