Last active
August 20, 2025 18:39
-
-
Save mohemohe/5717d68ffaa3ff43f9eaa51cd5b9f3fe to your computer and use it in GitHub Desktop.
ππΆπ³πΆ
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/bash | |
| # think: 4000, megathink: 10000, ultrathink: 31999 | |
| export MAX_THINKING_TOKENS=31999 | |
| echo "MAX_THINKING_TOKENS: $MAX_THINKING_TOKENS" >&2 | |
| if [ -f /.dockerenv ]; then | |
| claude --dangerously-skip-permissions $* | |
| elif [ "$(command -v cage)" != "" ]; then | |
| cage -config "$HOME/.config/cage/presets.yaml" -preset claude-code \ | |
| claude --dangerously-skip-permissions $* | |
| elif [ "$(command -v claudeway)" != "" ]; then | |
| claudeway up claude -- --dangerously-skip-permissions $* | |
| else | |
| echo γ―οΌ | |
| fi |
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
| presets: | |
| claude-code: | |
| allow: | |
| - "." | |
| - "$HOME/.claude" | |
| - "$HOME/.claude.json" | |
| - "$HOME/.cache" | |
| - "$HOME/.cargo" | |
| - "$HOME/.npm" | |
| - "$HOME/.yarn" | |
| - "$HOME/.bun/install" | |
| - "$HOME/Library/Caches/go-build" | |
| - path: "$GOPATH/pkg" | |
| eval-symlinks: true | |
| - path: "$HOME/develop/src" | |
| eval-symlinks: true | |
| - path: "/tmp" | |
| eval-symlinks: true | |
| allow-git: true | |
| allow-keychain: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment