vanx-social-planner
Skill4 starsChanged 6 months agoMITView on GitHub
Post and schedule content to all connected social media channels via VanX Funnels (GoHighLevel) Social Planner API. Use when posting organic content, scheduling posts, running test posts, or automating weekly content distribution through VanX to Facebook, Instagram, TikTok, Pinterest, YouTube, LinkedIn, and Twitter/X.
In this repository30 other files it gives its agents.
- ad-copywriterSkill
- automated-video-editorSkill
- canva-mcpSkill
- challenge-campaign-operatorSkill
- creative-strategistSkill
- daily-growth-operatorSkill
- funnel-junkies-video-publisherSkill
- funnel-message-match-auditorSkill
- ghl-funnel-inspectorSkill
- gws-best-practicesSkill
- landing-page-cro-analystSkill
- manus-apiSkill
- meta-ads-analyzerSkill
- meta-ads-campaign-auditorSkill
- meta-ads-performance-analystSkill
- meta-ads-social-schedulerSkill
- meta-live-campaign-launch-operatorSkill
- meta-paid-ads-challenge-operatorSkill
- meta-safe-campaign-builderSkill
- music-prompterSkill
- performance-reportingSkill
- persistent-computingSkill
- qualified-lead-scoringSkill
- skill-creatorSkill
- social-media-content-dashboardSkill
- split-test-evaluatorSkill
- vanx-meta-purchase-repairSkill
- video-generatorSkill
- weekly-content-operatorSkill
- workshop-workbook-builderSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 109
After publish time: check each platform directly for the live post
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
VanX Social Planner Skill
Post content to all connected social channels via the GHL Social Planner API — no manual copy-paste into VanX required.
Credentials
| Variable | Value |
| GHL Private Integration Key | pit-6ff7993c-483e-4849-be9c-8162b682850a |
| Location ID (VAN Studios) | 0v8hTB0RC0jAGJhoB4Jr |
| Eugene's User ID | pFeaeTg6P4b5E1S1Qjva |
Scope requirements: The key must have socialplanner/post.write and socialplanner/account.readonly. If you get a 401, regenerate the key in VanX → Settings → Integrations → Private Integrations with those scopes added.
Quick Start — Use the Script
For any posting task, use the pre-built script directly:
python /home/ubuntu/skills/vanx-social-planner/scripts/post_to_vanx.py \
--caption "Your caption text #hashtag" \
--image-url "https://cdn.example.com/image.jpg" \
--minutes-ahead 15 \
--type postAlways run with --dry-run first to preview which channels will be targeted before posting live:
python /home/ubuntu/skills/vanx-social-planner/scripts/post_to_vanx.py \
--caption "Test" --dry-runThe script automatically:
- Fetches all connected accounts for the location
- Filters to real social platforms only (skips community/group channels)
- Skips expired OAuth tokens
- Posts to each active channel with the correct platform-specific payload
Workflow for Weekly Content Posting
- Generate image using
generatetool → save to/home/ubuntu/webdev-static-assets/ - Upload to CDN using
manus-upload-file /path/to/image.png→ get public URL - Write caption — include brand voice, hook, CTA, and hashtags
- Dry-run to confirm target channels
- Post using the script with
--minutes-ahead 15(or longer for scheduled content) - Verify in VanX → Marketing → Social Planner → Calendar view
Posting to Specific Channels Only
To post to a subset of channels (e.g., Funnel Junkies only, not Van Studios), import the script as a module:
import sys
sys.path.insert(0, '/home/ubuntu/skills/vanx-social-planner/scripts')
from post_to_vanx import get_active_accounts, post_to_channel
from datetime import datetime, timezone, timedelta
accounts = get_active_accounts()
fj_accounts = [a for a in accounts if 'funnel' in a.get('name', '').lower()]
schedule_date = (datetime.now(timezone.utc) + timedelta(minutes=15)).strftime('%Y-%m-%dT%H:%M:%SZ')
for account in fj_accounts:
result = post_to_channel(account, caption="Your text", image_url="https://...", schedule_date=schedule_date)
print(result['channel'], '✅' if result['success'] else '❌')Platform-Specific Rules
| Platform | Caption | Image | Video | Notes |
| ✅ | ✅ | ✅ | Content OR media required | |
| ✅ (feed) | ✅ | ✅ | No caption for stories | |
| TikTok | ✅ | ❌ | ✅ | Requires tiktokPostDetails.privacyLevel — script adds automatically |
| ✅ | ✅ | ❌ | Add pinterestPostDetails.title for best results | |
| YouTube | ✅ | ❌ | ✅ | Video required for posts |
| ✅ | ✅ | ✅ | Token may expire — reconnect in VanX if 401 | |
| Twitter/X | ✅ | ✅ | ✅ | Token may expire — reconnect in VanX if 401 |
Story Posts
For Instagram/Facebook stories, omit the caption (script handles automatically with --type story):
python post_to_vanx.py --image-url "https://..." --type story --minutes-ahead 5Troubleshooting
| Symptom | Cause | Fix |
| 401 on all requests | Key missing socialplanner scopes | Regenerate key in VanX with social scopes, update GHL_KEY in script |
| 0 active channels found | Response parsing issue | Accounts are at results.accounts — see references/api-reference.md |
| 422 validation error | Missing type, userId, or accountIds | Ensure all three are in payload |
| LinkedIn/Twitter failing | Expired OAuth token | Reconnect in VanX → Social Planner → Settings → Connected Accounts |
| TikTok 422 | Missing privacyLevel | Script adds this automatically; if posting manually add tiktokPostDetails |
| Community channels included | Platform filter not applied | Script filters to SOCIAL_PLATFORMS set — community/group channels are excluded |
Verification After Posting
- Go to VanX → Marketing → Social Planner
- Switch to Calendar or List view
- Confirm posts appear with correct scheduled time
- After publish time: check each platform directly for the live post
Reference Files
references/api-reference.md— Full endpoint docs, payload schemas, Eugene's account IDs, and error referencescripts/post_to_vanx.py— Production-ready posting script with CLI and importable module interface
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

