Skip to content

Instantly share code, notes, and snippets.

View BjoernSchotte's full-sized avatar
:bowtie:
Tinkering 🤖

Björn Schotte BjoernSchotte

:bowtie:
Tinkering 🤖
View GitHub Profile

Garry Tan's Mega Plan Review Mode

name: plan-mega-review
version: 2.0.0
description: |
  The most thorough plan review possible. Three modes: SCOPE EXPANSION (dream big,
  build the cathedral), HOLD SCOPE (review what's here with maximum rigor), and
  SCOPE REDUCTION (strip to essentials). Context-dependent defaults, but when the
 user says EXPANSION — go full send. Challenges premises, maps every failure mode,

Serverless Claude Code Instances with Persistent Compute

1. Problem

We need a way to give each Discord channel its own persistent "computer" running Claude Code CLI, where:

  • The computer survives across sessions (disk persists)
  • It wakes up fast when a user sends a message (< 10s, ideally < 5s)
  • It costs near-zero when idle
@kieranklaassen
kieranklaassen / SKILL.md
Last active March 17, 2026 03:38
Claude Code Swarm Orchestration Skill - Complete guide to multi-agent coordination with TeammateTool, Task system, and all patterns
name description
orchestrating-swarms
Master multi-agent orchestration using Claude Code's TeammateTool and Task system. Use when coordinating multiple agents, running parallel code reviews, creating pipeline workflows with dependencies, building self-organizing task queues, or any task benefiting from divide-and-conquer patterns.

Claude Code Swarm Orchestration

Master multi-agent orchestration using Claude Code's TeammateTool and Task system.


@intellectronica
intellectronica / 0.README.md
Last active February 17, 2026 17:00
My AGENTS.md for MDFlow

Here's my AGENTS.md (also linked from CLAUDE.md as @AGENTS.md) for hacking agentically on MDFlow recipes.

I have this in ~/.mdflow/, and the agents/recipes live in ~/.mdflow/agents/ and added to the path so that they can be invoked as commands.

With this I can use a coding agent like Claude Code or GitHub Copilot in VSCode and say something like:

> create a new agent using copilot that reviews all the code files in this directory as a poem
@blueswen
blueswen / override_custom_dir_plugin.py
Last active July 9, 2022 07:22
MkDocs plugin example to adding custom directory dynamically or overriding specific template for a theme. Thanks for @squidfunk and @oprypin help.
import os
import pathlib
from mkdocs.plugins import BasePlugin
base_path = os.path.dirname(os.path.abspath(__file__))
custom_dir = os.path.join(base_path, 'custom_dir')
# there are some templates in package's custom_dir we want to use to override theme template
# Approach 1: Simulate https://github.com/mkdocs/mkdocs/blob/82bd8ba5ff177347d094b095bd623a85aaa4c80f/mkdocs/theme.py#L42
# to update theme dirs at begging
@scastiel
scastiel / Makefile
Last active October 13, 2025 14:32
Resources for eBook creating using Pandoc
all: pdf epub kindle html examples
BOOK_TITLE = A\ React\ Developer’s\ Guide\ to\ Hooks\ -\ Sebastien\ Castiel
dist:
@mkdir -p dist
pdf: dist/${BOOK_TITLE}.pdf
@echo '✅ PDF'
@sbyx
sbyx / low-battery-level-detection-notification-for-all-battery-sensors.yaml
Last active March 15, 2026 20:25
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Low battery level detection & notification for all battery sensors
description: Regularly test all sensors with 'battery' device-class for crossing
a certain battery level threshold and if so execute an action.
domain: automation
input:
threshold:
name: Battery warning level threshold
description: Battery sensors below threshold are assumed to be low-battery (as
well as binary battery sensors with value 'on').
@caseywatts
caseywatts / 0-self-publishing.md
Last active March 10, 2026 07:15
Self-Publishing via Markdown
@hhkaos
hhkaos / zapier_get_thumbnail_image_from_html.js
Last active February 5, 2024 19:21
This script can be executed using the "Code by Zapier" app to get an image from a page - https://zapier.com/zapbook/code/
/*
You need to set an inputData param called 'link'
with the URL field you want to parse.
More info: https://zapier.com/help/code/#data-variables
*/
fetch(inputData.link)
.then(function(res) {
return res.text();
})
.then(function(body) {
@tobsn
tobsn / base
Created May 28, 2014 14:28
nginx - sub_filter replace head with the current folder as base href for sub project folder structure
location / {
if ($uri ~* ^/([^.\?/]+)) {
set $foldername "$1";
}
sub_filter "<head>" "<head><base href=\"${scheme}://${host}/${foldername}/\">";
}