postlake-accounts
Skill2 starsChanged 2 months agoMITView on GitHub
List the social accounts connected to PostLake (X, LinkedIn, Instagram, TikTok, Facebook, Threads, Bluesky, YouTube, Pinterest) and their status. Use this first, before publishing, to get the account ids to post to.
- Reads credentials
In this repository7 other files it gives its agents.
- b2c-marketingSkill
- multi-account-operatorSkill
- postlake-analyticsSkill
- postlake-inboxSkill
- postlake-mediaSkill
- postlake-publishSkill
- postlake-scheduleSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
All requests use a Bearer key from the POSTLAKE_API_KEY environment variable:
- Distinctive: line 64
Always resolve account ids from here rather than guessing.
≈ “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
PostLake: connected accounts
Returns each connected account's acc_… id, platform, handle, and health
status. You only need this if you want to post to specific accounts by id. For most posts it's simpler to skip the lookup and post to a whole profile by
name (see the postlake-publish skill). Handy here for checking which accounts
are connected and whether any show status: "needs_reauth" (they need
reconnecting before they can post).
Auth
All requests use a Bearer key from the POSTLAKE_API_KEY environment variable:
Authorization: Bearer $POSTLAKE_API_KEYGet a key at https://app.postlake.dev/app/keys. Base URL: https://api.postlake.dev.
List connected accounts
curl https://api.postlake.dev/v1/social-accounts \
-H "Authorization: Bearer $POSTLAKE_API_KEY"Response:
{
"accounts": [
{ "id": "acc_84a4…", "platform": "bluesky", "handle": "yourbrand.bsky.social", "status": "active" },
{ "id": "acc_e553…", "platform": "linkedin", "handle": "Your Name", "status": "active" },
{ "id": "acc_54d8…", "platform": "instagram","handle": "yourbrand", "status": "needs_reauth" }
]
}status: "active": ready to post.status: "needs_reauth": the connection expired; the user must reconnect it at https://app.postlake.dev/app/channels before posting to that account.
Connecting new accounts
Connecting a platform is an OAuth flow a human completes in the browser. If a platform the user wants isn't listed, tell them to connect it at https://app.postlake.dev/app/channels, then re-list.
What platforms support
To check limits/options for a platform (character limits, media rules) before composing, call the public capabilities endpoint (no auth needed):
curl https://api.postlake.dev/v1/platforms/blueskyTips
- Always resolve account ids from here rather than guessing.
- Skip accounts with
status: "needs_reauth"and tell the user to reconnect.
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.

