{
  "schemaVersion": "1.0",
  "item": {
    "slug": "read-optimizer",
    "name": "Read Optimizer",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/autogame-17/read-optimizer",
    "canonicalUrl": "https://clawhub.ai/autogame-17/read-optimizer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "manual_only",
    "downloadUrl": "/downloads/read-optimizer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=read-optimizer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "index.js",
      "package.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Open the source page and confirm the package flow manually.",
      "Review SKILL.md if you can obtain the files.",
      "Treat this source as manual setup until the download is verified."
    ],
    "agentAssist": {
      "summary": "Use the source page and any available docs to guide the install because the item currently does not return a direct package file.",
      "steps": [
        "Open the source page via Open source listing.",
        "If you can obtain the package, extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the source page and extracted files."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I tried to install a skill package from Yavira, but the item currently does not return a direct package file. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required."
        },
        {
          "label": "Upgrade existing",
          "body": "I tried to upgrade a skill package from Yavira, but the item currently does not return a direct package file. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "read-optimizer",
      "status": "source_issue",
      "reason": "not_found",
      "recommendedAction": "review_source",
      "checkedAt": "2026-05-07T23:14:22.472Z",
      "expiresAt": "2026-05-08T23:14:22.472Z",
      "httpStatus": 404,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=read-optimizer",
      "contentType": "text/plain",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=read-optimizer",
        "contentDisposition": null,
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "read-optimizer"
      },
      "scope": "item",
      "summary": "Known item issue.",
      "detail": "This item's current download entry is known to bounce back to a listing or homepage instead of returning a package file.",
      "primaryActionLabel": "Open source listing",
      "primaryActionHref": "https://clawhub.ai/autogame-17/read-optimizer"
    },
    "validation": {
      "installChecklist": [
        "Open the source listing and confirm there is a real package or setup artifact available.",
        "Review SKILL.md before asking your agent to continue.",
        "Treat this source as manual setup until the upstream download flow is fixed."
      ],
      "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/read-optimizer",
    "agentPageUrl": "https://openagent3.xyz/skills/read-optimizer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/read-optimizer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/read-optimizer/agent.md"
  },
  "agentAssist": {
    "summary": "Use the source page and any available docs to guide the install because the item currently does not return a direct package file.",
    "steps": [
      "Open the source page via Open source listing.",
      "If you can obtain the package, extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the source page and extracted files."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I tried to install a skill package from Yavira, but the item currently does not return a direct package file. Inspect the source page and any extracted docs, then tell me what you can confirm and any manual steps still required."
      },
      {
        "label": "Upgrade existing",
        "body": "I tried to upgrade a skill package from Yavira, but the item currently does not return a direct package file. Compare the source page and any extracted docs with my current installation, then summarize what changed and what manual follow-up I still need."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Description",
        "body": "Optimizes file reading operations by providing smarter read strategies (head/tail/grep/diff) to reduce token usage and latency. Use this when you need to inspect large files efficiently without dumping the entire content."
      },
      {
        "title": "Smart Read (Head + Tail)",
        "body": "Reads the first N lines and the last N lines of a file. Good for logs or large docs.\n\nnode skills/read-optimizer/index.js --file <path> --mode smart --lines 100"
      },
      {
        "title": "Grep Read (Focus)",
        "body": "Reads lines matching a pattern (regex supported).\n\nnode skills/read-optimizer/index.js --file <path> --mode grep --pattern \"error|exception\""
      },
      {
        "title": "Diff Read (Changes)",
        "body": "Reads only the lines changed since the last git commit (if in a git repo).\n\nnode skills/read-optimizer/index.js --file <path> --mode diff"
      },
      {
        "title": "Options",
        "body": "--file <path>: Path to the file.\n--mode <smart|grep|diff>: Operation mode (default: smart).\n--lines <number>: Number of lines for head/tail (default: 50).\n--pattern <string>: Regex pattern for grep mode.\n--context <number>: Context lines for grep (default: 2)."
      }
    ],
    "body": "SKILL: Read Optimizer (read-optimizer)\nDescription\n\nOptimizes file reading operations by providing smarter read strategies (head/tail/grep/diff) to reduce token usage and latency. Use this when you need to inspect large files efficiently without dumping the entire content.\n\nUsage\nSmart Read (Head + Tail)\n\nReads the first N lines and the last N lines of a file. Good for logs or large docs.\n\nnode skills/read-optimizer/index.js --file <path> --mode smart --lines 100\n\nGrep Read (Focus)\n\nReads lines matching a pattern (regex supported).\n\nnode skills/read-optimizer/index.js --file <path> --mode grep --pattern \"error|exception\"\n\nDiff Read (Changes)\n\nReads only the lines changed since the last git commit (if in a git repo).\n\nnode skills/read-optimizer/index.js --file <path> --mode diff\n\nOptions\n--file <path>: Path to the file.\n--mode <smart|grep|diff>: Operation mode (default: smart).\n--lines <number>: Number of lines for head/tail (default: 50).\n--pattern <string>: Regex pattern for grep mode.\n--context <number>: Context lines for grep (default: 2)."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/autogame-17/read-optimizer",
    "publisherUrl": "https://clawhub.ai/autogame-17/read-optimizer",
    "owner": "autogame-17",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/read-optimizer",
    "downloadUrl": "https://openagent3.xyz/downloads/read-optimizer",
    "agentUrl": "https://openagent3.xyz/skills/read-optimizer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/read-optimizer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/read-optimizer/agent.md"
  }
}