Skip to content

Instantly share code, notes, and snippets.

View crizCraig's full-sized avatar
🛠️
Building

Craig Quiter crizCraig

🛠️
Building
View GitHub Profile
insert_lines /path/to/file.txt 5
new line 5
new line 6
Or if you want to change line 5 of a file, you can use a special command, update_lines [filename] [start_line_number] [end_line_number], followed by the new lines e.g.
update_lines /path/to/file.txt 5 5
updated line 5
new line 6
"tools": [
{
"name": "Task",
"description": "Launch a new agent to handle complex, multi-step tasks autonomously.\n\nThe Task tool launches specialized agents (subprocesses) that autonomously handle complex tasks. Each agent type has specific capabilities and tools available to it.\n\nAvailable agent types and the tools they have access to:\n- Bash: Command execution specialist for running bash commands. Use this for git operations, command execution, and other terminal tasks. (Tools: Bash)\n- general-purpose: General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you. (Tools: *)\n- statusline-setup: Use this agent to configure the user's Claude Code status line setting. (Tools: Read, Edit)\n- Explore: Fast agent specialized for exploring codebases. Use this when you need to qu
{
"name": "Task",
"description": "Launch a new agent to handle complex, multi-step tasks autonomously.\n\nThe Task tool launches specialized agents (subprocesses) that autonomously handle complex tasks. Each agent type has specific capabilities and tools available to it.\n\nAvailable agent types and the tools they have access to:\n- Bash: Command execution specialist for running bash commands. Use this for git operations, command execution, and other terminal tasks. (Tools: Bash)\n- general-purpose: General-purpose agent for researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries use this agent to perform the search for you. (Tools: *)\n- statusline-setup: Use this agent to configure the user's Claude Code status line setting. (Tools: Read, Edit)\n- Explore: Fast agent specialized for exploring codebases. Use this when you need to quickly find files by pat
{
"summary": "This hierarchical index provides a semantic overview of \"The Curious Case of Benjamin Button,\" tracing the extraordinary life of Benjamin Button, who ages in reverse, and his profound connections, particularly with Daisy Fuller, framed by Daisy's recounting of his story on her deathbed.",
"sections": [
{
"summary": "The narrative begins in present-day New Orleans, with an elderly Daisy Fuller on her deathbed, reflecting on life and memories. Her request for her daughter Caroline to read Benjamin Button's journal sets the stage for the main narrative, interspersed with Daisy's own flashbacks and insights.",
"sections": [
{
"summary": "An ailing Daisy Fuller, in her final moments in a New Orleans hospital, discusses her impending death and the concurrent threat of a hurricane with her daughter, Caroline, and caregiver, Dorothy Baker.",
"key_points": [
"Setting: Hospital room, New Orleans, present day, against the backdrop of an approach
[
{
"role": "user",
"content": [
{
"type": "text",
"text": "Warmup"
}
]
},
{
"statusLine": {
"type": "command",
"command": "input=$(cat); model=$(echo \"$input\" | jq -r '.model.display_name'); dir=$(echo \"$input\" | jq -r '.workspace.current_dir'); user=$(whoami); git_branch=''; if git -C \"$dir\" rev-parse --git-dir > /dev/null 2>&1; then branch=$(git -C \"$dir\" --no-optional-locks branch --show-current 2>/dev/null); [ -n \"$branch\" ] && git_branch=\" [$branch]\"; fi; total_in=$(echo \"$input\" | jq -r '.context_window.total_input_tokens'); total_out=$(echo \"$input\" | jq -r '.context_window.total_output_tokens'); max_in=$(echo \"$input\" | jq -r '.context_window.context_window_size'); used_pct=$(echo \"$input\" | jq -r '.context_window.used_percentage // empty'); context_info=''; if [ \"$total_in\" != \"null\" ] && [ \"$total_out\" != \"null\" ]; then if [ \"$total_in\" -ge 1000 ]; then in_display=$(awk \"BEGIN {printf \\\"%.0fk\\\", $total_in/1000}\"); else in_display=\"$total_in\"; fi; if [ \"$total_out\" -ge 1000 ]; then out_display=$(awk \"BEGIN {printf
@crizCraig
crizCraig / warmup.json
Created January 9, 2026 21:07
Claude Code Warmup message
{
"model": "claude-opus-4-5-20251101",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Warmup",
"cache_control": {

Here is a revolutionary engineering concept that moves beyond standard radiators to solve the space cooling problem.

The Concept: The "Ferro-Fluidic Web" (Magnetic Liquid Loop)

Instead of using heavy, solid metal panels to radiate heat, this system uses a magnetic liquid that is sprayed directly into open space and magnetically pulled back in.

How It Works:

  1. Direct Exposure: The data center circulates a specialized fluid (containing ferromagnetic nanoparticles) to absorb heat from the servers.
  2. The Spray: Instead of pumping this fluid into pipes inside a radiator panel, the ship sprays the hot fluid directly out of nozzles into the vacuum of space.
  3. The Web: Using magnetic field generators, the fluid is manipulated to spread out into an incredibly thin, spinning sheet or a cloud of millions of droplets.
  4. Flash Cooling: Because the fluid is directly exposed to the vacuum with zero barrier, and because droplets have a massive surface-area-to-volume ratio, the heat radi
{
"LOG": true,
"LOG_LEVEL": "trace",
"CLAUDE_PATH": "",
"HOST": "127.0.0.1",
"PORT": 3456,
"APIKEY": "",
"API_TIMEOUT_MS": "600000",
"PROXY_URL": "",
"transformers": [],
@crizCraig
crizCraig / cci.md
Last active December 21, 2025 20:03
Claude Code Infinite setup

Claude Code Infinite

Finish your feature without starting a new session

Never run /compact again

Claude Code can now handle infinitely long sessions using PolyChat's memory API, MemTree.

Requirements