Solo Stack Kits Directory
Claude Code workflows & skills for solo consultants and freelancers

Claude Code Tips, Setup & Productivity (68)

session-archive: back up Claude Code session logs before the 30-day auto-delete

session-archive is a stdlib-only Python CLI that gzips, indexes, searches and restores Claude Code session logs before the default 30-day auto-delete.
@haoli · dev.to · 2026-10-17 · Tips, Setup & Productivity · #

How the Claude Code team does code review

HN discussion of Anthropic's blog post on how the Claude Code team handles code review.
pretext · Hacker News · 2026-10-16 · Tips, Setup & Productivity · #

Same Local Model, 3 Coding Agents: pi 12/12, Codex 12/12, Claude Code 7/12 on a 6GB GPU

A small offline test running the same local models on a 6GB laptop GPU through pi, Codex and Claude Code, where pi and Codex passed 12/12 tasks and Claude Code 7/12.
@kunfieldnotes · dev.to · 2026-10-16 · Tips, Setup & Productivity · #

Let Claude Code Read Your Backend Repo, Not Edit It: --add-dir Plus One Deny Rule

How to give Claude Code a second repo as read-only reference with --add-dir plus an Edit deny rule, since added directories follow the same edit permissions as the main one by default.
@gabrielanhaia · dev.to · 2026-10-16 · Tips, Setup & Productivity · #

Your CLAUDE.md Isn't Memory. It's a Sticky Note That Keeps Growing (and Your Team Has Five).

Why CLAUDE.md/AGENTS.md files fail as team memory (bloat, no recall, merge conflicts) and six practical fixes: rules-only files, decision logs, investigation notes, PR review, pruning, and shared search.
@icegaming · dev.to · 2026-10-14 · Tips, Setup & Productivity · #

⌨️ Série: Claude Code CLI: guia técnico — Parte 1: fundamentos e configuração

Part 1 of a Portuguese-language Claude Code CLI guide built from the official docs, covering install, entry commands, shortcuts, slash commands, permission modes, CLAUDE.md and settings.json.
@diegobrandao · dev.to · 2026-10-14 · Tips, Setup & Productivity · #

Avoid These 4 Claude Code Context Antipatterns

Four common ways Claude Code context gets polluted, with fixes using /clear, /rewind, subagents and a lean CLAUDE.md.
@iggredible · dev.to · 2026-10-13 · Tips, Setup & Productivity · #

Rename an API Field Across 3 Repos in One Claude Code Task (No Monorepo)

How to rename an API field across three separate repos in one Claude Code task using --add-dir, a repo map and a stale-caller grep.
@gabrielanhaia · dev.to · 2026-10-13 · Tips, Setup & Productivity · #

Show HN: I Cut my Agent Tokens By 50%

A Show HN tool that replaces Claude Code's regex code search to cut agent token use roughly in half.
iohotspot · Hacker News · 2026-10-11 · Tips, Setup & Productivity · #

Two agent CLIs, one repo: sharing context between Claude Code and Codex without stepping on each other

How the author shares context between Claude Code and Codex on the same repo without the two agents overwriting each other.
@thedevtimeline · dev.to · 2026-10-10 · Tips, Setup & Productivity · #

Our Claude Code agent's median run used 79.8M tokens, 97% of them cache reads. How many does one run of yours use?

A team logged 13 full runs of its autonomous Claude Code agent and found a median of 79.8M tokens per run, about 97% of them cache reads and 0.2% output.
@rulestack · dev.to · 2026-10-07 · Tips, Setup & Productivity · #

Claude Code in VS Code: The Official Extension, Set Up Properly

Setting up the official Claude Code VS Code extension: install, permission modes, checkpoints and recommended day-one settings.
@noorhalvorsen · dev.to · 2026-10-07 · Tips, Setup & Productivity · #

How I set up Claude Code: one rulebook, a 12-step relay to use it daily

The author's Claude Code setup: one rulebook file plus a 12-step daily routine for using it consistently.
@dhrupo · dev.to · 2026-10-07 · Tips, Setup & Productivity · #

Claude Code Router v3: What Changed and How I Set It Up Now

Walks through Claude Code Router v3.1, now a desktop app and local gateway, covering providers, model tiers, routing scripts and fallbacks.
@zaramenon · dev.to · 2026-10-07 · Tips, Setup & Productivity · #

Claude Code Context Is Like a Fridge - Put Only Perishable Items in It

When to keep work in the main Claude Code conversation versus moving it to a subagent, second session or headless loop.
@iggredible · dev.to · 2026-10-06 · Tips, Setup & Productivity · #

Getting the most out of Opus 5.5 in Claude and Claude Code

Anthropic's guide to getting the best results from Opus 5.5 in Claude and Claude Code.
saikatsg · Hacker News · 2026-10-03 · Tips, Setup & Productivity · #

Claude Code Context Is Like Milk, Keep It Fresh and Condensed

Why output quality drops as Claude Code's context fills, and how to manage it with /compact, /clear, /rewind and subagents.
@iggredible · dev.to · 2026-09-30 · Tips, Setup & Productivity · #

Tip: Back up your Claude Code infrastructure

A tip to back up your Claude Code configuration (CLAUDE.md, skills, agents, settings) since it grows into real infrastructure.
@empiree · dev.to · 2026-09-30 · Tips, Setup & Productivity · #

Five ways Claude Code failed on a 240,000-line WordPress plugin

Five specific ways Claude Code struggled on a 240,000-line WordPress plugin codebase, observed during a course.
@sleevesupai · dev.to · 2026-09-26 · Tips, Setup & Productivity · #

Does a line in auto memory steer the next session like CLAUDE.md does? 3 of 4 runs vs 4 of 4, and 0 of 4 with neither

A test of whether a one-line fact in Claude Code's auto memory steers the next session as reliably as CLAUDE.md does.
@rulestack · dev.to · 2026-09-26 · Tips, Setup & Productivity · #

How I Added OpenTelemetry Tracing to 47 Services With Claude Code in 9 Days

A case study of adding OpenTelemetry tracing to 47 services in nine days with Claude Code.
@yureki_lab · dev.to · 2026-09-24 · Tips, Setup & Productivity · #

Progressive Disclosure: Shaping Claude Code's Output

How to shape Claude Code's output format so replies stay readable and concise.
@cleverhoods · dev.to · 2026-09-23 · Tips, Setup & Productivity · #

Why Claude Code keeps writing shell commands that fail on your Mac

Why Claude Code writes GNU-style shell commands that fail on macOS, and how to make it target BSD tools.
@baunegaard · dev.to · 2026-09-21 · Tips, Setup & Productivity · #

How I Migrated 90 Cypress Tests to Playwright With Claude Code in 4 Days

A case study migrating 90 Cypress tests to Playwright in four days with Claude Code.
@yureki_lab · dev.to · 2026-09-19 · Tips, Setup & Productivity · #

Claude Code Permission Modes in 2026: What `--allowedTools`, Whitelists, and Sandbox Boundaries Actually Restrict

What Claude Code's permission modes, --allowedTools, allowlists and sandbox boundaries actually restrict.
@jsmanifest · dev.to · 2026-09-08 · Tips, Setup & Productivity · #

Portal by Spotify cut my Claude Code token usage by 90%

Spotify engineering's write-up on how its Portal tool cut Claude Code token usage by about 90%.
cebert · Hacker News · 2026-09-04 · Tips, Setup & Productivity · #

I tested Claude Code's memory against mine. They are not doing the same job.

A comparison of Claude Code's built-in memory with the author's own memory system and the different jobs each does.
@heinrichneb · dev.to · 2026-09-01 · Tips, Setup & Productivity · #

How I Cut a 2.1 MB JavaScript Bundle to 890 KB With Claude Code

A case study cutting a 2.1 MB JavaScript bundle to 890 KB with Claude Code.
@yureki_lab · dev.to · 2026-08-24 · Tips, Setup & Productivity · #

My AI said the PDF was empty. The PDF was not empty.

Why Claude Code reported a saved PDF as empty, and how to get reliable text extraction.
@andrewavery7 · dev.to · 2026-08-19 · Tips, Setup & Productivity · #

Claude Code teaching macOS to natively print to the HP Laser 1008a

A Claude Code session that got macOS printing natively to an HP Laser 1008a printer.
amrrs · Hacker News · 2026-08-18 · Tips, Setup & Productivity · #

Maximizing the value of your Claude Code sessions

Anthropic's guidance on getting more value out of each Claude Code session.
twapi · Hacker News · 2026-08-14 · Tips, Setup & Productivity · #

Claude Agent SDK vs Claude Code: When To Reach For Which

A decision guide for when to use Claude Code versus the Claude Agent SDK.
@robswierk · dev.to · 2026-08-14 · Tips, Setup & Productivity · #

Auto mode is now Claude Code's default: what the classifier approves, and how to switch back

What Claude Code's auto permission mode approves now that it is the default, and how to switch back.
@rulestack · dev.to · 2026-08-13 · Tips, Setup & Productivity · #

Auto mode is now the default in Claude Code

Anthropic's announcement that auto mode is now the default permission mode in Claude Code.
sbehere · Hacker News · 2026-08-10 · Tips, Setup & Productivity · #

Message your other Claude Code sessions

Claude Code documentation for sending messages between your running Claude Code sessions.
mfiguiere · Hacker News · 2026-08-08 · Tips, Setup & Productivity · #

How I Used Claude Code to Hunt Down a Memory Leak That Took Down Prod

A case study using Claude Code to track down a production memory leak.
@yureki_lab · dev.to · 2026-08-08 · Tips, Setup & Productivity · #

claude -p: what headless Claude Code actually loads (and when --bare is the right call)

What headless claude -p loads on each run and when the --bare flag saves tokens.
@rulestack · dev.to · 2026-08-06 · Tips, Setup & Productivity · #

Opus 5: Delete your CLAUDE.md?

A discussion of whether Opus 5 makes a large CLAUDE.md unnecessary, prompted by an interview with Claude Code's creator.
@cleverhoods · dev.to · 2026-08-06 · Tips, Setup & Productivity · #

Claude Code + OpenRouter: The Setup Guide That Actually Explains Things

A setup guide for running Claude Code through OpenRouter.
@shreshthgoyal · dev.to · 2026-07-31 · Tips, Setup & Productivity · #

Setting up your spare Mac for Claude Code to control, a step-by-step guide

A step-by-step guide to setting up a spare Mac for Claude Code to control.
ykev · Hacker News · 2026-07-18 · Tips, Setup & Productivity · #

The Question That Disappeared: Remote Claude Code and the 3-Hour Trap

How a question from a remote, long-running Claude Code task went unseen for hours, and how to avoid that trap.
@jeromefromhk · dev.to · 2026-07-13 · Tips, Setup & Productivity · #

One Wikipedia page costs your AI agent 68,000 tokens

Measurements showing raw web pages cost Claude Code tens of thousands of tokens, and how to fetch research more cheaply.
arhamislam5766 · Hacker News · 2026-07-11 · Tips, Setup & Productivity · #

Claude Code, Beyond the Prompt: I Run a Live Automated Trading System on It — Here's the Whole Setup

Workflow patterns from running a live automated trading system on Claude Code.
@gde03 · dev.to · 2026-07-08 · Tips, Setup & Productivity · #

[AI in Action] Refining a macOS Meeting Translation App with Claude Code: Auto-reconnect, Floating Captions, and Meeting Minutes Export Evolution

Using Claude Code to add auto-reconnect and other refinements to a macOS meeting translation app.
@evanlin · dev.to · 2026-07-05 · Tips, Setup & Productivity · #

You Are Wasting Too Many Tokens on Claude

Common ways developers waste tokens with Claude, and habits that cut the cost.
@imamabubakar · dev.to · 2026-07-02 · Tips, Setup & Productivity · #

The token is valid, but your headless Claude Code agent just 401'd forever

Why a headless Claude Code agent can get stuck on 401 errors with a static OAuth token, and how to fix it.
@drickon · dev.to · 2026-06-28 · Tips, Setup & Productivity · #

Claude Code and Codex are logging your token usage locally. Here is how to read it.

Where Claude Code and Codex log token usage locally and how to read those files.
@newtorob · dev.to · 2026-06-18 · Tips, Setup & Productivity · #

How My First Claude Code on AWS Bedrock Experiment Cost Me $8.43 in Just One Day

What one day of experimenting with Claude Code on AWS Bedrock cost, and where the money went.
@venkatesh111 · dev.to · 2026-06-16 · Tips, Setup & Productivity · #

I run Claude Code and Codex side by side. Here's the division of labor that actually works.

A division of labor for running Claude Code and Codex side by side on the same work.
@rapls · dev.to · 2026-06-14 · Tips, Setup & Productivity · #

I set up Claude Code for a real production project. Here's what actually earned its keep

What actually proved useful after three weeks of running Claude Code on a real production project.
@lamas51 · dev.to · 2026-06-06 · Tips, Setup & Productivity · #

Migrating Claude Code to a custom backend in 2 lines (and what to actually watch for)

Pointing Claude Code at a custom backend with ANTHROPIC_BASE_URL, plus a checklist of what can break.
@midrelay · dev.to · 2026-06-06 · Tips, Setup & Productivity · #

I kept using Claude Code. Added one thing to it. Cut AI engineering costs by 62%.

One addition to a Claude Code workflow that cut the cost of the same task from $1.96 to $0.74.
@gaurav_vij137 · dev.to · 2026-06-05 · Tips, Setup & Productivity · #

Switch from GitHub Copilot to Claude Code: Migration Guide 2026

2026 migration guide from GitHub Copilot to Claude Code: pricing comparison, install, workflow mapping, MCP servers for extensions, and CLAUDE.md setup.
@akaranjkar08 · dev.to · 2026-06-04 · Tips, Setup & Productivity · #

Anthropic gave the failure mode I kept hitting with Claude Code a name: agentic technical debt

How long Claude Code projects accumulate "agentic technical debt" and ways to manage it.
@edumendes · dev.to · 2026-06-02 · Tips, Setup & Productivity · #

Claude Code – Everything you can configure that the docs don't tell you

Claude Code configuration options found in the source that the docs don't cover.
ankitg12 · Hacker News · 2026-05-29 · Tips, Setup & Productivity · #

Claude Code as a Daily Driver: Claude.md, Skills, Subagents, Plugins, and MCPs

A guide to using Claude Code daily with CLAUDE.md, skills, subagents, plugins and MCPs.
arps18 · Hacker News · 2026-05-27 · Tips, Setup & Productivity · #

Getting Claude Code off my laptop and onto shared compute

Moving Claude Code from a laptop onto shared cloud compute a whole team can use.
@deeheber · dev.to · 2026-05-23 · Tips, Setup & Productivity · #

Building an Astro Blog with Claude Code

Building and deploying an Astro blog with Tailwind, MDX, RSS and a sitemap from one Claude Code prompt.
@henry_dan_81513dd35a2f540 · dev.to · 2026-05-19 · Tips, Setup & Productivity · #

Why every Claude Code-built site looks the same — and the image layer that breaks it

Why Claude Code-built sites look alike, and how a custom image layer makes them distinct.
@kkk_dev_1b0a00f5047cb4de6 · dev.to · 2026-05-16 · Tips, Setup & Productivity · #

How Claude Code works in large codebases

Anthropic's best practices for using Claude Code in large codebases.
shenli3514 · Hacker News · 2026-05-15 · Tips, Setup & Productivity · #

I Built a Free Bloomberg-Style Stock Analyzer in a Weekend — With Claude Code as My Co-Developer

Building a free S&P 500 technical-analysis app in a weekend with Claude Code as a pair programmer.
@mamun · dev.to · 2026-05-14 · Tips, Setup & Productivity · #

Using Claude Code: The unreasonable effectiveness of HTML

The case for having Claude Code produce HTML output instead of Markdown, with examples.
pretext · Hacker News · 2026-05-09 · Tips, Setup & Productivity · #

How to Architect AI Agent Memory That Survives Context Window Limits

How to structure agent memory beyond CLAUDE.md so it survives context-window limits.
@martinlepage26bit · dev.to · 2026-05-07 · Tips, Setup & Productivity · #

My Claude Code agent broke — and it took me 4 hours to realize the context window was the problem

How an overflowing context window broke a long-running Claude Code agent, and how to spot it.
@whoffagents · dev.to · 2026-04-25 · Tips, Setup & Productivity · #

Claude Code Tips: 7 Rules That Make It 10x More Useful

Seven rules that keep Claude Code from drifting and make it more useful.
@olivia_craft · dev.to · 2026-04-24 · Tips, Setup & Productivity · #

Claude Code Debugging Workflow: How I Diagnose and Fix Production Issues 3x Faster

A Claude Code debugging workflow for diagnosing and fixing production issues faster.
@nextools · dev.to · 2026-04-24 · Tips, Setup & Productivity · #

Claude Code Testing Strategies: How I Replaced My Entire QA Process with AI-Driven Tests

Testing strategies for replacing a manual QA routine with Claude Code-driven tests.
@nextools · dev.to · 2026-04-23 · Tips, Setup & Productivity · #

Beyond CLAUDE.md: 5 Layers Your AI Agent Harness Is Missing

Five harness layers beyond CLAUDE.md (memory, tools, permissions and more) for production Claude Code.
@shipwithaiio · dev.to · 2026-04-22 · Tips, Setup & Productivity · #