Skip to content
cheapskate logo

Cheapskate Skill

cheapskate

Cheapskate Skill

SKILL.md

Full skill instructions

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)

PatternCostFix
Reading entire filesHighUse line ranges [1, 50]
Sequential tool callsMediumParallelize independents
Explaining before doingMediumJust do it
Asking permissionLow-MediumAct, don't ask
Repeating user's questionLowSkip acknowledgment
Long error explanationsMediumTerse: "Error: X. Fix: Y"
Multiple edit iterationsHighPlan first, single edit
Loading unused skillsMediumLoad 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 code400-800
Grep results (10 matches)200-400
Edit file100-300
Skill load500-2000
Task subagent prompt200-500
Task subagent result100-500
Web search result500-1500
Mermaid diagram100-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

# 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

SDF Interleaving

This skill connects to Software Design for Flexibility (Hanson & Sussman, 2021):

Primary Chapter: 10. Adventure Game Example

Concepts: autonomous agent, game, synthesis

GF(3) Balanced Triad

cheapskate (+) + SDF.Ch10 (+) + [balancer] (+) = 0

Skill Trit: 1 (PLUS - generation)

Secondary Chapters

  • Ch9: Generic Procedures
  • Ch4: Pattern Matching
  • Ch8: Degeneracy

Connection Pattern

Adventure games synthesize techniques. This skill integrates multiple patterns.

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.

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View