Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

writer-agent作家经纪人

Agent Skill

writer-agent 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,283

周安装

54

GitHub Stars

公开资料未说明

下载量

449
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:writer-agent(作家经纪人)
来源仓库:https://github.com/hoangvantuan/claude-plugin
仓库路径:skills/writer-agent
安装命令:
npx skills add https://github.com/hoangvantuan/claude-plugin --skill writer-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/hoangvantuan/claude-plugin --skill writer-agent

简介

writer-agent 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于研究检索类任务,可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 安装前建议确认是否会触发联网、命令执行或文件读写,避免误操作生产数据。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Writer Agent

Transform documents and URLs into styled article series.

Quick Reference

ReferencePurposeLoad at StepDPT1T2T3
directory-structure.mdOutput folder layoutStep 1
dimension-selection.mdCustom mode dimension tablesStep 2 (Custom)
decision-trees.mdWorkflow decision guidesOn confusion only
retry-workflow.mdError recovery proceduresOn error only-
large-doc-processing.mdHandling documents >50K wordsStep 3 (if >20K)--
article-writer-prompt.mdSubagent prompt templatesStep 4-
context-extractor-prompt.mdContext extraction templateStep 3 (Tier 2)---
context-optimization.mdContext optimization anti-patternsStep 3.1-
detail-levels.mdOutput detail level optionsStep 2.5
shared-article-writing.mdShared Steps 4.0-4.6Step 4-

DP = Direct Path | T1-T3 = Tier 1-3 | = Load | - = Skip

Tier Workflow Files (loaded at Step 2.7 after tier determination):

TierFileWhen
Direct Pathtier-direct-path.md<20K OR (<50K AND ≤3 articles)
Tier 1tier-1-workflow.md20K-50K (fails Direct Path)
Tier 2tier-2-workflow.md50K-100K
Tier 3tier-3-workflow.md>=100K

Dimension files (loaded at Step 2): voices/{voice}.md, structures/{structure}.md, identities/{identity}.md, audiences/{audience}.md, emotional_maps/{emotion}.md

Workflow Overview

Direct Path (<20K words OR <50K words with <=3 articles):

Main agent writes all articles directly without subagents.

Input → Convert → Style/Structure → Plan → Write(main) → Synthesize → Verify
  1        1           2               3        4            5           6

Standard (Tier 1-2, 20K-100K words):

Input → Convert → Style/Structure → Analyze → Extract → Write → Synthesize → Verify
  1        1           2               3         3         4        5           6

Fast Path (Tier 3, >=100K words):

Input → Convert → Style/Structure → Plan → Write(parallel) → Synthesize → Verify
  1        1           2              3          4              5           6

Step 0: Resolve Skill Paths (BẮT BUỘC)

Tìm wa-env → chạy → dùng paths tuyệt đối cho toàn bộ workflow.

# Tìm wa-env (thử Glob trước, fallback find nếu plugin installed vào dotdir)
Glob("**/writer-agent/scripts/wa-env")  # hoặc Glob(".claude/**/wa-env")

# Chạy (dùng bash, không dùng source — để BASH_SOURCE resolve đúng)
bash {path_to_wa-env}
# → SCRIPTS_DIR, SKILL_DIR, VOICES_DIR, STRUCTURES_DIR, IDENTITIES_DIR,
#   AUDIENCES_DIR, EMOTIONS_DIR, TEMPLATES_DIR, REFERENCES_DIR

# Verify
assert Glob(f"{SCRIPTS_DIR}/wa-convert") and Glob(f"{VOICES_DIR}/*.md")
FAIL CONDITION: Không tìm thấy wa-env → STOP. KHÔNG tự suy đoán paths.

Step 1: Input Handling

GUARD: SCRIPTS_DIR đã resolve từ Step 0. Nếu chưa → STOP, quay lại Step 0.

Detect input type and convert to markdown.

Output language: Luôn là tiếng Việt, bất kể source language.

Input TypeDetectionAction
File (PDF/DOCX/EPUB/etc)Path + extensionwa-convert {path}
URL (web page)http:// or https://wa-convert {url}
YouTube URLyoutube.com or youtu.bewa-convert {url}
Plain text /.txt /.mdNo complex extensionRewrite → wa-paste-text

File/URL Conversion

{SCRIPTS_DIR}/wa-convert [/path/to/file.pdf or url]

Output: writer-agent/{slug}-{timestamp}/input-handling/content.md

Plain Text Processing

  1. Read content (if file)
  2. Rewrite to structured markdown (add headings, preserve content)
  3. Propose title
  4. Execute:
echo "{rewritten_content}" | {SCRIPTS_DIR}/wa-paste-text - --title "{title}"

Error Handling

ErrorAction
File not foundAsk for correct path
Unsupported formatTry Docling, confirm with user
URL fetch failedReport and stop
Empty contentWarn, confirm before continue
Encrypted PDFAsk for decrypted version

Step 2: Select Writing Dimensions

Hệ thống 5 chiều độc lập. User chọn preset combo hoặc Custom để mix-match tự do.

Preset Combos (Recommended)

Show bảng sau cho user, hỏi chọn preset hoặc "Custom":

PresetVoiceStructureIdentityAudienceEmotion
EducatorTeacherBuilding BlocksTech BuilderCurious BeginnersEmpower & Challenge
StorytellerStorytellerStory ArcContemplative ThinkerDeep SeekersReflect & Discover
AnalystObjectiveBLUF-EvidenceKnowledge CuratorBusy ProfessionalsEmpower & Challenge
ExplorerInvestigatorFive LayersKnowledge CuratorDeep SeekersProvoke & Transform
MentorGuideDepth-PracticeContemplative ThinkerCurious BeginnersReflect & Discover
ReflectorPersonalSpiral ReturnContemplative ThinkerDeep SeekersReflect & Discover
Zen MasterDialogueMaster-StudentContemplative ThinkerDeep SeekersReflect & Discover

Cách dùng: Hiển thị bảng trên → Hỏi user gõ tên preset (e.g. "Educator") hoặc "Custom".

  • Nếu chọn preset: Tất cả 5 dimensions đã set, skip đến Step 2.5
  • Nếu chọn Custom: Chuyển sang Step 2a-2f bên dưới (chọn từng chiều)
  • Adaptive structure: Dùng khi content mixed/không fit structures cố định. Chỉ available qua Custom mode hoặc user yêu cầu trực tiếp.

Custom Mode

Khi user chọn "Custom" → đọc dimension-selection.md để chọn từng chiều (Voice → Structure → Identity → Audience → Emotion) kèm compatibility check.

Step 2.5: Select Detail Level

Hỏi user để confirm output detail level.

LevelRatioDescription
Concise15-25%Tóm lược, giữ ý chính
Standard30-40%Cân bằng (Recommended)
Comprehensive50-65%Chi tiết, giữ nhiều ví dụ
Faithful75-90%Gần như đầy đủ, viết lại theo style

Default: Standard (if user skips or unclear). PASS/FAIL dựa trên section coverage, không phải word count.

Chi tiết calculation (target_ratio, example_percentage) và worked examples → detail-levels.md.

Step 2.6: Tier Reference Table

Canonical tier definitions (referenced throughout documentation):

TierWord CountStrategyContext ApproachGlossarymax_concurrent
Direct Path<20K OR (<50K AND ≤3 articles)Main agent writes allN/A (no subagents)Inline (~200 words)N/A
Tier 120K-50K (fails Direct Path)Subagents read source directlyNo context filesInline (~200 words)3
Tier 250K-100KSmart compressionContext extractorsSeparate file (~600 words)3
Tier 3>=100KFast Path, minimal overheadNo context filesInline (~300 words)2

Priority rules:

  • Direct Path conditions are checked FIRST and override tier boundaries
  • Documents 20K-50K with ≤3 articles use Direct Path (not Tier 1)
  • Only documents failing Direct Path conditions fall through to tier selection
Note: Direct Path <50K condition is further limited by language: EN ~44K, VI ~32K, mixed ~38K words. These limits are pre-computed in structure.json → direct_path.capacity_ok. If capacity exceeded, fallback to Tier 1.

Key differences:

  • Direct Path: Main agent handles everything (no subagents)
  • Tier 1: Lightweight subagents, read source via line ranges
  • Tier 2: Context extraction for compression (only tier with separate glossary file)
  • Tier 3: Like Tier 1 but larger chunks, more selective glossary, lower concurrency

Step 2.7: Load Tier Workflow (BẮT BUỘC)

Sau khi xác định tier từ Step 2.6, đọc file workflow tương ứng:

tier = determine_tier(structure_json)  # Từ structure.json

if tier == "direct_path":
    Read(f"{SKILL_DIR}/references/tier-direct-path.md")
elif tier == 1:
    Read(f"{SKILL_DIR}/references/tier-1-workflow.md")
elif tier == 2:
    Read(f"{SKILL_DIR}/references/tier-2-workflow.md")
elif tier == 3:
    Read(f"{SKILL_DIR}/references/tier-3-workflow.md")

Tier workflow file chứa Steps 3-4. Sau khi hoàn thành Step 4, load references/steps-5-6-synthesize-verify.md cho Steps 5-6.

FAIL CONDITION: Nếu không load tier workflow file → KHÔNG biết cách xử lý Steps 3-4 cho tier đó. STOP và load file đúng.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.95%
按下载量换算166

Claude

27.03%
按下载量换算121

Cursor

19.67%
按下载量换算88

Gemini CLI

8.79%
按下载量换算39

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills