{
  "schemaVersion": "1.0",
  "item": {
    "slug": "hn-extract",
    "name": "HackerNews Extract",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/guoqiao/hn-extract",
    "canonicalUrl": "https://clawhub.ai/guoqiao/hn-extract",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/hn-extract",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hn-extract",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "hn-extract.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-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/hn-extract"
    },
    "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/hn-extract",
    "agentPageUrl": "https://openagent3.xyz/skills/hn-extract/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hn-extract/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hn-extract/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": "HackerNews Extract",
        "body": "Extract a HackerNews post (article + comments) into single clean Markdown for quick reading or LLM input.\n\nsee Examples"
      },
      {
        "title": "What it does",
        "body": "Accepts an HackerNews id or url\nDownload the linked article HTML, cleans and formats it.\nFetches the Hacknews post metadata and comments.\nOutputs a readable combined markdown file with original article, threaded comments, and key metadata."
      },
      {
        "title": "Requirements",
        "body": "uv installed and in PATH."
      },
      {
        "title": "Install",
        "body": "No install beyond having uv.\nDependencies will be installed automatically by uv into to a dedicated venv when run this script."
      },
      {
        "title": "Usage Workflow (Mandatory for Agents)",
        "body": "When an agent is asked to extract a HackerNews post:\n\nRun the script with an output path: uv run --script ${baseDir}/hn-extract.py <input> -o /tmp/hn-<id>.md.\nSend ONE combined message: Upload the file and ask the question in the same tool call. Use the message tool (action=send, filePath=\"/tmp/hn-<id>.md\", message=\"Extraction complete. Do you want me to summarize it?\").\nDo not output the full text or a summary directly in the chat unless specifically requested."
      },
      {
        "title": "Usage",
        "body": "# run as uv script\nuv run --script ${baseDir}/hn-extract.py <hn-id|hn-url|path/to/item.json> [-o path/to/output.md]\n\n# Examples\nuv run --script ${baseDir}/hn-extract.py 46861313 -o /tmp/output.md\nuv run --script ${baseDir}/hn-extract.py \"https://news.ycombinator.com/item?id=46861313\"\n\nOmit -o to print to stdout.\nDirectories for -o are created automatically."
      },
      {
        "title": "Notes",
        "body": "Retries are enabled for HTTP fetches.\nComments are indented by thread depth.\nSites requires authentication or blocks scraping may still fail."
      }
    ],
    "body": "HackerNews Extract\n\nExtract a HackerNews post (article + comments) into single clean Markdown for quick reading or LLM input.\n\nsee Examples\n\nWhat it does\nAccepts an HackerNews id or url\nDownload the linked article HTML, cleans and formats it.\nFetches the Hacknews post metadata and comments.\nOutputs a readable combined markdown file with original article, threaded comments, and key metadata.\nRequirements\nuv installed and in PATH.\nInstall\n\nNo install beyond having uv. Dependencies will be installed automatically by uv into to a dedicated venv when run this script.\n\nUsage Workflow (Mandatory for Agents)\n\nWhen an agent is asked to extract a HackerNews post:\n\nRun the script with an output path: uv run --script ${baseDir}/hn-extract.py <input> -o /tmp/hn-<id>.md.\nSend ONE combined message: Upload the file and ask the question in the same tool call. Use the message tool (action=send, filePath=\"/tmp/hn-<id>.md\", message=\"Extraction complete. Do you want me to summarize it?\").\nDo not output the full text or a summary directly in the chat unless specifically requested.\nUsage\n# run as uv script\nuv run --script ${baseDir}/hn-extract.py <hn-id|hn-url|path/to/item.json> [-o path/to/output.md]\n\n# Examples\nuv run --script ${baseDir}/hn-extract.py 46861313 -o /tmp/output.md\nuv run --script ${baseDir}/hn-extract.py \"https://news.ycombinator.com/item?id=46861313\"\n\nOmit -o to print to stdout.\nDirectories for -o are created automatically.\nNotes\nRetries are enabled for HTTP fetches.\nComments are indented by thread depth.\nSites requires authentication or blocks scraping may still fail."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/guoqiao/hn-extract",
    "publisherUrl": "https://clawhub.ai/guoqiao/hn-extract",
    "owner": "guoqiao",
    "version": "0.1.5",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/hn-extract",
    "downloadUrl": "https://openagent3.xyz/downloads/hn-extract",
    "agentUrl": "https://openagent3.xyz/skills/hn-extract/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hn-extract/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hn-extract/agent.md"
  }
}