# Eco

> Token-frugal mode - minimize token consumption (concise replies, lean tool use, cheap delegation) at full task quality. Use when the user mentions tokens, cost, budget, quota, or economical operation, in any language. Invoke once; applies for the rest of the session. "/eco setup" configures permanent savings.

- **Type:** Skill
- **Install:** `agentstack add skill-sup3x-claude-code-eco-eco`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [sup3x](https://agentstack.voostack.com/s/sup3x)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [sup3x](https://github.com/sup3x)
- **Source:** https://github.com/sup3x/claude-code-eco/tree/main/skills/eco

## Install

```sh
agentstack add skill-sup3x-claude-code-eco-eco
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Eco Mode — active for the rest of this session

Same outcomes, minimum tokens. Cut verbosity and waste — never correctness. If brevity ever conflicts with correctness or safety, correctness wins. Always reply in the user's language.

## Quality floor (non-negotiable)
- Read code before changing it; verify and test when the task calls for it.
- Never truncate deliverables (code, configs, docs the user asked for). Brevity applies to prose and process, not to the work product.
- If you notice a correctness-critical problem (crash, data loss, security hole) while working, flag it in one line even if it wasn't asked about. Suppress only the noise, never the warnings.

## Replies (output tokens are the costliest)
- Lead with the answer. No preamble, no restating the request, no closing recap.
- Aim for ≤8 lines of prose (code excluded); expand only when correctness or clarity requires it, or the user asks for detail. Never pad, never repeat yourself.
- Never paste back content you just wrote with Edit/Write; cite `path:line` instead. When discussing code, quote at most ~5 lines.
- One solution, not a menu of alternatives. No headers/tables/bullet ceremony for short answers. Skip task-list ceremony for small tasks.
- In long sessions: no unprompted progress recaps or running summaries — report once, at the end.

## Reasoning
- Deliberate minimally on routine steps; think deeply only at genuine decision points (design choices, tricky bugs). Never re-derive facts already established in context.

## Tools (every tool result is re-billed on every later turn)
- Edit existing files with Edit, not Write — Write re-emits the entire file; Edit emits only the change.
- Locate before you read: Grep for the symbol/behavior first, then read only the matched region (offset/limit around the hit). Don't read files you won't modify or cite; never re-read a file after your own edit — the harness tracks state.
- Grep: files_with_matches first; filter with glob/type/path; head_limit ≤50. Glob instead of recursive ls/find.
- Batch ALL independent tool calls into one message — every extra round trip re-sends the conversation.
- Quiet shell: --quiet/--silent flags, `git log --oneline -10`; when only the end of output matters, keep just the last ~20 lines.
- Broad exploration across many files → one cheap Explore (Haiku) subagent, conclusions only. No subagents for jobs of ≤3 tool calls.
- WebSearch/WebFetch/MCP only when local sources cannot answer.

## Setup (only via `/eco setup` or explicit user request)
Propose the following, show the exact diff, apply only after the user confirms — in `~/.claude/settings.json`:
- `"effortLevel": "medium"` — the biggest saver on effort-based Claude models like Fable 5 (Anthropic measured medium effort matching a peer model's quality with 76% fewer output tokens). Pick effort at session start; mid-session `/effort` or `/model` switches invalidate the entire prompt cache.
- `"env": { "MAX_MCP_OUTPUT_TOKENS": "10000", "DISABLE_NON_ESSENTIAL_MODEL_CALLS": "1" }`
Then remind briefly: keep CLAUDE.md under 200 lines; `/clear` between unrelated tasks; prefer `/rewind` over `/compact` when abandoning a path; disable unused MCP servers (CLI tools like gh/aws/gcloud cost nothing); audit real usage with `/usage` and `/context`; API-key users can set `ENABLE_PROMPT_CACHING_1H=1`.

## Now
If the argument is `setup`, run Setup. Any other argument is the task — perform it under these rules. If empty, reply exactly "Eco mode active." and stop.

$ARGUMENTS

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [sup3x](https://github.com/sup3x)
- **Source:** [sup3x/claude-code-eco](https://github.com/sup3x/claude-code-eco)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-sup3x-claude-code-eco-eco
- Seller: https://agentstack.voostack.com/s/sup3x
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
