跳至主要内容
小龙虾小龙虾AI
🤖

Twinfold

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

下载1.1k
星标2
版本1.0.3
营销推广
安全通过

技能说明


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 <TWINFOLD_API_KEY>
Body: { "tool": "twinfold.<toolName>", "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

ToolUse
createPostGenerate a post with AI. Supports multilingual, images, first comments, per-platform adaptation, auto-publish
createArticleGenerate long-form articles with Twin knowledge
adaptContentRewrite content for a specific platform's culture and format
generateHooksGet 4 viral hook options with engagement scores
generateImageGenerate an AI image and attach to a post
repurposeContentTurn any text into multi-platform draft posts
planContentGenerate a multi-day content calendar with draft posts

Content Management

ToolUse
getPostRead a single post with full details
listPostsList posts (filter by status/platform)
updatePostEdit content, platforms, media, schedule
deletePostRemove draft/scheduled posts
listArticlesList articles

Publishing

ToolUse
publishNowPublish immediately to connected platforms
schedulePostSchedule for a future date/time

Autopilot

ToolUse
runAutopilotTrigger full autopilot pipeline (discover → create → publish)
getAutopilotQueueList posts pending review
approvePostApprove for scheduled publication
rejectPostReject an autopilot post

Intelligence

ToolUse
queryTwinAsk the AI Twin questions based on user's expertise
addKnowledgeTeach the Twin new knowledge
getTrendsFetch trending topics scored by relevance

Brand Guide & Voice

ToolUse
getBrandGuideGet the brand guide markdown
setBrandGuideUpdate brand guide (free, no credits)
generateBrandGuideAI-generate brand guide from Twin knowledge (5 credits)
listBrandVoicesList all brand voice profiles
createBrandVoiceCreate a brand voice manually
updateBrandVoiceUpdate an existing brand voice
deleteBrandVoiceDelete a brand voice
generateBrandVoiceAI-generate a brand voice analysis (5 credits)

Notifications

ToolUse
getNotificationsList notifications (unread, by type, paginated)
markNotificationReadMark one or all notifications as read
getNotificationPreferencesGet notification channel preferences

Account

ToolUse
listAccountsConnected social accounts + content languages
getCreditsCredit balance, plan, cost table
getAnalyticsPost 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

OperationCredits
Post10
Article50
Hook simulation5
Image10
First comment2
Twin query2
Brand guide generate5
Brand voice generate5

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 getTrendscreatePost 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

如何使用「Twinfold」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Twinfold技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能