Skip to content

Instantly share code, notes, and snippets.

View arbal's full-sized avatar
👌
new Adaptor(this); // new Adaptor(_humans[].Behavior);

Arbal arbal

👌
new Adaptor(this); // new Adaptor(_humans[].Behavior);
  • Los Angeles, CA
  • 21:00 (UTC -07:00)
View GitHub Profile
@arbal
arbal / 99nocache
Last active December 14, 2025 09:08
/etc/apt/apt.conf.d/99nocache
APT::Keep-Downloaded-Packages "false";
@alirezarezvani
alirezarezvani / claude-code-skills-complete-guide.md
Last active June 9, 2026 04:36
Ultimate guide to extending Claude Code with skills, agents, commands, and utilities. Covers Tresor (ready-to-use), Skill Factory (custom builds), and Skills Library (26+ domain packages).

Complete Guide to Claude Code Augmentation: Skills, Agents, Commands & Utilities (2025)

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


📋 Table of Contents

@bgauryy
bgauryy / claude_code_tools_cli.md
Created October 17, 2025 13:49
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:

@alerma-sumo
alerma-sumo / README.md
Last active September 16, 2025 00:49
LiteLLM Claude Code Installation with Bun TypeScript compilation

LiteLLM Claude Code Integration

A Bun-based TypeScript package for integrating Claude Code with LiteLLM proxy authentication.

Features

  • 🚀 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
@musistudio
musistudio / gemini-cli.js
Last active May 1, 2026 14:57
GeminiCLITransformer
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",
@karilaa-dev
karilaa-dev / README.md
Last active January 4, 2026 14:11
NotDiamond Auto Router for Open WebUI

NotDiamond Auto Router

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.

Installation

  1. Place the Script: Copy the notdiamond_auto_router.py file into the /data/pipes directory inside the installation volume.
  2. Install Dependencies: The system will automatically detect the requirements: httpx line in the script's docstring and install the necessary Python package. A restart may be required.
@arbal
arbal / move-conda-envs.sh
Created April 8, 2025 17:46 — forked from NucciTheBoss/move-conda-envs.sh
Move conda environments to a new location on your Linux system.
#!/usr/bin/env bash
echo "Begin environment relocation."
NEW_ENV_DIR=$1
BASE_ENV=$(conda info --base)
#########################################
#
# Install jq locally
#
@sshh12
sshh12 / cursor-agent-system-prompt.txt
Last active June 1, 2026 16:33
Cursor Agent System Prompt (March 2025)
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.
@wsuff
wsuff / amucfg.py
Last active July 4, 2025 01:48
amucfg.py: Automating AI Model Metadata for Aider with OpenRouter
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"
@matthewhand
matthewhand / .env.example
Last active June 29, 2026 17:16
LiteLLM Load Balancing with free endpoints (nested configs)
SAMBANOVA_API_KEY=
GEMINI_API_KEY=
HUGGINGFACE_API_KEY=
HYPERBOLIC_API_KEY=
OPENAI_API_KEY=
GROQ_API_KEY=
XAI_API_KEY=
OPENROUTER_API_KEY=
COHERE_API_KEY=
TOGETHERAI_API_KEY=