lark-blog

lark-blog is a skill for Claude Code, Codex from Haili321/haili-auto-mkt. It costs 73 tokens per session (1,062 once invoked), scanned A, original, MIT.

A document workflow that turns a Markdown blog draft and its image placeholders into a new Lark document. Lark, also called Feishu, is a workplace app for documents and collaboration.

In plain words
What is it for?
Use it to prepare blog drafts for review in Lark, including headings, lists, code blocks, quotes, dividers, tables, and inline PNG images.
Why use it?
It creates a reviewable document with the images placed in their intended locations, while leaving final website publishing to a person.

Skill for Claude CodeCodex

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

Good fit Use it to prepare blog drafts for review in Lark, including headings, lists, code blocks, quotes, dividers, tables, and inline PNG images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/haili321/haili-auto-mkt/lark-blog
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 Haili321/haili-auto-mkt --skill lark-blog
Clone the repo
git clone --depth 1 https://github.com/Haili321/haili-auto-mkt

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-blog

README.md
[![agentmods](https://agentmods.dev/badge/skills/haili321/haili-auto-mkt/lark-blog/github.svg)](https://agentmods.dev/skills/haili321/haili-auto-mkt/lark-blog)
Your own site
<a href="https://agentmods.dev/skills/haili321/haili-auto-mkt/lark-blog"><img src="https://agentmods.dev/badge/skills/haili321/haili-auto-mkt/lark-blog/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-blog

Your own site · 80×15
<a href="https://agentmods.dev/skills/haili321/haili-auto-mkt/lark-blog"><img src="https://agentmods.dev/badge/skills/haili321/haili-auto-mkt/lark-blog.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,062 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.01062
Opus 5 $0.00036 $0.00531
Sonnet 5 $0.00015 $0.00212
Haiku 4.5 $0.00007 $0.00106

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

Security

Grade A, and why

lark-blog 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/push_blog_to_lark.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/lark-blog/SKILL.md · 107 lines

How it starts

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

Markdown blog -> Lark docx

Use this skill to turn a Markdown blog draft (with inline image placeholders) into a reviewable Lark doc. It posts the parsed blocks, then uploads each referenced PNG and binds it to the corresponding image block. The doc you get back is the review handoff; final publish to your company's official website blog is not in scope.

Boundary

  • This skill writes a new Lark doc; it never edits the company's official website blog.
  • Image uploads use the user OAuth token (from the lark skill). It will not work with a tenant-only token. Run lark_auth.py once first.
  • The script does not delete or overwrite anything; failed blocks are reported but the rest of the doc still goes through.

Markdown conventions

Markdown Becomes
# Heading docx heading1 (block_type 3)
## Heading docx heading2 (block_type 4)
### Heading docx heading3 (block_type 5)
- bullet bullet item (block_type 12)
```lang...``` code block (block_type 14). Recognised langs: python, bash, json.
> quote italic paragraph (block_type 2 + italic style)
--- divider (block_type 22)
Markdown table bullets **header**: value. Lark API tables are awkward; this keeps the doc readable.
*[image: foo.png | "Caption text"]* empty image block (block_type 27) + italic caption paragraph. The image is uploaded and bound after the doc is created.

Inline: **bold**, *italic*, `code`, [label](https://url).

Entry point

python3 skills/lark-blog/scripts/push_blog_to_lark.py \
  --md ./post.md \
  --images-dir ./images \
  --title 'Post Draft v1'

Optional flags:

  • --folder-token TOKEN: create the doc inside a specific Lark drive folder instead of at the root.
  • --batch-size N: blocks per create-block API call. Default 40 (Lark's limit is around 50).

Setup

  1. Install the lark skill alongside this one and run its lark_auth.py once to grant a user token. The script auto-finds lark_client.py in the sibling skill's scripts/ dir.
  2. Override the discovery path with LARK_CLIENT_PATH=/path/to/lark_scripts if your install layout differs.
  3. Place your blog Markdown anywhere; pass its path with --md.
  4. Put referenced PNGs in any folder; pass it with --images-dir.

Read the full file on GitHub · 107 lines

Files

What ships with it

2 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. 12d ago First seen · 107 lines · 73 tokens per session scan A d0d75072d9e6

Subscribe to this mod's changes

lark-blog is a skill published in the GitHub repository Haili321/haili-auto-mkt (2 stars, last pushed 3mo ago), licensed MIT. It adds 73 tokens to every session and 1,062 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.