Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

content-generation内容生成

Agent Skill

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

总安装

5,239

周安装

214

GitHub Stars

11

下载量

1,695
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/casper-studios/casper-marketplace --skill content-generation

简介

content-generation 利用 AI 工具生成图像、流程图、文档与客户提案等专业材料。

  • 支持 Markdown 转 PDF、Google Docs 创建与客户端定制化文案输出。
  • 提供脚本化工作流指导,涵盖素材下载、版式设计与多格式导出功能。
  • 涉及版权素材时应核对授权范围,避免生成侵犯知识产权的视觉内容。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Content Generation

Overview

Generate professional content including images, diagrams, documents, and summaries using AI-powered tools.

Quick Decision Tree

What do you need?
│
├── Generate images
│   └── references/images.md
│   └── Script: scripts/generate_images.py
│
├── Create flowchart/diagram
│   └── references/flowchart.md
│   └── Script: scripts/generate_flowchart.py
│
├── Create Google Doc
│   └── references/document.md
│   └── Script: scripts/generate_document.py
│
├── Generate client proposal
│   └── references/proposal.md
│   └── Script: scripts/generate_proposal.py
│
├── Convert Markdown to PDF
│   └── references/pdf.md
│   └── Script: scripts/md_to_pdf.py
│
└── Summarize content
    └── references/summarize.md
    └── Script: scripts/summarize_content.py

Environment Setup

# Required in .env
FAL_API_KEY=fal_xxxx              # For image generation
OPENROUTER_API_KEY=sk-or-v1-xxx   # For AI text generation

Get API keys:

Common Usage

Generate Images

# Nano Banana Pro (best quality)
python scripts/generate_images.py "Professional product photo of smartwatch" --model nano-banana-pro

# FLUX-2 (fast, cheap)
python scripts/generate_images.py "Vibrant lifestyle photo" --model flux-2 --size landscape_4_3

Create Flowchart

python scripts/generate_flowchart.py "User login: enter email, validate, check password, if correct go to dashboard"

Generate Document

python scripts/generate_document.py --input content.json --title "Q4 Report"

Generate Proposal

python scripts/generate_proposal.py --transcript-file meeting.txt --client "Acme Corp"

Cost Estimates

ToolCost
Nano Banana Pro 1K$0.15/image
Nano Banana Pro 4K$0.30/image
FLUX-2$0.012/megapixel
Flowchart~$0.005/diagram
Proposal~$0.10/doc

Security Notes

Credential Handling

  • Store FAL_API_KEY in .env file (never commit to git)
  • Store OPENROUTER_API_KEY in .env file (never commit to git)
  • Regenerate keys from respective dashboards if compromised
  • Never log or print API keys in script output

Data Privacy

  • Text prompts sent to fal.ai and OpenRouter servers
  • Generated images stored locally in .tmp/ directory
  • AI services may log prompts for service improvement
  • Avoid including sensitive/confidential data in prompts
  • Generated documents may be uploaded to Google Drive

Access Scopes

  • FAL_API_KEY - Full access to image generation models
  • OPENROUTER_API_KEY - Access to configured AI models
  • Google OAuth - Required for Google Docs creation (see google-workspace skill)

Compliance Considerations

  • AI Disclosure: Consider disclosing AI-generated content where required
  • Image Rights: Generated images subject to fal.ai terms of use
  • Copyright: AI-generated content copyright varies by jurisdiction
  • Brand Consistency: Review AI outputs against brand guidelines
  • Sensitive Content: AI image generators have content policies
  • Client Proposals: Verify accuracy before sending to clients
  • Attribution: Some contexts require AI generation disclosure

Troubleshooting

Common Issues

Issue: Image generation failed

Symptoms: fal.ai returns error or no image generated Cause: Invalid prompt, model unavailable, or API issue Solution:

  • Check prompt for policy violations (explicit content, etc.)
  • Verify model ID is correct and available
  • Try a simpler prompt to test API connectivity
  • Check fal.ai status page for outages

Issue: Content policy violation

Symptoms: "Content policy violation" or similar safety error Cause: Prompt contains flagged terms or concepts Solution:

  • Remove explicit, violent, or harmful content from prompt
  • Rephrase ambiguous terms that might trigger filters
  • Review fal.ai content policy guidelines
  • Use more general/professional language

Issue: Google Doc not created

Symptoms: Script completes but no document appears in Drive Cause: OAuth issue, folder permissions, or API error Solution:

  • Verify Google OAuth is working (see google-workspace skill)
  • Check target folder exists and is accessible
  • Delete mycreds.txt and re-authenticate
  • Look for error messages in script output

Issue: Flowchart syntax error

Symptoms: Mermaid diagram fails to render Cause: Invalid Mermaid syntax in generated diagram Solution:

  • Review generated Mermaid code for syntax errors
  • Simplify complex flows into smaller diagrams
  • Test diagram at https://mermaid.live/
  • Ensure special characters are properly escaped

Issue: PDF conversion fails

Symptoms: Error during markdown to PDF conversion Cause: Missing dependencies or invalid markdown Solution:

  • Ensure required PDF tools are installed (weasyprint, etc.)
  • Check markdown syntax is valid
  • Verify font files exist if custom fonts specified
  • Try with simpler markdown to isolate issue

Issue: OpenRouter API error

Symptoms: Text generation fails with API error Cause: Invalid API key, model unavailable, or rate limit Solution:

  • Verify OPENROUTER_API_KEY is set correctly
  • Check model availability at OpenRouter dashboard
  • Try a different model if current one is unavailable
  • Review rate limit status and add delays if needed

Resources

  • references/images.md - fal.ai image generation
  • references/flowchart.md - Mermaid diagram generation
  • references/document.md - Google Docs creation
  • references/proposal.md - Client proposal generation
  • references/pdf.md - Markdown to PDF conversion
  • references/summarize.md - Content summarization

Integration Patterns

Generate and Save

Skills: content-generation → google-workspace Use case: Create documents and store in Drive Flow:

  1. Generate content (proposal, report, summary)
  2. Format as Google Doc or PDF
  3. Upload to appropriate Drive folder via google-workspace

Proposal to CRM

Skills: content-generation → attio-crm Use case: Link generated proposals to deal records Flow:

  1. Generate client proposal from meeting transcript
  2. Upload proposal to Google Drive
  3. Add note to Attio CRM company record with proposal link

Images to Video

Skills: content-generation → video-production Use case: Create title slides for video courses Flow:

  1. Generate branded title slide images for each lesson
  2. Export images to video-compatible format
  3. Use video-production to stitch with lesson videos

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

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

平台分布

Codex

34.81%
按下载量换算590

Claude

29.81%
按下载量换算505

Cursor

20.24%
按下载量换算343

Gemini CLI

10.75%
按下载量换算182

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills