{
  "schemaVersion": "1.0",
  "item": {
    "slug": "toutiao-publisher",
    "name": "Toutiao Publisher",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/guanyang/toutiao-publisher",
    "canonicalUrl": "https://clawhub.ai/guanyang/toutiao-publisher",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/toutiao-publisher",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=toutiao-publisher",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "requirements.txt",
      "README.md",
      "SKILL.md",
      "scripts/run.py",
      "scripts/config.py",
      "scripts/setup_environment.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/toutiao-publisher"
    },
    "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/toutiao-publisher",
    "agentPageUrl": "https://openagent3.xyz/skills/toutiao-publisher/agent",
    "manifestUrl": "https://openagent3.xyz/skills/toutiao-publisher/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/toutiao-publisher/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": "Toutiao Publisher Skill",
        "body": "Manage Toutiao (Today's Headlines) account, maintain persistent login session, and publish articles."
      },
      {
        "title": "When to Use This Skill",
        "body": "Trigger when user:\n\nAsks to publish to Toutiao/Today's Headlines\nWants to manage Toutiao login\nMentions \"toutiao\" or \"头条号\""
      },
      {
        "title": "Step 1: Authentication (One-Time Setup)",
        "body": "The skill requires a one-time login. The session is persisted for subsequent uses.\n\n# Browser will open for manual login (scan QR code)\npython scripts/run.py auth_manager.py setup\n\nInstructions:\n\nRun the setup command.\nA browser window will open loading the Toutiao login page.\nLog in manually (e.g., scan QR code).\nOnce logged in (redirected to dashboard), the script will save the session and close."
      },
      {
        "title": "Step 2: Publish Article",
        "body": "# Opens browser with authenticated session at publish page\npython scripts/run.py publisher.py\n\nInstructions:\n\nRun the publisher command.\nBrowser opens directly to the \"Publish Article\" page.\nWrite and publish the article manually.\nPress Ctrl+C in the terminal when done.\n\nNote: Toutiao requires titles to be 2-30 characters. This tool automatically optimizes titles to fit this constraint (truncating if >30, padding if <2).\n\nAdvanced Usage (Automated)\n\nYou can fully automate the publishing process by providing arguments:\n\n# Publish with title, content file, and cover image\npython scripts/run.py publisher.py --title \"AI Trends 2025\" --content \"article.md\" --cover \"assets/cover.jpg\" --headless"
      },
      {
        "title": "Management",
        "body": "# Check authentication status\npython scripts/run.py auth_manager.py status\n\n# Clear authentication data (logout)\npython scripts/run.py auth_manager.py clear"
      },
      {
        "title": "Technical Details",
        "body": "Persistent Auth: Uses patchright to launch a persistent browser context. Cookies and storage state are saved to data/browser_state/state.json.\nAnti-Detection: Uses patchright's stealth features to avoid bot detection.\nEnvironment: Automatically manages a virtual environment (.venv) with required dependencies."
      },
      {
        "title": "Script Reference",
        "body": "scripts/auth_manager.py: Handles login, session validation, and state persistence.\nscripts/publisher.py: Launches authenticated browser for publishing.\nscripts/run.py: Wrapper ensuring execution in the correct virtual environment."
      }
    ],
    "body": "Toutiao Publisher Skill\n\nManage Toutiao (Today's Headlines) account, maintain persistent login session, and publish articles.\n\nWhen to Use This Skill\n\nTrigger when user:\n\nAsks to publish to Toutiao/Today's Headlines\nWants to manage Toutiao login\nMentions \"toutiao\" or \"头条号\"\nCore Workflow\nStep 1: Authentication (One-Time Setup)\n\nThe skill requires a one-time login. The session is persisted for subsequent uses.\n\n# Browser will open for manual login (scan QR code)\npython scripts/run.py auth_manager.py setup\n\n\nInstructions:\n\nRun the setup command.\nA browser window will open loading the Toutiao login page.\nLog in manually (e.g., scan QR code).\nOnce logged in (redirected to dashboard), the script will save the session and close.\nStep 2: Publish Article\n# Opens browser with authenticated session at publish page\npython scripts/run.py publisher.py\n\n\nInstructions:\n\nRun the publisher command.\nBrowser opens directly to the \"Publish Article\" page.\nWrite and publish the article manually.\nPress Ctrl+C in the terminal when done.\n\nNote: Toutiao requires titles to be 2-30 characters. This tool automatically optimizes titles to fit this constraint (truncating if >30, padding if <2).\n\nAdvanced Usage (Automated)\n\nYou can fully automate the publishing process by providing arguments:\n\n# Publish with title, content file, and cover image\npython scripts/run.py publisher.py --title \"AI Trends 2025\" --content \"article.md\" --cover \"assets/cover.jpg\" --headless\n\nManagement\n# Check authentication status\npython scripts/run.py auth_manager.py status\n\n# Clear authentication data (logout)\npython scripts/run.py auth_manager.py clear\n\nTechnical Details\nPersistent Auth: Uses patchright to launch a persistent browser context. Cookies and storage state are saved to data/browser_state/state.json.\nAnti-Detection: Uses patchright's stealth features to avoid bot detection.\nEnvironment: Automatically manages a virtual environment (.venv) with required dependencies.\nScript Reference\nscripts/auth_manager.py: Handles login, session validation, and state persistence.\nscripts/publisher.py: Launches authenticated browser for publishing.\nscripts/run.py: Wrapper ensuring execution in the correct virtual environment."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/guanyang/toutiao-publisher",
    "publisherUrl": "https://clawhub.ai/guanyang/toutiao-publisher",
    "owner": "guanyang",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/toutiao-publisher",
    "downloadUrl": "https://openagent3.xyz/downloads/toutiao-publisher",
    "agentUrl": "https://openagent3.xyz/skills/toutiao-publisher/agent",
    "manifestUrl": "https://openagent3.xyz/skills/toutiao-publisher/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/toutiao-publisher/agent.md"
  }
}