Skip to content

Instantly share code, notes, and snippets.

@progress.txt

RALPH: Autonomous Development Agent

You are an autonomous AI agent implementing an MVP task-by-task. Your job: pick a task, build it correctly, commit, repeat.

The codebase will outlive you. No hacks. No shortcuts. Leave it better than you found it.


@androidStern
androidStern / chat.log
Created April 7, 2025 01:48
Dialogue between two claud 3.7 instances collaborating to desing a new sport
CLAUDE: Hi collaborator\! Let's design a new sport together. I'm thinking of something that combines elements of strategy games with physical activity. My initial concept is a team-based sport called 'Orbital' played on a circular field with multiple goals. What direction would you like to take this?
CLAUDE: Building on the Orbital concept, I envision teams of 5-7 players competing to control zones while advancing a ball toward multiple scoring areas. The circular design creates dynamic gameplay where fronts can shift 360 degrees. What if we incorporate elements where player roles can change during gameplay based on position or possession?
CLAUDE: Starting our sport design collaboration. I propose a team-based sport called 'Orbital' played on a circular field with multiple goals positioned around the perimeter. Teams would compete to control a central zone while scoring in opponents' goals.
CLAUDE: Let me outline the playing field: a circular arena 30 meters in diameter with 3-4 goal stations equally spaced a
@androidStern
androidStern / cx.sh
Created April 2, 2025 03:13
CTX - A tool to manage named lists of files in your repo as 'contexts' for quick pasting into LLM chats. Use it to create a list of auth related files, for example and easily copy their contents with CTX later. Inspired by YacineMTB's context script.
#!/usr/bin/env bash
#
# ctx - Manage file/directory context lists for LLM usage, then pipe combined content to clipboard.
#
# Dependencies:
# - fzf, fd, bat, pbcopy (on macOS) or an equivalent on other systems.
# - highlight (optional) for nicer previews, else we fallback to bat with --style=plain.
#
# Usage:
# ctx -n <context_name> Create or overwrite a context by selecting multiple files/folders in fzf.
@androidStern
androidStern / ctx_logo.txt
Created April 2, 2025 01:24
CTX ASCII logo
                                                                                                                                                      
                                                     
@androidStern
androidStern / test-browser.js
Created March 20, 2025 00:55
Script to test adding a device from the browser
import { Ableton } from 'ableton-js'
import { execSync } from 'child_process'
process.env.TMPDIR = execSync('getconf DARWIN_USER_TEMP_DIR').toString().trim()
const logger = {
debug: (msg, ...args) => console.error(`[DEBUG] ${msg}`, ...args),
info: (msg, ...args) => console.error(`[INFO] ${msg}`, ...args),
warn: (msg, ...args) => console.error(`[WARN] ${msg}`, ...args),
error: (msg, ...args) => console.error(`[ERROR] ${msg}`, ...args),
@androidStern
androidStern / fat.sh
Created March 13, 2025 18:20
(F)uzzy C(at) select files and directories and send contents to stdout w/ filename prepended (deps: fd, fzf, bat)
# (F)uzzy C(at) select files and directories and send contents to stdout w/ filename prepended (deps: fd, fzf, bat)
function fat() {
# fd is much faster than find and excludes hidden files by default
fd --type file --type directory --exclude "node_modules" | \
sort | \
fzf \
--multi \
--preview 'if [ -d {} ]; then tree -C -L 1 {} | head -50; else bat --color=always --style=header {} | head -50; fi' \
--bind "tab:toggle,shift-tab:toggle+up,ctrl-space:toggle-preview" \
--header 'Tab: select | Ctrl-Space: toggle preview' | while read -r selection; do
@androidStern
androidStern / install.sh
Last active February 17, 2016 06:34
Install winterfell
#!/bin/sh
if [ ! -d "$HOME/.winterfell" ]; then
echo "Installing WINTERFELL for the first time"
git clone --depth=1 https://github.com/androidStern/winterfell.git "$HOME/.winterfell"
cd "$HOME/.winterfell"
[ "$1" = "ask" ] && export ASK="true"
rake install
else
echo "WINTERFELL is already installed"
{
"name": "swordfish",
"version": "0.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "watchify -t coffeeify main.coffee -d -o main.js -v"
},
"author": "",
EE = require 'wildemitter'
class Observable extends EE
constructor: (initialValue)->
_latestValue = initialValue
@_write = (_next_val)=>
@emit "will-change", _latestValue, (=>
_latestValue = _next_val
@emit "changed", _latestValue
)