Skip to content

Instantly share code, notes, and snippets.

View alexknowshtml's full-sized avatar

Alex Hillman alexknowshtml

View GitHub Profile
@alexknowshtml
alexknowshtml / gist-hook.md
Created June 30, 2026 03:13
Claude Code PreToolUse hook: prevent background subagents from dying in Discord sessions

discord-foreground-subagent-guard.sh

A Claude Code PreToolUse hook that prevents background subagents from being killed prematurely in Discord-driven sessions.

The Problem

When Claude Code runs via a Discord bot (or any system where the session ends when output stops), background subagents get killed immediately. The turn ends as soon as Claude stops emitting output, which sends [Request interrupted by user] to any in-flight background agents.

This affects:

  • Agent tool calls with run_in_background: true

June 30 Adam 1:1 Prep — Alex & Adam

Meeting: Tuesday, June 30, 2026 · 12:00–12:45pm ET · Boardroom


Adam's Active Work

20th Anniversary (Sept 26) — PRIMARY FOCUS

  • Newsletter shipped Jun 23. Merch deadline July 20 (confirm with Johnny + Eric 666cat)
@alexknowshtml
alexknowshtml / claude.toml
Last active June 12, 2026 20:29
herdr claude.toml agent-detection override: upstream rules + compacting_busy (compaction reads as working, not idle — keeps idle-reapers from killing claudes mid-compaction). Auto-rebased onto upstream manifest updates.
id = "claude"
version = "2026.6.12.2029"
min_engine_version = 2
updated_at = "2026-06-12T20:29:11Z"
aliases = ["claude-code"]
# REBUILT by scripts/scheduled-jobs/herdr-manifest-drift.cjs — do not hand-edit.
# Base: remote claude.toml below, plus custom rules from herdr-claude-custom-rules.toml.
# BASE_REMOTE_VERSION: 2026.06.10.3
@alexknowshtml
alexknowshtml / 1-README.md
Last active May 11, 2026 17:47
Getting started with M5Stack StickC S3: WiFi, OTA firmware updates, and a real-world sound level meter with Discord alerts. Progressive examples from hello world to production.

M5StickC S3: Getting Started

Progressive guide from hello world to over-the-air updates to a real sound meter app.

Hardware

M5Stack StickC S3 (not the original StickC — different chip, display, and pinout)

  • ESP32-S3
  • 135×240 TFT LCD
  • Built-in PDM microphone
@alexknowshtml
alexknowshtml / hackathon-welcome-slides.html
Created March 12, 2026 00:00
Good Neighbors Hackathon Welcome Slides
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Good Neighbors Hackathon — Welcome</title>
<!-- Fonts: Fraunces (display) + DM Mono (body) -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

title: Adam & Alex 1:1 date: 2026-02-17 time: "12:00-12:45pm ET" location: Google Meet location_url: https://indyhall.org/zoom/adam attendees:

  • Adam Teterus
  • Alex Hillman type: 1-1
@alexknowshtml
alexknowshtml / SKILL.md
Created February 17, 2026 00:40
Video Script Developer - AI skill for developing short-form social media video scripts
name video-script
description Develop short-form social media video scripts for Indy Hall. Use when the user shares a video idea, topic, or story and wants to shape it into a ~60-second script with a hook, story beats, and lesson/landing. Guides through clarifying questions to develop the concept, then outputs a structured script matching proven Indy Hall video patterns.

Video Script Developer

Collaborative script development for Indy Hall's short-form social media video series. Each video is ~60 seconds, anchored by a lesson/takeaway, supported by a story, and opened with a hook.

Success Examples

Tier 3 Processes — Non-Empty Files for Review

28 files with substantive content from the Notion export All Processes database. Already migrated items (Nexudus SOPs, Network Issues, Door Codes, Keys/Fobs, GMIH) are excluded.


Building & Utilities

PECO/PGW Accounts — Utility account numbers and meter info for 709 building units (PECO electricity, PGW gas).

Show & Tell Production SOP

Show & Tell is Indy Hall's weekly member presentation series. One speaker shares something about themselves — a personal project, new business, hobby, career journey — in a casual 10-15 minute talk, followed by Q&A and group discussion.

Status: On hiatus as of early 2026. This SOP preserves the production workflow and strategic intent so it can be revived without starting from scratch.


Why Show & Tell Matters

Show & Tell Production SOP

Show & Tell is Indy Hall's weekly member presentation series. One speaker shares something about themselves — a personal project, new business, hobby, career journey — in a casual 10-15 minute talk, followed by Q&A and group discussion.

Status: On hiatus as of early 2026. This SOP preserves the production workflow and strategic intent so it can be revived without starting from scratch.


Why Show & Tell Matters