360 Secure SkillHub
360 安全技能中心

posteahora

该 Skill 采用 PosteAhora 命令行工作流:先认证并查询已连接账号,再上传媒体,创建草稿、定时或立即发布内容到多个社交平台,并可列出帖子、维护创意清单和查看分析。发布前需确认文案、渠道与时间。

分类:营销
sashadiz
sashadiz
热度 20.89
最近更新 2026-10-23 09:13:45

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add sashadiz/posteahora
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
posteahora
description
Social media scheduling & publishing CLI — plan, schedule and publish posts across 16 networks: Instagram, TikTok, YouTube, X (Twitter), Facebook, LinkedIn, Threads, Bluesky, Mastodon, Discord, Telegram, WordPress, Dev.to, Tumblr, Pinterest and Google Business, powered by PosteAhora.
allowed-tools
["Bash(posteahora:*)"]

PosteAhora

Schedule and publish social media posts across every major network from the command line, powered by PosteAhora. Use this skill to create, schedule, publish and manage social content, organize a content-idea backlog, upload media, and read analytics on the user's behalf.

Install PosteAhora CLI if it doesn't exist

Check whether the CLI is available:

posteahora --version

If it isn't installed:

npm install -g @posteahora/cli
# or
pnpm install -g @posteahora/cli

The installed command is posteahora. It can also run via npx @posteahora/cli.

Official resources

Property Value
name posteahora
description Social media scheduling CLI for publishing across 16 networks: Instagram, TikTok, YouTube, X, Facebook, LinkedIn, Threads, Bluesky, Mastodon, Discord, Telegram, WordPress, Dev.to, Tumblr, Pinterest and Google Business
command posteahora
allowed-tools Bash(posteahora:*)

⚠️ Authentication Required

You MUST authenticate before running any other command. Every command fails without a valid key.

Check status first:

posteahora auth

If not authenticated, the user creates an API key in the app under Settings → API & integrations (it looks like pah_live_…), then:

posteahora auth --key pah_live_xxxxxxxx

The key is validated and stored in ~/.posteahora/config.json. It can also be supplied via the POSTEAHORA_API_KEY environment variable (useful in CI). Never print, log, or echo the key.

Core workflow

Follow this order for any publishing task:

  1. Authenticate — posteahora auth
  2. Discover accounts — posteahora accounts to get the account ID for each platform. You cannot post without an explicit account ID.
  3. Upload media (optional) — posteahora upload <file> → returns a public URL to pass to --media.
  4. Create / schedule / publish — posteahora post …
  5. Verify — posteahora posts (or --json) to confirm status.
  6. Analyze (optional) — posteahora analytics.

Command reference

Authentication

posteahora auth --key pah_live_xxxx   # save & validate a key
posteahora auth                       # show current status
posteahora logout                     # remove the saved key

Accounts

posteahora accounts          # human-readable table
posteahora accounts --json   # machine-readable

Each row includes platform, username, the account id, and connection status. Use the id in --to platform:accountId.

Create a post

# Publish now to one or more channels
posteahora post "Launch day 🚀" --to twitter:a1b2 --to linkedin:c3d4

# Schedule for a future time (ISO 8601)
posteahora post "Morning tip" --to instagram:e5f6 --at 2026-07-20T09:00:00Z

# Draft only (nothing goes live)
posteahora post "Draft idea" --to twitter:a1b2 --draft

# With uploaded media
posteahora upload ./reel.mp4
posteahora post "New reel" --to instagram:e5f6 --media https://cdn.posteahora.com/… --at 2026-07-20T09:00:00Z

post options

  • --to platform:accountId — target channel (repeatable or comma-separated) (required)
  • --media <url> — attach media (repeatable; from upload)
  • --at <ISO 8601> — schedule for a future time (else publish now)
  • --draft — create a draft instead of publishing
  • --title, --media-type image|video, --post-type post|reel|story
  • --json — machine-readable output
  • --hashtags a,b — stored on the post but never published. Put hashtags in the caption text instead (see Caption formatting).

Caption formatting

The caption is published byte for byte — nothing re-wraps or trims it — so spacing is entirely your responsibility.

Multi-line captions need a heredoc. The caption is a raw positional argument and the shell does not expand a backslash-n inside double quotes, so posteahora post "line one\nline two" publishes the characters \n verbatim:

CAPTION=$(cat <<'EOF'
Hook line

🍷 Feature one
🥂 Feature two

Which one would you pick?

#tag #tag
EOF
)

posteahora post "$CAPTION" --to instagram:a1b2

Rules that apply to every caption:

  • One empty line between blocks (hook, body, CTA, link, hashtags); a single line break inside a list. Never 3+ breaks in a row.
  • No Markdown — **bold**, - bullets, #headings and [text](url) render literally. Use emoji or numbers for bullets. (Discord renders Markdown.)
  • Hashtags go in the caption, as the last block. --hashtags does not publish.
  • No URL in Instagram or TikTok captions — use "link in bio". URLs are fine on every other network.
  • Caption limits: X 280 · Bluesky 300 (graphemes) · Threads 500 · Mastodon 500 (your instance may differ) · Pinterest 800 (description) · Google Business 1500 · Discord 2000 · Instagram/TikTok video 2200 · LinkedIn 3000 · Telegram 4096 (1024 with media) · TikTok photos 4000 · YouTube 5000 · Facebook 63206. Blog platforms (WordPress, Dev.to, Tumblr) take the caption as the article body, with the title as a separate field. Per-platform caption overrides exist in the API/MCP (platformCaptions) but the CLI has no flag for them — post separately per channel when the text has to differ.

Manage & analyze

posteahora posts --status scheduled          # list posts by status
posteahora ideas add "5 hooks" --tags launch # add a backlog idea
posteahora ideas list
posteahora analytics --period 30d            # performance across platforms
posteahora upload ./photo.jpg                # upload media → public URL

Handling account IDs

The user will describe channels by name ("post to my Instagram and X"). Map each name to a real account ID by running posteahora accounts and matching the platform/username. Never guess an ID, and never fall back to "the first account" — if a requested platform has no connected account, tell the user and skip it.

Guardrails

  • Publishing is outward-facing and hard to undo. Before running posteahora post WITHOUT --draft, confirm the caption, channels, and time with the user — showing the caption with its real line breaks, so they approve the spacing that will actually publish. When unsure, create a --draft and ask.
  • Scheduled times must be in the future and ISO 8601.
  • Never invent media URLs, analytics numbers, or claims in captions.
  • Respect each platform's limits (e.g. X character count) — offer a per-platform caption instead of silently truncating.
  • If a command fails, report the exact error message and stop; do not retry blindly.
  • Never print or store the API key.

Errors

  • "No API key…" — run posteahora auth --key pah_live_… (or set POSTEAHORA_API_KEY).
  • --at must be in the future — the scheduled time is in the past; pick a future ISO 8601 timestamp.
  • Invalid --to … — the value isn't platform:accountId; run posteahora accounts and use a real ID.
  • HTTP 401 / 403 — key invalid or lacking scope; re-auth with a full-access key.
  • HTTP 429 — rate limited; wait and retry.

See also