Agent skill

Script Writing

by vivy-yi in vivy-yi/xiaohongshu-skills

A skill your agent uses when writing scripts for Xiaohongshu videos, live streams, or carousel content, structuring narratives, creating engaging storylines, or planning content flow for maximum…

No licenceAuto-check passedWriting & Content

Install Script Writing

skills CLI
$ npx skills add vivy-yi/xiaohongshu-skills --skill script-writing -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vivy-yi/xiaohongshu-skills script-writing --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vivy-yi/xiaohongshu-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'skills/01-内容创作/script-writing' .claude/skills/script-writing && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
script-writing
GitHub stars
474
Token cost
~4k tokens
SKILL.md length
472 words
Files
1
Skills in repo
123
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when writing scripts for Xiaohongshu videos, live streams, or carousel content, structuring narratives, creating engaging storylines, or planning content flow for maximum…

  • Works in 5 steps: Define Content Objective → Structure Your Script → Write Compelling Hook → …
  • Writing scripts for Xiaohongshu videos
  • SKILL.md covers Overview, When to Use, Core Pattern and Quick Reference, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Script Writing is an agent skill from vivy-yi/xiaohongshu-skills. Use when writing scripts for Xiaohongshu videos, live streams, or carousel content, structuring narratives, creating engaging storylines, or planning content flow for maximum audience retention

Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Writing & Content, covering Talk and speech writing. It works with Xiaohongshu. The repository describes itself as: 139个完整的小红书运营技能 - Claude Code 技能插件系统。覆盖内容创作、账号运营、互动运营、数据分析、电商转化、平台规则、工具生态、营销推广、增长策略9大分类。

When your agent uses it

  • Writing scripts for Xiaohongshu videos
  • Carousel content
  • Structuring narratives
  • Creating engaging storylines

Example prompts

  • “/script-writing”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Define Content Objective
  2. Structure Your Script
  3. Write Compelling Hook
  4. Write Body Content
  5. Craft Effective CTA

What it can do on your machine

Read from SKILL.md and the folder at commit b42ff69. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Script Writing loads about 4k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 472 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 472 words (~4,011 tokens).

“Script writing is the art of planning and structuring Xiaohongshu video content, live streams, and carousel narratives to deliver engaging, valuable content that maintains viewer attention from start to finish, ensuring clear communication and maximum retention.”

— opening of SKILL.md by vivy-yi
name
script-writing

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/01-内容创作/script-writing of vivy-yi/xiaohongshu-skills.

Open the folder on GitHubat commit b42ff69

Compare with similar skills

Script Writing next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Script Writing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Script Writing this skillvivy-yi/xiaohongshu-skills474—~4kAutomated safety check: PassNone
Pitch Craft Timed Scriptsooiyeefei/ccc494—~1.7kAutomated safety check: PassMIT
Xhs Keyword To Content Packageatian-create/lingzao-skill295—~722Automated safety check: PassMIT-0
Blogger Distillerotter1101/blogger-distiller693—~3.8kAutomated safety check: NotesMIT
Xhs Visual Directorziguishian/xhs-visual-director-skill1.4k—~2.2kAutomated safety check: PassMIT
Social Account DoctorJuneYaooo/social-account-doctor279—~8.3kAutomated safety check: NotesMIT

Similar skills

  • Writes or fixes spoken scripts that must fit a clock: demo voiceovers, deck narration and pitch speeches, with word budgets, storytelling rules and named trim points.

    494 GitHub stars~1.7k tokensUpdated 2 mo ago
    Writing & ContentAuto-check passed
  • Xhs Keyword To Content Package

    atian-create/lingzao-skill

    Lingzao lightweight XHS content workflow Skill that turns a Xiaohongshu keyword, topic, link, screenshot, reference image, saved notes, or inspiration material into a publishable one-stop content…

    295 GitHub stars~722 tokensUpdated 3 mo ago
    Writing & ContentAuto-check passed
  • Blogger Distiller

    otter1101/blogger-distiller

    A skill your agent uses when the user wants to analyze or distill a blogger/account on Xiaohongshu or Douyin, benchmark a target creator, or diagnose their own content strategy.

    693 GitHub stars~3.8k tokensUpdated 15 days ago
    Writing & ContentAuto-check: notes
  • Xhs Visual Director

    ziguishian/xhs-visual-director-skill

    A skill your agent uses when planning, redesigning, or reviewing Xiaohongshu carousel visuals, covers, 3:4 image posts, page-by-page visual direction, image-generation prompts, style selection…

    1.4k GitHub stars~2.2k tokensUpdated 3 mo ago
    Media & CreativeAuto-check passed
  • Social Account Doctor

    JuneYaooo/social-account-doctor

    小红书 / 抖音 / 快手 / 视频号 自媒体「(compose 素材打底 →) 找对标 → 拆爆款 → 套自己」四命令闭环,另支持带货账号诊断、带货视频链接拆解和证据驱动的脚本生成(commerce)。给账号 / 平台视频链接 / 本地视频 / 商品详情、SKU…

    279 GitHub stars~8.3k tokensUpdated 19 days ago
    Writing & ContentAuto-check: notes
  • Humanized Chinese Writing Polisher

    EthanYoQ/agent-xiaohongshu-workbench

    A skill your agent uses when a user asks to polish, rewrite, humanize, de-AI, localize, or oralize Chinese writing, including short-video scripts, articles, social posts, speeches, newsletters, and…

    153 GitHub stars~1.1k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed

More from vivy-yi/xiaohongshu-skills

All 123 skills in this repo
  • Effect Monitoring

    vivy-yi/xiaohongshu-skills

    A skill your agent uses when monitoring Xiaohongshu marketing campaign performance, tracking promotion effectiveness, analyzing advertising ROI, measuring influencer collaboration results…

    474 GitHub starsUsed in 1 repo~4.5k tokens
    Auto-check passed
  • Traffic Acquisition

    vivy-yi/xiaohongshu-skills

    A skill your agent uses when driving traffic to Xiaohongshu account from external sources, acquiring new followers beyond organic discovery, implementing multi-platform growth strategy, or scaling…

    474 GitHub starsUsed in 1 repo~4k tokens
    Auto-check passed
  • Account Authentication

    vivy-yi/xiaohongshu-skills

    A skill your agent uses when applying for Xiaohongshu account verification (blue check), understanding verification types and benefits, preparing verification application materials, or increasing…

    474 GitHub stars~4.7k tokensUpdated 8 mo ago
    Auto-check passed
  • Account Positioning

    vivy-yi/xiaohongshu-skills

    A skill your agent uses when starting new Xiaohongshu accounts, struggling with unclear content direction, receiving inconsistent engagement, or needing to define target audience and vertical domain

    474 GitHub stars~1.2k tokensUpdated 8 mo ago
    Auto-check passed
  • Account Safety

    vivy-yi/xiaohongshu-skills

    A skill your agent uses when needing to protect account from hacking, unauthorized access, suspension, or other security threats on Xiaohongshu

    474 GitHub stars~1.5k tokensUpdated 8 mo ago
    Auto-check passed
  • Account Security

    vivy-yi/xiaohongshu-skills

    A skill your agent uses when protecting Xiaohongshu account from unauthorized access, preventing account theft, recovering compromised accounts, or implementing security measures to safeguard…

    474 GitHub stars~4.9k tokensUpdated 8 mo ago
    Auto-check passed

Works with

Questions about Script Writing

What does Script Writing do?

A skill your agent uses when writing scripts for Xiaohongshu videos, live streams, or carousel content, structuring narratives, creating engaging storylines, or planning content flow for maximum…. Script Writing is an agent skill from vivy-yi/xiaohongshu-skills.

When should I use Script Writing?

Script Writing fits situations like: writing scripts for Xiaohongshu videos; carousel content; structuring narratives; creating engaging storylines.

How do I install Script Writing in Claude Code?

Run `npx skills add vivy-yi/xiaohongshu-skills --skill script-writing -a claude-code`. Or copy the skill folder (skills/01-内容创作/script-writing in vivy-yi/xiaohongshu-skills) into .claude/skills/script-writing in your project. Claude Code loads it when a task matches its description.

How do I install Script Writing in Codex?

Run `npx skills add vivy-yi/xiaohongshu-skills --skill script-writing -a codex`. Or copy the skill folder (skills/01-内容创作/script-writing in vivy-yi/xiaohongshu-skills) into .agents/skills/script-writing in your project. Codex loads it when a task matches its description.

Can I use Script Writing in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vivy-yi/xiaohongshu-skills --skill script-writing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/script-writing, .gemini/skills/script-writing, .github/skills/script-writing and .opencode/skills/script-writing in your project.

What does Script Writing need to run?

SKILL.md names no scripts, command-line tools or credentials: Script Writing is instructions for the agent only.

Does Script Writing access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Script Writing safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Script Writing use?

No licence was found for Script Writing or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Script Writing use?

About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Script Writing?

Skills that share tags, products or a category with Script Writing: Pitch Craft Timed Scripts (ooiyeefei/ccc, 494 stars), Xhs Keyword To Content Package (atian-create/lingzao-skill, 295 stars), Blogger Distiller (otter1101/blogger-distiller, 693 stars) and Xhs Visual Director (ziguishian/xhs-visual-director-skill, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Script Writing?

vivy-yi (a GitHub user) maintains it in vivy-yi/xiaohongshu-skills, which has 474 GitHub stars. The repository holds 123 skills in this directory. The repository was last updated on January 23, 2026.

Source: vivy-yi/xiaohongshu-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.