{
  "schemaVersion": "1.0",
  "item": {
    "slug": "publora-mastodon",
    "name": "Publora — Mastodon",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/sergebulaev/publora-mastodon",
    "canonicalUrl": "https://clawhub.ai/sergebulaev/publora-mastodon",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/publora-mastodon",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=publora-mastodon",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.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/publora-mastodon"
    },
    "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/publora-mastodon",
    "agentPageUrl": "https://openagent3.xyz/skills/publora-mastodon/agent",
    "manifestUrl": "https://openagent3.xyz/skills/publora-mastodon/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/publora-mastodon/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": "Publora — Mastodon",
        "body": "Mastodon / Fediverse platform skill for the Publora API. For auth, core scheduling, media upload, and workspace/webhook docs, see the publora core skill.\n\nBase URL: https://api.publora.com/api/v1\nHeader: x-publora-key: sk_YOUR_KEY\nPlatform ID format: mastodon-{accountId}\n\nNote: Publora currently posts to the mastodon.social instance. Other instances are not supported at this time."
      },
      {
        "title": "Platform Limits (API)",
        "body": "PropertyLimitNotesText (toot)500 charactersInstance-configurable; some allow 5,000+ImagesUp to 4 × 16 MBJPEG, PNG, GIF, WebPVideo~99 MBMP4, MOV, WebM; no duration limit, capped by sizeText only✅ Yes—Rate limit30 media uploads/30 min300 requests/5 min per account"
      },
      {
        "title": "Post a Toot (text)",
        "body": "await fetch('https://api.publora.com/api/v1/create-post', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },\n  body: JSON.stringify({\n    content: 'Hello Fediverse! Building open, decentralized tools for everyone. #fediverse #opensource',\n    platforms: ['mastodon-123456789']\n  })\n});"
      },
      {
        "title": "Schedule a Toot",
        "body": "body: JSON.stringify({\n  content: 'Your Mastodon post here',\n  platforms: ['mastodon-123456789'],\n  scheduledTime: '2026-03-20T10:00:00.000Z'\n})"
      },
      {
        "title": "Post with Image",
        "body": "import requests\n\nHEADERS = { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' }\n\n# Step 1: Create post\npost = requests.post('https://api.publora.com/api/v1/create-post', headers=HEADERS, json={\n    'content': 'Here is a photo from our event 📷 #community',\n    'platforms': ['mastodon-123456789']\n}).json()\n\n# Step 2: Get upload URL (up to 16 MB, JPEG/PNG/GIF/WebP)\nupload = requests.post('https://api.publora.com/api/v1/get-upload-url', headers=HEADERS, json={\n    'postGroupId': post['postGroupId'],\n    'fileName': 'photo.jpg',\n    'contentType': 'image/jpeg',\n    'type': 'image'\n}).json()\n\n# Step 3: Upload\nwith open('photo.jpg', 'rb') as f:\n    requests.put(upload['uploadUrl'], headers={'Content-Type': 'image/jpeg'}, data=f)"
      },
      {
        "title": "Platform Quirks",
        "body": "mastodon.social only — Publora currently supports this instance\nGenerous image limit: 16 MB per image, much more than most platforms\nVideo capped by size (~99 MB default) — no explicit duration limit\nWebP supported — unlike Instagram, Mastodon accepts WebP natively\nFederation: Posts federate automatically to the broader Fediverse\nHashtags: Important for discoverability on Mastodon — use them in posts\nContent warnings: Not directly supported via Publora API yet; use text conventions if needed"
      }
    ],
    "body": "Publora — Mastodon\n\nMastodon / Fediverse platform skill for the Publora API. For auth, core scheduling, media upload, and workspace/webhook docs, see the publora core skill.\n\nBase URL: https://api.publora.com/api/v1\nHeader: x-publora-key: sk_YOUR_KEY\nPlatform ID format: mastodon-{accountId}\n\nNote: Publora currently posts to the mastodon.social instance. Other instances are not supported at this time.\n\nPlatform Limits (API)\nProperty\tLimit\tNotes\nText (toot)\t500 characters\tInstance-configurable; some allow 5,000+\nImages\tUp to 4 × 16 MB\tJPEG, PNG, GIF, WebP\nVideo\t~99 MB\tMP4, MOV, WebM; no duration limit, capped by size\nText only\t✅ Yes\t—\nRate limit\t30 media uploads/30 min\t300 requests/5 min per account\nPost a Toot (text)\nawait fetch('https://api.publora.com/api/v1/create-post', {\n  method: 'POST',\n  headers: { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' },\n  body: JSON.stringify({\n    content: 'Hello Fediverse! Building open, decentralized tools for everyone. #fediverse #opensource',\n    platforms: ['mastodon-123456789']\n  })\n});\n\nSchedule a Toot\nbody: JSON.stringify({\n  content: 'Your Mastodon post here',\n  platforms: ['mastodon-123456789'],\n  scheduledTime: '2026-03-20T10:00:00.000Z'\n})\n\nPost with Image\nimport requests\n\nHEADERS = { 'Content-Type': 'application/json', 'x-publora-key': 'sk_YOUR_KEY' }\n\n# Step 1: Create post\npost = requests.post('https://api.publora.com/api/v1/create-post', headers=HEADERS, json={\n    'content': 'Here is a photo from our event 📷 #community',\n    'platforms': ['mastodon-123456789']\n}).json()\n\n# Step 2: Get upload URL (up to 16 MB, JPEG/PNG/GIF/WebP)\nupload = requests.post('https://api.publora.com/api/v1/get-upload-url', headers=HEADERS, json={\n    'postGroupId': post['postGroupId'],\n    'fileName': 'photo.jpg',\n    'contentType': 'image/jpeg',\n    'type': 'image'\n}).json()\n\n# Step 3: Upload\nwith open('photo.jpg', 'rb') as f:\n    requests.put(upload['uploadUrl'], headers={'Content-Type': 'image/jpeg'}, data=f)\n\nPlatform Quirks\nmastodon.social only — Publora currently supports this instance\nGenerous image limit: 16 MB per image, much more than most platforms\nVideo capped by size (~99 MB default) — no explicit duration limit\nWebP supported — unlike Instagram, Mastodon accepts WebP natively\nFederation: Posts federate automatically to the broader Fediverse\nHashtags: Important for discoverability on Mastodon — use them in posts\nContent warnings: Not directly supported via Publora API yet; use text conventions if needed"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/sergebulaev/publora-mastodon",
    "publisherUrl": "https://clawhub.ai/sergebulaev/publora-mastodon",
    "owner": "sergebulaev",
    "version": "1.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/publora-mastodon",
    "downloadUrl": "https://openagent3.xyz/downloads/publora-mastodon",
    "agentUrl": "https://openagent3.xyz/skills/publora-mastodon/agent",
    "manifestUrl": "https://openagent3.xyz/skills/publora-mastodon/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/publora-mastodon/agent.md"
  }
}