Ai-marketing-openclaw-skills social-card-gen
Generate platform-specific social post variants (Twitter, LinkedIn, Reddit) from one source input using a local Node.js script with no API dependency.
install
source · Clone the upstream repo
git clone https://github.com/BrianRWagner/ai-marketing-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/BrianRWagner/ai-marketing-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/social-card-gen" ~/.claude/skills/brianrwagner-ai-marketing-openclaw-skills-social-card-gen && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/BrianRWagner/ai-marketing-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/social-card-gen" ~/.openclaw/skills/brianrwagner-ai-marketing-openclaw-skills-social-card-gen && rm -rf "$T"
manifest:
skills/social-card-gen/SKILL.mdsource content
Social Card Generator Skill
Use this skill when a user needs one source message transformed into platform-ready social copy for Twitter, LinkedIn, and Reddit.
What it does
- Converts one source input into 3 platform variants.
- Enforces platform limits:
- Twitter: 280 chars
- LinkedIn: 3000 chars
- Reddit: no hard limit in this tool
- Applies platform style:
- Twitter: punchy + compact hashtags
- LinkedIn: professional + business framing
- Reddit: authentic + discussion-oriented
- Runs entirely offline for text/file workflows (no API required).
Files
: CLI generator.generate.js
: platform rules, tone guidance, hashtag strategy, and CTA formats.templates.js
: sample input and output.examples/
Usage
npm install # text input node generate.js --text "We reduced onboarding time by 35% with a checklist." --stdout # file input node generate.js --file examples/input-example.md --outdir examples # URL input (when network is available) node generate.js --url https://example.com/post --platforms twitter,linkedin --stdout
Why this vs ChatGPT?
- Deterministic output shape: same rules every run.
- Zero prompt iteration for routine adaptation.
- Works without external AI APIs.
- Easy to automate in CI or content pipelines.
Before / After
Before (single source):
We shipped a new onboarding flow that cut setup time and improved week-1 activation.
After (platform-ready):
- Twitter: short hook, concise body, tight hashtags, direct CTA.
- LinkedIn: professional framing with practical outcome and discussion CTA.
- Reddit: conversational framing with an open-ended question.
Case study (real workflow)
A two-person SaaS team publishes one product update weekly. They previously rewrote each update manually for Twitter, LinkedIn, and Reddit (about 20-30 minutes total). With this skill they write one source update, run
node generate.js --file update.md --outdir posts, and review 3 drafts in under 5 minutes before publishing.