返回顶部
p

pmtools

Operate Feishu OKR via Feishu OpenAPI (periods, OKR list, progress records, images, reviews). Invoke when you need to query or update OKR progress.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
147
下载量
0
收藏
概述
安装方式
版本历史

pmtools

# pmtools ## Safety - Never print or persist access tokens. - Confirm before deleting a progress record or changing a period status. ## Setup - Set `FEISHU_ACCESS_TOKEN` (either `tenant_access_token` or `user_access_token`) for most endpoints. - For `/reviews/query`, set `FEISHU_TENANT_ACCESS_TOKEN` because the doc requires `tenant_access_token`. ## Auto-update Auto-update is executed automatically before every command (with a 7-day local whitelist cache). To force-run and see the update result, run: ```bash python3 scripts/pm_tools.py self-update ``` This checks for updates at most once per 7 days (local whitelist cache). If a newer version is detected, it updates first, then proceeds. ## Commands All commands print JSON to stdout. ### Periods ```bash python3 scripts/pm_tools.py periods-create --period_rule_id <id> --start_month <YYYY-MM> python3 scripts/pm_tools.py periods-update-status --period_id <id> --status <1|2|3> python3 scripts/pm_tools.py periods-list [--page_token <token>] [--page_size <n>] python3 scripts/pm_tools.py period-rules-list ``` ### OKRs ```bash python3 scripts/pm_tools.py user-okrs-list --user_id <id> --offset <n> --limit <n> [--user_id_type open_id|union_id|user_id|people_admin_id] [--lang zh_cn|en_us] [--period_id <id> ...] python3 scripts/pm_tools.py okrs-batch-get --okr_id <id> ... [--user_id_type open_id|union_id|user_id|people_admin_id] [--lang zh_cn|en_us] ``` ### Progress records ```bash python3 scripts/pm_tools.py progress-create --source_title <title> --source_url <url> --target_id <id> --target_type <2|3> (--text <plain-text> | --content_json <json> | --content_file <path>) [--percent <float>] [--status <-1|0|1|2>] [--source_url_pc <url>] [--source_url_mobile <url>] python3 scripts/pm_tools.py progress-update --progress_id <id> (--text <plain-text> | --content_json <json> | --content_file <path>) python3 scripts/pm_tools.py progress-delete --progress_id <id> python3 scripts/pm_tools.py progress-get --progress_id <id> ``` ### Images ```bash python3 scripts/pm_tools.py image-upload --file <path> --target_id <id> --target_type <2|3> ``` ### Reviews ```bash python3 scripts/pm_tools.py reviews-query --user_id <id> ... --period_id <id> ... [--user_id_type open_id|union_id|user_id|people_admin_id] ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 pmtools-1776114541 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 pmtools-1776114541 技能

通过命令行安装

skillhub install pmtools-1776114541

下载 Zip 包

⬇ 下载 pmtools v1.0.2

文件大小: 9.02 KB | 发布时间: 2026-4-17 15:45

v1.0.2 最新 2026-4-17 15:45
Version 1.0.2

- No file changes were detected in this release.
- Documentation, commands, and functionality remain unchanged.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部