Skip to main content

Thoughts & Insights

Showing 1-9 of 18 articles
18 Articles
5 min read

Stop Overpaying for LLM APIs. Here Is the Single Fix People Are Not Talking About

Most developers overpay 10x for LLM APIs without knowing. Prompt caching drops costs 90-99% — here is how DeepSeek and Anthropic implement it.

Prompt CachingLLM CostsDeepSeek
5 min read

How to Fix N+1 in Spring Boot JPA (And When Entity Graphs Make Things Worse)

Learn how to fix the N+1 query problem in Spring Boot JPA using @EntityGraph, and why overusing eager fetching caused a cartesian product explosion with versioned entities.

spring bootjpan+1
5 min read

How to Give an AI Agent Access to Your Live Browser Without Handing Over Passwords

How to give an AI agent access to a live, logged-in browser without sharing passwords. I compared Playwright MCP, BrowserMCP, Blueprint MCP, Comet, Gemini, and Claude — then built my own extension.

give AI agent access to browserAI agent browser automationconnect AI agent to Chrome
5 min read

How Custom CLI Tools Supercharge Claude Code and Opencode with Live Web Data

Build a custom CLI tool that gives Claude Code and Opencode real-time access to Reddit, YouTube, Google, and any website — bridging the gap between AI and the live web.

CLI tool Claude CodeCLI tool OpencodeMCP CLI
5 min read

How to Reduce Token Usage in Claude Code and Opencode

Cut 60-90% of tokens in Claude Code and Opencode with CLI tools instead of MCP servers, context compression proxies, caveman output mode, and other strategies I use daily.

Reduce Token Usage Claude CodeClaude Code Token OptimizationOpencode Token Savings
5 min read

Create Your Own Automations the Simple Way with n8n

How I replaced scattered automation scripts with n8n's visual workflow builder — Docker setup, queue mode, and why Redis matters.

n8nautomationdocker
5 min read

How to Use an MCP Server in a JavaScript Script (No AI Agent Needed)

A practical guide to programmatically connecting to and calling tools from any MCP server using the JavaScript SDK — perfect for automation scripts, testing, and tooling.

MCP ClientMCP JavaScriptModel Context Protocol
5 min read

Stop Paying for LLM API Calls: Build Your Own API with OpenCode Serve

Learn how to turn your AI coding subscription into a free, self-hosted LLM API using OpenCode serve and Go. No more per-token API bills for side projects and automation.

OpenCode serveLLM APIOpenCode API
5 min read

I Wrote a Bash Script to SSH Tunnel Into My Remote PostgreSQL Database

How I simplified accessing a PostgreSQL database on shared hosting with a short bash script that handles SSH tunneling, connection checks, and background process management.

SSH tunnelPostgreSQLbash script