agentleFS
PostLakePostLake/postlake-mcp/skills/postlake-accounts/SKILL.md

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

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
  1. Very specific:

    All requests use a Bearer key from the POSTLAKE_API_KEY environment variable:

    line 16
  2. Distinctive:

    Always resolve account ids from here rather than guessing.

    line 64

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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_KEY

Get 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" }
 ]
}

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/bluesky

Tips

  • Always resolve account ids from here rather than guessing.
  • Skip accounts with status: "needs_reauth" and tell the user to reconnect.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.