Skip to content
Skill

Index manager

Manages patent legal-source downloads, index rebuilds, diagnostics and backups

Index manager is an open-source agent skill for legal and government. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
222
Last commit
License
MIT
Listing updated

Similar skills

About Index manager

This skill guides the agent through maintaining the local search index used by the Claude Patent Creator toolkit. It walks through checking the health of the installed CLI, locating the active PDF and index directories, downloading missing legal sources and rebuilding the index with the setup command.

The instructions also cover tuning: lowering the embedding batch size when memory runs short, forcing CPU processing, and restoring defaults through the config command. A backup step copies the index directory to a timestamped sibling folder before risky changes, and a verification step checks the index and chunk count after a rebuild.

The skill expects the patent-creator virtual environment to be installed under the home directory, with commands given for macOS, Linux and Windows PowerShell. It does not replace existing PDFs with newer legal editions, so edition changes require the user to supply official files.

When your agent uses it

Manage legal-source downloads, index builds, diagnostics and maintenance.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the claude-patent-creator-standalone plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add RobThePCGuy/Claude-Patent-Creator
/plugin install claude-patent-creator-standalone@claude-patent-creator

Or copy only this skill to ~/.claude/skills/index-manager:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/index-manager &&
cp -R "$tmp/skills/index-manager" ~/.claude/skills/index-manager &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/index-manager inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/index-manager to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/index-manager &&
cp -R "$tmp/skills/index-manager" ~/.agents/skills/index-manager &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/index-manager inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/index-manager to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/index-manager &&
cp -R "$tmp/skills/index-manager" ~/.cursor/skills/index-manager &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/index-manager inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/RobThePCGuy/Claude-Patent-Creator.git --path skills/index-manager

Or copy the folder to ~/.gemini/skills/index-manager yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/index-manager:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/index-manager &&
cp -R "$tmp/skills/index-manager" ~/.copilot/skills/index-manager &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/index-manager inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/RobThePCGuy/Claude-Patent-Creator.git

Then copy Claude-Patent-Creator/skills/index-manager into your agent's skills folder as index-manager. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Health diagnostics
Runs the CLI health check and reports storage paths, index state and chunk counts.
Source downloads and rebuilds
Fetches missing legal sources and reprocesses the current files into the index.
Edition change guidance
Explains how to replace PDFs with newer official editions and rebuild safely.
Memory and device tuning
Adjusts embedding batch size and switches processing to CPU through config settings.
Index backups
Copies the index directory to a timestamped backup before changes are made.
Post-build verification
Checks that the rebuilt index works with a sample MPEP search.

Good for

  • Check whether the patent search index is healthy and where its files live
  • Download missing MPEP sources and rebuild the search index
  • Fix out-of-memory errors during an index build by lowering the batch size
  • Back up the current index before replacing legal source PDFs
  • Switch the index build to CPU processing

Index manager FAQ

What does Index manager need installed?

It assumes the patent-creator CLI is installed in a virtual environment at patent-creator-venv under the home directory, and it runs commands through that CLI and its Python interpreter.

Does a rebuild update the legal text to the latest edition?

No. Setup downloads missing sources and reprocesses current files without replacing existing PDFs with newer editions. Edition changes need official files placed manually before rebuilding.

Where does the index and PDF data live?

Defaults are under the home directory's local share folder on macOS and Linux, and under APPDATA on Windows. The PATENT_DATA_DIR setting or existing legacy data can change these locations.

How do I reduce memory use during a build?

Set PATENT_EMBED_BATCH_SIZE to 16 with the config command, or to 8 if that still runs out of memory. Removing the override restores the automatic default.

How do I install Index manager in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/index-manager to use it in all your projects, or to .claude/skills/index-manager in one project. Or install the claude-patent-creator-standalone plugin, which includes it: /plugin marketplace add RobThePCGuy/Claude-Patent-Creator, then /plugin install claude-patent-creator-standalone@claude-patent-creator.

Does Index manager run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Index manager?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Index manager?

The closest alternatives to Index manager are Setup assistant, Patent application creator, Patent search, Patent reviewer and Epc search.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from RobThePCGuy/Claude-Patent-Creator

  1. Runs regression tests, install checks and configured service diagnostics for a patent tool

    • Open source
    • 222 GitHub stars
    • Developer tools
  2. Search worldwide patents in Google BigQuery by keyword, CPC code or publication number

    • Open source
    • 222 GitHub stars
    • Databases
  3. Guides an agent through extending the patent tool's MCP tools, analyzers and config

    • Open source
    • 222 GitHub stars
    • Developer tools
  4. Searches EPC articles, EPO examination guidelines and PCT rules for patent research

    • Open source
    • 222 GitHub stars
    • Legal and government
  5. Checks patent applications against EPO clarity, sufficiency and formality rules

    • Open source
    • 222 GitHub stars
    • Legal and government
  6. Searches European patents and families for prior art and freedom-to-operate work

    • Open source
    • 222 GitHub stars
    • Legal and government