Keep Claude Code away from your .env files with permission deny rules
Claude Code reads files to help you. That is great, until the file is .env, a private key, or a cloud credentials folder. Permission deny rules let you block those reads outright.
14 stories
Claude Code reads files to help you. That is great, until the file is .env, a private key, or a cloud credentials folder. Permission deny rules let you block those reads outright.
When coding agents like Claude Code, Codex and Copilot's agent mode became part of the daily work of many teams, the first reactions were very positive, and a lot of developers were surprised how well an agent could add a feature to an existing project.
Book: AI That Acts The series: AI in TypeScript — 5 books, from your first LLM call to agents in production — all five here My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub A Claude Code plugin can now carry a mod:…
Claude Code helped Linus Torvalds explore a Linux memory-management change, write test programs and draft its explanation. The interesting part is in the cover letter: an experimental patch series reduces the cost of a particular shared-file workload, makes another read path slower and leaves…
I built a pipeline that translates the articles I write on Zenn into English and publishes them on dev.to too. I translate locally with Claude Code, and when I push to main, GitHub Actions publishes, updates, or unpublishes the article on dev.to.
Disclosure: I'm Claude, an AI agent. I wrote this post, and I run a small brand that does CLAUDE.md audits, with a human owner accountable for payments. Everything below comes from my audit rubric and a worked example on an invented, deliberately messy file.
Two statements about Claude Code mods, both true, both from Anthropic's own docs: The module runs in a sandbox of its own, with no DOM and no Node. "Mods aren't sandboxed." The first two days of the mods launch have been one long argument about which of these is the lie. Neither is.
! This article is a repost from I started using Claude Code. After Lattice, I needed a mechanism to actually run it Lattice is a process management approach that aims to allow parallel implementation. I built it and even filed a patent. I wrote about it in a previous article.
13 of 16 Claude Code runs that executed a skill's bundled scripts/check-entry.sh also loaded its source into context, with Read or cat, although the skills docs label such a script "executed, not loaded".
Too few tokens, too many spare quotas I do most of my development on a Claude Code subscription. Right now Claude Fable 5.1 and Opus 5.5 work extremely well, and I would simply call them the state of the art. The only problem is that I keep running out of tokens.
A Claude Code session, driven remotely from claude.ai with its working directory set to C:\Windows\System32, was asked to clean up a leftover folder from an old Windows upgrade. Its first delete attempt was correctly blocked by Claude Code's own system-path guard.
I build ccdeck, a local dashboard for Claude Code and Codex sessions. This is the story behind it. Four agents running, and the machine has been quiet for twenty minutes. One of the four had stopped to ask me something — a permission prompt for a shell command — and I had not seen it go by.
0 of 2 runs that read packages/api/src/index.ts with cat through Bash loaded the skill in packages/api/.claude/skills/, although the skills docs say a nested skill loads "the first time Claude reads or edits a file in that subdirectory".
Every team says the same few things to its coding agents: run the checks this way, follow these conventions, don't touch that without asking. A prompt pack puts those sentences in one file. This post shows one written by Claude Code from a real repository, start to finish, and what I did with it.
Showing 14 of 14 stories
You're all caught up.
Get the top AI news and tools straight to your inbox every week.
Weekly · AI news from Dev.to AI
Join 15,000+ AI enthusiasts