agentCLAWHUBUnverified

Read Optimizer

Optimizes file reading by smartly extracting head/tail lines, matching patterns, or showing git diffs to minimize token use and latency. Skill: Read Optimizer Owner: autogame-17 Summary: Optimizes file reading by smartly extracting head/tail lines, matching patterns, or showing git diffs to minimize token use and latency. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-17T15:06:12.723Z | user batch sync Archive index: Archive v1.0.0: 4 files, 2535 bytes Files: index.js (3382b), package.json (397b), SKILL.md (1133b), _meta.json (133b) File v1.0.0:

OpenClaw

Rank

62

Safety

84

Downloads

1.6k

Updated

Oct 10, 2026

Version

1.0.0

Source

CLAWHUB

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Public facts

Every fact links back to the source it came from.

Vendor
Clawhubvendor · observed Oct 10, 2026
Protocol compatibility
OpenClawcompatibility · observed Oct 10, 2026
Adoption signal
1.6K downloadsadoption · observed Oct 10, 2026
Latest release
1.0.0release · observed Feb 17, 2026
Handshake status
UNKNOWNsecurity

Install and run

Setup complexity: low.

clawhub skill install s174qjf2384d46r16zkn04qam183hbm3:read-optimizer
  1. Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
  2. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  3. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-autogame-17-read-optimizer/snapshot"

Documentation

CLAWHUB

2,155 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

# SKILL: Read Optimizer (read-optimizer)

## Description
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.

## Usage

### Smart Read (Head + Tail)
Reads the first N lines and the last N lines of a file. Good for logs or large docs.
```bash
node skills/read-optimizer/index.js --file <path> --mode smart --lines 100
```

### Grep Read (Focus)
Reads lines matching a pattern (regex supported).
```bash
node skills/read-optimizer/index.js --file <path> --mode grep --pattern "error|exception"
```

### Diff Read (Changes)
Reads only the lines changed since the last git commit (if in a git repo).
```bash
node skills/read-optimizer/index.js --file <path> --mode diff
```

## Options
- `--file <path>`: Path to the file.
- `--mode <smart|grep|diff>`: Operation mode (default: smart).
- `--lines <number>`: Number of lines for head/tail (default: 50).
- `--pattern <string>`: Regex pattern for grep mode.
- `--context <number>`: Context lines for grep (default: 2).

_meta.json

{
  "ownerId": "kn7apafdj4thknczrgxdzfd2v1808svf",
  "slug": "read-optimizer",
  "version": "1.0.0",
  "publishedAt": 1771340772723
}

package.json

{
  "name": "read-optimizer",
  "version": "1.0.0",
  "description": "Smart file reading utility (head/tail, grep, diff) to optimize token usage.",
  "main": "index.js",
  "scripts": {
    "test": "node index.js --file SKILL.md --mode smart --lines 10"
  },
  "dependencies": {},
  "keywords": [
    "read",
    "optimize",
    "grep",
    "diff"
  ],
  "author": "OpenClaw",
  "license": "MIT"
}
Github ReposUpdated 15h agoRank 70

AionUi

Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!

MCPOPENCLAW
Github ReposUpdated 6mo agoRank 70

activepieces

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

OPENCLAW
Github ReposUpdated 6mo agoRank 70

cherry-studio

AI productivity studio with smart chat, autonomous agents, and 300+ assistants.

MCPOPENCLAW
Github ReposUpdated 7mo agoRank 70

CopilotKit

The Frontend for Agents & Generative UI. React + Angular

OPENCLAW

Machine-readable data

The same record, as JSON, for agents and crawlers.

{
  "facts": [
    {
      "factKey": "vendor",
      "category": "vendor",
      "label": "Vendor",
      "value": "Clawhub",
      "href": "https://clawhub.ai/autogame-17/skills/read-optimizer",
      "sourceUrl": "https://clawhub.ai/autogame-17/skills/read-optimizer",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T08:43:38.146Z",
      "isPublic": true
    },
    {
      "factKey": "protocols",
      "category": "compatibility",
      "label": "Protocol compatibility",
      "value": "OpenClaw",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-autogame-17-read-optimizer/contract",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-autogame-17-read-optimizer/contract",
      "sourceType": "contract",
      "confidence": "medium",
      "observedAt": "2026-10-10T08:43:38.146Z",
      "isPublic": true
    },
    {
      "factKey": "traction",
      "category": "adoption",
      "label": "Adoption signal",
      "value": "1.6K downloads",
      "href": "https://clawhub.ai/autogame-17/read-optimizer",
      "sourceUrl": "https://clawhub.ai/autogame-17/read-optimizer",
      "sourceType": "profile",
      "confidence": "medium",
      "observedAt": "2026-10-10T08:43:38.146Z",
      "isPublic": true
    },
    {
      "factKey": "latest_release",
      "category": "release",
      "label": "Latest release",
      "value": "1.0.0",
      "href": "https://clawhub.ai/autogame-17/read-optimizer",
      "sourceUrl": "https://clawhub.ai/autogame-17/read-optimizer",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-02-17T15:06:12.723Z",
      "isPublic": true
    },
    {
      "factKey": "handshake_status",
      "category": "security",
      "label": "Handshake status",
      "value": "UNKNOWN",
      "href": "https://www.xpersona.co/api/v1/agents/clawhub-autogame-17-read-optimizer/trust",
      "sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-autogame-17-read-optimizer/trust",
      "sourceType": "trust",
      "confidence": "medium",
      "observedAt": null,
      "isPublic": true
    }
  ],
  "events": [
    {
      "eventType": "release",
      "title": "Release 1.0.0",
      "description": "batch sync",
      "href": "https://clawhub.ai/autogame-17/read-optimizer",
      "sourceUrl": "https://clawhub.ai/autogame-17/read-optimizer",
      "sourceType": "release",
      "confidence": "medium",
      "observedAt": "2026-02-17T15:06:12.723Z",
      "isPublic": true
    }
  ]
}

Record generated Oct 10, 2026.

Sponsored

Ads related to Read Optimizer and adjacent AI workflows.