Skip to content

Instantly share code, notes, and snippets.

@sc0tfree
sc0tfree / AutoModeSummary.md
Created March 31, 2026 16:34
Claude Code Auto Mode

Claude Code Auto Mode: A Comprehensive Technical Summary

Auto mode replaces the human "approve/deny" permission prompt with an ML classifier that evaluates every tool call before execution. Instead of asking you whether rm -rf node_modules is okay, a second instance of Claude (Sonnet 4.6) reads the conversation transcript and decides in real time.

This document walks through how it works, from the high-level architecture down to the actual code.


Table of Contents

@rymiwe
rymiwe / README.md
Last active November 21, 2026 22:42
Claude Code config backup with chezmoi - auto-sync settings, agents, rules across machines

Claude Code Config Backup

Automatically backup your Claude Code configuration to a private GitHub repo using chezmoi. Your settings, agents, rules, and project configs are version-controlled and synced across machines.

What you get:

  • Auto-backup of memory files, rules, settings, agents, and skills
  • Auto-push to your dotfiles repo via chezmoi's native autoPush
  • Auto-pull on session start to keep multi-machine setups in sync
  • Restore your full setup on any machine with two commands
@OmerFarukOruc
OmerFarukOruc / opencode-kimi-setup.md
Last active August 28, 2026 08:37
OpenCode + Kimi For Coding (K2.5) Setup

OpenCode + Kimi For Coding (K2.5) Setup

1. Add credentials

opencode auth login
# Select "Kimi For Coding"
# Enter your API key (sk-kimi-...)
@ctoth
ctoth / CLAUDE.md
Created November 30, 2025 20:46
My Current global CLAUDE.md

Working with Q — Coding Agent Protocol

What This Is

Applied rationality for a coding agent. Defensive epistemology: minimize false beliefs, catch errors early, avoid compounding mistakes.

This is correct for code, where:

  • Reality has hard edges (the compiler doesn't care about your intent)
  • Mistakes compound (a wrong assumption propagates through everything built on it)
  • The cost of being wrong exceeds the cost of being slow
@cau1k
cau1k / warpgrep-v0.2.49.ts
Last active February 20, 2026 12:20
warpgrep tool for opencode (see warpgrep-v1.ts if you're having issues)
import { WarpGrepClient } from "@morphllm/morphsdk";
import { tool } from "@opencode-ai/plugin/tool";
import { promises as fs } from "fs";
import { resolve } from "path";
const z = tool.schema;
const MAX_RETRIES = 3;
const BASE_DELAY_MS = 250;
const MAX_CONTEXTS = 20;
@airtonix
airtonix / AGENTS.md
Created November 23, 2025 08:12
Memory in an AGENT.md

AGENTS.md

Note

CRITICAL Before doing any work, read the entire contents of this file carefully.

!`cat TODO.md`

Opencode plugin development guide

Generated with LLM assistance on 2 Nov 2025 with minimal human verification.

Overview

Opencode plugins extend the functionality of the Opencode AI assistant by allowing you to add custom tools, authentication providers, event handlers, and hooks into the core system. This guide covers how to create, configure, and distribute plugins.

Source files:

OpenCode notification plugin

Shows desktop notifications with a summary of what the agent last said:

Screenshot

  • Place AGENTS.md in ~/.config/opencode/AGENTS.md
  • Place notification.ts in ~/.config/opencode/plugin/notification.ts
@bokub
bokub / 1_Google.md
Last active October 19, 2026 01:29
Free map tiles (with preview)

Free Google Maps tiles

URL: https://{s}.google.com/vt/lyrs={l}&x={x}&y={y}&z={z}

Parameters:

  • Subdomain: mt0, mt1, mt2, mt3
  • Layer:
    • m = standard roadmap
    • r = alternative roadmap
  • h = roads only
@begoon
begoon / AWS lambda custom runtime for Deno or Bun
Last active November 7, 2025 04:55
AWS lambda custom runtime for Deno or Bun
.