Date: 2026-04-24 Machine: MacBook Pro M4 Max, 16-core (12P+4E), 64GB unified memory, ~546 GB/s bandwidth Context: Research summary for picking and running local models on Apple Silicon, integrating them with Claude Code / Cline, and understanding the uncensored/abliterated model ecosystem.
| APT::Keep-Downloaded-Packages "false"; |
Ultimate resource for extending Claude Code with custom skills, specialized agents, slash commands, and professional utilities
Last Updated: October 28, 2025 | Author: Alireza Rezvani | License: MIT
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:
A Bun-based TypeScript package for integrating Claude Code with LiteLLM proxy authentication.
- 🚀 Bun-native: Built specifically for Bun runtime with native APIs
- 🔐 OIDC Authentication: Automated browser-based authentication flow
- 💾 Session Caching: Intelligent session management with validation
- ⚡ Compiled Executable: Single binary deployment via
bun build --compile
| const os = require("os"); | |
| const path = require("path"); | |
| const fs = require("fs/promises"); | |
| const OAUTH_FILE = path.join(os.homedir(), ".gemini", "oauth_creds.json"); | |
| // Type enum equivalent in JavaScript | |
| const Type = { | |
| TYPE_UNSPECIFIED: "TYPE_UNSPECIFIED", | |
| STRING: "STRING", |
This script is a pipe that uses the NotDiamond API to automatically route prompts to the most optimal language model based on a specified tradeoff (cost, performance, or latency).
It analyzes the user's prompt and selects the best-fit model from a predefined list, then seamlessly passes the request to the chosen model.
- Place the Script: Copy the
notdiamond_auto_router.pyfile into the/data/pipesdirectory inside the installation volume. - Install Dependencies: The system will automatically detect the
requirements: httpxline in the script's docstring and install the necessary Python package. A restart may be required.
| #!/usr/bin/env bash | |
| echo "Begin environment relocation." | |
| NEW_ENV_DIR=$1 | |
| BASE_ENV=$(conda info --base) | |
| ######################################### | |
| # | |
| # Install jq locally | |
| # |
| You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE. | |
| You are pair programming with a USER to solve their coding task. | |
| The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question. | |
| Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more. | |
| This information may or may not be relevant to the coding task, it is up for you to decide. | |
| Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag. | |
| <communication> | |
| 1. Be conversational but professional. |
| import requests | |
| import json | |
| import os | |
| import time | |
| import yaml | |
| import argparse | |
| import re | |
| from datetime import datetime | |
| OPENROUTER_API_BASE = "https://openrouter.ai/api/v1" |