This is a personal reference workflow for minimizing token usage while maintaining project continuity across Claude Code (Sonnet 4 with file access).
Claude loads CLAUDE.md automatically at session start.
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.user.disable-rcd</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/bin/launchctl</string> | |
| <string>unload</string> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.user.sysctl</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/sbin/sysctl</string> | |
| <string>-w</string> |
| # /etc/caddy/Caddyfile | |
| { | |
| auto_https disable_redirects | |
| } | |
| :80 { | |
| respond "Hello from HTTP port 80" | |
| } |
| #!/usr/bin/env -S uv run --script | |
| # /// script | |
| # requires-python = ">=3.13" | |
| # dependencies = [ | |
| # "httpx>=0.28.1", | |
| # "rich>=13.9.4", | |
| # "sh>=2.2.2", | |
| # "python-decouple>=3.8", | |
| # ] |
| #!/usr/bin/env bun | |
| "use strict"; | |
| const fs = require("fs"); | |
| const { execSync } = require("child_process"); | |
| const path = require("path"); | |
| // ANSI color constants | |
| const c = { | |
| cy: '\033[36m', // cyan |
| #!/usr/bin/env bash | |
| # Modular Python installer with Docker fallback | |
| set -e | |
| # Help function | |
| halp() { | |
| cat << EOF | |
| Usage: $(basename "$0") [version] |
| #!/usr/bin/env -S uv run --script | |
| # /// script | |
| # requires-python = ">=3.13" | |
| # dependencies = [ | |
| # "httpx>=0.28.1", | |
| # "python-decouple>=3.8", | |
| # "sh>=2.2.2", | |
| # ] | |
| # [tool.uv] |
| { | |
| "description": "Remap media keys for YouTube Music Desktop (ytmdesktop)", | |
| "manipulators": [ | |
| { | |
| "from": { "consumer_key_code": "play_or_pause" }, | |
| "to": [ | |
| { | |
| "key_code": "p", | |
| "modifiers": ["command", "option", "shift"] | |
| } |
| # Script: nvidia-error43-fixer.ps1 | |
| # Author: (C) 2018-2021 [email protected] (Converted to PowerShell by @pythoninthegrass) | |
| # Homepage: https://egpu.io/nvidia-error43-fixer | |
| param( | |
| [switch]$Force | |
| ) | |
| # Check if running as administrator | |
| function Test-Administrator { |