← Back to Skills Marketplace
zhaohenanhai

PingCode

by lyshub · GitHub ↗ · v1.2.2 · MIT-0
cross-platform ⚠ suspicious
92
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install pingcode-skills-zhaohenanhai
Description
PingCode 研发管理平台 API 集成。支持查询工作项、生成周报、管理项目进度等。使用场景:研发管理自动化、团队协作、数据分析。
README (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. 凭证获取

  1. 登录 PingCode 企业后台
  2. 进入「应用管理」→「开放 API」
  3. 创建应用,获取 Client IDClient Secret
  4. 配置应用的数据访问范围

功能脚本

获取项目列表

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_urlclient_idclient_secret即可。

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pingcode-skills-zhaohenanhai
  3. After installation, invoke the skill by name or use /pingcode-skills-zhaohenanhai
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.2
更新 SKILL.md 文档
v1.2.1
更新 SKILL.md 文档
v1.2.0
优化:改用 config.json 管理配置,支持自建部署和公有云切换,解决环境变量不传递问题
Metadata
Slug pingcode-skills-zhaohenanhai
Version 1.2.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is PingCode?

PingCode 研发管理平台 API 集成。支持查询工作项、生成周报、管理项目进度等。使用场景:研发管理自动化、团队协作、数据分析。 It is an AI Agent Skill for Claude Code / OpenClaw, with 92 downloads so far.

How do I install PingCode?

Run "/install pingcode-skills-zhaohenanhai" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is PingCode free?

Yes, PingCode is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does PingCode support?

PingCode is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created PingCode?

It is built and maintained by lyshub (@zhaohenanhai); the current version is v1.2.2.

💬 Comments