lark-okr
SkillCommunityTranslated from ChineseThis skill enables AI agents to manage Lark OKRs, including objectives, key results, and progress records. It supports operations such as creating, updating, deleting, and aligning OKRs, as well as managing quantitative indicators and progress tracking.
npx skills add open.feishu.cn/lark-okrokr (v2)
CRITICAL, Before starting, you MUST use the Read tool to read ../lark-shared/SKILL.md, which contains information on authentication and permission handling.
Identity: OKR operations use --as user by default (when viewing the current user's or their subordinates' OKRs). It also supports --as bot to view others' OKRs (requires corresponding permissions).
Shortcuts (Recommended for priority use)
Shortcuts are advanced wrappers for common operations (lark-cli okr +<verb> [flags]). Use shortcuts whenever available.
| Shortcut | Description |
|---|---|
+cycle-list | Get a list of OKR cycles for a specific user, filterable by time |
+cycle-detail | Get the content of all objectives and key results in a specific OKR |
+progress-list | Get a list of all progress records for an objective or key result |
+progress-get | Get a single OKR progress record by ID |
+progress-create | Create a progress record for an objective or key result |
+progress-update | Update the content of a progress record by ID |
+progress-delete | Delete a progress record by ID (irreversible) |
+upload-image | Upload an image for rich text content in OKR progress records |
+batch-create | Batch create Objectives and KRs |
+reorder | Adjust the order of an Objective or KR |
+weight | Adjust the weight of an Objective or KR |
+indicator-update | Update the current value of an Objective or KR indicator |
Format Notes
OKR Business EntitiesGet OKR entity structures, definitions, and relationships to help you use OKR features betterContentBlock Rich Text Format, Explanation of the rich text format used in Content/Note fields for Objective/KeyResult/Progress- Highly recommended: Before operating on OKRs, read
OKR Business Entitiesto understand the basic concepts
API Resources
alignments
delete, Delete alignment relationshipget, Get alignment relationship
categories
list, Batch get categories
cycles
list, Batch get user cyclesobjectives_position, Update the position of all objectives under a user cycle- The request must include the IDs of all objectives under the corresponding cycle, otherwise parameter validation will fail. Objectives will be reordered based on the order of the provided objective IDs.
objectives_weight, Update the weight of all objectives under a user cycle- The request must modify the weights of all objectives under the corresponding cycle simultaneously, and the sum of all weight values must equal 1, otherwise parameter validation will fail. For example, when there are 2 objectives under a cycle:
- Correct command example:
lark-cli okr cycles objectives_weight --params '{"cycle_id": "7000000000000000001"}' --data '{"objective_weights": [{"objective_id": "7000000000000000002", "weight": 0.7}, {"objective_id": "7000000000000000003", "weight": 0.3}]}' --as user
cycle.objectives
create, Create objectivelist, Batch get objectives under a user cycle
indicators
patch, Update quantitative indicator
key_results
delete, Delete key resultget, Get key resultpatch, Update key result
key_result.indicators
list, Get quantitative indicators for a key result
objectives
delete, Delete objectiveget, Get objectivekey_results_position, Update the position of all key results- The request must include the IDs of all key results under the corresponding cycle, otherwise parameter validation will fail. Key results will be reordered based on the order of the provided key result IDs.
key_results_weight, Update the weight of all key results- Similar to
objectives_weight, the request must modify the weights of all key results under the corresponding objective simultaneously, and the sum of all weight values must equal 1, otherwise parameter validation will fail.
- Similar to
patch, Update objective
objective.alignments
create, Create alignment relationship- Aligning an objective to itself is not allowed, and the cycle time of the initiating objective and the target objective must overlap, otherwise parameter validation will fail.
list, Batch get alignment relationships under an objective
objective.indicators
list, Get quantitative indicators for an objective
objective.key_results
create, Create key resultlist, Batch get key results under an objective
Out of Scope for this Skill
- To-do task management → Use
lark-task - Calendar scheduling → Use
lark-calendar - Performance evaluation → Use
lark-openapi-explorerto find native interfaces
okr (v2)
CRITICAL — 开始前 MUST 先用 Read 工具读取 ../lark-shared/SKILL.md,其中包含认证、权限处理
身份:OKR 操作默认使用 --as user(查看当前用户/上下级的 OKR 时)。也支持 --as bot 查看他人 OKR(需相应权限)。
Shortcuts(推荐优先使用)
Shortcut 是对常用操作的高级封装(lark-cli okr +<verb> [flags])。有 Shortcut 的操作优先使用。
| Shortcut | 说明 |
|---|---|
+cycle-list | 获取特定用户的 OKR 周期列表,可以按时间筛选 |
+cycle-detail | 获取特定 OKR 中所有目标和关键结果的内容 |
+progress-list | 获取目标或关键结果的所有进展记录列表 |
+progress-get | 根据 ID 获取单条 OKR 进展记录 |
+progress-create | 为目标或关键结果创建进展记录 |
+progress-update | 更新指定 ID 的进展记录内容 |
+progress-delete | 删除指定 ID 的进展记录(不可恢复) |
+upload-image | 上传图片用于 OKR 进展记录的富文本内容 |
+batch-create | 批量创建 Objective 和 KR |
+reorder | 调整 Objective 或 KR 的顺位 |
+weight | 调整 Objective 或 KR 的权重 |
+indicator-update | 更新 Objective 或 KR 的指标当前值 |
格式说明
OKR 业务实体获取 OKR 实体结构,定义和关系,帮助你更好的使用 OKR 功能ContentBlock 富文本格式— Objective/KeyResult/Progress 中 Content/Note 字段使用的富文本格式说明- 强烈建议 在操作 OKR 前,阅读
OKR 业务实体以了解基础概念
API Resources
alignments
delete— 删除对齐关系get— 获取对齐关系
categories
list— 批量获取分类
cycles
list— 批量获取用户周期objectives_position— 更新用户周期下全部目标的位置- 请求中必须携带对应周期下全部目标的 ID,否则会参数校验失败。以传入的目标ID顺序重新排列目标。
objectives_weight— 更新用户周期下全部目标的权重- 请求中必须同时修改对应周期下全部目标的权重,且所有权重值的和必须等于 1 ,否则会参数校验失败。例如周期下有 2 个目标时:
- 正确指令示例如下:
lark-cli okr cycles objectives_weight --params '{"cycle_id": "7000000000000000001"}' --data '{"objective_weights": [{"objective_id": "7000000000000000002", "weight": 0.7}, {"objective_id": "7000000000000000003", "weight": 0.3}]}' --as user
cycle.objectives
create— 创建目标list— 批量获取用户周期下的目标
indicators
patch— 更新量化指标
key_results
delete— 删除关键结果get— 获取关键结果patch— 更新关键结果
key_result.indicators
list— 获取关键结果的量化指标
objectives
delete— 删除目标get— 获取目标key_results_position— 更新全部关键结果的位置- 请求中必须携带对应周期下全部关键结果的 ID,否则会参数校验失败。以传入的关键结果ID顺序重新排列关键结果。
key_results_weight— 更新全部关键结果的权重- 类似
objectives_weight, 请求中必须同时修改对应目标下全部关键结果的权重,且所有权重值的和必须等于 1 ,否则会参数校验失败。
- 类似
patch— 更新目标
objective.alignments
create— 创建对齐关系- 对齐不允许对齐自己的目标,且发起对齐的目标和被对齐的目标所在周期时间上必须有重叠,否则会参数校验失败。
list— 批量获取目标下的对齐关系
objective.indicators
list— 获取目标的量化指标
objective.key_results
create— 创建关键结果list— 批量获取目标下的关键结果
不在本 skill 范围
- 待办任务管理 → 使用
lark-task - 日程安排 → 使用
lark-calendar - 绩效评估 → 使用
lark-openapi-explorer查找原生接口
Installs
233,197First seen
Jun 18, 2026
Auto-fetched from GitHub .
Stats via skills.sh.
Skills similar to lark-okr:
Installs
Installs
Installs