360 Secure SkillHub
360 安全技能中心

Metricool

该 Skill 提供 Node 脚本,调用 Metricool API 列出已连接品牌及其 blogId、查询已排期帖子、获取各平台最佳发布时间,并按指定时间与时区把帖子排期发布到 LinkedIn、X、Bluesky、Threads、Instagram 等平台,需配置 Metricool 用户 Token 和用户 ID。

willscott-v2
willscott-v2
热度 95.01
最近更新 2026-05-11 15:51:08
分类:营销依赖:代码执行 / 第三方 API / 读写文件应用场景:社交媒体 / 日程安排 / API 集成 / 自动化脚本 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add metricool
Metadata
name
metricool
description
Schedule and manage social media posts via Metricool API. Use when posting to multiple platforms (LinkedIn, X, Bluesky, Threads, Instagram), checking scheduled posts, or analyzing social metrics.

Metricool Integration

Schedule posts to multiple social platforms through Metricool's API.

Setup

Get your Metricool API token from the Metricool dashboard.

Add environment variables in ~/.moltbot/moltbot.json:

{
  "env": {
    "vars": {
      "METRICOOL_USER_TOKEN": "your-api-token",
      "METRICOOL_USER_ID": "your@email.com"
    }
  }
}

Or in your workspace .env:

METRICOOL_USER_TOKEN=your-api-token
METRICOOL_USER_ID=your@email.com

Scripts

Get Brands

List connected brands and their blog IDs:

node skills/metricool/scripts/get-brands.js
node skills/metricool/scripts/get-brands.js --json

Schedule a Post

node skills/metricool/scripts/schedule-post.js '{
  "platforms": ["linkedin", "x", "bluesky", "threads", "instagram"],
  "text": "Your post text here",
  "datetime": "2026-01-30T09:00:00",
  "timezone": "America/New_York",
  "blogId": "YOUR_BLOG_ID"
}'

Parameters:

  • platforms: Array — linkedin, x, bluesky, threads, instagram, facebook
  • text: String or object with per-platform text (see below)
  • datetime: ISO datetime for scheduling
  • timezone: Timezone (default: America/Chicago)
  • imageUrl: Optional publicly accessible image URL
  • blogId: Brand ID from get-brands.js

Per-platform text:

{
  "text": {
    "linkedin": "Full LinkedIn post with more detail...",
    "x": "Short X post under 280 chars",
    "bluesky": "Bluesky version under 300 chars",
    "threads": "Threads version under 500 chars",
    "instagram": "Instagram with #hashtags"
  }
}

List Scheduled Posts

node skills/metricool/scripts/list-scheduled.js
node skills/metricool/scripts/list-scheduled.js --start 2026-01-30 --end 2026-02-05

Get Best Time to Post

node skills/metricool/scripts/best-time.js linkedin
node skills/metricool/scripts/best-time.js x

Character Limits

Platform Limit
LinkedIn 3,000
X/Twitter 280
Bluesky 300
Threads 500
Instagram 2,200

Image Requirements

  • Must be publicly accessible URL (S3, GCS, etc.)
  • Recommended formats: PNG, JPG
  • Square images work best for Instagram/Threads
  • Wide images (1.91:1) work best for X/LinkedIn