handelsregister

handelsregister is a skill for Claude Code, Codex from DespotB/handelsregister-cli. It costs 125 tokens per session (859 once invoked), scanned A, original, MIT.

A tool for searching Germany’s official commercial register and downloading company records. These records can include ownership lists, articles of association, register extracts, structured data, and public register notices.

In plain words
What is it for?
Use it to find a German company by keywords or register number and save official records for company research, ownership checks, or legal and business due diligence.
Why use it?
It avoids manually searching the register website and helps ensure documents are retrieved for the correct company. It also handles the register’s request limits and document choices.

Skill for Claude CodeCodex

Part of the handelsregister plugin — 1 skill shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/despotb/handelsregister-cli/handelsregister
Any agent
npx skills add DespotB/handelsregister-cli --skill handelsregister
Clone the repo
git clone --depth 1 https://github.com/DespotB/handelsregister-cli

Made for: Claude Code, Codex.

Or install handelsregister, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for handelsregister

README.md
[![agentmods](https://agentmods.dev/badge/skills/despotb/handelsregister-cli/handelsregister.svg)](https://agentmods.dev/skills/despotb/handelsregister-cli/handelsregister)
Your own site
<a href="https://agentmods.dev/skills/despotb/handelsregister-cli/handelsregister"><img src="https://agentmods.dev/badge/skills/despotb/handelsregister-cli/handelsregister.svg" alt="Measured on agentmods" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 859 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00125 $0.00859
Opus 5 $0.00063 $0.00430
Sonnet 5 $0.00025 $0.00172
Haiku 4.5 $0.00013 $0.00086

Measured 3d ago against content hash 532a0c44d989, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

handelsregister scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/handelsregister/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Handelsregister document fetch

Fetch official registry documents for a German company from handelsregister.de using the hreg CLI (from the same repository as this plugin).

Steps

  1. Ensure the CLI is available. Run hreg --version. If missing, install it with the first of these tools that exists on the machine:

    • uv tool install git+https://github.com/DespotB/handelsregister-cli
    • pipx install git+https://github.com/DespotB/handelsregister-cli
    • pip install --user git+https://github.com/DespotB/handelsregister-cli

    If hreg is still not found afterwards, the install bin directory is likely not on PATH — try ~/.local/bin/hreg --version and call it by that path. If all installers fail, tell the user what to install and stop.

  2. Search first, never guess. Run: hreg search "<company keywords>" --json

    • No results: tell the user, suggest broader keywords or --mode any.
    • Several plausible results: show name + court + register number and ask which one is meant, unless the user already gave a register number.
  3. Fetch. Default is everything; honour a user's narrower request via --docs: hreg fetch "<keywords>" --register "<HRB/HRA number>" -o "<outdir>" --json

    • Output directory: whatever the user or the project's conventions dictate; otherwise ./<company name>/ in the working directory.
    • The command is slow by design (about 3 seconds between requests, a full fetch can take a few minutes). Do not lower --delay below 3 and do not loop over many companies — the portal rate-limits at roughly 60 requests/hour.
  4. Report. Read manifest.json from the output directory and summarise: which documents were downloaded (highlight Gesellschafterlisten and Gesellschaftsverträge with their dates), what was skipped and why, and where the files are. Mention that duplicates were removed by checksum.

Announcements and watching

  • For "what was announced recently" questions use hreg announcements --days N [--land BE] [--category …] [--keyword …] --json. Categories: Löschungsankündigung, UmwG announcements, new document filings, and two "other" buckets. --details adds the full text (one extra request per item — keep the result set small first).
  • There is no feed of newly registered companies — since the DiRUG reform (Aug 2022) Neueintragungen are not announced anywhere. Say so instead of improvising. The closest free approximation is hreg watch --search "<name keyword>" on a schedule, which reports register numbers not seen on a previous run (first run only seeds its state file).

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 63 lines · 125 tokens per session scan A 532a0c44d989

Subscribe to this mod's changes

handelsregister is a skill published in the GitHub repository DespotB/handelsregister-cli (2 stars, last pushed 10d ago), licensed MIT. It adds 125 tokens to every session and 859 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

octopus-security-audit

OWASP compliance, vulnerability scanning, and adversarial red team testing — use for security reviews.

nyldn/claude-octopus · 24 tokens

researchers-legal

Researches court documents, indictments, plea agreements, and sentencing records. Use when the album subject involves legal proceedings or criminal cases.

bitwize-music-studio/claude-ai-music-skills · 32 tokens

ai-ml-governance

Governs models and AI systems in production — intended use, evaluation, monitoring, human oversight, documentation, and the decision to deploy or retire. Use this before deploying a model or AI feature, when defining evaluation criteria, when a model's behavior has drifted, when assessing AI risk or regulatory…

cbrock84/headcount · 83 tokens

prior-art-search

Systematic 7-step methodology for comprehensive patent prior art searches and patentability assessments using BigQuery and CPC classification.

RobThePCGuy/Claude-Patent-Creator · 26 tokens

mpep-search

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

RobThePCGuy/Claude-Patent-Creator · 32 tokens

refactor

Refactors code toward project-guideline compliance and testability (so /optimus:unit-test can safely increase coverage) across four analysis lenses, fanned out to parallel agents when the scope warrants it. Supports "testability" or "guidelines" focus plus flexible scoping. Read-only until the user approves the plan…

oprogramadorreal/optimus-claude · 99 tokens