{
  "schemaVersion": "1.0",
  "item": {
    "slug": "redline",
    "name": "RedLine",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/wgj/redline",
    "canonicalUrl": "https://clawhub.ai/wgj/redline",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/redline",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=redline",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "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/redline"
    },
    "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/redline",
    "agentPageUrl": "https://openagent3.xyz/skills/redline/agent",
    "manifestUrl": "https://openagent3.xyz/skills/redline/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/redline/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": "Usage Pacing",
        "body": "Check live rate-limit usage for Claude.ai and OpenAI/Codex plans, then apply pacing tiers to avoid hitting limits."
      },
      {
        "title": "claude-usage",
        "body": "Reads the Claude Code OAuth token from macOS Keychain and calls the Anthropic usage API.\n\n# Human-readable output with color bars\nscripts/claude-usage\n\n# JSON output (for programmatic use)\nscripts/claude-usage --json\n\nRequirements:\n\nmacOS with security CLI (Keychain access)\nClaude Code OAuth token in Keychain (run claude login to set up)\nToken needs user:profile scope (standard Claude Code login provides this)\n\nToken location: macOS Keychain, service Claude Code-credentials, account = your macOS username."
      },
      {
        "title": "openai-usage",
        "body": "Reads the OpenAI OAuth token from OpenClaw's auth-profiles and calls the ChatGPT usage API.\n\n# Human-readable output with color bars\nscripts/openai-usage\n\n# JSON output\nscripts/openai-usage --json\n\nRequirements:\n\nOpenClaw with an authenticated openai-codex profile (run openclaw auth openai-codex)\nAuth profiles at ~/.openclaw/agents/main/agent/auth-profiles.json"
      },
      {
        "title": "Pacing Tiers",
        "body": "Wire both scripts into your heartbeat to automatically pace work based on remaining budget:\n\nTierRemainingBehavior🟢 GREEN>50%Normal operations🟡 YELLOW25-50%Skip sub-agents, defer non-urgent research🟠 ORANGE10-25%Essential replies only, no proactive checks🔴 RED<10%Critical only, warn user"
      },
      {
        "title": "Heartbeat integration",
        "body": "Add to your HEARTBEAT.md:\n\n## Usage pacing (every heartbeat)\n- Run `scripts/claude-usage --json` and `scripts/openai-usage --json` to check rate limits.\n- Store readings in memory/heartbeat-state.json under \"usage.claude\" and \"usage.openai\".\n- Apply pacing tiers:\n  - GREEN (>50% left): normal ops\n  - YELLOW (25-50%): skip sub-agents, defer non-urgent research\n  - ORANGE (10-25%): essential replies only, no proactive checks\n  - RED (<10%): critical only, warn user\n- If entering YELLOW or worse, mention it briefly when next messaging."
      },
      {
        "title": "JSON output format",
        "body": "Claude (--json):\n\n{\n  \"five_hour\": {\"utilization\": 39.0, \"resets_at\": \"2026-02-18T04:00:00Z\"},\n  \"seven_day\": {\"utilization\": 12.0, \"resets_at\": \"2026-02-24T03:00:00Z\"},\n  \"extra_usage\": {\"is_enabled\": true, \"used_credits\": 5044, \"monthly_limit\": 5000}\n}\n\nOpenAI (--json):\n\n{\n  \"plan_type\": \"plus\",\n  \"rate_limit\": {\n    \"primary_window\": {\"used_percent\": 0, \"limit_window_seconds\": 10800, \"reset_at\": 1771556400},\n    \"secondary_window\": {\"used_percent\": 34, \"limit_window_seconds\": 86400, \"reset_at\": 1771556400}\n  },\n  \"credits\": {\"balance\": \"882.99\"}\n}"
      }
    ],
    "body": "Usage Pacing\n\nCheck live rate-limit usage for Claude.ai and OpenAI/Codex plans, then apply pacing tiers to avoid hitting limits.\n\nScripts\nclaude-usage\n\nReads the Claude Code OAuth token from macOS Keychain and calls the Anthropic usage API.\n\n# Human-readable output with color bars\nscripts/claude-usage\n\n# JSON output (for programmatic use)\nscripts/claude-usage --json\n\n\nRequirements:\n\nmacOS with security CLI (Keychain access)\nClaude Code OAuth token in Keychain (run claude login to set up)\nToken needs user:profile scope (standard Claude Code login provides this)\n\nToken location: macOS Keychain, service Claude Code-credentials, account = your macOS username.\n\nopenai-usage\n\nReads the OpenAI OAuth token from OpenClaw's auth-profiles and calls the ChatGPT usage API.\n\n# Human-readable output with color bars\nscripts/openai-usage\n\n# JSON output\nscripts/openai-usage --json\n\n\nRequirements:\n\nOpenClaw with an authenticated openai-codex profile (run openclaw auth openai-codex)\nAuth profiles at ~/.openclaw/agents/main/agent/auth-profiles.json\nPacing Tiers\n\nWire both scripts into your heartbeat to automatically pace work based on remaining budget:\n\nTier\tRemaining\tBehavior\n🟢 GREEN\t>50%\tNormal operations\n🟡 YELLOW\t25-50%\tSkip sub-agents, defer non-urgent research\n🟠 ORANGE\t10-25%\tEssential replies only, no proactive checks\n🔴 RED\t<10%\tCritical only, warn user\nHeartbeat integration\n\nAdd to your HEARTBEAT.md:\n\n## Usage pacing (every heartbeat)\n- Run `scripts/claude-usage --json` and `scripts/openai-usage --json` to check rate limits.\n- Store readings in memory/heartbeat-state.json under \"usage.claude\" and \"usage.openai\".\n- Apply pacing tiers:\n  - GREEN (>50% left): normal ops\n  - YELLOW (25-50%): skip sub-agents, defer non-urgent research\n  - ORANGE (10-25%): essential replies only, no proactive checks\n  - RED (<10%): critical only, warn user\n- If entering YELLOW or worse, mention it briefly when next messaging.\n\nJSON output format\n\nClaude (--json):\n\n{\n  \"five_hour\": {\"utilization\": 39.0, \"resets_at\": \"2026-02-18T04:00:00Z\"},\n  \"seven_day\": {\"utilization\": 12.0, \"resets_at\": \"2026-02-24T03:00:00Z\"},\n  \"extra_usage\": {\"is_enabled\": true, \"used_credits\": 5044, \"monthly_limit\": 5000}\n}\n\n\nOpenAI (--json):\n\n{\n  \"plan_type\": \"plus\",\n  \"rate_limit\": {\n    \"primary_window\": {\"used_percent\": 0, \"limit_window_seconds\": 10800, \"reset_at\": 1771556400},\n    \"secondary_window\": {\"used_percent\": 34, \"limit_window_seconds\": 86400, \"reset_at\": 1771556400}\n  },\n  \"credits\": {\"balance\": \"882.99\"}\n}"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/wgj/redline",
    "publisherUrl": "https://clawhub.ai/wgj/redline",
    "owner": "wgj",
    "version": "0.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/redline",
    "downloadUrl": "https://openagent3.xyz/downloads/redline",
    "agentUrl": "https://openagent3.xyz/skills/redline/agent",
    "manifestUrl": "https://openagent3.xyz/skills/redline/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/redline/agent.md"
  }
}