Index of every page on this site: llms.txt
All skills
postlake avatar

/postlake-inbox

@283cfc0
Run it yourself

Read and handle PostLake direct-message conversations across Facebook, Instagram, X, and Bluesky. Use when checking DMs, reading a thread, marking it read, drafting a reply, or sending an approved reply.

Use this Skill: https://skilld.dev/gh/postlake/postlake-mcp/postlake-inbox

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈55 tokens for metadata: the name and description. ≈756 when used: this file.

Description uses 2.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈220 characters, or 2.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

PostLake: unified inbox

Use PostLake's normalized inbox instead of calling four network APIs.

Start safely

  1. Call list_social_accounts to identify the connection.
  2. Call get_platform_capabilities if you do not know whether that connection supports messaging.
  3. Call list_conversations, optionally filtered by account.
  4. Check problems before claiming there are no messages.
  5. Call read_conversation with both the conversation id and account id.
  6. Draft a concise reply. Do not send until the user has asked you to send it.
  7. Call send_message, then mark_conversation_read after the thread is handled.

Conversation ids are scoped to one connected account. Never guess the account or reuse a conversation id with another connection.

REST equivalents

Action REST endpoint
List conversations GET /v1/conversations
Find or open a thread POST /v1/conversations with account and handle
Read messages GET /v1/conversations/{id}/messages?account=acc_...
Mark read POST /v1/conversations/{id}/read
Send a message POST /v1/conversations/{id}/messages

All REST requests use Authorization: Bearer $POSTLAKE_API_KEY. Reading, marking, and sending require the connected account id because a conversation id has meaning only within that connection.

What the response means

  • fromMe identifies which side sent a message. Do not infer this from handles.
  • content can describe an attachment, shared media, or an unsupported provider payload. Do not claim that an empty text means the message itself was empty.
  • The optional shape is { "kind": "attachment" | "shared_media" | "unsupported", "label": "...", "url": "..." | null }.
  • A problems entry means PostLake could not read a network. Report it. An empty items array without a problem means the network answered with no threads.
  • Cursors are opaque. Pass them back exactly as returned.

Network rules

  • Facebook and Instagram can produce message.received webhooks.
  • X and Bluesky require polling with list_conversations.
  • Sending a direct message on X costs 6 credits. Messaging on the other currently supported inbox networks does not spend credits.
  • Meta normal replies must be within 24 hours of the person's last message.
  • Never send humanAgent: true from an autonomous workflow. It asserts that a person wrote the reply, and Meta can penalize the connected account when that assertion is false. MCP deliberately does not expose this override.
  • Bluesky app passwords need direct-message access enabled when created.
  • Facebook and Instagram messaging may be unavailable until Meta grants the required permission to the connected business.

Supported boundary

PostLake currently exposes inbox messaging for Facebook, Instagram, X, and Bluesky. LinkedIn, TikTok, Threads, YouTube, and Pinterest do not provide a usable creator DM API for this product.

Docs: https://docs.postlake.dev/messages MCP: https://api.postlake.dev/mcp

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides a unified interface for managing social media direct messages through PostLake. It adheres to security best practices by using environment variables for API keys and mandating user confirmation before sending replies. A minor risk of indirect prompt injection exists as the agent processes untrusted message content from external social media platforms.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 283cfc0. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 3 months ago

README badge

README badge for postlake/postlake-mcp/postlake-inbox