返回顶部
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
安全检测
已通过
147
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

companies-house-cli

companies-house-cli

使用 ch 查询英国公司注册处数据:公司搜索、公司档案、高管信息、备案文件、PSC(人员具有重大控制权)、抵押记录及破产信息。

设置

  • - npm install -g @shan8851/companies-house-cli
  • 获取免费 API 密钥:https://developer.company-information.service.gov.uk/
  • export COMPANIESHOUSEAPIKEY=yourkey 或将其添加到本地 .env 文件中

搜索

  • - 按名称搜索:ch search Revolut
  • 带限制条件:ch search Revolut --restrictions active-companies
  • 获取所有页面:ch search Revolut --all
  • 规范格式 JSON 输出:ch search Revolut --json

公司档案

  • - 按编号查询:ch info 09215862
  • 强制文本输出:ch info 09215862 --text
  • 短编号自动补零:ch info 9215862 将自动变为 09215862

高管信息

  • - 列出董事/秘书:ch officers 09215862
  • 所有高管:ch officers 09215862 --all
  • 排序方式:ch officers 09215862 --order-by appointed_on

备案文件

  • - 备案历史:ch filings 09215862
  • 按类型筛选:ch filings 09215862 --type accounts
  • 包含文件下载链接:ch filings 09215862 --type accounts --include-links
  • 所有备案文件:ch filings 09215862 --all

PSC(实际受益人)

  • - 列出 PSC 记录:ch psc 09215862
  • 所有记录:ch psc 09215862 --all

人员搜索

  • - 跨英国公司查找人员:ch search-person Nik Storonsky
  • 限制关联扩展范围:ch search-person Nik Storonsky --match-limit 5
  • 获取所有搜索页面:ch search-person Nik Storonsky --all

抵押记录

  • - 列出公司抵押记录:ch charges 09215862
  • 所有抵押记录:ch charges 09215862 --all

破产信息

  • - 查询破产历史:ch insolvency 09215862
  • 若无历史记录则返回空结果(非错误)

分页

  • - 列表命令支持:--items-per-page 、--start-index 、--all
  • --all 自动获取所有页面
  • --all 与非零 --start-index 不能同时使用

输出

  • - 默认在 TTY 中输出文本,管道输出时输出 JSON
  • 规范用法为子命令本地标志:ch search Revolut --json、ch info 09215862 --text
  • 根级别兼容别名仍有效:ch --json search Revolut、ch --text info 09215862
  • 成功响应结构:{ ok, schemaVersion, command, requestedAt, data }
  • 错误响应结构:{ ok, schemaVersion, command, requestedAt, error }
  • 命令元数据现在位于 data.input 和 data.pagination 下
  • 禁用颜色:ch --no-color search Revolut

代理说明

  • - JSON 模式将已处理的错误写入标准输出,而非标准错误
  • 错误负载包含 code、message 和 retryable
  • 退出码明确:
- 0 成功 - 2 输入错误或未找到 - 3 认证、上游或速率限制失败 - 4 内部错误
  • - 更新任何期望顶层 input 或 pagination 的现有解析器;这些现在位于 data 下

备注

  • - 需要 API 密钥(免费,在英国公司注册处开发者门户即时注册)
  • 认证方式为 HTTP Basic(密钥作为用户名,密码为空)
  • 速率限制:每 5 分钟 600 次请求
  • 公司编号自动补零至 8 位
  • search-person 会对每个匹配结果发起预约请求扩展——对于宽泛的名称使用 --match-limit 控制 API 使用量
  • 备案文件中的 --include-links 可生成文档内容 URL,用于直接下载 PDF

标签

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

下载

⬇ 下载 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
返回顶部