Agent skill

Style Extract

by yuque in yuque/yuque-ecosystem

Analyze Yuque documents to extract vocabulary, sentence, and tone patterns into a reusable writing-style profile.

MITAuto-check passedWriting & Content

Install Style Extract

skills CLI
$ npx skills add yuque/yuque-ecosystem --skill style-extract -a claude-code

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

GitHub CLI
$ gh skill install yuque/yuque-ecosystem style-extract --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/yuque/yuque-ecosystem.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/style-extract .claude/skills/style-extract && 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
style-extract
GitHub stars
228
Token cost
~1.7k tokens
SKILL.md length
684 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

Analyze Yuque documents to extract vocabulary, sentence, and tone patterns into a reusable writing-style profile.

  • Works in 5 steps: Gather Writing Samples → Analyze Writing Dimensions → Generate Style Profile → …
  • The user wants to understand
  • SKILL.md covers When to Use, Required MCP Tools, Workflow and Guidelines, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Style Extract is an agent skill from yuque/yuque-ecosystem. Analyze Yuque documents to extract vocabulary, sentence, and tone patterns into a reusable writing-style profile. Use when the user wants to understand or reproduce their voice or keep documents consistent; trigger phrases include “分析一下我的写作风格”, “用我的风格写一篇...”, “帮我生成一个风格画像”, “extract my writing style”, and “write like me”.

Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires the yuque-mcp MCP server connected with a personal Yuque token

It sits in Writing & Content, covering Brand voice and tone. The repository describes itself as: Yuque AI Ecosystem — MCP Server, Skills & Plugin for Yuque (语雀). The licence is MIT.

When your agent uses it

  • The user wants to understand
  • Reproduce their voice
  • Keep documents consistent
  • Trigger phrases include 分析一下我的写作风格

Example prompts

  • “分析一下我的写作风格”
  • “用我的风格写一篇...”
  • “帮我生成一个风格画像”
  • “/style-extract”

Requirements

  • Compatibility (from SKILL.md): Requires the yuque-mcp MCP server connected with a personal Yuque token

Workflow steps

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

  1. Gather Writing Samples
  2. Analyze Writing Dimensions
  3. Generate Style Profile
  4. Present and Refine
  5. Save Style Profile (Optional)

What it can do on your machine

Read from SKILL.md and the folder at commit 2959228. 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 (its code samples are markdown).

    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.

  • Compatibility

    Requires the yuque-mcp MCP server connected with a personal Yuque token

    From compatibility in the SKILL.md frontmatter.

Context cost

Style Extract loads about 1.7k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 684 words of instructions outside code blocks.

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

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

The full file from yuque/yuque-ecosystem at commit 2959228, republished under its MIT licence (© yuque). 684 words, ~1,728 tokens.

Download SKILL.mdSave it as .claude/skills/style-extract/SKILL.md (or your agent's skills folder).
name
style-extract
description
Analyze Yuque documents to extract vocabulary, sentence, and tone patterns into a reusable writing-style profile. Use when the user wants to understand or reproduce their voice or keep documents consistent; trigger phrases include “分析一下我的写作风格”, “用我的风格写一篇...”, “帮我生成一个风格画像”, “extract my writing style”, and “write like me”.
compatibility
Requires the yuque-mcp MCP server connected with a personal Yuque token
license
MIT
metadata.author
yuque
metadata.version
1.0

Style Extract — Your Writing Style Profile

Analyze your existing Yuque documents to extract your unique writing style — vocabulary habits, sentence structures, tone characteristics. Generate a reusable style profile that helps you (or AI) maintain a consistent voice when writing new content.

When to Use

  • User wants to understand their own writing style
  • User says "分析一下我的写作风格", "我的文风是什么样的", "extract my writing style"
  • User wants AI to write in their voice: "用我的风格写一篇...", "write like me"
  • User wants to ensure consistency across documents
  • User says "帮我生成一个风格画像", "create my style profile"

Required MCP Tools

All tools are from the yuque-mcp server:

  • yuque_list_books — List user's knowledge bases
  • yuque_list_docs — List documents in a knowledge base
  • yuque_get_doc — Read document content for style analysis
  • yuque_search — Find specific types of documents for analysis
  • yuque_create_doc — Save the style profile as a document

Workflow

Step 1: Gather Writing Samples

Ask the user for source material:

Case A — Specific documents: User provides links to documents they consider representative of their style.

Case B — Entire knowledge base: User specifies a knowledge base. Sample documents from it.

Case C — Auto-detect best samples: If the user isn't sure, search for their most substantial documents:

Tool: yuque_list_books
Tool: yuque_list_docs
Parameters:
  repo_id: "<namespace>"

Select 5-10 documents that are:

  • Written by the user (not copied/quoted content)
  • Substantial in length (> 500 characters)
  • Diverse in topic (to capture general style, not topic-specific patterns)

For each selected document:

Tool: yuque_get_doc
Parameters:
  repo_id: "<namespace>"
  doc_id: "<slug>"
Step 2: Analyze Writing Dimensions

Analyze the collected writing samples across these dimensions:

Vocabulary (用词习惯)
  • Formality level — Casual, semi-formal, or formal?
  • Jargon density — Heavy use of domain terms or plain language?
  • Favorite words — Recurring words or phrases the user gravitates toward
  • Filler patterns — Common transitions, connectors, hedging words
  • Language mixing — Do they mix Chinese/English? In what pattern?
Sentence Structure (句式结构)
  • Average sentence length — Short and punchy or long and flowing?
  • Complexity — Simple sentences or nested clauses?
  • Paragraph length — Brief paragraphs or dense blocks?
  • List usage — Frequent bullet points or prose-heavy?
  • Question usage — Do they use rhetorical questions?
Tone & Voice (语气特点)
  • Perspective — First person, second person, or impersonal?
  • Confidence level — Assertive ("X is Y") or hedged ("X might be Y")?
  • Humor — Dry wit, playful, or strictly serious?
  • Engagement style — Conversational or lecture-like?
  • Emotional range — Neutral/analytical or expressive/passionate?
Structural Habits (结构习惯)
  • Opening style — How do they start articles? (Question, statement, story, context)
  • Closing style — How do they end? (Summary, call-to-action, open question)
  • Heading style — Descriptive, concise, or creative headings?
  • Use of examples — Frequent concrete examples or abstract reasoning?
  • Formatting preferences — Heavy use of bold, quotes, code blocks, tables?
Step 3: Generate Style Profile

Create a structured style profile:

markdown
# ✍️ 写作风格画像

> 基于 [N] 篇文档分析生成
> 分析日期:YYYY-MM-DD

## 一句话风格概括

[用一句话描述用户的整体写作风格,如 "简洁直接的技术写作者,偏好短句和大量代码示例,语气自信但不傲慢"]

## 用词习惯

- **正式程度**:[描述 + 示例]
- **术语密度**:[描述 + 示例]
- **高频词汇**:[列出 5-10 个标志性用词]
- **过渡词偏好**:[常用的连接词和过渡表达]
- **中英混用**:[模式描述,如 "技术名词用英文,解释用中文"]

## 句式特征

- **句子长度**:[平均字数/句,与参考值对比]
- **段落长度**:[平均句数/段]
- **复杂度**:[简单句为主 / 复合句为主]
- **标志性句式**:[用户常用的句式模式,附原文示例]

## 语气画像

- **视角**:[第一人称 / 第二人称 / 无人称]
- **自信度**:[断言型 / 探讨型 / 谦逊型]
- **幽默感**:[描述]
- **互动性**:[对话式 / 独白式 / 教学式]

## 结构偏好

- **开头方式**:[描述 + 示例]
- **结尾方式**:[描述 + 示例]
- **标题风格**:[描述]
- **举例频率**:[高 / 中 / 低]
- **格式偏好**:[常用的 Markdown 元素]

## 风格指纹(供 AI 参考)

当需要模仿此风格写作时,遵循以下规则:

1. [具体规则 1,如 "每段不超过 4 句话"]
2. [具体规则 2,如 "技术概念首次出现时用中文解释 + 英文原词"]
3. [具体规则 3,如 "多用反问句引导思考"]
4. [具体规则 4,如 "避免使用'众所周知'等套话"]
5. [具体规则 5,如 "结尾倾向于提出开放性问题而非总结"]

## 示例对比

### 原文片段
> [从用户文档中摘取的典型段落]

### 风格要素标注
[标注该段落中体现的风格特征]
Show full SKILL.md (269 more words)Show less
Step 4: Present and Refine

Show the style profile to the user and ask:

"这个风格画像准确吗?有没有哪些地方需要调整?"

Iterate based on user feedback. They might say:

  • "我觉得我没那么正式" → Adjust formality assessment
  • "这个高频词不是我的风格,是那篇文章特有的" → Remove outliers
  • "我希望新内容比我现在的风格更简洁" → Note as a style aspiration
Step 5: Save Style Profile (Optional)

Ask the user: "要把风格画像保存到语雀吗?以后写作时可以参考。"

If confirmed:

Tool: yuque_create_doc
Parameters:
  repo_id: "<target namespace>"
  title: "✍️ 我的写作风格画像"
  body: "<style profile in markdown>"

Confirm: "风格画像已保存到「[知识库名称]」:[文档链接]"

Using the Style Profile

When the user later asks to write content in their style:

  1. Retrieve the saved style profile
  2. Apply the "风格指纹" rules when generating content
  3. After drafting, self-check against the profile dimensions
  4. Present the draft with notes on which style elements were applied

Guidelines

  • Always answer in the same language the user used (Chinese or English)
  • Analyze at least 5 documents for a reliable profile — fewer may produce skewed results
  • Distinguish between the user's natural style and topic-specific writing (a tech doc vs. a personal reflection will differ)
  • High-frequency words should be genuinely characteristic, not just common words everyone uses
  • The style profile should be descriptive, not prescriptive — describe what the user does, don't judge it
  • When the user asks to "write like me", use the profile as a guide but don't produce robotic imitations
  • Update the profile periodically — writing style evolves over time

Error Handling

SituationAction
Document not found (404)Skip and note it; continue with other documents
Permission denied (403)Tell user they may lack permission to access this document
Too few documents (< 3)Inform user: "文档数量较少,风格分析可能不够准确。建议提供至少 5 篇文档"
Documents are mostly copied/quoted contentInform user: "这些文档大部分是引用内容,需要你原创的文档来分析风格"
yuque_create_doc failsPresent the style profile in chat for manual saving
Mixed authorshipAsk user to confirm which documents are their own writing

© yuque, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/style-extract of yuque/yuque-ecosystem.

Open the folder on GitHubat commit 2959228

Compare with similar skills

Style Extract 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.

Style Extract compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Style Extract this skillyuque/yuque-ecosystem228—~1.7kAutomated safety check: PassMIT
Avoid AI Writingconorbronsdon/avoid-ai-writing4.9k3 repos~8.1kAutomated safety check: PassMIT
Khazix WeChat Article WriterKKKKhazix/khazix-skills21k2 repos~2.9kAutomated safety check: PassMIT
BrandOhh-889/skyroc79513 repos~733Automated safety check: PassMIT
Writing Guidelinesvercel-labs/agent-skills32k7 repos~309Automated safety check: PassNone
Unslop AI Writing Cleanuptheclaymethod/unslop512—~1.7kAutomated safety check: PassMIT

Similar skills

  • Avoid AI Writing

    conorbronsdon/avoid-ai-writing

    Audit and rewrite content to remove AI writing patterns ("AI-isms").

    4.9k GitHub starsUsed in 3 repos~8.1k tokens
    Writing & ContentAuto-check passed
  • Khazix WeChat Article Writer

    KKKKhazix/khazix-skills

    Writes long-form WeChat official account articles in the personal style of the Khazix account, from briefs, links, PDFs or rough notes, with a topic quality check.

    21k GitHub starsUsed in 2 repos~2.9k tokens
    Writing & ContentAuto-check passed
  • Brand

    Ohh-889/skyroc

    Brand voice, visual identity, messaging frameworks, asset management, brand consistency.

    795 GitHub starsUsed in 13 repos~733 tokens
    Writing & ContentAuto-check passed
  • Writing Guidelines

    vercel-labs/agent-skills

    Official

    Review docs/prose for Writing Guidelines compliance. An agent skill from vercel-labs/agent-skills.

    32k GitHub starsUsed in 7 repos~309 tokens
    Writing & ContentAuto-check passed
  • Unslop AI Writing Cleanup

    theclaymethod/unslop

    Removes AI writing tells from prose through an audit-first flow, routing to a two-pass rewrite, a report-only cleanup, voice teaching or mimicry depending on the sub-command used.

    512 GitHub stars~1.7k tokensUpdated 1 mo ago
    Writing & ContentAuto-check passed
  • Brand Voice Guide

    luongnv89/claude-howto

    Ensure all communication matches brand voice and tone guidelines. Use when creating marketing copy, customer communications, public-facing content, or when…

    42k GitHub stars~609 tokensUpdated 8 days ago
    Writing & ContentAuto-check passed

More from yuque/yuque-ecosystem

All 8 skills in this repo
  • Daily Capture

    yuque/yuque-ecosystem

    Capture fleeting ideas in Yuque and periodically organize them into structured thematic notes.

    228 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Knowledge Connect

    yuque/yuque-ecosystem

    Analyze Yuque documents to uncover related topics, complementary notes, and cross-reference opportunities.

    228 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Note Refine

    yuque/yuque-ecosystem

    Polish rough Yuque notes into structured, readable documents while preserving their meaning.

    228 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Reading Digest

    yuque/yuque-ecosystem

    Extract core insights, golden quotes, and action items from articles, then create structured Yuque reading notes.

    228 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Smart Search

    yuque/yuque-ecosystem

    Search personal Yuque knowledge bases with natural-language queries and synthesize answers with source links.

    228 GitHub stars~993 tokensUpdated 2 mo ago
    Auto-check passed
  • Smart Summary

    yuque/yuque-ecosystem

    Summarize a Yuque document or knowledge base at one-line, key-point, or detailed granularity.

    228 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Style Extract

What does Style Extract do?

Analyze Yuque documents to extract vocabulary, sentence, and tone patterns into a reusable writing-style profile. Style Extract is an agent skill from yuque/yuque-ecosystem. Analyze Yuque documents to extract vocabulary, sentence, and tone patterns into a reusable writing-style profile.

When should I use Style Extract?

Style Extract fits situations like: the user wants to understand; reproduce their voice; keep documents consistent; trigger phrases include 分析一下我的写作风格.

How do I install Style Extract in Claude Code?

Run `npx skills add yuque/yuque-ecosystem --skill style-extract -a claude-code`. Or copy the skill folder (skills/style-extract in yuque/yuque-ecosystem) into .claude/skills/style-extract in your project. Claude Code loads it when a task matches its description.

How do I install Style Extract in Codex?

Run `npx skills add yuque/yuque-ecosystem --skill style-extract -a codex`. Or copy the skill folder (skills/style-extract in yuque/yuque-ecosystem) into .agents/skills/style-extract in your project. Codex loads it when a task matches its description.

Can I use Style Extract 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 yuque/yuque-ecosystem --skill style-extract -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/style-extract, .gemini/skills/style-extract, .github/skills/style-extract and .opencode/skills/style-extract in your project.

What does Style Extract need to run?

SKILL.md names no scripts, command-line tools or credentials: Style Extract is instructions for the agent only. Compatibility (from SKILL.md): Requires the yuque-mcp MCP server connected with a personal Yuque token.

Does Style Extract 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 Style Extract 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 Style Extract use?

Style Extract is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Style Extract use?

About 1.7k tokens (SKILL.md is roughly 6.9k 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 Style Extract?

Skills that share tags, products or a category with Style Extract: Avoid AI Writing (conorbronsdon/avoid-ai-writing, 4.9k stars), Khazix WeChat Article Writer (KKKKhazix/khazix-skills, 21k stars), Brand (Ohh-889/skyroc, 795 stars) and Writing Guidelines (vercel-labs/agent-skills, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Style Extract?

yuque (a GitHub organization) maintains it in yuque/yuque-ecosystem, which has 228 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on July 15, 2026.

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