{
  "schemaVersion": "1.0",
  "item": {
    "slug": "publer",
    "name": "Publer",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/imamark/publer",
    "canonicalUrl": "https://clawhub.ai/imamark/publer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/publer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=publer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "requirements.txt",
      "SKILL.md",
      "scripts/publer.py",
      "references/api.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/publer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/publer",
    "agentPageUrl": "https://openagent3.xyz/skills/publer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/publer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/publer/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Publer Post",
        "body": "Post and schedule social media content via the Publer API."
      },
      {
        "title": "Prerequisites",
        "body": "Python Dependencies:\n\npip install -r requirements.txt\n\nEnvironment Variables (store in TOOLS.md or set before running):\n\nPUBLER_API_KEY — API key from Publer (Business plan required)\nPUBLER_WORKSPACE_ID — Your workspace ID\nPUBLER_TIKTOK_ACCOUNT_ID — TikTok account ID (optional, get via accounts command)"
      },
      {
        "title": "List accounts",
        "body": "python3 scripts/publer.py accounts\n\nUse this first to discover account IDs."
      },
      {
        "title": "Upload media",
        "body": "python3 scripts/publer.py upload slide_1.jpg slide_2.jpg slide_3.jpg\n\nReturns media IDs (one per line as JSON). Collect these for the post command."
      },
      {
        "title": "Post TikTok carousel (immediate)",
        "body": "python3 scripts/publer.py post \\\n  --account-id $PUBLER_TIKTOK_ACCOUNT_ID \\\n  --type photo \\\n  --title \"Post title (max 90 chars)\" \\\n  --text \"Caption with #hashtags\" \\\n  --media-ids id1,id2,id3,id4,id5,id6,id7,id8"
      },
      {
        "title": "Schedule TikTok carousel",
        "body": "python3 scripts/publer.py post \\\n  --account-id $PUBLER_TIKTOK_ACCOUNT_ID \\\n  --type photo \\\n  --title \"Post title\" \\\n  --text \"Caption\" \\\n  --media-ids id1,id2,id3 \\\n  --schedule \"2025-06-01T09:00:00Z\""
      },
      {
        "title": "Dry run (preview payload)",
        "body": "Add --dry-run to print the JSON payload without sending."
      },
      {
        "title": "Check job status",
        "body": "python3 scripts/publer.py job-status <job_id>"
      },
      {
        "title": "Workflow: Post a TikTok Carousel",
        "body": "Upload all slide images → collect media IDs\nRun post with --type photo, title, caption+hashtags, and comma-separated media IDs\nScript polls job until complete — confirm success"
      },
      {
        "title": "Options",
        "body": "--privacy: PUBLIC_TO_EVERYONE (default), MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY\n--auto-music / --no-auto-music: auto-add music to carousel (default: on)\n--no-poll: submit without waiting for completion"
      },
      {
        "title": "API Reference",
        "body": "For full endpoint details, see references/api.md."
      }
    ],
    "body": "Publer Post\n\nPost and schedule social media content via the Publer API.\n\nPrerequisites\n\nPython Dependencies:\n\npip install -r requirements.txt\n\n\nEnvironment Variables (store in TOOLS.md or set before running):\n\nPUBLER_API_KEY — API key from Publer (Business plan required)\nPUBLER_WORKSPACE_ID — Your workspace ID\nPUBLER_TIKTOK_ACCOUNT_ID — TikTok account ID (optional, get via accounts command)\nScript: scripts/publer.py\nList accounts\npython3 scripts/publer.py accounts\n\n\nUse this first to discover account IDs.\n\nUpload media\npython3 scripts/publer.py upload slide_1.jpg slide_2.jpg slide_3.jpg\n\n\nReturns media IDs (one per line as JSON). Collect these for the post command.\n\nPost TikTok carousel (immediate)\npython3 scripts/publer.py post \\\n  --account-id $PUBLER_TIKTOK_ACCOUNT_ID \\\n  --type photo \\\n  --title \"Post title (max 90 chars)\" \\\n  --text \"Caption with #hashtags\" \\\n  --media-ids id1,id2,id3,id4,id5,id6,id7,id8\n\nSchedule TikTok carousel\npython3 scripts/publer.py post \\\n  --account-id $PUBLER_TIKTOK_ACCOUNT_ID \\\n  --type photo \\\n  --title \"Post title\" \\\n  --text \"Caption\" \\\n  --media-ids id1,id2,id3 \\\n  --schedule \"2025-06-01T09:00:00Z\"\n\nDry run (preview payload)\n\nAdd --dry-run to print the JSON payload without sending.\n\nCheck job status\npython3 scripts/publer.py job-status <job_id>\n\nWorkflow: Post a TikTok Carousel\nUpload all slide images → collect media IDs\nRun post with --type photo, title, caption+hashtags, and comma-separated media IDs\nScript polls job until complete — confirm success\nOptions\n--privacy: PUBLIC_TO_EVERYONE (default), MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY\n--auto-music / --no-auto-music: auto-add music to carousel (default: on)\n--no-poll: submit without waiting for completion\nAPI Reference\n\nFor full endpoint details, see references/api.md."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/imamark/publer",
    "publisherUrl": "https://clawhub.ai/imamark/publer",
    "owner": "imamark",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/publer",
    "downloadUrl": "https://openagent3.xyz/downloads/publer",
    "agentUrl": "https://openagent3.xyz/skills/publer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/publer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/publer/agent.md"
  }
}