lark-markdown

lark-markdown is a skill for Claude Code, Codex from ddpie/lark-mcp-on-agentcore. It costs 73 tokens per session (1,145 once invoked), scanned A, original, MIT.

A Feishu Markdown file tool for viewing, creating, uploading, editing, and comparing Markdown files. Markdown is plain text written with simple symbols to format headings, links, lists, and code.

In plain words
What is it for?
Use it to create or overwrite Markdown files, fetch their contents, apply text or regular-expression replacements, and compare local drafts with remote or historical versions.
Why use it?
It avoids manually downloading and rewriting files when you need to update text, compare versions, or make targeted changes in cloud storage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create or overwrite Markdown files, fetch their contents, apply text or regular-expression replacements, and compare local drafts with remote or historical versions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ddpie/lark-mcp-on-agentcore/lark-markdown
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 ddpie/lark-mcp-on-agentcore --skill lark-markdown
Clone the repo
git clone --depth 1 https://github.com/ddpie/lark-mcp-on-agentcore

Made for: Claude Code, 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-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/ddpie/lark-mcp-on-agentcore/lark-markdown/github.svg)](https://agentmods.dev/skills/ddpie/lark-mcp-on-agentcore/lark-markdown)
Your own site
<a href="https://agentmods.dev/skills/ddpie/lark-mcp-on-agentcore/lark-markdown"><img src="https://agentmods.dev/badge/skills/ddpie/lark-mcp-on-agentcore/lark-markdown/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-markdown

Your own site · 80×15
<a href="https://agentmods.dev/skills/ddpie/lark-mcp-on-agentcore/lark-markdown"><img src="https://agentmods.dev/badge/skills/ddpie/lark-mcp-on-agentcore/lark-markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,145 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.
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.00073 $0.01145
Opus 5 $0.00036 $0.00573
Sonnet 5 $0.00015 $0.00229
Haiku 4.5 $0.00007 $0.00114

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

Security

Grade A, and why

lark-markdown 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 9d 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.

docker/skills/lark-markdown/SKILL.md · 61 lines

How it starts

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

markdown (v1)

快速决策

  • 身份:Markdown 文件通常属于用户云空间资源,优先以用户身份操作。

  • lark_markdown_create / lark_markdown_overwrite 失败时,先判断是不是身份和权限问题:scope 或目标目录 ACL、用户授权或用户 ACL;不要不加判断地重试。

  • 用户要上传、创建一个原生 .md 文件,使用 lark_markdown_create

  • 用户要比较原生 .md 文件的历史版本差异,或比较远端 Markdown 与本地草稿,使用 lark_markdown_diff

  • 用户要读取 Drive 里某个 .md 文件内容,使用 lark_markdown_fetch

  • 用户要对 Markdown 文件做局部文本替换 / 正则替换,优先使用 lark_markdown_patch

  • 用户要覆盖更新 Drive 里某个 .md 文件内容,使用 lark_markdown_overwrite

  • 用户要先拿 Markdown 文件的历史版本号,再做比较/下载/回滚,先用 lark_get_skill(domain="drive", section="version-history") 查看 lark_drive_version_history

  • 用户要把本地 Markdown 导入成在线新版文档(docx),不要用本 skill,改用 lark_get_skill(domain="drive", section="import") 查看 lark_drive_import(type="docx")

  • 用户要对 Markdown 文件做rename / move / delete / 搜索 / 权限 / 评论等云空间(云盘/云存储)操作,不要留在本 skill,切到 lark_get_skill(domain="drive")

  • lark_markdown_create / lark_markdown_overwrite 命中 missing scopepermission deniednot foundquota_exceededversion limit 时,默认停止重试并按报错 hint 处理;只有 rate_limitserver_error 或临时网络错误才做有限退避重试。

  • lark_markdown_create 的目标参数不要猜:Drive 文件夹用 folder_token,Wiki 节点用 wiki_token。如果用户给的是 URL,可以直接传完整 URL;工具会归一成 token。不要把 doc/sheet/wiki URL 放进 folder_token 试错。

核心边界

  • 本 skill 处理的是 Drive 中作为普通文件存储的 Markdown,不是 docx 文档
  • name 和本地 file 文件名都必须显式带 .md 后缀;不满足时工具会直接报错
  • content 支持:
    • 直接传字符串
    • @file 从本地文件读取内容
    • - 从 stdin 读取内容
  • lark_markdown_patch 的内部语义是:先完整下载 Markdown,再本地替换,再整文件覆盖上传
  • lark_markdown_patch 不是服务端原子 patch;它是服务端编排出来的局部更新能力
  • lark_markdown_patch 当前只支持单组 pattern / content
  • lark_markdown_patch 替换后的最终内容不能为空;工具会拒绝上传空文件,因为 Drive 不支持零字节 Markdown,且空文件通常是误操作
  • file 只接受本地 .md 文件路径

正则替换时要特别注意 pattern 的转义:

# BAD: 未转义正则特殊字符,可能匹配到错误位置
lark_markdown_patch(file_token="boxcnxxxx", regex=true, pattern="version (1.0)", content="version (2.0)")

# GOOD: 显式转义括号和点号
lark_markdown_patch(file_token="boxcnxxxx", regex=true, pattern="version \\(1\\.0\\)", content="version (2.0)")

Read the full file on GitHub · 61 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 61 lines · 73 tokens per session scan A fbc784b05810

Subscribe to this mod's changes

lark-markdown is a skill published in the GitHub repository ddpie/lark-mcp-on-agentcore (8 stars, last pushed 11d ago), licensed MIT. It adds 73 tokens to every session and 1,145 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-08-31.

Related

Other skills, from other repositories