Skip to content

Instantly share code, notes, and snippets.

View watzon's full-sized avatar
👀
Looking for work

Chris Watson watzon

👀
Looking for work
View GitHub Profile
@watzon
watzon / swarm.md
Last active January 30, 2026 18:08
description
Execute a multi-expert research swarm - analyzes your prompt, spawns 3-10 specialized expert agents in parallel, and compiles a comprehensive report

Swarm Command - Multi-Expert Research System

Analyze a user prompt to determine the optimal expert composition (3-10 experts), spawn each expert as a parallel sub-agent with a unique persona, and compile their individual research findings into a comprehensive, structured report.
@watzon
watzon / setup.sh
Last active August 3, 2025 04:15
Claude Infra Setup
#!/bin/bash
# Claude Code Infrastructure Setup Script with Research Functionality
# This script sets up a structured development environment with AI-powered workflow
echo "🚀 Claude Code Infrastructure Setup (with Research)"
echo "================================================"
# Create .claude directory structure
echo "📁 Creating .claude directory structure..."
@watzon
watzon / spec.md
Created July 14, 2025 19:11
Elysium Living Specification

Elysium Language Specification

Version: 0.1 (Initial Draft) Status: Under active development

1. Introduction

Elysium is a modern programming language that emphasizes readability, safety, and performance. This specification defines the syntax, semantics, and behavior of the Elysium language.

1.1 Design Principles

@watzon
watzon / proof.md
Last active November 22, 2024 06:29

aspe:keyoxide.org:53LRCXONXJ2LZQWY6KZMILBJKQ

@watzon
watzon / local-overrides.quirks
Created November 7, 2024 04:12
Fix Synaptic touchpad issues on Dell laptops on Linux
# /etc/libinput/local-overrides.quirks
[Device]
MatchName=SynPS/2 Synaptics TouchPad
MatchUdevType=touchpad
MatchBus=ps2
# We need to add a valid DMI modalias match as required
MatchDMIModalias=dmi:*
# Disable the device by telling libinput to ignore its input properties
@watzon
watzon / with_std.cr
Last active September 25, 2023 06:05
Crystal function to capture stdin and stdout and redirect them within the block, returning an array containing 2 strings
def with_std(&block)
original_stdout = File.open("/dev/null")
original_stdout.reopen(STDOUT)
original_stderr = File.open("/dev/null")
original_stderr.reopen(STDERR)
stdout_reader, stdout_writer = IO.pipe
stderr_reader, stderr_writer = IO.pipe
import { useState } from "preact/hooks";
export interface MessageInputProps {
onSubmit: (message: { content: string; image: string | null }) => void;
}
const MessageInput = ({ onSubmit }: MessageInputProps) => {
const [message, setMessage] = useState<string>("");
const [image, setImage] = useState<string | null>(null);
@watzon
watzon / promptconvert.py
Created February 22, 2023 04:22
Stable Diffusion WebUI to InvokeAI prompt conversion script
import re
import argparse
re_attention = re.compile(r"""
\\\(|
\\\)|
\\\[|
\\]|
\\\\|
\\|

Keybase proof

I hereby claim:

  • I am watzon on github.
  • I am watzon (https://keybase.io/watzon) on keybase.
  • I have a public key whose fingerprint is 51B2 65DD 8352 2995 046F C8D6 3670 7B02 0200 D3D9

To claim this, I am signing this object:

@watzon
watzon / tagcopier.js
Created October 21, 2022 01:09
Danbooru Tag Copier
// ==UserScript==
// @name Danbooru Tag Copier
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Automatically copy all general tags from danbooru page to your clipboard
// @author watzon
// @match https://danbooru.donmai.us/posts/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=donmai.us
// @grant none
// ==/UserScript==