CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

douyin-im

抖音 API 私信会话、文本/媒体/分享卡片发送与实时消息监听。

Quality

81%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A lean, highly actionable CLI skill document with concrete commands, hard limits, confirmation gating, and explicit error-handling rules including what remains unimplemented. Main gaps: the multi-step workflow is prose-scattered rather than sequenced, and the bundled scripts are never referenced from the body.

Suggestions

Present the core flow as a short ordered list (1. create 2. info 3. send 4. listen) so the sequence and checkpoints are explicit in one place.

Mention the bundle scripts (e.g. scripts/douyin_im.py, scripts/im_wire.py) and how the douyin-im CLI relates to them, so navigation to the bundle is possible.

Trim the Relay/封包/context-signing internals, keeping only the operative rule: the script handles signing; never reuse a context.

DimensionReasoningScore

Conciseness

The body is dense and operational: every line carries skill-specific facts (session file location and 0600 permissions, "单条文本 ≤1000 字,附件 ≤10MB", preview-by-default semantics, unimplemented features). It falls short of anchor 5 because a few sentences explain protocol internals the script already handles automatically, e.g. "创建会话先向 Relay 请求封包扩展,再以最终封包和一次性 context 签请求;不得重用 context" — trimmable detail for the agent.

4 / 5

Actionability

The two command blocks are copy-paste-ready CLI invocations covering all common cases: create, info, send text/image/video/file/card-video, listen, and send-to, each with concrete flags, absolute-path placeholders, and limits ("--duration 60 --max-events 100 --output /受控目录/messages.jsonl"). The follow-up prose adds executable rules (--confirm gating, --content-file usage) rather than vague direction.

5 / 5

Workflow Clarity

The sequence is stated ("创建成功后复用返回的 conversation_file,后续先用 info 查询,不重复创建") with real validation checkpoints: preview-by-default before sending, "操作前核对目标", and an explicit error-recovery loop ("请求结果未知时先查会话并报告,不自动重发私信", "PLATFORM_IM_INVALID_RESPONSE 表示响应无法解析,不代表票据失效"). Not anchor 5 because the multi-step flow (create → info → send → listen) is scattered across paragraphs rather than presented as one clearly ordered checklist.

4 / 5

Progressive Disclosure

At ~37 lines with well-organized sections, the body appropriately keeps everything inline per the simple-skill guideline. However, the bundle contains scripts/douyin_im.py and scripts/im_wire.py and the body never references either — the "douyin-im" CLI's relationship to the shipped scripts is unexplained, a minor organization/navigation gap against the actual bundle structure.

4 / 5

Total

17

/

20

Passed

Description

70%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A specific, well-scoped description for Douyin private messaging with concrete capability terms, but it completely lacks a "Use when…" trigger clause, which both caps completeness and weakens its discoverability. It is clearly distinct from other skills and free of fluff.

Suggestions

Add an explicit trigger clause, e.g. "当用户需要通过抖音 API 收发私信、发送媒体/分享卡片或实时监听私信消息时使用。"

Enumerate the media kinds in the description (图片/视频/文件) so "媒体" is not generic.

Include natural synonyms such as 消息 or DM to broaden trigger-term coverage.

DimensionReasoningScore

Specificity

The description names the domain ("抖音 API 私信") and lists several concrete capabilities: "私信会话" (conversation management), "文本/媒体/分享卡片发送" (text/media/share-card sending), and "实时消息监听" (real-time message listening). It stops short of anchor 5 because "媒体" is generic (image/video/file kinds not enumerated) and conversation lifecycle coverage (query, info) is only implied.

4 / 5

Completeness

The "what" is clearly answered (conversations, text/media/share-card sending, real-time listening) but there is no "when" clause at all — no "Use when…" or equivalent trigger guidance. Per the rubric guideline, a missing 'Use when' clause caps completeness at 3; it is not 2 because the "what" is specific and multi-part, not vague.

3 / 5

Trigger Term Quality

Natural user phrasing is present: "抖音", "私信", "发送", "监听" are the words a Chinese-speaking user would actually say when needing this skill. Not anchor 5 because common variations like "消息", "DM", "通知", or a mention of 收件人/回复 are missing.

4 / 5

Distinctiveness Conflict Risk

"抖音 API 私信" carves out a clear niche (Douyin platform DMs specifically), and the enumerated actions (share cards, real-time listening) are distinct triggers with minimal overlap risk against generic messaging or other-platform skills.

5 / 5

Total

16

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

TeamWiseFlow/xiaobei

Path

crews/main/skills/expert-bd/tools/douyin-im/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.