← 返回 Skills 市场
92
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install pingcode-skills-zhaohenanhai
功能描述
PingCode 研发管理平台 API 集成。支持查询工作项、生成周报、管理项目进度等。使用场景:研发管理自动化、团队协作、数据分析。
使用说明 (SKILL.md)
PingCode Skill
通过 PingCode Open API 操作研发管理平台数据。支持公有云和自建部署两种实例类型。
快速开始
1. 安装
执行上面的安装命令 或 将整个 pingcode-skills 目录复制到 OpenClaw 的 skills 目录下即可使用。
2. 配置(首次使用必须操作)
可以直接发消息配置
如:"帮我把 PingCode 配置改成base_url是http://192.168.1.203/open,client_id 是rWWUwTkXYOOo,client_secret 是hwhjFMRXZChJycKUkppHxxxx"
也可以直接编辑 config.json,填入你的 PingCode 实例地址和凭证:
{
"base_url": "http://192.168.1.203/open",
"client_id": "你的Client_ID",
"client_secret": "你的Client_SECRET",
"request_timeout": 30
}
| 配置项 | 说明 | 示例 |
|---|---|---|
base_url |
PingCode 实例地址(见下表) | 见下方 |
client_id |
应用的 Client ID | rWWUwTkXYOOo |
client_secret |
应用的 Client Secret | hwhjFMRXZChJ... |
request_timeout |
请求超时时间(秒) | 30 |
常用实例地址:
| 类型 | base_url |
|---|---|
| 自建部署(示例) | http://192.168.1.203/open |
| 公有云 | https://open.pingcode.com |
3. 凭证获取
- 登录 PingCode 企业后台
- 进入「应用管理」→「开放 API」
- 创建应用,获取
Client ID和Client Secret - 配置应用的数据访问范围
功能脚本
获取项目列表
python scripts/get_projects.py
python scripts/get_projects.py --json # JSON 格式
python scripts/get_projects.py --limit 50 # 限制数量
获取指定项目的工作项
python scripts/get_project_workitems.py --project_name "openclaw" # 按名称匹配
python scripts/get_project_workitems.py --project_id 6a0579ba # 按 ID
python scripts/get_project_workitems.py --project_name "openclaw" --json
获取我的工作项
python scripts/get_my_tasks.py
python scripts/get_my_tasks.py --assignee 张三 # 按负责人筛选
python scripts/get_my_tasks.py --limit 50
生成项目周报
python scripts/generate_weekly_report.py --project_id xxx --project_name "openclaw"
python scripts/generate_weekly_report.py --output /tmp/weekly_report.md
更新工作项
# 分配负责人
python scripts/update_workitem.py --workitem_id 5fb277c1 --assignee_id user123
# 设置开始和截止时间
python scripts/update_workitem.py --workitem_id 5fb277c1 --start_date "2026-03-12" --due_date "2026-03-20"
# 同时更新多个字段
python scripts/update_workitem.py --workitem_id 5fb277c1 --assignee_id user123 --start_date "2026-03-12" --due_date "2026-03-20" --priority "高"
# 更新状态
python scripts/update_workitem.py --workitem_id 5fb277c1 --status "进行中"
API 参考
详见 references/api_docs.md 或访问 https://open.pingcode.com/
常见问题
Q: 切换实例需要修改代码吗?
不需要,只需直接发消息变更配置信息 或手动配置修改
config.json中的base_url、client_id、client_secret即可。
安全使用建议
Do not run this skill as-is. First remove the bundled config credentials, set the base_url to your trusted PingCode HTTPS endpoint, use least-privilege credentials, and confirm any work-item update actions before letting the agent execute them.
功能分析
Type: OpenClaw Skill
Name: pingcode-skills-zhaohenanhai
Version: 1.2.2
The skill bundle contains a hardcoded public IP address (45.251.20.42) and active API credentials in 'config.json', rather than using placeholders or the official PingCode cloud endpoint. This is highly suspicious as the 'SKILL.md' instructions encourage users to configure the tool by providing their own sensitive 'client_id' and 'client_secret' via the agent; if a user provides these without also changing the 'base_url', their credentials and project data would be transmitted to this unknown external server. While the Python scripts (e.g., 'get_projects.py', 'update_workitem.py') appear to be functional API wrappers, the default configuration poses a significant risk of credential harvesting or unauthorized data exfiltration.
能力评估
Purpose & Capability
The scripts coherently implement PingCode project/work-item queries, weekly reports, and work-item updates. The update capability is business-data mutation, but it is disclosed and argument-scoped.
Instruction Scope
SKILL.md tells users to configure base_url, client_id, and client_secret before first use and documents the scripts. Users should avoid pasting secrets casually into chat and should confirm any work-item updates.
Install Mechanism
There is no install spec or automatic installer, but the shipped config contains a public raw-IP HTTP base_url and real-looking credentials, which is not a safe generic default for a PingCode skill.
Credentials
Registry-level requirements declare no credentials, while the code and SKILL.md rely on PingCode client credentials and a configurable base_url. If users provide credentials without replacing the default base_url, they can be sent to the bundled raw-IP endpoint.
Persistence & Privilege
The skill persists client credentials in config.json and can use the resulting app token to read and modify shared PingCode project/work-item data.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install pingcode-skills-zhaohenanhai - 安装完成后,直接呼叫该 Skill 的名称或使用
/pingcode-skills-zhaohenanhai触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.2
更新 SKILL.md 文档
v1.2.1
更新 SKILL.md 文档
v1.2.0
优化:改用 config.json 管理配置,支持自建部署和公有云切换,解决环境变量不传递问题
元数据
常见问题
PingCode 是什么?
PingCode 研发管理平台 API 集成。支持查询工作项、生成周报、管理项目进度等。使用场景:研发管理自动化、团队协作、数据分析。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 92 次。
如何安装 PingCode?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install pingcode-skills-zhaohenanhai」即可一键安装,无需额外配置。
PingCode 是免费的吗?
是的,PingCode 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
PingCode 支持哪些平台?
PingCode 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 PingCode?
由 lyshub(@zhaohenanhai)开发并维护,当前版本 v1.2.2。
推荐 Skills