Skip to content

Instantly share code, notes, and snippets.

View mvandermeulen's full-sized avatar

Mark mvandermeulen

  • Fivenynes
  • Sydney, Australia
  • 20:08 (UTC +10:00)
View GitHub Profile
@mvandermeulen
mvandermeulen / claude_code_tools_cli.md
Created June 1, 2026 00:51 — forked from bgauryy/claude_code_tools_cli.md
Internal claude code tools implementaion

Claude Code Internal Tools - Technical Reference

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.

Claude Sonnet 4.5

Technical Details:

@mvandermeulen
mvandermeulen / claude-code-tools.md
Created June 1, 2026 00:51 — forked from wong2/claude-code-tools.md
Tools and system prompt of Claude Code

Task

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:

  • If you are searching for a keyword like "config" or "logger", or for questions like "which file does X?", the Agent tool is strongly recommended

When NOT to use the Agent tool:

  • If you want to read a specific file path, use the Read or Glob tool instead of the Agent tool, to find the match more quickly
  • If you are searching for a specific class definition like "class Foo", use the Glob tool instead, to find the match more quickly
  • If you are searching for code within a specific file or set of 2-3 files, use the Read tool instead of the Agent tool, to find the match more quickly
@mvandermeulen
mvandermeulen / useful_tips.md
Created June 1, 2026 00:51 — forked from ggrrll/useful_tips.md
programming TIPS

Bash / Unix admin

https://www.cheatsheet.wtf/Nano/

  • useful prompt (when working in git repos):
# Show Git branch in the prompt
parse_git_branch() {
git branch 2>/dev/null | grep '*' | sed 's/* //'
@mvandermeulen
mvandermeulen / rgo.sh
Created June 1, 2026 00:51 — forked from cartok/rgo.sh
[cli] rgo - rip grep open
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})"
}
@mvandermeulen
mvandermeulen / claude_code_commands.sh
Created June 1, 2026 00:51 — forked from leonjang88/claude_code_commands.sh
Claude Code (cc) tmux session management commands for .bashrc
#!/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
@mvandermeulen
mvandermeulen / .zshrc
Created June 1, 2026 00:51 — forked from daniellin-eero/.zshrc
fix lsp nvim
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
@mvandermeulen
mvandermeulen / notify.py
Created June 1, 2026 00:51 — forked from KaminariOS/notify.py
# Codex `notify.py` with `ntfy` (topic: codex-example)
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.13"
# dependencies = []
# ///
import argparse
import base64
import json
import os
import select
@mvandermeulen
mvandermeulen / statusline-command.sh
Created June 1, 2026 00:51 — forked from otkrickey/statusline-command.sh
Claude Code StatusLine script — tmux session | Model | Context usage bar
#!/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
@mvandermeulen
mvandermeulen / codex_monitor.py
Created June 1, 2026 00:51 — forked from veilm/codex_monitor.py
codex log monitor example
#!/usr/bin/python
import argparse
import json
import os
import re
import subprocess
import time
from pathlib import Path
from typing import Any, Optional
@mvandermeulen
mvandermeulen / claude-hooks-tmux-setup.md
Created June 1, 2026 00:51 — forked from grmkris/claude-hooks-tmux-setup.md
Claude Code Hooks + tmux pane auto-focus setup

Claude Code Hooks + tmux Pane Focus Setup

Auto-focus the correct terminal pane when Claude Code finishes a task or needs your input. Shows macOS notifications with sound.

Prerequisites

  • Claude Code CLI installed
  • jq installed (brew install jq)
  • macOS (uses osascript for notifications)