socials-connect
Skill0 starsChanged 3 months agoMITView on GitHub
Connects a creator's TikTok, Instagram, Facebook, and YouTube accounts to the socials-assistant analytics vault via official OAuth. Use when the user wants to connect, link, or add social accounts, set up the vault for the first time, fix broken or expired connections, or store platform developer-app credentials.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- brand-outreachSkill
- media-kitSkill
- publish-packageSkill
- script-reviewSkill
- weekly-digestSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Call socials-mcp:connection_status.
- Very specific: line 14
If a connect tool returns missing_app_credentials, walk the user through the matching guide (repo docs/):
- Very specific: line 24
Call socials-mcp:connect_youtube / socials-mcp:connect_meta / socials-mcp:connect_tiktok.
- Very specific: line 25
After they finish in the browser, call socials-mcp:connection_status to confirm ok: true.
- Very specific: line 30
Call socials-mcp:snapshot (default 28-day lookback).
- Very specific: line 32
Verify with socials-mcp:top_content (days: 7).
- Distinctive: line 46
Never ask for passwords; never automate the logged-in TikTok Studio session (ToS + account risk).
≈ “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
socials-connect — guided onboarding
Goal: all of the user's platforms connected to the socials-mcp vault through official OAuth flows, plus the weekly TikTok Studio CSV habit for Studio-only data. The agent drives every step; the human only approves browser consent screens.
Prerequisites check
- Call
socials-mcp:connection_status. Skip any platform alreadyok: true. - If a connect tool returns
missing_app_credentials, walk the user through the matching guide (repodocs/):- YouTube →
docs/onboarding-google.md(Google Cloud project, 3 APIs, OAuth desktop client) - Instagram + Facebook →
docs/onboarding-meta.md(Meta app; IG Business/Creator account linked to a FB Page) - TikTok →
docs/onboarding-tiktok.md(TikTok developer app, Login Kit scopes)
- YouTube →
- Have them store credentials (they paste; never ask them to email or DM secrets):
socials-mcp config set googleClientId <id>— or env vars (see AGENTS.md).
Connect flow (per platform)
- Tell the user: "A consent screen will open — approve it and come back."
- Call
socials-mcp:connect_youtube/socials-mcp:connect_meta/socials-mcp:connect_tiktok. Each replies immediately: ✅ done, or ⏳ pending with the consent URL in the server log. - After they finish in the browser, call
socials-mcp:connection_statusto confirmok: true. connect_metaconnects Instagram AND Facebook in one flow.
First data pull
- Call
socials-mcp:snapshot(default 28-day lookback). Report per-platform row counts. - For TikTok depth: ask for their weekly TikTok Studio export (Studio → Analytics → export video-stats CSV), then call
socials-mcp:import_tiktok_csvwith the path. Explain why: retention, traffic sources, search terms, and follower-hours are Studio-only — no official API exposes them; CSV is the compliant path. - Verify with
socials-mcp:top_content(days: 7).
Finish: build the creator profile
After the first snapshot, offer to build the tuning profile (socials-mcp:profile_get → if empty): auto-fill audience_summary from socials-mcp:audience_overview and content_series from socials-mcp:top_content patterns, then ask only the 4 human-only questions — niche, tone, goals, rate floor — and save with socials-mcp:profile_set. This is what makes every other skill sound like it knows the creator.
Weekly rhythm to establish
socials-mcp:snapshotonce a week — history accrues forever in the vaultsocials-mcp:import_tiktok_csvwith the fresh Studio export (≈5 min/week)- The
weekly-digestskill reads it all
Gotchas
- Never ask for passwords; never automate the logged-in TikTok Studio session (ToS + account risk).
- Expired tokens usually self-heal on the next
snapshot(auto-refresh); if not, re-run the connect tool. - TikTok app review can take days — the app owner's own account works immediately.
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.

