← 返回 Skills 市场
romicboy

渠道单位查询

作者 沈荣明 · GitHub ↗ · v1.0.4 · MIT-0
cross-platform ✓ 安全检测通过
94
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install channel-company-query-python
功能描述
查询渠道单位信息(Python3实现)。通过名称模糊搜索获取列表,或通过ID查询详情。包括CRM账号、站点标识和环境URL。
使用说明 (SKILL.md)

Channel Company Query (Python3)

功能

  • 搜索:按名称模糊搜索渠道单位
  • 详情:通过ID查询渠道单位完整信息
  • 格式化:输出搜索列表和详情信息

首次配置

使用前需要配置 API Token:

openclaw config set env.vars.LEJIAN_AUTH_TOKEN \x3C你的token>

重启 gateway 后生效。

环境变量校验

python3 scripts/channel_company_query.py --help

LLM 调用流程

步骤1:搜索渠道单位

python3 scripts/channel_company_query.py --name "示例公司"
  • 多个结果:返回列表(含序号、ID、名称),提示用户选择
  • 单个结果:自动查详情并返回

步骤2:根据用户选择的序号,用对应ID查询详情

python3 scripts/channel_company_query.py --detail 1234567

技术要求

  • Python 3.x
  • 标准库 urllib
  • 有效的 Authorization token(配置在 LEJIAN_AUTH_TOKEN 环境变量中)
安全使用建议
This skill appears coherent, but note it will send whatever value you set in LEJIAN_AUTH_TOKEN as an Authorization: Bearer header to https://apps.ddguanhuai.com/customize-php/lejian. Only install/use it if you trust that external service and the token you provide. Prefer a least-privilege or read-only token if possible. If you need stronger assurance, verify the token scope with your org, review the external domain (ddguanhuai.com), and run scripts/validate_env.py locally to confirm behavior before granting the token to the agent.
功能分析
Type: OpenClaw Skill Name: channel-company-query-python Version: 1.0.4 The skill bundle is a legitimate tool for querying channel company information via a Python script (scripts/channel_company_query.py). It uses standard libraries to interact with a specific API endpoint (apps.ddguanhuai.com) and requires a user-provided authentication token. There is no evidence of data exfiltration to unauthorized domains, malicious execution, or prompt injection; the code logic is transparent and aligns with the functionality described in SKILL.md and package.json.
能力评估
Purpose & Capability
Name/description match the implemented behavior: two Python scripts perform name-based search and ID-based detail lookups against an external API (apps.ddguanhuai.com). The required env var (LEJIAN_AUTH_TOKEN) is directly used for Authorization in requests and is proportional to the stated purpose.
Instruction Scope
SKILL.md instructs running the included Python scripts and setting the single token. The instructions do not ask the agent to read unrelated files, credentials, or system state, nor to transmit data to endpoints other than the stated API host.
Install Mechanism
No install spec — instruction-only runtime with bundled Python scripts. No downloads from external arbitrary URLs or archive extraction. Uses only Python standard library urllib as documented.
Credentials
Only LEJIAN_AUTH_TOKEN is required and it is actually used by the scripts. No unrelated secrets, config paths, or multiple credentials requested. The token is sent as a Bearer auth header to the API host.
Persistence & Privilege
always:false and default invocation model. The skill does not request persistent system-level changes or modify other skills' configs. It only reads the declared environment variable.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install channel-company-query-python
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /channel-company-query-python 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
SKILL.md metadata.openclaw.requires.env 补充环境变量声明,修复 registry 显示问题
v1.0.3
补充 homepage 字段:https://www.ddguanhuai.com/
v1.0.2
registry description 补充 LEJIAN_AUTH_TOKEN 环境变量说明
v1.0.1
使用相对路径调用Python脚本
v1.0.0
- Initial release of channel-company-query-python. - Supports fuzzy search for channel companies by name. - Provides detailed info lookup by company ID. - Outputs formatted search results and detail info. - Requires Python 3.x and an authorization token configured in the environment variable.
元数据
Slug channel-company-query-python
版本 1.0.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

渠道单位查询 是什么?

查询渠道单位信息(Python3实现)。通过名称模糊搜索获取列表,或通过ID查询详情。包括CRM账号、站点标识和环境URL。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。

如何安装 渠道单位查询?

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

渠道单位查询 是免费的吗?

是的,渠道单位查询 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

渠道单位查询 支持哪些平台?

渠道单位查询 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 渠道单位查询?

由 沈荣明(@romicboy)开发并维护,当前版本 v1.0.4。

💬 留言讨论