AgentStack
SKILL verified MIT Self-run

Lark Okr

skill-dropfan-claude-code-plugins-lark-okr · by DropFan

飞书 OKR:管理目标与关键结果。查看和编辑 OKR 周期、目标、关键结果、对齐关系、量化指标和进展记录。当用户需要查看或创建 OKR、管理目标和关键结果、查看对齐关系时使用。不负责:待办任务管理(lark-task)、日程/会议安排(lark-calendar)、绩效评估

No reviews yet
0 installs
17 views
0.0% view→install

Install

$ agentstack add skill-dropfan-claude-code-plugins-lark-okr

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Lark Okr? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

> ⚙️ Cowork / Claude Desktop 执行环境说明(自动注入) > > 本技能依赖本地 lark-cli@larksuite/cli,可用 command -v lark-cli 定位)及其 ~/.lark-cli 登录态(应用密钥存于 macOS keychain)。 > > 在 Cowork 中运行任何 lark-cli 命令时,必须在本地 macOS 上执行(使用 Desktop Commander 的 start_process / interact_with_process,或其它本地 shell 工具),不要用隔离的 Linux 沙箱 mcp__workspace__bash——沙箱里没有 lark-cli、也读不到 keychain。 > 执行前确保 npm 全局 bin 目录(npm prefix -g 输出目录下的 bin)在 PATH 中。 > > (在 Claude Code 中可忽略本说明,lark-cli 在本机 shell 直接可用。)

okr (v2)

CRITICAL — 开始前 MUST 先用 Read 工具读取 [../lark-shared/SKILL.md](../lark-shared/SKILL.md),其中包含认证、权限处理

身份:OKR 操作默认使用 --as user(查看当前用户/上下级的 OKR 时)。也支持 --as bot 查看他人 OKR(需相应权限)。

Shortcuts(推荐优先使用)

Shortcut 是对常用操作的高级封装(lark-cli okr + [flags])。有 Shortcut 的操作优先使用。

| Shortcut | 说明 | |----------------------------------------------------------------|--------------------------| | [+cycle-list](references/lark-okr-cycle-list.md) | 获取特定用户的 OKR 周期列表,可以按时间筛选 | | [+cycle-detail](references/lark-okr-cycle-detail.md) | 获取特定 OKR 中所有目标和关键结果的内容 | | [+progress-list](references/lark-okr-progress-list.md) | 获取目标或关键结果的所有进展记录列表 | | [+progress-get](references/lark-okr-progress-get.md) | 根据 ID 获取单条 OKR 进展记录 | | [+progress-create](references/lark-okr-progress-create.md) | 为目标或关键结果创建进展记录 | | [+progress-update](references/lark-okr-progress-update.md) | 更新指定 ID 的进展记录内容 | | [+progress-delete](references/lark-okr-progress-delete.md) | 删除指定 ID 的进展记录(不可恢复) | | [+upload-image](references/lark-okr-image-upload.md) | 上传图片用于 OKR 进展记录的富文本内容 | | [+batch-create](references/lark-okr-batch-create.md) | 批量创建 Objective 和 KR | | [+reorder](references/lark-okr-reorder.md) | 调整 Objective 或 KR 的顺位 | | [+weight](references/lark-okr-weight.md) | 调整 Objective 或 KR 的权重 | | [+indicator-update](references/lark-okr-indicator-update.md) | 更新 Objective 或 KR 的指标当前值 |

格式说明

  • [OKR 业务实体](references/lark-okr-entities.md) 获取 OKR 实体结构,定义和关系,帮助你更好的使用 OKR 功能
  • [ContentBlock 富文本格式](references/lark-okr-contentblock.md) — Objective/KeyResult/Progress 中 Content/Note 字段使用的富文本格式说明
  • 强烈建议 在操作 OKR 前,阅读[OKR 业务实体](references/lark-okr-entities.md)以了解基础概念

API Resources

alignments

  • delete — 删除对齐关系
  • get — 获取对齐关系

categories

  • list — 批量获取分类

cycles

  • list — 批量获取用户周期
  • objectives_position — 更新用户周期下全部目标的位置
  • 请求中必须携带对应周期下全部目标的 ID,否则会参数校验失败。以传入的目标ID顺序重新排列目标。
  • objectives_weight — 更新用户周期下全部目标的权重
  • 请求中必须同时修改对应周期下全部目标的权重,且所有权重值的和必须等于 1 ,否则会参数校验失败。例如周期下有 2 个目标时:
  • 正确指令示例如下:

`` bash 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-task/SKILL.md)
  • 日程安排 → 使用 [lark-calendar](../lark-calendar/SKILL.md)
  • 绩效评估 → 使用 [lark-openapi-explorer](../lark-openapi-explorer/SKILL.md) 查找原生接口

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.