A secure, privacy-focused configuration for Claude Code with a custom statusline.
- Read-only permissions - Only allows commands that cannot modify your filesystem
- Privacy-focused - Disables telemetry and non-essential traffic
- Custom statusline - Shows path, git branch, model, cost, and token usage
git clone https://github.com/GavriloviciEduard/claude-code-config.git
cd claude-code-config
chmod +x install.sh # not needed on Windows
./install.shRestart Claude Code to apply.
| Category | Commands |
|---|---|
| File info | ls, pwd, stat, file, du, df |
| File reading | cat, head, tail |
| Search | grep, rg, ag, jq, diff |
| Archives | tar -tf, unzip -l, zipinfo, zcat |
| System info | uname, whoami, date, uptime |
| Git (read-only) | status, log, diff, blame, branch -a, etc. |
| Editor | code (VS Code) |
- File modification (
rm,mv,cp,mkdir,chmod) - Git writes (
push,commit,checkout,reset) - Network tools (
curl,wget,ssh) - Package managers (
npm,pip,brew) - Any destructive operations
Edit the color constants in statusline.sh:
readonly PATH_COLOR="\033[38;2;0;178;255m" # Cyan
readonly BRANCH_COLOR="\033[38;2;0;218;0m" # Green
readonly MODEL_COLOR="\033[38;2;230;113;78m" # Orange
readonly COST_COLOR="\033[38;2;220;185;100m" # Gold
readonly TOKENS_COLOR="\033[38;2;173;182;251m" # Purple"env": {
"CLAUDE_CODE_HIDE_ACCOUNT_INFO": "1",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
"DISABLE_TELEMETRY": "1",
"DISABLE_ERROR_REPORTING": "1",
"DISABLE_BUG_COMMAND": "1",
"DISABLE_COST_WARNINGS": "1",
"CLAUDE_CODE_IDE_SKIP_AUTO_INSTALL": "1"
}frontend-designpr-review-toolkitsecurity-guidancecode-reviewfeature-devcommit-commandsclangd-lsppyright-lsp
