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

Claude Code Tips, Setup & Productivity (68)

Claude Code's "Don't Ask Again" exposes passwords in 1,122 public GitHub files

Hacker News discussion of an Apiiro report that Claude Code's "Don't Ask Again" permission option has exposed passwords in 1,122 public GitHub files.
shmulc · Hacker News · 2026-11-07 · Tips, Setup & Productivity · #

Claude Code sends your email address to websites

HN discussion of Claude Code putting the signed-in account email into curl User-Agent headers (e.g. for SEC/Wikipedia-style contact requests), with Anthropic saying they will remove the email from model context and shipping a privacy check in 2.1.317+.
motoroco · Hacker News · 2026-11-05 · Tips, Setup & Productivity · #

I thought Claude Code would make my work lighter. I became its checker instead. Here's every file I wrote to stop

A solo WordPress plugin author’s CLAUDE.md, settings.json allow/ask/deny rules, sandbox allowlist, PreToolUse hook, and handoff pattern for making Claude Code self-check releases instead of relying on manual review.
@rapls · dev.to · 2026-11-05 · Tips, Setup & Productivity · #

Claude Code Ignoring CLAUDE.md? See What's in Its Context

Shows using Reporails ails xray on a Claude Code session to prove nested CLAUDE.md files never loaded (2 of 11), so ignored rules can be a loading problem before a wording problem.
@cleverhoods · dev.to · 2026-11-05 · Tips, Setup & Productivity · #

Codex 0.164 Shipped /presets. Agent CLIs Are Converging, So Bet on Your Workflow

Compares two weeks of Codex CLI and Claude Code changelogs, including Codex 0.164's ten numbered /presets slots for saved prompts and slash commands, and argues agent CLIs are converging so the workflow around them matters more.
@gabrielanhaia · dev.to · 2026-11-03 · Tips, Setup & Productivity · #

Until Claude Code 2.1.309, Your ~/.zshenv Ran Outside the Sandbox Before Each Command

Explains the Claude Code 2.1.309 fix for sandboxed Bash commands on macOS and Linux running shell startup files like ~/.zshenv outside the sandbox before each command, and why shell startup behavior made it possible.
@gabrielanhaia · dev.to · 2026-11-01 · Tips, Setup & Productivity · #

Backdoor in Claude Code for VS Code extension on the Cursor Marketplace

HN discussion of Phorion's advisory that Claude Code for VS Code versions 2.1.312 and 2.1.313 on the Cursor Marketplace were maliciously modified to install a persistent SSH backdoor; Cursor's security notice says those versions were not built by Anthropic.
_chall · Hacker News · 2026-10-30 · Tips, Setup & Productivity · #

Backdoors in official Claude Code extensions

HN thread on a Mastodon post by @GossiTheDog flagging malware in the Claude Code extension on Cursor's marketplace, linking Phorion's write-up of the compromised versions.
dsr_ · Hacker News · 2026-10-30 · Tips, Setup & Productivity · #

Claude Code VS Code extension with backdoor released on Cursor marketplace

HN thread linking a DoublePulsar post about the maliciously modified Claude Code VS Code extension (versions 2.1.312 and 2.1.313) briefly distributed through the Cursor Marketplace.
bashtoni · Hacker News · 2026-10-30 · Tips, Setup & Productivity · #

Claude Code shipped a bug with 42 tests green. The retro said the session was smooth.

An experiment where a Claude Code session shipped an invoice-numbering bug despite 42 passing tests, then used Matt Pocock's /retro skill to find the cause and test whether its proposed guardrails make the next session ship clean.
@aidiveyt · dev.to · 2026-10-29 · Tips, Setup & Productivity · #

How to find and stop dev servers Claude Code and Codex left running

How to find and stop dev servers an agent left running, using lsof and kill plus /tasks in Claude Code and /ps in Codex, and why servers started with & or nohup don't show up.
@heylittlepan · dev.to · 2026-10-27 · Tips, Setup & Productivity · #

How many tokens is 1% of your Claude Code limit?

Measures one account's usage and estimates that 1% of the Claude Code 5-hour limit was about 166,000 new tokens or about 11 million cached tokens, so cached tokens counted roughly 1/67 as much.
@samstull9007 · dev.to · 2026-10-26 · Tips, Setup & Productivity · #

I Coded for 30 Days Using Only Claude Code — Here's What I Learned

A field report from 30 days of letting AI write all application code for a small SaaS with auth, Stripe billing and an API, covering what worked (scaffolding, boilerplate) and the 9 times the author had to step in, such as architecture drift and plausible but wrong code.
@infoinlet1 · dev.to · 2026-10-26 · Tips, Setup & Productivity · #

How I Triage Release Notes Before Claude Code Turns Them Into a Product Video

Shares a small Python script that sorts a changelog into keep, cut and ask-a-human rows before Claude Code turns release notes into a product video.
@sheen_417f0f3a7f4 · dev.to · 2026-10-21 · Tips, Setup & Productivity · #

Running Claude Code with Ollama and Local Models

Step-by-step guide to installing Claude Code, running it inside IntelliJ IDEA, connecting it to a local model through Ollama, and testing it on a small Java project.
@mohammed_sebaa_2610 · dev.to · 2026-10-21 · Tips, Setup & Productivity · #

How to onboard a new developer to a Claude Code team in one day

A one-day plan for onboarding a developer to a team using Claude Code, starting with a shared CLAUDE.md and a committed .claude/settings.json so the new hire's agent follows team conventions.
@aiworkspacebuilder · dev.to · 2026-10-21 · Tips, Setup & Productivity · #

How Claude Code and Codex tell you your limits (and why counting tokens doesn't work)

Explains why estimating usage limits by counting tokens from local logs drifts from what Claude Code (/usage) and Codex (/status) report, and how the author's Mac menu bar app reads the tools' own numbers instead, starting with the Claude Code status line.
@pikori · dev.to · 2026-10-21 · Tips, Setup & Productivity · #

Sending text as images cut my Claude tokens by up to 81%. It also started inventing numbers.

Independent test of rendering bulky context as dense PNG images (the pxpipe proxy approach) to cut Claude token costs, measuring savings of up to 81% against how often the model misread or invented planted numbers.
@jaehyun_cho_0dff271e0d2e5 · dev.to · 2026-10-21 · Tips, Setup & Productivity · #

What did that Claude Code session actually cost? Spend, quota and history in one place

The maker of ccdeck walks through how it shows remaining Claude Code and Codex quota, per-session cost, and monthly spend by day, model and project on one page.
@bargan · dev.to · 2026-10-21 · Tips, Setup & Productivity · #

Stop running `claude login` on every machine — share your Claude Code accounts between your devices

The ccdeck author shows how to keep several of your own Claude Code accounts on one machine, move them to another machine once, and pair machines so an expired login is copied back from one that still has it.
@bargan · dev.to · 2026-10-19 · Tips, Setup & Productivity · #

How to set up Claude Code for your whole team (not just your own laptop)

Guide to writing a team-shared, repo-level CLAUDE.md, covering where the file can live, starting from /init, and sections such as code ownership that keep every developer's agent following the same rules.
@aiworkspacebuilder · dev.to · 2026-10-19 · 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 · #

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 · #

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 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 · #

How I Killed 63 Flaky Tests in One Week With Claude Code: 5 Lessons

Using Claude Code with a reproduction harness to fix 58 of 63 flaky tests in a Node.js monorepo in a week, plus five lessons on where the agent helped.
@yureki_lab · dev.to · 2026-09-28 · 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 · #

Claude Code now supports AGENTS.md Natively - Here's how it actually works

Explains Claude Code's native AGENTS.md support: it is read only as a fallback when no CLAUDE.md exists up the directory chain, configurable under /config.
@unicodeveloper · dev.to · 2026-09-22 · 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 · #

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 · #

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 · #

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 · #

Lambda MicroVMs + S3 Files: My Claude Code Sandbox for iPad

An AWS write-up on building a persistent, isolated, scale-to-zero Claude Code dev environment on Lambda MicroVMs with S3 Files storage, reachable from a browser on an iPad, phone or laptop.
@edjgeek · dev.to · 2026-07-14 · 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 · #

🚀 Securing Agentic Coding: Announcing the Claude Apps Gateway for Google Cloud

A Google AI post announcing the Claude apps gateway for Google Cloud, a stateless container deployed in your own Google Cloud project that proxies Claude Code traffic to Agent Platform instead of using API keys on local laptops.
@pugsandprincesses · dev.to · 2026-07-02 · Tips, Setup & Productivity · #

Stop using the model as your memory

Why you should keep project memory in files rather than relying on the model to remember, with the author's setup.
@mahirhir · dev.to · 2026-06-26 · Tips, Setup & Productivity · #

Ask HN: Anthropic banned me from using Claude Code and I don't know what to do

Ask HN thread from a developer whose Claude Code account was banned twice (they suspect VPN use and a reused card) asking for advice on getting it reinstated; it drew 90+ comments.
“how can i refactor payment module”
ayi · Hacker News · 2026-06-23 · 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 · #

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 · #

Want it set up already? Claude Code Power Config Pack

Like these workflows? Here is a tested Claude Code setup you can drop into any repo.

One install command that backs up your settings first. Checked against the official Claude Code docs. MIT licensed.

Launch price: $6 instead of $12 (code LAUNCH50, first 25 buyers, until Nov 10, 2026).

Get the Config Pack: $6 launch priceOr try 2 of the hooks free

Free on Gumroad: block-dangerous-bash and protect-secrets with a settings snippet. Enter $0; Gumroad asks for an email to deliver the zip.

Prefer to build it yourself? Use the free Claude Code tools, no sign-up.