Getting Into Make, Just, and Hooks

Extending tokf’s token compression to work inside Make, Just, and git hooks using shell injection and PATH shimming to intercept nested subcommands.

March 8, 2026 · 4 min · 802 words · Matjaž Domen Pečan

tokF a Different Approach to Token Compression

tokF is a configurable CLI output filter built in Rust that uses TOML pipelines to strip, extract, and compress command output before it hits an LLM — achieving 90% token reduction in real-world use.

February 20, 2026 · 7 min · 1411 words · Matjaž Domen Pečan

Finding Duplicate Rust Code Through AST Normalization (Part 1)

Building a cargo subcommand that detects duplicate Rust code by normalizing ASTs - replacing names with placeholders, erasing literals, and fingerprinting the structural skeleton.

February 14, 2026 · 7 min · 1333 words · Matjaž Domen Pečan

Building an MCP for STFU

A week of debugging OAuth flows, stateless handlers, and Claude.ai integration issues - ending with a pivot to Claude Code and 33% cost savings.

February 2, 2026 · 7 min · 1297 words · Matjaž Domen Pečan

Experimenting With MCPs

An experiment in building copy/paste MCPs for AI code refactoring, with tools to benchmark them. Hypothesis: reduce output tokens. Result: not yet.

January 26, 2026 · 7 min · 1486 words · Matjaž Domen Pečan