{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pr-generator",
    "name": "二维码生成器",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/nbf819-web/pr-generator",
    "canonicalUrl": "https://clawhub.ai/nbf819-web/pr-generator",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/pr-generator",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pr-generator",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "requirements.txt",
      "example.py",
      "SKILL.md",
      "agent.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. 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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/pr-generator"
    },
    "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/pr-generator",
    "agentPageUrl": "https://openagent3.xyz/skills/pr-generator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pr-generator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pr-generator/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": "QR Code Generator",
        "body": "Generate QR codes from text, URLs, or local images. Perfect for sharing links, contact information, or small images via scannable codes."
      },
      {
        "title": "Features",
        "body": "✅ Generate QR codes from text\n✅ Generate QR codes from URLs\n✅ Generate QR codes from local images (auto-compressed)\n✅ Customizable QR code size and colors\n✅ Returns image path for easy sharing"
      },
      {
        "title": "Installation",
        "body": "pip install qrcode[pil] pillow"
      },
      {
        "title": "Basic Usage",
        "body": "from agent import handle_call\n\n# Generate QR for URL\nresult = handle_call({\"content\": \"https://openclaw.ai\"})\n\n# Generate QR for text\nresult = handle_call({\"content\": \"Hello OpenClaw\"})\n\n# Generate QR from image\nresult = handle_call({\"image\": \"/path/to/image.jpg\"})"
      },
      {
        "title": "Command Line",
        "body": "# Install dependencies first\npip install qrcode[pil] pillow\n\n# Run the example\npython example.py"
      },
      {
        "title": "Parameters",
        "body": "content (string): Text or URL to encode\nimage (string): Full path to local image file"
      },
      {
        "title": "Returns",
        "body": "image_path: Path to generated QR code image\nerror: Error message if failed\nmessage: Informational message"
      },
      {
        "title": "Notes",
        "body": "Images larger than 10MB will be rejected\nLarge images are automatically compressed for QR encoding\nFor best results with images, use URLs instead of local files"
      }
    ],
    "body": "QR Code Generator\n\nGenerate QR codes from text, URLs, or local images. Perfect for sharing links, contact information, or small images via scannable codes.\n\nFeatures\n✅ Generate QR codes from text\n✅ Generate QR codes from URLs\n✅ Generate QR codes from local images (auto-compressed)\n✅ Customizable QR code size and colors\n✅ Returns image path for easy sharing\nInstallation\npip install qrcode[pil] pillow\n\nUsage Examples\nBasic Usage\nfrom agent import handle_call\n\n# Generate QR for URL\nresult = handle_call({\"content\": \"https://openclaw.ai\"})\n\n# Generate QR for text\nresult = handle_call({\"content\": \"Hello OpenClaw\"})\n\n# Generate QR from image\nresult = handle_call({\"image\": \"/path/to/image.jpg\"})\n\nCommand Line\n# Install dependencies first\npip install qrcode[pil] pillow\n\n# Run the example\npython example.py\n\nParameters\ncontent (string): Text or URL to encode\nimage (string): Full path to local image file\nReturns\nimage_path: Path to generated QR code image\nerror: Error message if failed\nmessage: Informational message\nNotes\nImages larger than 10MB will be rejected\nLarge images are automatically compressed for QR encoding\nFor best results with images, use URLs instead of local files"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/nbf819-web/pr-generator",
    "publisherUrl": "https://clawhub.ai/nbf819-web/pr-generator",
    "owner": "nbf819-web",
    "version": "3.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pr-generator",
    "downloadUrl": "https://openagent3.xyz/downloads/pr-generator",
    "agentUrl": "https://openagent3.xyz/skills/pr-generator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pr-generator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pr-generator/agent.md"
  }
}