content-generation

casper-studios/casper-marketplace · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/casper-studios/casper-marketplace --skill content-generation
0 commentsdiscussion
summary

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

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

Tool Cost
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
how to use content-generation

How to use content-generation on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add content-generation
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

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

The skills CLI fetches content-generation from GitHub repository casper-studios/casper-marketplace and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/content-generation

Reload or restart Cursor to activate content-generation. Access the skill through slash commands (e.g., /content-generation) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Installation Steps

  1. 1.Install skill using provided installation command
  2. 2.Test with simple use case relevant to your work
  3. 3.Evaluate output quality and relevance
  4. 4.Iterate on prompts to improve results
  5. 5.Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use When

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid When

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.753 reviews
  • Hassan Thomas· Dec 16, 2024

    We added content-generation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Lucas Nasser· Dec 8, 2024

    content-generation reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Tariq Haddad· Nov 27, 2024

    I recommend content-generation for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Mei Brown· Nov 23, 2024

    content-generation fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Hassan Verma· Nov 7, 2024

    Solid pick for teams standardizing on skills: content-generation is focused, and the summary matches what you get after install.

  • Emma Li· Nov 3, 2024

    Keeps context tight: content-generation is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Aisha Yang· Oct 26, 2024

    content-generation has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Emma Kim· Oct 22, 2024

    content-generation is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Tariq Lopez· Oct 18, 2024

    Useful defaults in content-generation — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Isabella Khanna· Oct 14, 2024

    We added content-generation from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

showing 1-10 of 53

1 / 6