Skip to content

GavriloviciEduard/claude-code-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Config

A secure, privacy-focused configuration for Claude Code with a custom statusline.

Features

  • 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

Statusline

Installation

git clone https://github.com/GavriloviciEduard/claude-code-config.git
cd claude-code-config
chmod +x install.sh  # not needed on Windows
./install.sh

Restart Claude Code to apply.

What's Allowed

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)

What's NOT Allowed

  • 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

Customization

Colors

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

Environment

"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"
}

Plugins

  • frontend-design
  • pr-review-toolkit
  • security-guidance
  • code-review
  • feature-dev
  • commit-commands
  • clangd-lsp
  • pyright-lsp

About

Secure, privacy-focused Claude Code configuration with read-only permissions and custom statusline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages