Token导航 LogoToken导航TokenDH.com
研究检索可写文件github未标认证来源可访问许可证需确认审计通过

diverse-content-gen多样化的内容生成

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

291

周安装

12

GitHub Stars

95

下载量

95
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:diverse-content-gen(多样化的内容生成)
来源仓库:https://github.com/rfxlamia/claude-skillkit
仓库路径:skills/diverse-content-gen
安装命令:
npx skills add https://github.com/rfxlamia/claude-skillkit --skill diverse-content-gen
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/rfxlamia/claude-skillkit --skill diverse-content-gen

简介

diverse-content-gen 使用 Verbalized Sampling 技术提升文案输出的多样性。

  • 适用于避免模式坍塌的博客、邮件与营销材料批量生成。
  • 通过概率分布采样实现 1.6–2.1 倍的多样性增益而不损质量。
  • 需设定温度参数与候选数量以控制输出变化幅度。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Diverse Content Generation using Verbalized Sampling

Overview

This skill teaches agents how to use Verbalized Sampling (VS) - a research-backed prompting technique that dramatically increases output diversity (1.6-2.1× improvement) without sacrificing quality.

The Problem: Standard aligned LLMs suffer from "mode collapse" - they generate overly similar, safe, predictable outputs because of typicality bias in training data.

The Solution: Instead of asking for single instances ("write a blog post"), VS prompts the model to verbalize a probability distribution over multiple responses ("generate 5 blog post ideas with their probabilities").

Core Principle: Different prompt types collapse to different modes. Distribution-level prompts recover the diverse base model distribution, while instance-level prompts collapse to the most typical output.


Workflow Decision Tree

Detect user intent, route to appropriate reference:

User Request PatternRoute ToDescription
"Generate diverse [content]"references/vs-core-technique.mdLearn VS basics, prompt templates, execution
"Write 5 blog posts / captions / ideas"references/task-workflows.mdTask-specific workflows pre-configured
"Need higher quality" or "too wild"references/advanced-techniques.mdVS-CoT, VS-Multi, parameter tuning
"Save to file" or "batch process 50 items"references/tool-integration.mdVS + File tools, batch workflows
"VS outputs too similar" or errorsreferences/troubleshooting.mdCommon pitfalls and solutions
"Which model works best?"references/research-findings.mdBenchmarks, model compatibility

Default workflow: Load vs-core-technique.md first, then load additional references as needed.


When to Use This Skill

Trigger Scenarios

Use VS when user requests:

  • "Give me multiple variations/options/ideas"
  • "I need diverse [content type]"
  • "Brainstorm several approaches to..."
  • "Generate different angles for..."
  • "Avoid repetitive/similar outputs"

Use VS for these content types:

  • Creative writing (blog posts, stories, poems, scripts)
  • Marketing (campaign ideas, taglines, ad copy, social captions)
  • Product content (descriptions, feature bullets, value props)
  • Ideation (brainstorming, exploration, strategy options)
  • Open-ended QA (tasks with multiple valid answers)

DON'T use VS for:

  • Single-answer factual questions
  • Tasks requiring deterministic output
  • When user explicitly wants "the best" single answer
  • Real-time low-latency applications

Quick Start (30-Second Version)

For agents who need VS immediately:

1. Detect Need

User wants multiple variations → Use VS

2. Basic VS Prompt Template

Generate {k} responses to: {user_request}

Return JSON format with key "responses" (list of dicts).
Each dict must include:
• text: the response string only
• probability: estimated probability (0.0-1.0)

Give ONLY the JSON object, no extra text.

3. Standard Parameters

  • k = 5 (candidates per call)
  • temperature = 0.8
  • threshold = 0.10 (optional, for more diversity)

4. Process Output

import json
data = json.loads(llm_output)
candidates = data["responses"]
# Present to user ranked by probability

For detailed instructions: Load references/vs-core-technique.md


Progressive Learning Path

Recommended loading sequence:

Level 1: Basics (Required)

  1. Start here: references/vs-core-technique.md

- VS theory and why it works - Copy-paste ready prompt templates - Step-by-step execution workflow - Output parsing and presentation

Level 2: Task-Specific (Choose based on use case)

  1. Load: references/task-workflows.md

- Blog post ideas workflow - Social media captions workflow - Campaign/strategy ideas workflow - Story/narrative generation workflow

Level 3: Advanced (On-demand)

  1. When needed:

- Higher quality needed: references/advanced-techniques.md (VS-CoT, VS-Multi) - File operations: references/tool-integration.md (Write, batch processing) - Issues/errors: references/troubleshooting.md (Pitfalls & fixes) - Model selection: references/research-findings.md (Benchmarks)


Quick Reference Card

Copy this for quick lookup:

ParameterDefault ValueWhen to Adjust
k (candidates)5Use 3 for quick, 10 for exploration
Temperature0.7-1.0Combine with VS for extra diversity
Probability threshold0.10 (optional)Lower (0.01) for more creative outputs

Troubleshooting shortcuts:

  • Outputs too similar? → Lower threshold OR increase k OR load advanced-techniques.md
  • Quality too low? → VS-Multi workflow (see advanced-techniques.md)
  • JSON parsing errors? → Emphasize "ONLY JSON" OR use regex extraction
  • Not sure which model? → Load research-findings.md

Quality checklist before presenting:

  • Diversity achieved (different angles/styles)
  • Quality maintained (baseline standards)
  • User intent matched
  • Clean formatting (no JSON artifacts)

Resources

This skill uses progressive disclosure for optimal token efficiency:

references/

Documentation loaded on-demand based on agent needs:

  • vs-core-technique.md - Core VS concepts, prompt templates, execution steps
  • task-workflows.md - Pre-configured workflows for common content types
  • advanced-techniques.md - VS-CoT, VS-Multi, parameter tuning, refinement
  • tool-integration.md - Combining VS with file tools, batch processing
  • troubleshooting.md - Common pitfalls and solutions
  • research-findings.md - Performance benchmarks, model compatibility data

Pattern: Agent loads SKILL.md first (routing), then loads specific references as needed during execution.


Examples in Context

Example 1: Simple Brainstorming

User: "Give me 5 tagline ideas for a coffee shop"

Agent workflow:

  1. Detect: "5 ideas" → VS needed
  2. Load: vs-core-technique.md (if not already loaded)
  3. Execute: VS prompt with k=5
  4. Parse & present: 5 diverse taglines

Example 2: Production Content

User: "Write 10 blog post ideas about AI, I need them saved to a file"

Agent workflow:

  1. Detect: "10 ideas" + "saved to file" → VS + file tools
  2. Load: vs-core-technique.md + tool-integration.md
  3. Execute: VS with k=5, make 2 calls
  4. Process: Format as markdown
  5. Write: Use Write tool to save file

Example 3: Quality Refinement

User: "These are good but need more polish for production use"

Agent workflow:

  1. Detect: Quality improvement needed
  2. Load: advanced-techniques.md
  3. Execute: VS-Multi workflow (initial VS → user selects → refine)
  4. Deliver: Polished output

Ready to start? Load references/vs-core-technique.md to begin using VS.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.3%
按下载量换算32

Claude

29.41%
按下载量换算28

Cursor

19.64%
按下载量换算19

Gemini CLI

9.01%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

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

来源信息

继续浏览同类 Skills