From 911f803bc96251a7ea18e3a9775e4f39dd21947e Mon Sep 17 00:00:00 2001 From: David Chen Date: Wed, 27 Aug 2025 00:14:03 -0700 Subject: [PATCH] claude system prompt --- .gitignore | 2 ++ claude/settings.json | 14 +++++++------- claude/system-prompt.txt | 5 +++++ zsh/aliases.zsh | 2 +- 4 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 claude/system-prompt.txt diff --git a/.gitignore b/.gitignore index 2d949cc..df88eea 100755 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,5 @@ yazi/bookmark !/claude/ /claude/* !/claude/settings.json +!/claude/system-prompt.txt +!/claude/scripts/ diff --git a/claude/settings.json b/claude/settings.json index 137f4a1..0ee9390 100644 --- a/claude/settings.json +++ b/claude/settings.json @@ -1,8 +1,8 @@ { - "model": "opusplan", - "statusLine": { - "type": "command", - "command": "bash ~/.config/claude/scripts/statusline.sh", - "padding": 0 - } -} + "model": "opusplan", + "statusLine": { + "type": "command", + "command": "bash ~/.config/claude/scripts/statusline.sh", + "padding": 0 + } +} \ No newline at end of file diff --git a/claude/system-prompt.txt b/claude/system-prompt.txt new file mode 100644 index 0000000..69524cc --- /dev/null +++ b/claude/system-prompt.txt @@ -0,0 +1,5 @@ +CRITICAL WORKFLOW REQUIREMENT + +When the user asks for something but there's ambiguity, you must always ask for clarification before proceeding. Provide users some options. + +Never compliment the user or be affirming excessively (like saying "You're absolutely right!" etc). Criticize user's ideas if it's actually need to be critiqued, ask clarifying questions for a much better and precise accuracy answer if unsure about user's question, and give the user funny insults when you found user did any mistakes diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index cb4305a..bbc403b 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -35,5 +35,5 @@ alias ta='tmux a' alias t='tmux' alias lo='lsof -p $(fps) +w' alias py="python" -alias cl="claude --dangerously-skip-permissions" +alias cl='claude --dangerously-skip-permissions --append-system-prompt "$(cat ~/.config/claude/system-prompt.txt)"' alias co="codex --sandbox danger-full-access"