🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Twinfold

by @lpbaril

Create, adapt, schedule, publish, and analyze AI-generated social media content across 10 platforms in 13 languages using Twinfold's API.

Versionv1.0.3
Downloads1,162
Stars⭐ 2
TERMINAL
clawhub install twinfold

πŸ“– About This Skill


name: twinfold description: Control Twinfold β€” AI-powered social media content platform β€” from your agent. Create posts, generate images, adapt content for 10 platforms in 13 languages, manage autopilot, publish, and track analytics. Use when the user wants to create social media content, post to LinkedIn/Twitter/Instagram/etc., manage their content calendar, run autopilot content generation, check trends, or interact with their Twinfold account. Triggers on: post, publish, tweet, linkedin, social media, content, schedule, autopilot, twinfold, thread, adapt, trends, repurpose. metadata: openclaw: requires: env: - TWINFOLD_API_KEY credentials: - name: TWINFOLD_API_KEY description: "Twinfold API key (starts with twf_). Get one at twinfold.app β†’ Settings β†’ API Keys." required: true prefix: "twf_"

Twinfold Skill

Control Twinfold β€” the AI thought leadership platform β€” via its MCP API.

Setup

The user needs a Twinfold API key. Check env var TWINFOLD_API_KEY.

If missing, tell the user: 1. Go to twinfold.app β†’ Settings β†’ API Keys 2. Create a key (starts with twf_) 3. Set it: export TWINFOLD_API_KEY=twf_... or add to .env

API

Endpoint: POST https://twinfold.app/api/mcp/tools Auth: Authorization: Bearer Body: { "tool": "twinfold.", "arguments": { ... } }

All calls return { "result": { ... } } on success or { "error": "..." } on failure.

Discover tools

curl https://twinfold.app/api/mcp/tools

Returns all 34 tools with schemas. No auth required.

Tools Quick Reference

Content Creation

| Tool | Use | |------|-----| | createPost | Generate a post with AI. Supports multilingual, images, first comments, per-platform adaptation, auto-publish | | createArticle | Generate long-form articles with Twin knowledge | | adaptContent | Rewrite content for a specific platform's culture and format | | generateHooks | Get 4 viral hook options with engagement scores | | generateImage | Generate an AI image and attach to a post | | repurposeContent | Turn any text into multi-platform draft posts | | planContent | Generate a multi-day content calendar with draft posts |

Content Management

| Tool | Use | |------|-----| | getPost | Read a single post with full details | | listPosts | List posts (filter by status/platform) | | updatePost | Edit content, platforms, media, schedule | | deletePost | Remove draft/scheduled posts | | listArticles | List articles |

Publishing

| Tool | Use | |------|-----| | publishNow | Publish immediately to connected platforms | | schedulePost | Schedule for a future date/time |

Autopilot

| Tool | Use | |------|-----| | runAutopilot | Trigger full autopilot pipeline (discover β†’ create β†’ publish) | | getAutopilotQueue | List posts pending review | | approvePost | Approve for scheduled publication | | rejectPost | Reject an autopilot post |

Intelligence

| Tool | Use | |------|-----| | queryTwin | Ask the AI Twin questions based on user's expertise | | addKnowledge | Teach the Twin new knowledge | | getTrends | Fetch trending topics scored by relevance |

Brand Guide & Voice

| Tool | Use | |------|-----| | getBrandGuide | Get the brand guide markdown | | setBrandGuide | Update brand guide (free, no credits) | | generateBrandGuide | AI-generate brand guide from Twin knowledge (5 credits) | | listBrandVoices | List all brand voice profiles | | createBrandVoice | Create a brand voice manually | | updateBrandVoice | Update an existing brand voice | | deleteBrandVoice | Delete a brand voice | | generateBrandVoice | AI-generate a brand voice analysis (5 credits) |

Notifications

| Tool | Use | |------|-----| | getNotifications | List notifications (unread, by type, paginated) | | markNotificationRead | Mark one or all notifications as read | | getNotificationPreferences | Get notification channel preferences |

Account

| Tool | Use | |------|-----| | listAccounts | Connected social accounts + content languages | | getCredits | Credit balance, plan, cost table | | getAnalytics | Post stats and workspace analytics |

Common Workflows

For detailed tool schemas and workflow examples, read references/workflows.md.

Quick: Create and publish a post

1. twinfold.createPost { topic, platforms, language, autoAdapt: true, autoPublish: true }

One call does it all β€” generates content, adapts per platform, publishes.

Quick: Create, review, then publish

1. twinfold.createPost { topic, platforms, language }  β†’ postId
2. Show content to user, let them edit
3. twinfold.updatePost { postId, content: editedContent }
4. twinfold.publishNow { postId }

Full pipeline with images and hooks

1. twinfold.generateHooks { topic }  β†’ pick best hook
2. twinfold.createPost { topic, platforms, language, generateImage: true, generateFirstComment: true }  β†’ postId
3. twinfold.getPost { postId }  β†’ review
4. twinfold.publishNow { postId }

Platforms

LinkedIn Β· Twitter/X Β· Instagram Β· Facebook Β· YouTube Β· TikTok Β· Pinterest Β· Threads Β· Reddit Β· Bluesky

Languages

English Β· French Β· Quebec French (fr-CA) Β· Spanish Β· German Β· Portuguese Β· Brazilian Portuguese Β· Italian Β· Dutch Β· Japanese Β· Korean Β· Chinese Β· Arabic

Set language per social account or per API call. Content generates natively (not translated).

Credit Costs

| Operation | Credits | |-----------|---------| | Post | 10 | | Article | 50 | | Hook simulation | 5 | | Image | 10 | | First comment | 2 | | Twin query | 2 | | Brand guide generate | 5 | | Brand voice generate | 5 |

Always check twinfold.getCredits before heavy operations.

Error Handling

  • 401 β†’ Invalid API key
  • 402 β†’ Insufficient credits (check with getCredits)
  • 400 β†’ Bad arguments (error message explains what's wrong)
  • 429 β†’ Rate limited (wait and retry)
  • Tips

  • Use autoAdapt: true on createPost to get platform-optimized versions automatically
  • Set language: "fr-CA" for authentic Quebec French content
  • Use getTrends β†’ createPost for trend-jacking workflows
  • repurposeContent turns blog posts, transcripts, or notes into social posts
  • planContent creates a full week of drafts in one call
  • Autopilot runs daily β€” use getAutopilotQueue + approvePost for review workflows
  • βš™οΈ Configuration

    The user needs a Twinfold API key. Check env var TWINFOLD_API_KEY.

    If missing, tell the user: 1. Go to twinfold.app β†’ Settings β†’ API Keys 2. Create a key (starts with twf_) 3. Set it: export TWINFOLD_API_KEY=twf_... or add to .env

    πŸ“‹ Tips & Best Practices

  • Use autoAdapt: true on createPost to get platform-optimized versions automatically
  • Set language: "fr-CA" for authentic Quebec French content
  • Use getTrends β†’ createPost for trend-jacking workflows
  • repurposeContent turns blog posts, transcripts, or notes into social posts
  • planContent creates a full week of drafts in one call
  • Autopilot runs daily β€” use getAutopilotQueue + approvePost for review workflows