← 返回 Skills 市场
bainiu-tech

白牛企业信息查询(China Company Search Bainiu)

作者 bainiu-tech · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
83
总下载
2
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install bainiu-enterprise-data-query
功能描述
白牛企业信息综合查询工具。用于查询中国大陆企业的全方位信息。当用户需要查询任何企业相关信息时触发此技能,包括:(1)企业基本信息(工商照面、注册资本、法人代表、注册地址、分支机构、变更记录);(2)股权与高管信息(股东、高管、历史股东、历史高管、对外投资、受益所有人、最终受益人);(3)司法风险(被执行人、失信被...
使用说明 (SKILL.md)

白牛企业信息综合查询工具

查询中国大陆企业的全方位信息,涵盖工商照面、股权高管、司法风险、行政风险、经营信息、商业信息、知识产权、互联网资产、关系图谱等。

重要说明:工具列表会持续动态更新,实际可用工具以 find_tool.js 查询结果为准。

重要:密钥配置

首次使用先向用户询问密钥并配置API密钥,如若没有API密钥,请前往白牛商查申请获取:

  1. 复制 .env.example.env(若没有找到.env.example文件则直接创建.env文件)
  2. 填入你的 BAINIU_API_KEY

详细配置说明见 references/config.md

快速开始

1. 查找工具

根据查询意图查找匹配的工具:

node scripts/find_tool.js "查询意图描述"

返回JSON包含:工具ID、描述、参数列表、匹配度评分。

2. 调用工具

node scripts/call.js \x3Ctool-id> key1=value1 key2=value2

重要: 参数必须使用 key=value 格式,禁止传入JSON字符串。

典型工作流程

查询企业高管

注意:以下示例中的工具ID仅供参考,实际ID以 find_tool.js 返回结果为准。

# 步骤1:获取模糊搜索工具相关信息,返回工具id、描述、参数等信息
node scripts/find_tool.js "企业模糊搜索"

# 步骤2:假设模糊搜索工具id为82e41e7c3f170ca1且参数名为key,调用模糊搜索工具后返回企业全称、企业ID、企业统一社会信用代码
node scripts/call.js 82e41e7c3f170ca1 key="小米"	

# 步骤3:获取查询企业高管工具相关信息,返回工具id、描述、参数等信息
node scripts/find_tool.js "企业高管查询"

# 步骤4:假设查询企业高管工具id为9c0d321a135295fc0c8ace6ccfa20d1a且参数名为entid、pindex、psize,调用查询企业高管工具后返回企业高管列表
node scripts/call.js 9c0d321a135295fc0c8ace6ccfa20d1a entid="\x3C企业ID>" pindex=1 psize=20

工具复用

同一会话中已调用过的工具,可直接使用其 tool_id,无需再次 find_tool。

错误处理

当查询失败或无结果时:

  1. 认证失败:检查API密钥配置
  2. 无结果:先用模糊搜索确认企业ID是否正确
  3. 数据为空:可使用网络搜索作为回退方案

详细错误码说明见 references/error-codes.md

参考文档

安全使用建议
Install only if you are comfortable using Bainiudata's external API for company searches. Store the API key in the skill's own .env file, review the tool selected by find_tool.js before calling it, and avoid submitting confidential information you would not share with the provider.
功能分析
Type: OpenClaw Skill Name: bainiu-enterprise-data-query Version: 1.0.1 The skill is a legitimate enterprise data query tool for the Bainiu Data API (skillapi.bainiudata.com). The included Node.js scripts (call.js, find_tool.js, env.js) use standard libraries to perform authenticated HTTPS requests and manage configuration via .env files. There is no evidence of malicious intent, data exfiltration of sensitive system files, or prompt injection designed to subvert the agent's behavior beyond its stated purpose.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The docs and code align with enterprise information lookup, including a broad and dynamically discovered provider tool catalog; users should verify the selected remote tool, but the behavior is purpose-aligned.
Instruction Scope
The skill instructs use of find_tool.js followed by call.js with a returned tool ID and key=value parameters. This is a raw provider API wrapper, but no local mutation or destructive third-party action is shown.
Install Mechanism
There is no install script, package download, or dependency installation shown; the included scripts use Node built-in modules and run only when invoked.
Credentials
The skill requires a BAINIU_API_KEY and sends query keywords/parameters to skillapi.bainiudata.com. This is disclosed and proportionate, though the registry metadata does not declare required environment variables.
Persistence & Privilege
The only persistence shown is a user-created .env file for the API key; env.js searches parent directories up to five levels, so users should place the intended key carefully. No background process or privilege escalation is present.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bainiu-enterprise-data-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bainiu-enterprise-data-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Initial release of bainiu-enterprise-data-query skill. - Enables comprehensive queries on Chinese mainland enterprises, covering business, legal, administrative, managerial, intellectual property, internet assets, and relationship data. - Requires users to configure and provide their BAINIU_API_KEY for access. - Provides command-line workflow for searching and calling specific data query tools, with dynamic tool list support. - Includes documentation on typical usage, error handling, and reference links for troubleshooting and tool details.
v1.0.0
- Initial release of Bainiu Enterprise Data Query Tool (白牛企业信息综合查询工具) - Provides comprehensive enterprise information lookup for Chinese Mainland, including: business registration, equity, judicial and administrative risks, business and commercial information, intellectual property, internet assets, and relationship graphs - Includes step-by-step usage instructions, configuration guide for API key, and sample workflows for typical queries - Supports error handling guidance and links to detailed documentation for troubleshooting and tool reference
元数据
Slug bainiu-enterprise-data-query
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

白牛企业信息查询(China Company Search Bainiu) 是什么?

白牛企业信息综合查询工具。用于查询中国大陆企业的全方位信息。当用户需要查询任何企业相关信息时触发此技能,包括:(1)企业基本信息(工商照面、注册资本、法人代表、注册地址、分支机构、变更记录);(2)股权与高管信息(股东、高管、历史股东、历史高管、对外投资、受益所有人、最终受益人);(3)司法风险(被执行人、失信被... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 83 次。

如何安装 白牛企业信息查询(China Company Search Bainiu)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bainiu-enterprise-data-query」即可一键安装,无需额外配置。

白牛企业信息查询(China Company Search Bainiu) 是免费的吗?

是的,白牛企业信息查询(China Company Search Bainiu) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

白牛企业信息查询(China Company Search Bainiu) 支持哪些平台?

白牛企业信息查询(China Company Search Bainiu) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 白牛企业信息查询(China Company Search Bainiu)?

由 bainiu-tech(@bainiu-tech)开发并维护,当前版本 v1.0.1。

💬 留言讨论