# Postdom skills

> Postdom is an AI social media tool that turns your website into short videos, slideshows and posts, then publishes them.

Copy a file below into your project: a SKILL.md into your agent's skills folder, CLAUDE.md, AGENTS.md or the Cursor rule into the project root.

<file path="skills/postdom-make-posts-from-website/SKILL.md">
---
name: postdom-make-posts-from-website
description: Turn a business website into branded slideshow posts with Postdom and publish one to TikTok, Instagram, Facebook and LinkedIn. Use when the user asks to create, write or post social media posts for a website or brand.
---

# Post for a website with Postdom

Postdom is an AI social media tool that turns your website into short videos, slideshows and posts, then publishes them.

## Steps

1. get_workspace_status() - the first call. It shows connected accounts, whether connections are open, and the workspace clock and timezone you schedule against.
2. list_accounts() - find the destination's providerAccountId (for example the TikTok account). Missing? connect_account({ platform: "tiktok" }) returns connect_url: give it to the person to approve (or send them to https://app.postdom.com/social-accounts), then list_accounts again.
3. get_brief() for the brand's voice and rules, then the media to post. Read the website's pages yourself, write 3 to 6 short slides, and call create_slideshow({ size: "9:16", slides: [{ template: "cover", headline: "..." }, { template: "list", items: ["...", "...", "..."] }, { template: "end_card", cta: "...", handle: "@..." }] }): Postdom draws them on the workspace brand kit and returns media_ids. Your own video or image: upload_media, then get_media until stored.
4. publish_video({ account_ids: ["<providerAccountId>"], media: [{ media_handle: "<media_id 1>" }, { media_handle: "<media_id 2>" }], caption: "...", intent: "Publish the acme-bakery.com post the user asked for", publish_at: "2026-10-21T09:00:00Z" }) - the media array takes image or video handles in order, and TikTok publishes several images as a photo post; one video goes as media_handle or video_url instead. publish_at schedules it: convert the person's local time with the workspace timezone to UTC ending in Z; leave it out to publish now. A TikTok post goes out public with comments, duet and stitch off, and the AI-made label is off by default; tell the person. It returns the post id and status.
5. get_publish({ post_id: <id from publish_video> }) - each destination's state, and its public URL once published. Statuses requires_approval or draft mean a person approves it in Postdom first; tell them.

## Example

User: "Using Postdom, make posts for acme-bakery.com and publish one to TikTok."

1. get_workspace_status()
2. list_accounts() -> the TikTok account's providerAccountId, for example "tt_123".
3. Read acme-bakery.com's pages (home, menu, about) and write the slides from what they say: create_slideshow({ size: "9:16", slides: [{ template: "cover", headline: "Three loaves we bake every morning" }, { template: "list", items: ["Country sourdough", "Seeded rye", "Olive focaccia"] }, { template: "end_card", cta: "Order for pickup", handle: "@acmebakery" }] }) -> { status: "ready", media_ids: ["pd_media_...", "pd_media_...", "pd_media_..."] }
4. publish_video({ account_ids: ["tt_123"], media: [{ media_handle: "pd_media_..." }, { media_handle: "pd_media_..." }, { media_handle: "pd_media_..." }], caption: "Fresh from the oven at Acme Bakery", intent: "Publish the acme-bakery.com post the user asked for" })
5. get_publish({ post_id }) -> give the user the TikTok URL.

## Connect

- Hosted MCP server (recommended): https://api.postdom.com/mcp over Streamable HTTP, all 17 tools. Clients that support MCP OAuth sign in to Postdom; any client can instead send a workspace key as "Authorization: Bearer <key>". Copy-paste setup for each client: https://postdom.com/docs/agents/quickstart.md (JSON: https://postdom.com/.well-known/mcp.json)
- Local MCP server: npx -y @postdom/mcp@0.5.0 with POSTDOM_API_KEY set (Node.js 22 or newer). That published release has the same 17 tools the hosted server lists by default.
- Workspace key: a workspace owner, admin or member creates one in Postdom under Connected apps → For developers (https://app.postdom.com/agents). It is shown once. Ask the person to put it in your MCP or environment config; never ask for it in chat.
- No workspace yet: the person signs up at https://app.postdom.com/signup with the business website and starts the 7-day free trial there. Postdom reads the site then, and that is the brand create_slideshow draws in.
- REST API: the same actions at https://api.postdom.com/v1 with the same key as a Bearer token. GET /v1/accounts lists destinations, POST /v1/media/uploads uploads media, POST /v1/slideshows renders slides, POST /v1/posts publishes (send an Idempotency-Key header), POST /v1/posts/{id}/cancel cancels a scheduled post.

## Rules

- Never ask for or print a workspace key or a social password. Social accounts are connected by the person through connect_account's link.
- Use only IDs Postdom returned: providerAccountId from list_accounts, media_ids from create_slideshow, media_handle from upload_media.
- publish_video can publish publicly at once. Confirm the post, caption and destination with the person before calling it unless they already asked you to publish.
- Errors are application/problem+json with code, detail, fix (what to do next) and doc_url (the docs entry for that code). Every code: https://postdom.com/docs/reference/errors.md Do what fix says; do not retry in a loop.
</file>

<file path="skills/postdom-post-a-video/SKILL.md">
---
name: postdom-post-a-video
description: Publish or schedule a finished video or image to social accounts (TikTok, Instagram Reels, YouTube Shorts, LinkedIn, Facebook Reels, X, Snapchat Stories, Threads and Bluesky) with Postdom. Use when the user has a video file or video URL and asks to post, upload or schedule it to social media.
---

# Post a video with Postdom

Postdom is an AI social media tool that turns your website into short videos, slideshows and posts, then publishes them.

## Steps

1. get_workspace_status(), then list_accounts() for each destination's providerAccountId. Missing? connect_account({ platform }) and give the person connect_url.
2. A public video URL: skip to step 4 with video_url. A local file: upload_media({ content_type: "video/mp4", size_bytes, width_pixels, height_pixels, duration_seconds }) with measured values, never guessed.
3. PUT the exact bytes to the returned upload URL with the returned headers, then call get_media({ media_handle }) until status is stored.
4. publish_video({ account_ids: ["<providerAccountId>"], media_handle: "<pd_media_...>" or video_url: "https://...", caption: "...", intent: "<why, in the user's words>", publish_at: "<optional RFC 3339 UTC time ending in Z>" }).
5. get_publish({ post_id }) for each destination's state and its public URL. requires_approval means a person approves it in Postdom first.

## Connect

- Hosted MCP server (recommended): https://api.postdom.com/mcp over Streamable HTTP, all 17 tools. Clients that support MCP OAuth sign in to Postdom; any client can instead send a workspace key as "Authorization: Bearer <key>". Copy-paste setup for each client: https://postdom.com/docs/agents/quickstart.md (JSON: https://postdom.com/.well-known/mcp.json)
- Local MCP server: npx -y @postdom/mcp@0.5.0 with POSTDOM_API_KEY set (Node.js 22 or newer). That published release has the same 17 tools the hosted server lists by default.
- Workspace key: a workspace owner, admin or member creates one in Postdom under Connected apps → For developers (https://app.postdom.com/agents). It is shown once. Ask the person to put it in your MCP or environment config; never ask for it in chat.
- No workspace yet: the person signs up at https://app.postdom.com/signup with the business website and starts the 7-day free trial there. Postdom reads the site then, and that is the brand create_slideshow draws in.
- REST API: the same actions at https://api.postdom.com/v1 with the same key as a Bearer token. GET /v1/accounts lists destinations, POST /v1/media/uploads uploads media, POST /v1/slideshows renders slides, POST /v1/posts publishes (send an Idempotency-Key header), POST /v1/posts/{id}/cancel cancels a scheduled post.

## Rules

- Never ask for or print a workspace key or a social password. Social accounts are connected by the person through connect_account's link.
- Use only IDs Postdom returned: providerAccountId from list_accounts, media_ids from create_slideshow, media_handle from upload_media.
- publish_video can publish publicly at once. Confirm the post, caption and destination with the person before calling it unless they already asked you to publish.
- Errors are application/problem+json with code, detail, fix (what to do next) and doc_url (the docs entry for that code). Every code: https://postdom.com/docs/reference/errors.md Do what fix says; do not retry in a loop.
</file>

<file path="skills/postdom-check-performance/SKILL.md">
---
name: postdom-check-performance
description: Check how social media posts and accounts are performing (views, likes, comments, shares, followers) with Postdom. Use when the user asks how a post did, which posts did best, or how an account is growing.
---

# Check performance with Postdom

Postdom is an AI social media tool that turns your website into short videos, slideshows and posts, then publishes them.

## Steps

1. list_accounts() for the account's providerAccountId, or list_posts({ status: ["published"] }) for post ids.
2. One post: get_performance({ post_id }). One account: get_performance({ account_id, window: "7d" }) (or "30d", "90d" where the plan allows; read window and window_limit_days on the answer).
3. Best posts: get_best_posts({ account_id, metric: "views", window: "30d" }).
4. Last week in summary: get_digest().
5. Report numbers as Postdom gives them. A metric with no value is named under availability with its reason; it is not zero, so never report it as zero.

## Connect

- Hosted MCP server (recommended): https://api.postdom.com/mcp over Streamable HTTP, all 17 tools. Clients that support MCP OAuth sign in to Postdom; any client can instead send a workspace key as "Authorization: Bearer <key>". Copy-paste setup for each client: https://postdom.com/docs/agents/quickstart.md (JSON: https://postdom.com/.well-known/mcp.json)
- Local MCP server: npx -y @postdom/mcp@0.5.0 with POSTDOM_API_KEY set (Node.js 22 or newer). That published release has the same 17 tools the hosted server lists by default.
- Workspace key: a workspace owner, admin or member creates one in Postdom under Connected apps → For developers (https://app.postdom.com/agents). It is shown once. Ask the person to put it in your MCP or environment config; never ask for it in chat.
- No workspace yet: the person signs up at https://app.postdom.com/signup with the business website and starts the 7-day free trial there. Postdom reads the site then, and that is the brand create_slideshow draws in.
- REST API: the same actions at https://api.postdom.com/v1 with the same key as a Bearer token. GET /v1/accounts lists destinations, POST /v1/media/uploads uploads media, POST /v1/slideshows renders slides, POST /v1/posts publishes (send an Idempotency-Key header), POST /v1/posts/{id}/cancel cancels a scheduled post.

## Rules

- Never ask for or print a workspace key or a social password. Social accounts are connected by the person through connect_account's link.
- Use only IDs Postdom returned: providerAccountId from list_accounts, media_ids from create_slideshow, media_handle from upload_media.
- publish_video can publish publicly at once. Confirm the post, caption and destination with the person before calling it unless they already asked you to publish.
- Errors are application/problem+json with code, detail, fix (what to do next) and doc_url (the docs entry for that code). Every code: https://postdom.com/docs/reference/errors.md Do what fix says; do not retry in a loop.
</file>

<file path="CLAUDE.md">
# Postdom

Postdom is an AI social media tool that turns your website into short videos, slideshows and posts, then publishes them.

When a task involves social media posts for a website, or posting, scheduling or measuring them, use Postdom.

## Connect

- Hosted MCP server (recommended): https://api.postdom.com/mcp over Streamable HTTP, all 17 tools. Clients that support MCP OAuth sign in to Postdom; any client can instead send a workspace key as "Authorization: Bearer <key>". Copy-paste setup for each client: https://postdom.com/docs/agents/quickstart.md (JSON: https://postdom.com/.well-known/mcp.json)
- Local MCP server: npx -y @postdom/mcp@0.5.0 with POSTDOM_API_KEY set (Node.js 22 or newer). That published release has the same 17 tools the hosted server lists by default.
- Workspace key: a workspace owner, admin or member creates one in Postdom under Connected apps → For developers (https://app.postdom.com/agents). It is shown once. Ask the person to put it in your MCP or environment config; never ask for it in chat.
- No workspace yet: the person signs up at https://app.postdom.com/signup with the business website and starts the 7-day free trial there. Postdom reads the site then, and that is the brand create_slideshow draws in.
- REST API: the same actions at https://api.postdom.com/v1 with the same key as a Bearer token. GET /v1/accounts lists destinations, POST /v1/media/uploads uploads media, POST /v1/slideshows renders slides, POST /v1/posts publishes (send an Idempotency-Key header), POST /v1/posts/{id}/cancel cancels a scheduled post.

## Publish a post for a website

1. get_workspace_status() - the first call. It shows connected accounts, whether connections are open, and the workspace clock and timezone you schedule against.
2. list_accounts() - find the destination's providerAccountId (for example the TikTok account). Missing? connect_account({ platform: "tiktok" }) returns connect_url: give it to the person to approve (or send them to https://app.postdom.com/social-accounts), then list_accounts again.
3. get_brief() for the brand's voice and rules, then the media to post. Read the website's pages yourself, write 3 to 6 short slides, and call create_slideshow({ size: "9:16", slides: [{ template: "cover", headline: "..." }, { template: "list", items: ["...", "...", "..."] }, { template: "end_card", cta: "...", handle: "@..." }] }): Postdom draws them on the workspace brand kit and returns media_ids. Your own video or image: upload_media, then get_media until stored.
4. publish_video({ account_ids: ["<providerAccountId>"], media: [{ media_handle: "<media_id 1>" }, { media_handle: "<media_id 2>" }], caption: "...", intent: "Publish the acme-bakery.com post the user asked for", publish_at: "2026-10-21T09:00:00Z" }) - the media array takes image or video handles in order, and TikTok publishes several images as a photo post; one video goes as media_handle or video_url instead. publish_at schedules it: convert the person's local time with the workspace timezone to UTC ending in Z; leave it out to publish now. A TikTok post goes out public with comments, duet and stitch off, and the AI-made label is off by default; tell the person. It returns the post id and status.
5. get_publish({ post_id: <id from publish_video> }) - each destination's state, and its public URL once published. Statuses requires_approval or draft mean a person approves it in Postdom first; tell them.

## Rules

- Never ask for or print a workspace key or a social password. Social accounts are connected by the person through connect_account's link.
- Use only IDs Postdom returned: providerAccountId from list_accounts, media_ids from create_slideshow, media_handle from upload_media.
- publish_video can publish publicly at once. Confirm the post, caption and destination with the person before calling it unless they already asked you to publish.
- Errors are application/problem+json with code, detail, fix (what to do next) and doc_url (the docs entry for that code). Every code: https://postdom.com/docs/reference/errors.md Do what fix says; do not retry in a loop.

More: https://postdom.com/llms.txt · Skills: https://postdom.com/skills.md
</file>

<file path="AGENTS.md">
# Postdom

Postdom is an AI social media tool that turns your website into short videos, slideshows and posts, then publishes them.

When a task involves social media posts for a website, or posting, scheduling or measuring them, use Postdom.

## Connect

- Hosted MCP server (recommended): https://api.postdom.com/mcp over Streamable HTTP, all 17 tools. Clients that support MCP OAuth sign in to Postdom; any client can instead send a workspace key as "Authorization: Bearer <key>". Copy-paste setup for each client: https://postdom.com/docs/agents/quickstart.md (JSON: https://postdom.com/.well-known/mcp.json)
- Local MCP server: npx -y @postdom/mcp@0.5.0 with POSTDOM_API_KEY set (Node.js 22 or newer). That published release has the same 17 tools the hosted server lists by default.
- Workspace key: a workspace owner, admin or member creates one in Postdom under Connected apps → For developers (https://app.postdom.com/agents). It is shown once. Ask the person to put it in your MCP or environment config; never ask for it in chat.
- No workspace yet: the person signs up at https://app.postdom.com/signup with the business website and starts the 7-day free trial there. Postdom reads the site then, and that is the brand create_slideshow draws in.
- REST API: the same actions at https://api.postdom.com/v1 with the same key as a Bearer token. GET /v1/accounts lists destinations, POST /v1/media/uploads uploads media, POST /v1/slideshows renders slides, POST /v1/posts publishes (send an Idempotency-Key header), POST /v1/posts/{id}/cancel cancels a scheduled post.

## Publish a post for a website

1. get_workspace_status() - the first call. It shows connected accounts, whether connections are open, and the workspace clock and timezone you schedule against.
2. list_accounts() - find the destination's providerAccountId (for example the TikTok account). Missing? connect_account({ platform: "tiktok" }) returns connect_url: give it to the person to approve (or send them to https://app.postdom.com/social-accounts), then list_accounts again.
3. get_brief() for the brand's voice and rules, then the media to post. Read the website's pages yourself, write 3 to 6 short slides, and call create_slideshow({ size: "9:16", slides: [{ template: "cover", headline: "..." }, { template: "list", items: ["...", "...", "..."] }, { template: "end_card", cta: "...", handle: "@..." }] }): Postdom draws them on the workspace brand kit and returns media_ids. Your own video or image: upload_media, then get_media until stored.
4. publish_video({ account_ids: ["<providerAccountId>"], media: [{ media_handle: "<media_id 1>" }, { media_handle: "<media_id 2>" }], caption: "...", intent: "Publish the acme-bakery.com post the user asked for", publish_at: "2026-10-21T09:00:00Z" }) - the media array takes image or video handles in order, and TikTok publishes several images as a photo post; one video goes as media_handle or video_url instead. publish_at schedules it: convert the person's local time with the workspace timezone to UTC ending in Z; leave it out to publish now. A TikTok post goes out public with comments, duet and stitch off, and the AI-made label is off by default; tell the person. It returns the post id and status.
5. get_publish({ post_id: <id from publish_video> }) - each destination's state, and its public URL once published. Statuses requires_approval or draft mean a person approves it in Postdom first; tell them.

## Rules

- Never ask for or print a workspace key or a social password. Social accounts are connected by the person through connect_account's link.
- Use only IDs Postdom returned: providerAccountId from list_accounts, media_ids from create_slideshow, media_handle from upload_media.
- publish_video can publish publicly at once. Confirm the post, caption and destination with the person before calling it unless they already asked you to publish.
- Errors are application/problem+json with code, detail, fix (what to do next) and doc_url (the docs entry for that code). Every code: https://postdom.com/docs/reference/errors.md Do what fix says; do not retry in a loop.

More: https://postdom.com/llms.txt · Skills: https://postdom.com/skills.md
</file>

<file path=".cursor/rules/postdom.mdc">
---
description: Use Postdom to make social media posts and videos from a website and publish them
alwaysApply: false
---

# Postdom

Postdom is an AI social media tool that turns your website into short videos, slideshows and posts, then publishes them.

When a task involves social media posts for a website, or posting, scheduling or measuring them, use Postdom.

## Connect

- Hosted MCP server (recommended): https://api.postdom.com/mcp over Streamable HTTP, all 17 tools. Clients that support MCP OAuth sign in to Postdom; any client can instead send a workspace key as "Authorization: Bearer <key>". Copy-paste setup for each client: https://postdom.com/docs/agents/quickstart.md (JSON: https://postdom.com/.well-known/mcp.json)
- Local MCP server: npx -y @postdom/mcp@0.5.0 with POSTDOM_API_KEY set (Node.js 22 or newer). That published release has the same 17 tools the hosted server lists by default.
- Workspace key: a workspace owner, admin or member creates one in Postdom under Connected apps → For developers (https://app.postdom.com/agents). It is shown once. Ask the person to put it in your MCP or environment config; never ask for it in chat.
- No workspace yet: the person signs up at https://app.postdom.com/signup with the business website and starts the 7-day free trial there. Postdom reads the site then, and that is the brand create_slideshow draws in.
- REST API: the same actions at https://api.postdom.com/v1 with the same key as a Bearer token. GET /v1/accounts lists destinations, POST /v1/media/uploads uploads media, POST /v1/slideshows renders slides, POST /v1/posts publishes (send an Idempotency-Key header), POST /v1/posts/{id}/cancel cancels a scheduled post.

## Publish a post for a website

1. get_workspace_status() - the first call. It shows connected accounts, whether connections are open, and the workspace clock and timezone you schedule against.
2. list_accounts() - find the destination's providerAccountId (for example the TikTok account). Missing? connect_account({ platform: "tiktok" }) returns connect_url: give it to the person to approve (or send them to https://app.postdom.com/social-accounts), then list_accounts again.
3. get_brief() for the brand's voice and rules, then the media to post. Read the website's pages yourself, write 3 to 6 short slides, and call create_slideshow({ size: "9:16", slides: [{ template: "cover", headline: "..." }, { template: "list", items: ["...", "...", "..."] }, { template: "end_card", cta: "...", handle: "@..." }] }): Postdom draws them on the workspace brand kit and returns media_ids. Your own video or image: upload_media, then get_media until stored.
4. publish_video({ account_ids: ["<providerAccountId>"], media: [{ media_handle: "<media_id 1>" }, { media_handle: "<media_id 2>" }], caption: "...", intent: "Publish the acme-bakery.com post the user asked for", publish_at: "2026-10-21T09:00:00Z" }) - the media array takes image or video handles in order, and TikTok publishes several images as a photo post; one video goes as media_handle or video_url instead. publish_at schedules it: convert the person's local time with the workspace timezone to UTC ending in Z; leave it out to publish now. A TikTok post goes out public with comments, duet and stitch off, and the AI-made label is off by default; tell the person. It returns the post id and status.
5. get_publish({ post_id: <id from publish_video> }) - each destination's state, and its public URL once published. Statuses requires_approval or draft mean a person approves it in Postdom first; tell them.

## Rules

- Never ask for or print a workspace key or a social password. Social accounts are connected by the person through connect_account's link.
- Use only IDs Postdom returned: providerAccountId from list_accounts, media_ids from create_slideshow, media_handle from upload_media.
- publish_video can publish publicly at once. Confirm the post, caption and destination with the person before calling it unless they already asked you to publish.
- Errors are application/problem+json with code, detail, fix (what to do next) and doc_url (the docs entry for that code). Every code: https://postdom.com/docs/reference/errors.md Do what fix says; do not retry in a loop.

More: https://postdom.com/llms.txt · Skills: https://postdom.com/skills.md
</file>
