Skip to content

Instantly share code, notes, and snippets.

View sheldonhull's full-sized avatar
👋
Hi! Who keeps their github status up to date? You get a 🌮 just for reading this

sheldonhull sheldonhull

👋
Hi! Who keeps their github status up to date? You get a 🌮 just for reading this
View GitHub Profile
@Shpigford
Shpigford / CLAUDE.md
Created September 4, 2026 00:30
Modification to CLAUDE.md to help manage token usage with Fable

Delegation policy (read first)

The session model (Fable) is the orchestrator, not the worker. Fable is the most expensive tier; spend its tokens only on decomposition, judgment calls, synthesis, and talking to the user. Delegate everything else to subagents via the Agent tool, picking the cheapest model that can do the job well:

  • model: "opus" — the default worker tier. Anything requiring real judgment: implementation, debugging, architecture-aware exploration, adversarial review.

  • model: "sonnet" — cheap tier for mechanical or low-stakes work: running tests and reporting output, simple greps/lookups with a known target, rote refactors from an exact spec, formatting, screenshot capture, admin chores. If getting it slightly wrong is cheap to catch, use sonnet.

  • Exploration/research: never read broadly yourself. Spawn Explore agents (model: opus) with tightly scoped questions; consume their synthesized reports, not raw files. Trivial "find the file that defines X" lookups can go to sonnet.

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

Beast Mode

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Below you will find the Beast Mode prompt in various versions - starting with the most recent - 3.1

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"

I have found a way to build Windows container images without Docker - It doesn't use a Dockerfile though.

The way I got this to work is using crane from Google (https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane.md) which lets you append image layers to a base image. You can build Windows images on either Linux or Windows or inside of a container (Linux/Windows) - however, you'll need to build any artefacts (e.g. EXE, DLLs) on a Windows machine since this approach is using Crane to assemble a Windows container image on a Linux host (container).

Here is a quick PoC I did to prove it works (using Docker Desktop with Windows Container mode on my laptop):

dotnet --version
# 7.0.102
@WillianTomaz
WillianTomaz / wsl2-with-1password-info.md
Last active October 15, 2026 20:12
Instructions for using 1Password SSH Agent with WSL2 (on Windows 11)

LinkedIn

Saturday, April 22, 2023

How to Use 1Password SSH Agent with WSL2 (on Windows 11)

  • Note:

    • Always look for the official documentation, this tutorial may not suit you as there are new updates to the installation process.
    • References are at the end of the document.
  • Was used:

@gmlewis
gmlewis / build.go
Created February 3, 2023 00:58
Work in progress - build step using Dagger.io
package common
import (
"context"
"fmt"
"log"
"path/filepath"
"runtime"
"dagger.io/dagger"
@gmlewis
gmlewis / on-push-to-develop.yml
Created February 3, 2023 00:49
Work in progress - GitHub Action - pushing image to Azure Container Registry using Dagger.io
name: On push to develop
on:
push:
paths:
- '.env.test'
- '.**.js'
- '**.js'
- '**.json'
- '**.lock'
- 'public/**'
@gmlewis
gmlewis / azure.go
Last active February 3, 2023 01:32
Work in progress - pushing image to Azure Container Registry using Dagger.io
package common
import (
"context"
"log"
"dagger.io/dagger"
)
// PublishToAzure performs a Dockerfile build on the provided repo and pushes to the
@quii
quii / arrange_the_furniture.md
Last active May 17, 2025 17:22
Furniture arranging checklist

Refactoring step, starting checklist

Refactoring (or as i often annoyingly call it, "Furniture arranging") is a skill that once practiced enough, becomes second-nature, and in a lot of cases, very easy.

It often gets conflated with design, but they are separate activities.

Refactoring vs Design

Refactoring is just improving existing code and not changing behaviour, and it's usually very localised changes; tests shouldn't have to change. A lot of very helpful refactorings are simple to learn, easy to do (many are almost entirely automated by your IDE) but over time become hugely impactful to the quality of our system.

@lorenzodifuccia
lorenzodifuccia / disable_atp.sh
Last active May 21, 2026 12:51
Disable Microsoft Defender ATP on MacOS
launchctl unload /Library/LaunchAgents/com.microsoft.wdav.tray.plist
sudo launchctl unload /Library/LaunchDaemons/com.microsoft.fresno.plist
sudo launchctl unload /Library/LaunchDaemons/com.tanium.taniumclient.plist