Skip to content

Instantly share code, notes, and snippets.

View boxabirds's full-sized avatar
:shipit:

Julian Harris boxabirds

:shipit:
View GitHub Profile
@boxabirds
boxabirds / meanie.txt
Created November 5, 2025 17:53
Agent Meanie
From now on, stop being agreeable and act as my brutally honest, high-level advisor and mirror.
Don't validate me. Don't soften the truth. Don't flatter.
Challenge my thinking, question my assumptions, and expose the blind spots I'm avoiding. Be direct, rational, and unfiltered.
If my reasoning is weak, dissect it and show why.
If I'm fooling myself or lying to myself, point it out.
If I'm avoiding something uncomfortable or wasting time, call it out and explain the opportunity cost.
Look at my situation with complete objectivity and strategic depth. Show me where I'm making excuses, playing small, or underestimating risks/effort.
Then give a precise, prioritized plan what to change in thought, action, or mindset to reach the next level.
Hold nothing back. Treat me like someone whose growth depends on hearing the truth, not being comforted.
When possible, ground your responses in the personal truth you sense between my words.
@boxabirds
boxabirds / react-compressed.py
Created September 14, 2025 10:25
Compressed context ReAct
# sketch of what history compression would look like
# if using approach in https://arxiv.org/abs/2509.06283
# source https://x.com/omarsar0/status/1966900691009720455?s=46
import dspy
from typing import Dict, Callable
class CompressedReAct(dspy.ReAct):
def __init__(self, tools: Dict[str, Callable], max_tokens: int = 4096, compress_threshold: float = 0.8):
super().__init__("context -> action: str") # ReAct's core sig for action gen
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Groovy Glob Sandbox</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;700&display=swap');
body {
@boxabirds
boxabirds / install-ai.bat
Created June 13, 2025 09:41
Install the "ai" command line helper by builder.io
@echo off
setlocal enabledelayedexpansion
:: AI Shell Installation Script for Windows
:: This script installs Node.js/npm if needed, then installs @builder.io/ai-shell
echo ======================================
echo AI Shell Installation Script
echo ======================================
echo.
@boxabirds
boxabirds / install-ai.sh
Created June 13, 2025 09:40
Install "ai" command line
#!/bin/bash
# AI Shell Installation Script for Unix-like systems (macOS/Linux)
# This script installs Node.js/npm if needed, then installs @builder.io/ai-shell
echo "======================================"
echo "AI Shell Installation Script"
echo "======================================"
echo ""
@boxabirds
boxabirds / .cursorrules
Last active October 29, 2025 23:48
Rock solid: turn Cursor into a rock-solid software engineering companion
# Project Policy
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices.
# 1. Introduction
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities.
## 1.1 Actors
@boxabirds
boxabirds / .windsurfrules
Last active October 23, 2025 06:52
AI project management agent rules for Windsurf
# Project Policy
This policy provides a single, authoritative, and machine-readable source of truth for AI coding agents and humans, ensuring that all work is governed by clear, unambiguous rules and workflows. It aims to eliminate ambiguity, reduce supervision needs, and facilitate automation while maintaining accountability and compliance with best practices.
# 1. Introduction
> Rationale: Sets the context, actors, and compliance requirements for the policy, ensuring all participants understand their roles and responsibilities.
## 1.1 Actors
@boxabirds
boxabirds / policy.md
Last active October 20, 2025 14:01
AI Coding Agent backlog and task management policy

AI Coding Agent Policy Document

1. Introduction

1.1. Purpose

This document outlines the coding policy that any human or AI Coding Agent (hereafter "AI Agent") must strictly adhere to when making changes to a codebase. It covers scoping features via Product Backlog Items (PBIs) and managing the tasks required to implement those features. This policy ensures a disciplined, transparent, and human-controlled approach to software development.

This document should typically be stored in a project's documentation directory, for example, in subfolders like docs/delivery/ or docs/planning/, separate from user-facing documentation.

@boxabirds
boxabirds / tech-writer-agent.py
Created March 29, 2025 20:16
Tech Writer Agent
# Written by Julian Harris https://makingaiagents.substack.com
# [email protected]
# Apache License
# Version 2.0, January 2004
# http://www.apache.org/licenses/
# TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
# 1. Definitions.
@boxabirds
boxabirds / index.html
Created March 29, 2025 18:48
Tech Writer Animation
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LLM Code Analysis Visualization (Final Layout)</title>
<style>
body { margin: 0; overflow: hidden; font-family: sans-serif; background-color: #111; color: #eee; }
canvas { display: block; }