← 返回 Skills 市场
itxiaohao

lingzao

作者 xiaohao · GitHub ↗ · v0.1.9 · MIT-0
cross-platform ⚠ suspicious
26
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install lingzao
功能描述
Use Lingzao creator-content research tools for Xiaohongshu/XHS and Douyin public content, including note search, creator search, profile lookup, recent posts...
使用说明 (SKILL.md)

Lingzao

Lingzao helps agents research public creator content from Xiaohongshu and Douyin.

Use this skill when the user asks to:

  • Search Xiaohongshu notes by keyword.
  • Search public creators by keyword.
  • Look up a creator profile.
  • Read a creator's recent public posts.
  • Get recent post copy, subtitles, covers, metrics, and commercial signals from a creator profile.
  • Get details for a Xiaohongshu or Douyin post.
  • Extract spoken copy or transcript from a public short-video link.

Profile workflow:

  • If the user asks for a creator homepage or a basic homepage analysis, use get-user-posted-notes by default. It returns recent posts and enough author/post data for a basic read.
  • Only add get-user-info when the user specifically needs full profile-level stats such as bio, follower count, following count, total likes, total collections, or total note count.
  • Use analyze-user-profile when the user asks for deeper homepage copy/script/subtitle analysis, recent post text, covers, commercial signals, or product-note signals.
  • Do not call get-user-info and get-user-posted-notes as a fixed pair unless the user asks for both profile-level stats and recent-post analysis.

Setup

Resolve this SKILL.md directory as \x3Cskill_root>, then run setup once:

bash "\x3Cskill_root>/scripts/setup.sh" --base-url "https://your-lingzao-domain.com"

Environment variables override saved config:

export LINGZAO_API_KEY="lgz_xxx"
export LINGZAO_BASE_URL="https://your-lingzao-domain.com"

Check the connection:

~/.lingzao/bin/lingzao doctor

Before using Lingzao commands, check whether the skill has an update:

~/.lingzao/bin/lingzao check-version

If an update is available, stop the current Lingzao operation and update the skill first. Do not continue using an outdated Lingzao Skill for search, profile, subtitle, or extraction work.

To update the skill, rerun the installer. For npx skills, try:

npx skills add https://assets-tian.midao.site/skills/lingzao --skill lingzao -g --copy

Updating keeps the saved API config in ~/.lingzao/config.json; no API key setup is needed again.

If ~/.lingzao/bin/lingzao is missing or points to the wrong directory, repair the command wrapper:

bash ~/.agents/skills/lingzao/scripts/setup.sh --skip-doctor

If ~/.agents/skills/lingzao does not exist, find the directory that contains lingzao's SKILL.md, then run scripts/setup.sh --skip-doctor from that directory.

Commands

Search Notes

~/.lingzao/bin/lingzao search-notes --platform xhs --keyword "AI写作"

Use this when the user wants public notes around a topic.

Search Creators

~/.lingzao/bin/lingzao search-users --platform xhs --keyword "母婴博主"

Use this when the user wants creators in a topic or niche.

Get Creator Profile

~/.lingzao/bin/lingzao get-user-info --url "https://www.xiaohongshu.com/user/profile/..."
~/.lingzao/bin/lingzao get-user-info --platform xhs --user-id "63c21e0f000000002801a1bb"

Use this when the user provides a creator profile URL or platform user ID and needs full profile-level stats. For basic homepage analysis, prefer get-user-posted-notes and avoid calling both commands by default.

Get Creator Recent Posts

~/.lingzao/bin/lingzao get-user-posted-notes --url "https://www.xiaohongshu.com/user/profile/..."
~/.lingzao/bin/lingzao get-user-posted-notes --platform xhs --user-id "63c21e0f000000002801a1bb"

Use this when the user wants to understand what a creator has posted recently. Use this by default for basic creator homepage analysis. If the user asks for full profile-level stats, add get-user-info; if the user asks for post copy, scripts, captions, or transcript text across recent posts, use analyze-user-profile instead.

Analyze Creator Profile

~/.lingzao/bin/lingzao analyze-user-profile --url "https://www.xiaohongshu.com/user/profile/..." --limit 20
~/.lingzao/bin/lingzao analyze-user-profile --platform xhs --user-id "63c21e0f000000002801a1bb" --limit 40

Use this when the user wants deeper creator profile data, including post text, subtitles, covers, and commercial signals. Use --limit 20 by default. The default Markdown output shows readable subtitle previews.

Important: the complete profile subtitle/copy Markdown artifact is a top-level response field, not a per-note subtitle URL. Always check:

data.artifacts.subtitle_markdown.status data.artifacts.subtitle_markdown.url

Do not search only inside items[]. If data.artifacts.subtitle_markdown.status == "ready" and url exists, download it before deep script or subtitle analysis:

curl -L "$subtitle_markdown_url" -o /tmp/lingzao-profile-subtitles.md

Use the downloaded Markdown file for complete subtitle/copy analysis. Use --format json when the user needs the structured fields. JSON includes data.artifacts.subtitle_markdown.url for the complete Markdown file when available, and inline items[].text.subtitle.content/plain_text are preview-sized to keep the response readable. If the artifact is unavailable, use the inline subtitle fields.

Get Post Detail

~/.lingzao/bin/lingzao get-note-detail --url "https://www.xiaohongshu.com/explore/..."
~/.lingzao/bin/lingzao get-note-detail --platform xhs --note-id "69690331000000001a02266a"
~/.lingzao/bin/lingzao get-note-detail --platform douyin --note-id "7372484715782352169"

Use this when the user asks to analyze one public post.

Extract Short-Video Copy

~/.lingzao/bin/lingzao extract-video-copy --url "https://www.xiaohongshu.com/explore/..."
~/.lingzao/bin/lingzao extract-video-copy --url "https://v.douyin.com/..."

Use this when the user asks for short-video spoken copy, transcript, subtitles, or口播文案.

Usage Notes

  • For profile and post URLs, pass the URL directly when possible.
  • For raw IDs, include --platform.
  • Omit --limit unless the user asks for a specific count.
  • Use --format json only when another tool needs structured output.
  • Default output is Markdown for agents to read and summarize.
  • If the API key or account needs attention, ask the user to open the Lingzao dashboard.
安全使用建议
Install only if you trust the Lingzao API service and its CDN update source. Before allowing the agent to run any `npx skills add ... -g --copy` update command, review and approve it explicitly; prefer a pinned or verified release if available. Treat search keywords, profile URLs, post URLs, and downloaded subtitle artifacts as data shared with the Lingzao service.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is public Xiaohongshu/Douyin creator-content research, and the commands map to that purpose: search notes/users, inspect public profiles/posts, analyze profile copy/subtitles, and extract short-video copy.
Instruction Scope
The OpenAI metadata allows implicit invocation, but the default prompt is limited to public creator content from Xiaohongshu or Douyin rather than unrelated tasks. Users should still expect query terms and public URLs to be sent to the configured Lingzao service when invoked.
Install Mechanism
The skill tells agents to check for updates before use and, if an update is available, run a global reinstall from https://assets-tian.midao.site/skills/lingzao with `npx skills add ... -g --copy`. That is disclosed, but it is an unpinned remote update path that can change installed agent behavior without a clearly stated user-approval gate.
Credentials
Network access, Python/bash, and the `LINGZAO_API_KEY` credential are proportionate for an API-backed research client. The skill also downloads API-provided subtitle markdown to `/tmp/lingzao-profile-subtitles.md`, which is expected for deep profile analysis but should be treated as external content.
Persistence & Privilege
Setup writes a wrapper to `~/.lingzao/bin/lingzao` and stores API configuration in `~/.lingzao/config.json` with 0600 permissions. This is persistent local state but disclosed and limited to the skill's own config directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lingzao
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lingzao 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.9
- Added detailed usage instructions, clarifying when to use each command (search, profile lookup, analysis, extraction, etc). - Updated workflow guidance for creator profile lookups and analysis; clarified when to use `get-user-info`, `get-user-posted-notes`, and `analyze-user-profile`. - Provided explicit command-line usage examples for each function, including recommended defaults (e.g., use `--limit 20` with `analyze-user-profile`). - Included troubleshooting and update steps for installation, configuration, and wrapper repair. - Guidance now instructs not to use `get-user-info` and `get-user-posted-notes` in fixed pairs unless both sets of data are required. - Ensured distinction between basic and deep analysis use cases, especially around subtitle/copy artifact extraction and usage.
元数据
Slug lingzao
版本 0.1.9
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

lingzao 是什么?

Use Lingzao creator-content research tools for Xiaohongshu/XHS and Douyin public content, including note search, creator search, profile lookup, recent posts... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 26 次。

如何安装 lingzao?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install lingzao」即可一键安装,无需额外配置。

lingzao 是免费的吗?

是的,lingzao 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

lingzao 支持哪些平台?

lingzao 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 lingzao?

由 xiaohao(@itxiaohao)开发并维护,当前版本 v0.1.9。

💬 留言讨论