Agent skill

token-efficient

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.

Stars 7
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/ingpoc/SKILLS/tree/main/token-efficient

SKILL.md

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

bash
# 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

Tool Savings Example
execute_code 98%+ Run Python without loading
process_csv 99% 10K rows → 100 results
process_logs 95% 100K lines → 500 matches
search_tools 95% Find tools on-demand

MCP Tools

Tool Purpose
execute_code Python/Bash/Node in sandbox
process_csv Filter, aggregate CSV
process_logs Pattern match logs
search_tools Find tools by keyword
batch_process_csv Multiple CSVs at once

References

File Load When
references/patterns.md Choosing which tool
references/examples.md Need code examples

Expand your agent's capabilities with these related and highly-rated skills.

ingpoc/SKILLS

scroll-storyteller

Use when creating interactive scroll-based storytelling experiences with mouse-following spotlight effects, animated SVG art, and the Anthropic design language. Load for explainer pages, product showcases, visual narratives, or any content needing immersive scroll storytelling with organic shapes and smooth animations. Supports GSAP-powered or lightweight CSS-only animations.

7 0
Explore
ingpoc/SKILLS

enforcement

Use when implementing hooks that BLOCK invalid actions, creating quality gates for state transitions, or enforcing tested:true verification. Load when designing enforcement mechanisms. Uses exit code 2 to block, JSON permissionDecision:deny, or updatedInput modification. Rules are instructions; hooks are enforcement.

7 0
Explore
ingpoc/SKILLS

async-programming-skill

This skill provides async/await patterns and best practices for concurrent programming

7 0
Explore
ingpoc/SKILLS

postgresql-skill

This skill provides PostgreSQL-specific patterns for database design, optimization, and transaction management

7 0
Explore
ingpoc/SKILLS

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

7 0
Explore
ingpoc/SKILLS

full-stack-debugger

This skill should be used when debugging full-stack issues that span UI, backend, and database layers. It provides a systematic workflow to detect errors, analyze root causes, apply fixes iteratively, and verify solutions through automated server restarts and browser-based testing. Ideal for scenarios like failing schedulers, import errors, database issues, or API payload problems where issues originate in backend code but manifest in the UI.

7 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results