skills/content-writer/SKILL.md
Generate content using AI - blog posts, social media captions, email templates
npx skillsauth add ticruz38/skills skills/content-writerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate AI-powered content for blogs, social media, and emails with tone adjustment and platform-specific formatting.
cd skills/content-writer
npm install
npm run build
# Generate a blog post
npx content-writer generate --topic "AI in Business" --type blog --tone professional --words 500
# Generate a social media post
npx content-writer generate -T "Product Launch" -t social -p linkedin --tone enthusiastic
# Generate an email
npx content-writer generate -T "Welcome" -t email -e welcome --tone friendly
# View generation history
npx content-writer history --limit 10
# View statistics
npx content-writer stats
# List available templates
npx content-writer templates
# List available tones
npx content-writer tones
import { ContentWriterSkill } from '@openclaw/content-writer';
const writer = new ContentWriterSkill();
// Generate a blog post
const blogPost = await writer.generateContent({
topic: "The Future of AI",
contentType: "blog",
tone: "professional",
wordCount: 800,
keywords: ["AI", "technology", "future"],
audience: "business leaders",
callToAction: "Subscribe to our newsletter for more insights!"
});
console.log(blogPost.content);
// Generate a social media post
const socialPost = await writer.generateContent({
topic: "New Product Launch",
contentType: "social",
platform: "linkedin",
tone: "enthusiastic",
keywords: ["productlaunch", "innovation", "tech"],
callToAction: "Learn more at our website!"
});
// Generate an email
const email = await writer.generateContent({
topic: "Welcome to Our Service",
contentType: "email",
emailType: "welcome",
tone: "friendly",
audience: "new subscribers"
});
// Get generation history
const history = await writer.getHistory('blog', 10);
// Get templates
const templates = await writer.getTemplates('email');
// Apply a template with variables
const template = templates[0];
const content = writer.applyTemplate(template, {
companyName: "Acme Corp",
firstName: "John",
benefit1: "24/7 Support",
benefit2: "Free Training",
benefit3: "Priority Access",
senderName: "Jane",
senderTitle: "Customer Success"
});
await writer.close();
Platform-specific constraints and optimizations:
Email types available:
Content is stored in SQLite at ~/.openclaw/skills/content-writer/content.db:
This skill uses local AI generation patterns and does not require external API keys. It works entirely offline.
testing
Suggest recipes based on dietary preferences, available ingredients, and cuisine preferences
development
Extract data from receipt photos using Google Vision API
business
QuickBooks Online integration for accounting sync - sync customers, invoices, and transactions with two-way sync and conflict resolution
testing
QuickBooks OAuth adapter for QuickBooks Online accounting integration. Built on top of auth-provider for secure token management with automatic refresh, multi-profile support, sandbox/production toggle, and health checks.