← Back to Skills Marketplace
94
Downloads
0
Stars
0
Active Installs
5
Versions
Install in OpenClaw
/install channel-company-query-python
Description
查询渠道单位信息(Python3实现)。通过名称模糊搜索获取列表,或通过ID查询详情。包括CRM账号、站点标识和环境URL。
README (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环境变量中)
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install channel-company-query-python - After installation, invoke the skill by name or use
/channel-company-query-python - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 渠道单位查询?
查询渠道单位信息(Python3实现)。通过名称模糊搜索获取列表,或通过ID查询详情。包括CRM账号、站点标识和环境URL。 It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.
How do I install 渠道单位查询?
Run "/install channel-company-query-python" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 渠道单位查询 free?
Yes, 渠道单位查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 渠道单位查询 support?
渠道单位查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 渠道单位查询?
It is built and maintained by 沈荣明 (@romicboy); the current version is v1.0.4.
More Skills