返回顶部
c

companies-house-cli

UK Companies House CLI — search companies, profiles, officers, filings, PSC, charges, insolvency, and agent-friendly JSON output aligned with rail-cli and tfl-cli. Use when looking up UK company records, directors, filing history, beneficial owners, charges, insolvency, or when an agent needs stable JSON envelopes with `ok`, `schemaVersion`, `command`, `requestedAt`, and nested `data.input` / `data.pagination`.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.3.1
安全检测
已通过
131
下载量
0
收藏
概述
安装方式
版本历史

companies-house-cli

# companies-house-cli Use `ch` for UK Companies House data: company search, profiles, officers, filings, PSC, charges, and insolvency. Setup - `npm install -g @shan8851/companies-house-cli` - Get a free API key: https://developer.company-information.service.gov.uk/ - `export COMPANIES_HOUSE_API_KEY=your_key` or add it to a local `.env` Search - By name: `ch search "Revolut"` - With restrictions: `ch search "Revolut" --restrictions active-companies` - Fetch all pages: `ch search "Revolut" --all` - JSON in canonical style: `ch search "Revolut" --json` Company Profile - By number: `ch info 09215862` - Force text: `ch info 09215862 --text` - Short numbers auto-pad: `ch info 9215862` becomes `09215862` Officers - List directors/secretaries: `ch officers 09215862` - All officers: `ch officers 09215862 --all` - Order by: `ch officers 09215862 --order-by appointed_on` Filings - Filing history: `ch filings 09215862` - Filter by type: `ch filings 09215862 --type accounts` - Include document download links: `ch filings 09215862 --type accounts --include-links` - All filings: `ch filings 09215862 --all` PSC (Beneficial Owners) - List PSC records: `ch psc 09215862` - All records: `ch psc 09215862 --all` Search Person - Find a person across UK companies: `ch search-person "Nik Storonsky"` - Limit enrichment fan-out: `ch search-person "Nik Storonsky" --match-limit 5` - Fetch all search pages: `ch search-person "Nik Storonsky" --all` Charges - List company charges: `ch charges 09215862` - All charges: `ch charges 09215862 --all` Insolvency - Check insolvency history: `ch insolvency 09215862` - Returns empty result cleanly if no history exists (not an error) Pagination - List commands support: `--items-per-page <n>`, `--start-index <n>`, `--all` - `--all` fetches every page automatically - `--all` and non-zero `--start-index` cannot be combined Output - Defaults to text in a TTY and JSON when piped - Canonical usage is subcommand-local flags: `ch search "Revolut" --json`, `ch info 09215862 --text` - Root compatibility aliases still work: `ch --json search "Revolut"`, `ch --text info 09215862` - Success envelope: `{ ok, schemaVersion, command, requestedAt, data }` - Error envelope: `{ ok, schemaVersion, command, requestedAt, error }` - Command metadata now lives under `data.input` and `data.pagination` - Disable colour: `ch --no-color search "Revolut"` Agent Notes - JSON mode writes handled errors to stdout, not stderr - Error payloads include `code`, `message`, and `retryable` - Exit codes are explicit: - `0` success - `2` bad input or not found - `3` auth, upstream, or rate-limit failures - `4` internal failures - Update any existing parsers that expected top-level `input` or `pagination`; those now live under `data` Notes - API key required (free, instant signup at Companies House developer portal) - Auth is HTTP Basic (key as username, blank password) - Rate limit: 600 requests per 5 minutes - Company numbers are automatically zero-padded to 8 digits - `search-person` fans out appointment requests for each match — use `--match-limit` on broad names to control API usage - `--include-links` on filings derives document content URLs for direct PDF download

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 companies-house-cli-1776093181 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 companies-house-cli-1776093181 技能

通过命令行安装

skillhub install companies-house-cli-1776093181

下载 Zip 包

⬇ 下载 companies-house-cli v0.3.1

文件大小: 2.4 KB | 发布时间: 2026-4-14 14:23

v0.3.1 最新 2026-4-14 14:23
Republish from ~/.openclaw/skills as source of truth; keep OpenClaw metadata and aligned JSON/text contract guidance.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部