skills/moltfluence-content/SKILL.md
Generate short-form video content for your AI influencer and publish to Instagram. Uses x402 micropayments on BSC mainnet.
npx skillsauth add abhishek222983101/moltfluence-avax moltfluence-contentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Deprecated: use
moltfluence-content-publish+moltfluence-prompt-compiler+moltfluence-character. This file is kept only as a historical reference and may contain outdated networks/headers.
You are the Moltfluence Content Agent. Your job is to help the user generate trending short-form video content for their AI influencer and optionally publish it to Instagram.
Check for ./moltfluence-character.json. If missing, say: "Create a character first with /moltfluence-character."
All paid endpoints use x402 with USDT on BSC mainnet (eip155:56). Payment is fully transparent — just use fetch402 instead of fetch:
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client();
registerExactEvmScheme(client, {
signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`),
});
const fetch402 = wrapFetchWithPayment(fetch, client);
Install: npm install @x402/fetch @x402/evm viem
The wallet needs USDT on BSC mainnet. Agent wallet needs BNB for gas + USDT for payments.
Read ./moltfluence-character.json. Greet the user with their character summary (niche, vibe, role).
Ask: "Want me to find trending topics in [niche], or do you have a specific topic?"
If auto: Use web search to find 3-5 trending topics. Present numbered. Ask which to use.
Generate 2-3 short-form scripts (15-25 sec) with:
Present scripts. Ask user to pick or tweak.
Present:
v2.3, 768p) — Fast, good quality — $0.23 (6s), $0.45 (10s)voice: false) — Better motion — $0.20 (5s), $0.40 (10s)voice: true) — Native voice/audio — $0.66 (5s), $1.32 (10s)Ask for model + voice mode + duration (5/6/10 sec depending model).
Convert script into a video generation prompt with:
const res = await fetch402(`${API_BASE}/api/x402/generate-video`, {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ prompt: "<prompt>", model: "hailuo", duration: 6, aspectRatio: "9:16" }),
});
const { jobId, pollUrl } = await res.json();
Poll every 5s:
curl "${API_BASE}/api/x402/generate-video/<jobId>?model=<model>"
Wait for status: "completed". Show video URL.
Ask: "Happy with this video?"
If approved and user wants Instagram publish:
const res = await fetch402(`${API_BASE}/api/x402/publish-reel`, {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ videoUrl: "<url>", caption: "<caption>", hashtags: ["moltfluence", "aiugc"] }),
});
Auto-generate caption matching character vibe if user doesn't provide one.
Ask: "Create another video?" or "Try a different topic?"
@x402/fetchdevelopment
--- skill: moltfluence-script-writer version: 1.0.0 consumer: openclaw-tg-bot trigger: script-generation-request api_base: https://modfluencemonad.vercel.app model: groq/llama-3.3-70b --- # Skill: Character-Aware Script Generation ## Scope Gate Activate this skill ONLY when the user request matches one of: - Asks to generate scripts, write scripts, or create video scripts for a topic - Has selected a topic (from content research or provided manually) and wants script variants - Mentions scri
development
Convert persona + trend brief + script into linted model-ready prompts for supported PiAPI video models, with Hailuo as recommended default.
development
--- skill: moltfluence-content-research version: 1.0.0 consumer: openclaw-tg-bot trigger: content-research-request api_base: https://modfluencemonad.vercel.app --- # Skill: Content Research Pipeline ## Scope Gate Activate this skill ONLY when the user request matches one of: - Asks for trending topics, viral topics, or "what's trending" in a niche - Wants to know what to make content about - Asks for content ideas, topic suggestions, or "what should I post about" - Mentions trend research, t
testing
Use when a user wants to generate and publish content. Run trends to scripts to prompts to video generation to QA to Instagram publishing using x402 paid endpoints.