Best use case
cheapskate is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Cheapskate Skill
Teams using cheapskate should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/cheapskate/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How cheapskate Compares
| Feature / Agent | cheapskate | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Cheapskate Skill
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Cheapskate Skill
**Trit**: -1 (MINUS - validator/constrainer)
**Purpose**: Minimize Amp thread costs through token efficiency
---
## Core Principles
### 1. Token Conservation
- **Terse responses**: 1-3 sentences unless detail requested
- **No preamble/postamble**: Skip "I'll help you with..." and summaries
- **Code over prose**: Show code, not explanations
- **Links over content**: Reference files, don't paste them
### 2. Tool Call Efficiency
- **Parallel reads**: Batch independent Read/Grep calls
- **Targeted searches**: Use glob patterns, not broad scans
- **Single-pass edits**: Plan before editing, don't iterate
- **Skip redundant checks**: Trust previous results
### 3. Subagent Economics
- **Task tool for isolation**: Heavy work in subagents (tokens not returned)
- **Bounded prompts**: Subagent prompts < 500 tokens
- **No round-trips**: Give subagents full context upfront
- **Kill early**: Cancel subagents if direction changes
### 4. Context Window Management
- **Skill loading**: Only load skills when needed
- **File excerpts**: Read ranges, not full files
- **Summarize large outputs**: Truncate verbose tool results
- **Avoid re-reading**: Cache file contents mentally
---
## Anti-Patterns (Token Wasters)
| Pattern | Cost | Fix |
|---------|------|-----|
| Reading entire files | High | Use line ranges `[1, 50]` |
| Sequential tool calls | Medium | Parallelize independents |
| Explaining before doing | Medium | Just do it |
| Asking permission | Low-Medium | Act, don't ask |
| Repeating user's question | Low | Skip acknowledgment |
| Long error explanations | Medium | Terse: "Error: X. Fix: Y" |
| Multiple edit iterations | High | Plan first, single edit |
| Loading unused skills | Medium | Load on-demand |
---
## Efficient Patterns
### File Operations
```
# Bad: Read full 2000-line file
Read("/path/to/big.py")
# Good: Read relevant section
Read("/path/to/big.py", [100, 150])
# Better: Grep first, then targeted read
Grep("def target_function", path="/path/to/big.py")
Read("/path/to/big.py", [142, 165])
```
### Parallel Execution
```
# Bad: Sequential
Read(file1) → Read(file2) → Read(file3)
# Good: Parallel (single message, 3 tool calls)
Read(file1) | Read(file2) | Read(file3)
```
### Subagent Dispatch
```
# Bad: Heavy work in main thread (tokens visible)
[read 10 files, analyze, generate report]
# Good: Subagent isolation (only summary returned)
Task("Analyze 10 files, return 3-line summary")
```
### Response Length
```
# Bad (47 tokens)
"I'll help you implement that feature. Let me start by
examining the codebase to understand the current architecture,
then I'll make the necessary changes..."
# Good (3 tokens)
[starts making changes]
```
---
## Cost Estimation Heuristics
| Operation | ~Tokens |
|-----------|---------|
| Read 100 lines code | 400-800 |
| Grep results (10 matches) | 200-400 |
| Edit file | 100-300 |
| Skill load | 500-2000 |
| Task subagent prompt | 200-500 |
| Task subagent result | 100-500 |
| Web search result | 500-1500 |
| Mermaid diagram | 100-300 |
---
## Cheapskate Checklist
Before responding:
- [ ] Can I answer in < 3 sentences?
- [ ] Are all tool calls parallelized?
- [ ] Am I reading only what's needed?
- [ ] Should this be a subagent (isolated tokens)?
- [ ] Did I skip the preamble?
- [ ] Did I skip the summary?
---
## GF(3) Integration
As MINUS (-1) validator:
- Constrains token expenditure
- Validates efficiency of other skills
- Balances PLUS generators (which produce tokens)
```
Σ(generator_tokens) + Σ(validator_savings) ≡ 0 (mod 3)
```
---
## Commands
```bash
# Analyze thread token usage
just cheapskate-analyze <thread-id>
# Estimate remaining budget
just cheapskate-budget
# Compress context
just cheapskate-compress
```
---
## See Also
- `parallel-fanout` - Efficient parallel dispatch
- `triad-interleave` - Balanced token streams
- `frustration-eradication` - Don't waste tokens on frustration
## Scientific Skill Interleaving
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
### Graph Theory
- **networkx** [○] via bicomodule
- Universal graph hub
### Bibliography References
- `general`: 734 citations in bib.duckdb
## Cat# Integration
This skill maps to **Cat# = Comod(P)** as a bicomodule in the equipment structure:
```
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
```
### GF(3) Naturality
The skill participates in triads satisfying:
```
(-1) + (0) + (+1) ≡ 0 (mod 3)
```
This ensures compositional coherence in the Cat# equipment structure.Related Skills
jepsen-testing
Jepsen-style correctness testing for distributed systems under faults (partitions, crashes, clock skew) using concurrent operation histories and formal checkers (linearizability/serializability and Elle-style anomalies). Use when designing, implementing, or running Jepsen tests, or interpreting histories/violations.
Deterministic Color Generation via Metadata Hashing
**Status**: ✅ Production Ready
cyton-dongle
Connect and stream from OpenBCI Cyton/Daisy via USB dongle, including first-time radio channel pairing
asi-transient-agenda
Org-agenda-like transient views for ASI skill orchestration via nbb/squint + Emacs hydra
Topological Superintelligence (TSI)
Compositional AI framework using GF(3) triadic balance and category-theoretic foundations.
zx-calculus
Coecke's ZX-calculus for quantum circuit reasoning via string diagrams with Z-spiders (green) and X-spiders (red)
zulip-cogen
Zulip Cogen Skill 🐸⚡
zls-integration
zls-integration skill
zig
zig skill
zig-syrup-bci
Multimodal BCI pipeline in Zig: DSI-24 EEG, fNIRS mBLL, eye tracking IVT, LSL sync, EDF read/write, GF(3) conservation
zig-programming
zig-programming skill
zeroth-bot
Zeroth Bot - 3D-printed open-source humanoid robot platform for sim-to-real and RL research. Affordable entry point for humanoid robotics.