OpenParable
Skip to content
← Back to skills

Token Efficient

Documents
token-efficient

Token Efficient is an Agent Skill for documents published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Use when processing 50+ items, analyzing CSV/log files, executing code in sandbox, or searching for tools. Load for data processing tasks. Achieves 98%+ token savings via in-sandbox execution, progressive disclosure, and pagination. Supports heredocs for multi-line bash.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/token-efficient-ingpoc-skills-2/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/token-efficient, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Token-Efficient MCP

Process data in sandbox, return only results. 98%+ token savings.

Instructions

  1. Search for tool: search_tools("csv") (95% savings vs loading all)
  2. Process data in sandbox (never load raw to context)
  3. Use pagination for large files: offset, limit
  4. Return summaries, not raw data

Quick Commands

# Process CSV with filter
scripts/process-csv.sh data.csv "price > 100"

# Search logs for errors
scripts/search-logs.sh app.log "ERROR|WARN"

# Execute code in sandbox
scripts/run-sandbox.sh script.py

Token Savings

ToolSavingsExample
execute_code98%+Run Python without loading
process_csv99%10K rows → 100 results
process_logs95%100K lines → 500 matches
search_tools95%Find tools on-demand

MCP Tools

ToolPurpose
execute_codePython/Bash/Node in sandbox
process_csvFilter, aggregate CSV
process_logsPattern match logs
search_toolsFind tools by keyword
batch_process_csvMultiple CSVs at once

References

FileLoad When
references/patterns.mdChoosing which tool
references/examples.mdNeed code examples