# Send RedLine to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/redline",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=redline",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "redline",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-03T10:34:00.358Z",
      "expiresAt": "2026-05-10T10:34:00.358Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=redline",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=redline",
        "contentDisposition": "attachment; filename=\"redline-0.2.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "redline"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Usage Pacing

Check live rate-limit usage for Claude.ai and OpenAI/Codex plans, then apply pacing tiers to avoid hitting limits.

### claude-usage

Reads the Claude Code OAuth token from macOS Keychain and calls the Anthropic usage API.

# Human-readable output with color bars
scripts/claude-usage

# JSON output (for programmatic use)
scripts/claude-usage --json

Requirements:

macOS with security CLI (Keychain access)
Claude Code OAuth token in Keychain (run claude login to set up)
Token needs user:profile scope (standard Claude Code login provides this)

Token location: macOS Keychain, service Claude Code-credentials, account = your macOS username.

### openai-usage

Reads the OpenAI OAuth token from OpenClaw's auth-profiles and calls the ChatGPT usage API.

# Human-readable output with color bars
scripts/openai-usage

# JSON output
scripts/openai-usage --json

Requirements:

OpenClaw with an authenticated openai-codex profile (run openclaw auth openai-codex)
Auth profiles at ~/.openclaw/agents/main/agent/auth-profiles.json

### Pacing Tiers

Wire both scripts into your heartbeat to automatically pace work based on remaining budget:

TierRemainingBehavior🟢 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

### Heartbeat integration

Add to your HEARTBEAT.md:

## Usage pacing (every heartbeat)
- Run \`scripts/claude-usage --json\` and \`scripts/openai-usage --json\` to check rate limits.
- Store readings in memory/heartbeat-state.json under "usage.claude" and "usage.openai".
- Apply pacing tiers:
  - GREEN (>50% left): normal ops
  - YELLOW (25-50%): skip sub-agents, defer non-urgent research
  - ORANGE (10-25%): essential replies only, no proactive checks
  - RED (<10%): critical only, warn user
- If entering YELLOW or worse, mention it briefly when next messaging.

### JSON output format

Claude (--json):

{
  "five_hour": {"utilization": 39.0, "resets_at": "2026-02-18T04:00:00Z"},
  "seven_day": {"utilization": 12.0, "resets_at": "2026-02-24T03:00:00Z"},
  "extra_usage": {"is_enabled": true, "used_credits": 5044, "monthly_limit": 5000}
}

OpenAI (--json):

{
  "plan_type": "plus",
  "rate_limit": {
    "primary_window": {"used_percent": 0, "limit_window_seconds": 10800, "reset_at": 1771556400},
    "secondary_window": {"used_percent": 34, "limit_window_seconds": 86400, "reset_at": 1771556400}
  },
  "credits": {"balance": "882.99"}
}
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: wgj
- Version: 0.2.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-03T10:34:00.358Z
- Expires at: 2026-05-10T10:34:00.358Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/redline)
- [Send to Agent page](https://openagent3.xyz/skills/redline/agent)
- [JSON manifest](https://openagent3.xyz/skills/redline/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/redline/agent.md)
- [Download page](https://openagent3.xyz/downloads/redline)