Created
September 1, 2026 06:00
-
-
Save aadishv/04a7ac599b3c254859ff46b30c0e8556 to your computer and use it in GitHub Desktop.
cc. but pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| set -euo pipefail | |
| cwd=${PWD:A} | |
| today=$(date +%F) | |
| system_prompt=$(cat <<EOF | |
| You are an expert coding assistant operating in ${cwd}. | |
| Use Read to inspect files, Edit for precise replacements, Write for new files or complete rewrites, and Bash to run commands. Use Skill when a loaded skill matches the task. Follow all loaded CLAUDE.md instructions. | |
| Work directly in the current project. Keep responses concise. | |
| Current working directory: ${cwd} | |
| Current date: ${today} | |
| EOF | |
| ) | |
| export CLAUDE_CODE_SIMPLE_SYSTEM_PROMPT=1 | |
| export CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 | |
| export CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1 | |
| export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 | |
| export CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL=1 | |
| export CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=1 | |
| export CLAUDE_CODE_ATTRIBUTION_HEADER=0 | |
| export ENABLE_CLAUDEAI_MCP_SERVERS=false | |
| exec claude \ | |
| --system-prompt "$system_prompt" \ | |
| --tools "Bash,Read,Edit,Write,Skill,WebSearch,WebFetch" \ | |
| --strict-mcp-config \ | |
| --permission-mode auto \ | |
| --no-chrome \ | |
| --settings '{"disableAllHooks":true,"disableClaudeAiConnectors":true,"autoMemoryEnabled":false}' \ | |
| "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
orz 🥹 🥹 🥹