Agent skill

Patent Draft Agent

by ninehills in ninehills/skills

生成符合中国专利法规范的专利交底书。接收 Markdown 格式的技术描述作为输入,通过多阶段流水线(标题生成、专利检索、发明目的撰写、发明内容撰写、图表生成、报告合并)自动生成完整的专利交底书。

No licenceAuto-check passedLegal & Compliance

Install Patent Draft Agent

skills CLI
$ npx skills add ninehills/skills --skill patent-draft-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ninehills/skills patent-draft-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ninehills/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/patent-draft-agent .claude/skills/patent-draft-agent && rm -rf skills-src

Use ~/.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/

Facts

Skill name
patent-draft-agent
GitHub stars
280
Token cost
~1.2k tokens
SKILL.md length
232 words
Files
10 (incl. scripts, references)
Skills in repo
38
Repo updated
First seen
Licence
None found

At a glance

生成符合中国专利法规范的专利交底书。接收 Markdown 格式的技术描述作为输入,通过多阶段流水线(标题生成、专利检索、发明目的撰写、发明内容撰写、图表生成、报告合并)自动生成完整的专利交底书。

  • Works in 5 steps: 先读取对应 prompt 文件。 → 在附加指令中给出工作目录绝对路径。 → 如涉及检索,给出 mcporter.json 的绝对路径。 → …
  • Tasks that involve Intellectual property
  • SKILL.md covers 初始化, MCP 工具调用约定, 工作目录管理 and 流程, plus 4 more sections
  • Runs Shell scripts from its folder; calls bash and python3; needs SERPAPI_API_KEY and EXA_API_KEY

What it does

Patent Draft Agent is an agent skill from ninehills/skills. 生成符合中国专利法规范的专利交底书。接收 Markdown 格式的技术描述作为输入,通过多阶段流水线(标题生成、专利检索、发明目的撰写、发明内容撰写、图表生成、报告合并)自动生成完整的专利交底书。

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts and reference files (for example `evals/evals.json`, `references/mcporter.json` and `references/prompts/content-writer.md`).

It sits in Legal & Compliance, covering Intellectual property. It works with Model Context Protocol.

When your agent uses it

  • Tasks that involve Intellectual property

Example prompts

  • “/patent-draft-agent”

Requirements

  • Python 3
  • A Bash shell
  • A credential in SERPAPI_API_KEY
  • A credential in EXA_API_KEY

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 先读取对应 prompt 文件。
  2. 在附加指令中给出工作目录绝对路径。
  3. 如涉及检索,给出 mcporter.json 的绝对路径。
  4. 明确输入文件、输出文件、验收标准。
  5. 要求子代理只写指定文件,不改其他阶段产物。

What it can do on your machine

Read from SKILL.md and the folder at commit f3e82a7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SERPAPI_API_KEY
    • EXA_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Patent Draft Agent loads about 1.2k tokens when it runs, and up to ~16k if it reads all its reference files. Until then it costs about 29 tokens; SKILL.md has 232 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~16k

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.

Safety

Auto-check passed

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.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 232 words (~1,199 tokens).

name
patent-draft-agent

Read the full SKILL.md on GitHub

Files

SKILL.md and 9 other files (scripts, references) in patent-draft-agent of ninehills/skills.

  • SKILL.md
  • evals/evals.json
  • references/mcporter.json
  • references/prompts/content-writer.md
  • references/prompts/diagram-generator.md
  • references/prompts/patent-searcher.md
  • references/prompts/purpose-writer.md
  • references/prompts/report-merger.md
  • references/prompts/title-generator.md
  • scripts/init.sh

Open the folder on GitHubat commit f3e82a7

Compare with similar skills

Patent Draft Agent 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.

Patent Draft Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Patent Draft Agent this skillninehills/skills280—~1.2kAutomated safety check: PassNone
Patsnap Ip Searchingpatsnap/mcp113—~1.1kAutomated safety check: PassApache-2.0
Prior Art Searchillusionaireal/oh-my-patent104—~1.8kAutomated safety check: PassMIT
Patsnap Triz Case Librarypatsnap/mcp113—~885Automated safety check: PassApache-2.0
Patsnap Workspacepatsnap/mcp113—~777Automated safety check: PassApache-2.0
Mpep SearchRobThePCGuy/Claude-Patent-Creator196—~978Automated safety check: PassMIT

Similar skills

  • Patsnap Patent Research MCP for AI agents. An agent skill from patsnap/mcp.

    113 GitHub stars~1.1k tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Prior Art Search

    illusionaireal/oh-my-patent

    A skill your agent uses when searching patents and technical literature for prior art, novelty, or patentability assessment.

    104 GitHub stars~1.8k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Patsnap TRIZ Case Library MCP for AI agents. An agent skill from patsnap/mcp.

    113 GitHub stars~885 tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Patsnap Workspace MCP for AI agents. An agent skill from patsnap/mcp.

    113 GitHub stars~777 tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed
  • Mpep Search

    RobThePCGuy/Claude-Patent-Creator

    Expert system for searching USPTO MPEP, 35 USC statutes, 37 CFR regulations, and post-Jan 2024 updates.

    196 GitHub stars~978 tokensUpdated 4 days ago
    Legal & ComplianceAuto-check passed
  • Patsnap Advanced Patent Search MCP for AI agents. An agent skill from patsnap/mcp.

    113 GitHub stars~650 tokensUpdated 1 mo ago
    Legal & ComplianceAuto-check passed

More from ninehills/skills

All 38 skills in this repo
  • Alphaear Predictor

    ninehills/skills

    Market prediction skill using Kronos. An agent skill from ninehills/skills.

    280 GitHub starsUsed in 1 repo~531 tokens
    Auto-check passed
  • Alphaear Signal Tracker

    ninehills/skills

    Track finance investment signal evolution and update logic based on new finance market information.

    280 GitHub starsUsed in 1 repo~459 tokens
    Auto-check passed
  • Fireworks Tech Graph

    ninehills/skills

    A skill your agent uses when the user wants to create any technical diagram - architecture, data flow, flowchart, sequence, agent/memory, or concept map - and export as SVG+PNG.

    280 GitHub starsUsed in 2 repos~8k tokens
    Auto-check passed
  • Alphaear Sentiment

    ninehills/skills

    Analyze finance text sentiment using FinBERT or LLM. An agent skill from ninehills/skills.

    280 GitHub starsUsed in 1 repo~499 tokens
    Auto-check passed
  • Bggg Creator Image2ppt

    ninehills/skills

    把图片、截图、海报、PPT 页面截图、HTML 或 SVG 设计稿转换成可编辑 PPTX 的 Codex skill. An agent skill from ninehills/skills.

    280 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Bggg Creator Image2psd

    ninehills/skills

    把一张或多张图片整理成 PSD 图层文件的创作与转换 skill。当用户需要 image2psd、图片转 PSD、 多张图片拼成 PSD、海报/设计稿拆成多个图层、白底转透明、颜色聚类拆层、把 Codex/AI 生图结果拆成元素图再合成 PSD、 或希望输出 layered PSD、可在 Photoshop/Photopea 中编辑的分层栅格文件时,应该使用此 skill。

    280 GitHub starsUsed in 1 repo~1.3k tokens
    Auto-check passed

Questions about Patent Draft Agent

What does Patent Draft Agent do?

生成符合中国专利法规范的专利交底书。接收 Markdown 格式的技术描述作为输入,通过多阶段流水线(标题生成、专利检索、发明目的撰写、发明内容撰写、图表生成、报告合并)自动生成完整的专利交底书。. Patent Draft Agent is an agent skill from ninehills/skills.

When should I use Patent Draft Agent?

Patent Draft Agent fits situations like: tasks that involve Intellectual property.

How do I install Patent Draft Agent in Claude Code?

Run `npx skills add ninehills/skills --skill patent-draft-agent -a claude-code`. Or copy the skill folder (patent-draft-agent in ninehills/skills) into .claude/skills/patent-draft-agent in your project. Claude Code loads it when a task matches its description.

How do I install Patent Draft Agent in Codex?

Run `npx skills add ninehills/skills --skill patent-draft-agent -a codex`. Or copy the skill folder (patent-draft-agent in ninehills/skills) into .agents/skills/patent-draft-agent in your project. Codex loads it when a task matches its description.

Can I use Patent Draft Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ninehills/skills --skill patent-draft-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/patent-draft-agent, .gemini/skills/patent-draft-agent, .github/skills/patent-draft-agent and .opencode/skills/patent-draft-agent in your project.

What does Patent Draft Agent need to run?

Going by SKILL.md and its folder, Patent Draft Agent needs a shell for the scripts in its folder, the command-line tools its instructions call (bash and python3) and credentials named SERPAPI_API_KEY and EXA_API_KEY. Our summary lists: Python 3; A Bash shell; A credential in SERPAPI_API_KEY; A credential in EXA_API_KEY.

Does Patent Draft Agent access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Patent Draft Agent safe to install?

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.

What licence does Patent Draft Agent use?

No licence was found for Patent Draft Agent or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Patent Draft Agent use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.

What are the alternatives to Patent Draft Agent?

Skills that share tags, products or a category with Patent Draft Agent: Patsnap Ip Searching (patsnap/mcp, 113 stars), Prior Art Search (illusionaireal/oh-my-patent, 104 stars), Patsnap Triz Case Library (patsnap/mcp, 113 stars) and Patsnap Workspace (patsnap/mcp, 113 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Patent Draft Agent?

ninehills (a GitHub user) maintains it in ninehills/skills, which has 280 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on June 22, 2026.

Source: ninehills/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.