Complete technical documentation of Claude Code's internal tools
This document provides comprehensive technical details about Claude Code's internal tools, including parameter schemas, implementation behaviors, and usage patterns.
Technical Details:
Complete technical documentation of Claude Code's internal tools
This document provides comprehensive technical details about Claude Code's internal tools, including parameter schemas, implementation behaviors, and usage patterns.
Technical Details:
Launch a new agent that has access to the following tools: Bash, Glob, Grep, LS, exit_plan_mode, Read, Edit, MultiEdit, Write, NotebookRead, NotebookEdit, WebFetch, TodoRead, TodoWrite, WebSearch. 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 the Agent tool to perform the search for you.
When to use the Agent tool:
When NOT to use the Agent tool:
https://www.cheatsheet.wtf/Nano/
# Show Git branch in the prompt
parse_git_branch() {
git branch 2>/dev/null | grep '*' | sed 's/* //'
| function rgo() { | |
| local input="rg --column --line-number --no-heading --color=always --smart-case --" | |
| : | fzf --ansi --disabled --query "${*:-}" \ | |
| --bind "start:reload:$input {q}" \ | |
| --bind "change:reload:sleep 0.1; $input {q} || true" \ | |
| --delimiter : \ | |
| --preview 'bat --color=always {1} --highlight-line {2}' \ | |
| --preview-window 'up,60%,border-bottom,+{2}+3/3,~3' \ | |
| --bind "enter:become($VISUAL {1})" | |
| } |
| #!/bin/bash | |
| # Claude Code (cc) Commands for .bashrc | |
| # Quick tmux-based session management for Claude Code | |
| # Context directories | |
| _CC_HA="$HOME/pezbox/infra/homeAssistant" | |
| _CC_HW="$HOME/pezbox/hiveworth" | |
| _CC_RS="$HOME/pezbox/redfin-scraper" | |
| # Resolve context name to directory |
| devup() { | |
| git submodule update --init --recursive | |
| local container_id=$(docker ps -aq --filter "label=devcontainer.local_folder=$(pwd)") | |
| if [[ -z "$container_id" ]]; then | |
| # No container exists, create it | |
| devcontainer up --workspace-folder . --skip-post-create | |
| container_id=$(docker ps -aq --filter "label=devcontainer.local_folder=$(pwd)") | |
| elif [[ -z $(docker ps -q --filter "id=$container_id") ]]; then |
| #!/usr/bin/env python3 | |
| # /// script | |
| # requires-python = ">=3.13" | |
| # dependencies = [] | |
| # /// | |
| import argparse | |
| import base64 | |
| import json | |
| import os | |
| import select |
| #!/bin/bash | |
| # Claude Code StatusLine for Swarm CTL | |
| # Displays: tmux_session | Model | Context usage bar | |
| set -euo pipefail | |
| # Read JSON input from stdin | |
| input=$(cat) | |
| # Extract values using jq |
| #!/usr/bin/python | |
| import argparse | |
| import json | |
| import os | |
| import re | |
| import subprocess | |
| import time | |
| from pathlib import Path | |
| from typing import Any, Optional |
Auto-focus the correct terminal pane when Claude Code finishes a task or needs your input. Shows macOS notifications with sound.
jq installed (brew install jq)osascript for notifications)