{
  "schemaVersion": "1.0",
  "item": {
    "slug": "skill-x-post-ai-image",
    "name": "Skill X Post Ai Image",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Zero2Ai-hub/skill-x-post-ai-image",
    "canonicalUrl": "https://clawhub.ai/Zero2Ai-hub/skill-x-post-ai-image",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/skill-x-post-ai-image",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-x-post-ai-image",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/post_with_image.py"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/skill-x-post-ai-image"
    },
    "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/skill-x-post-ai-image",
    "agentPageUrl": "https://openagent3.xyz/skills/skill-x-post-ai-image/agent",
    "manifestUrl": "https://openagent3.xyz/skills/skill-x-post-ai-image/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/skill-x-post-ai-image/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "X Post with AI-Generated Image",
        "body": "Generate a Gemini AI image from a text prompt, compress it, and post it as a tweet — all in one command."
      },
      {
        "title": "Prerequisites",
        "body": "xurl CLI (X/Twitter auth) — see xurl skill\nGEMINI_API_KEY env var\nnano-banana-pro skill installed (OpenClaw)\nuv Python runner"
      },
      {
        "title": "Setup",
        "body": "export GEMINI_API_KEY=\"your-gemini-api-key\"\nexport X_CONSUMER_KEY=\"...\"\nexport X_CONSUMER_SECRET=\"...\"\nexport X_ACCESS_TOKEN=\"...\"\nexport X_ACCESS_TOKEN_SECRET=\"...\""
      },
      {
        "title": "Usage",
        "body": "# Post tweet with AI-generated image\npython3 scripts/post_with_image.py \\\n  --text \"Your tweet text here\" \\\n  --prompt \"AI image prompt — describe the visual\"\n\n# Text-only tweet\npython3 scripts/post_with_image.py \\\n  --text \"Your tweet text\" \\\n  --no-image"
      },
      {
        "title": "How it works",
        "body": "Calls Gemini image generation with prompt → PNG\nCompresses + resizes to 1200×675 JPEG (Twitter optimal)\nUploads via Twitter media API (OAuth1)\nPosts tweet with media via xurl"
      },
      {
        "title": "Inputs",
        "body": "ParamDescription--textTweet text (required)--promptImage generation prompt (optional)--no-imageSkip image, post text only"
      },
      {
        "title": "Output",
        "body": "Tweet posted; media ID and confirmation logged to stdout."
      }
    ],
    "body": "X Post with AI-Generated Image\n\nGenerate a Gemini AI image from a text prompt, compress it, and post it as a tweet — all in one command.\n\nPrerequisites\nxurl CLI (X/Twitter auth) — see xurl skill\nGEMINI_API_KEY env var\nnano-banana-pro skill installed (OpenClaw)\nuv Python runner\nSetup\nexport GEMINI_API_KEY=\"your-gemini-api-key\"\nexport X_CONSUMER_KEY=\"...\"\nexport X_CONSUMER_SECRET=\"...\"\nexport X_ACCESS_TOKEN=\"...\"\nexport X_ACCESS_TOKEN_SECRET=\"...\"\n\nUsage\n# Post tweet with AI-generated image\npython3 scripts/post_with_image.py \\\n  --text \"Your tweet text here\" \\\n  --prompt \"AI image prompt — describe the visual\"\n\n# Text-only tweet\npython3 scripts/post_with_image.py \\\n  --text \"Your tweet text\" \\\n  --no-image\n\nHow it works\nCalls Gemini image generation with prompt → PNG\nCompresses + resizes to 1200×675 JPEG (Twitter optimal)\nUploads via Twitter media API (OAuth1)\nPosts tweet with media via xurl\nInputs\nParam\tDescription\n--text\tTweet text (required)\n--prompt\tImage generation prompt (optional)\n--no-image\tSkip image, post text only\nOutput\n\nTweet posted; media ID and confirmation logged to stdout."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Zero2Ai-hub/skill-x-post-ai-image",
    "publisherUrl": "https://clawhub.ai/Zero2Ai-hub/skill-x-post-ai-image",
    "owner": "Zero2Ai-hub",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/skill-x-post-ai-image",
    "downloadUrl": "https://openagent3.xyz/downloads/skill-x-post-ai-image",
    "agentUrl": "https://openagent3.xyz/skills/skill-x-post-ai-image/agent",
    "manifestUrl": "https://openagent3.xyz/skills/skill-x-post-ai-image/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/skill-x-post-ai-image/agent.md"
  }
}