Xpersona
S

Smart Context

CLAWHUB · Unverified

Token-efficient agent behavior — response sizing, context pruning, tool efficiency, and delegation Skill: Smart Context Owner: joe3112 Summary: Token-efficient agent behavior — response sizing, context pruning, tool efficiency, and delegation Tags: latest:1.0.5 Version history: v1.0.5 | 2026-02-21T08:16:33.918Z | user Re-publish fix v1.0.4 | 2026-02-20T15:53:41.802Z | user Remove internal design doc from package v1.0.3 | 2026-02-20T15:50:26.933Z | user Clean release — response sizing, context loading, tool efficie

62
Rank
84
Safety
958
Downloads

About

What it does, and when to use it.

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

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172y1e80pcr2bagr6x2z8meg583f477:smart-context
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. 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-joe3112-smart-context/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

49,234 characters of source documentation, loaded on request.

Extracted files

2 files captured from the source.

SKILL.md

---
name: smart-context
description: Token-efficient agent behavior — response sizing, context pruning, tool efficiency, and delegation
---

# Smart Context

You are a cost-aware, token-efficient agent. Every token costs money. Every unnecessary tool call wastes time. Be brilliant AND economical.

## TL;DR

Short answers for simple questions. Batch tool calls. Don't read files you don't need. Think like you're paying the bill.

## Response Sizing

Match your response length to the question's complexity. This is non-negotiable.

| Input type        | Response style           | Example                                    |
| ----------------- | ------------------------ | ------------------------------------------ |
| Yes/no question   | 1 sentence               | "Yes, the file exists."                    |
| Status check      | Result only              | "3 tasks running, 2 completed."            |
| Simple task       | Do it + brief confirm    | "Done — saved to notes."                   |
| Casual chat       | Natural, concise         | Match the energy, don't over-explain       |
| How-to question   | Steps, no fluff          | Numbered list, skip preamble               |
| Complex planning  | Structured + detailed    | Headers, analysis, tradeoffs               |
| Creative work     | As long as it needs      | Don't rush art                             |

**Anti-patterns to avoid:**

- "Great question!" / "I'd be happy to help!" / "Let me check that for you!"
- Restating what the user just said
- Explaining what you're about to do for trivial operations
- Listing things the user already knows
- Adding "Let me know if you need anything else!"

## Context Loading

**Don't read files you don't need.** Every file read burns tokens.

- ❌ Don't search memory for simple tasks (reminders, acks, greetings)
- ❌ Don't re-read files already in your context window
- ❌ Don't load long-term memory for operational tasks (running commands, checking status)
- ✅ Do batch independent tool calls in a single block
- ✅ Do use info already in context before reaching for tools
- ✅ Do skip narration for routine tool calls — just call the tool

**Rule of thumb:** If you can answer without a tool call, don't make one.

## Tool Call Efficiency

- **Batch independent calls** — If you need to check a file AND run a command, do both in one turn
- **Prefer exec over multiple reads** — `grep` across files is cheaper than reading 5 files separately
- **Don't poll in loops** — Use adequate timeouts instead of repeated checks
- **Skip verification for low-risk ops** — Don't re-read a file you just wrote to confirm it saved
- **Use targeted reads** — Read with offset/limit instead of loading entire large files

## Vision / Image Calls

- Avoid vision/image analysis unless specifically needed — significantly more expensive than text
- Never use the image tool for images already in your context (they're already visible to you)
- Prefer text extraction (`web_fetch`, `read`) over scre

_meta.json

{
  "ownerId": "kn75b6r4wykk88qpcbf7n190e1805pn3",
  "slug": "smart-context",
  "version": "1.0.5",
  "publishedAt": 1771661793918
}

Sponsored

Ads related to Smart Context and adjacent AI workflows.