Skip to content

Instantly share code, notes, and snippets.

Claude Agent SDK Technical Specification

Version: 1.0.0 Protocol Version: 2024-11-05 Last Updated: 2026-01-10

Table of Contents

  1. Overview
  2. Architecture
@tkersey
tkersey / 201X-2023.md
Created January 5, 2026 20:49
Previous bookmarks

2023

December

Boost your Metal app’s performance by upscaling lower-resolution content to save GPU time.

The MetalFX framework integrates with Metal to upscale a relatively low-resolution image to a higher output resolution in less time than it takes to render directly to the output resolution. >

@banteg
banteg / readme.md
Last active January 21, 2026 06:56
uninstall beads

Beads Uninstall Script

A comprehensive uninstall/cleanup script for Beads (bd) that removes all traces of the tool from a system.

Usage

./scripts/uninstall.sh            # dry-run (scan $HOME)
./scripts/uninstall.sh --apply    # perform cleanup
./scripts/uninstall.sh --root DIR --apply
@dimitribouniol
dimitribouniol / main.swift
Created December 22, 2025 11:58
ISO8601 Date Formatter Benchmarks
import AppKit
@main
struct DateFormatters {
static func main() {
let iterations = 100_000
let startInterval: TimeInterval = 780_000_000
time("Create Date Baseline") {
var results: [Date] = []
@kylehowells
kylehowells / open_clip_embedding_test.py
Created October 27, 2025 06:15
Demo of using the OpenAI CLIP and SigLIP 2 models to do text and image embedding search.
"""
Simple demo showing how to generate and compare text and image embeddings.
Uses CLIP (openai/clip-vit-base-patch16) model for both text and image embeddings.
"""
import torch
from PIL import Image
from transformers import CLIPProcessor, CLIPModel
import numpy as np
import torch.nn.functional as F
@agokrani
agokrani / claude-code-prompt.txt
Last active January 20, 2026 08:19
Claude Code System Prompt
'system':
[
{
'type': 'text',
'text': "You are Claude Code, Anthropic's official CLI for Claude.",
'cache_control': {'type': 'ephemeral'}
},
{
'type': 'text',
'text': 'You are an interactive CLI tool that helps users with software engineering tasks.
#!/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
@ashokallu
ashokallu / idiomatic_go_v2.md
Last active August 13, 2025 00:51
Idiomatic Go Programming Guide 2025+ - Gold Standard Edition

Idiomatic Go Programming Guide 2025+ - Gold Standard Edition

"Go is about making software engineering more effective, not just making programmers more productive." - The Go Team

Target Go Version: Go 1.23+ (examples align with 1.23–1.24 features)


Executive Summary

@sergeyk
sergeyk / claude_code_prompts_and_tools.yaml
Last active January 16, 2026 03:43
Claude Code System Prompt and Tool Descriptions
model: claude-opus-4-20250514
messages:
- role: user
content:
- type: text
text: |
<system-reminder>
As you answer the user's questions, you can use the following context:
# important-instruction-reminders
Do what has been asked; nothing more, nothing less.
@chriscarrollsmith
chriscarrollsmith / llm-hackathon-submissions.md
Last active July 18, 2025 08:29
Writeup of submissions to the Coders' Colaboratory `llm` hackathon in Latham, New York

Projects

Runner-Up: Doctor of Credit

Prerequisites

Google Chrome CLI entrypoint