lark-im

lark-im is a skill for Codex from appleweiping/WEIPING_WIKI. It costs 87 tokens per session (2,869 once invoked), scanned A, original, MIT.

A Lark messaging and group-chat tool for sending messages, searching chat history, managing members, and handling files, images, and reactions.

In plain words
What is it for?
Use it to send or reply to messages, search conversations, create or manage chats, inspect members, and upload or download chat files.
Why use it?
It brings common chat tasks into an agent workflow instead of requiring manual work in Lark.

Skill for Codex

Written for Codex: installed under .codex/.

Good fit Use it to send or reply to messages, search conversations, create or manage chats, inspect members, and upload or download chat files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/appleweiping/weiping_wiki/lark-im
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add appleweiping/WEIPING_WIKI --skill lark-im
Clone the repo
git clone --depth 1 https://github.com/appleweiping/WEIPING_WIKI

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for lark-im

README.md
[![agentmods](https://agentmods.dev/badge/skills/appleweiping/weiping_wiki/lark-im/github.svg)](https://agentmods.dev/skills/appleweiping/weiping_wiki/lark-im)
Your own site
<a href="https://agentmods.dev/skills/appleweiping/weiping_wiki/lark-im"><img src="https://agentmods.dev/badge/skills/appleweiping/weiping_wiki/lark-im/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for lark-im

Your own site · 80×15
<a href="https://agentmods.dev/skills/appleweiping/weiping_wiki/lark-im"><img src="https://agentmods.dev/badge/skills/appleweiping/weiping_wiki/lark-im.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,869 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.02869
Opus 5 $0.00044 $0.01435
Sonnet 5 $0.00017 $0.00574
Haiku 4.5 $0.00009 $0.00287

Measured 5d ago against content hash 970a278ccf5a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

lark-im scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • lark-im — 100% identical, 1 lines differ
  • lark-im — 100% identical, 1 lines differ
.codex/skills/lark-im/SKILL.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

im (v1)

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

Core Concepts

  • Message: A single message in a chat, identified by message_id (om_xxx). Supports types: text, post, image, file, audio, video, sticker, interactive (card), share_chat, share_user, merge_forward, etc.
  • Chat: A group chat or P2P conversation, identified by chat_id (oc_xxx).
  • Thread: A reply thread under a message, identified by thread_id (om_xxx or omt_xxx).
  • Reaction: An emoji reaction on a message.
  • Flag: A bookmark on a message or thread.

Resource Relationships

Chat (oc_xxx)
├── Message (om_xxx)
│   ├── Thread (reply thread)
│   ├── Reaction (emoji)
│   └── Resource (image / file / video / audio)
└── Member (user / bot)

Important Notes

Identity and Token Mapping

  • --as user means user identity and uses user_access_token. Calls run as the authorized end user, so permissions depend on both the app scopes and that user's own access to the target chat/message/resource.
  • --as bot means bot identity and uses tenant_access_token. Calls run as the app bot, so behavior depends on the bot's membership, app visibility, availability range, and bot-specific scopes.
  • If an IM API says it supports both user and bot, the token type changes who the operator is. The same API can succeed with one identity and fail with the other because owner/admin status, chat membership, tenant boundary, or app availability are checked against the current caller.

Sender Name Resolution with Bot Identity

When using bot identity (--as bot) to fetch messages (e.g. +chat-messages-list, +threads-messages-list, +messages-mget), sender names may not be resolved (shown as open_id instead of display name). This happens when the bot cannot access the user's contact info.

Root cause: The bot's app visibility settings do not include the message sender, so the contact API returns no name.

Read the full file on GitHub · 162 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 162 lines · 87 tokens per session scan A 970a278ccf5a

Subscribe to this mod's changes

lark-im is a skill published in the GitHub repository appleweiping/WEIPING_WIKI (122 stars, last pushed 14d ago), licensed MIT. It adds 87 tokens to every session and 2,869 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.