Skip to content

Instantly share code, notes, and snippets.

View EternallLight's full-sized avatar

Andrey Grunev EternallLight

View GitHub Profile
@EternallLight
EternallLight / SKILL.md
Created June 29, 2026 12:22
cmux-orchestrate — a Claude Code skill: drive cmux terminal panes/splits/tabs and the agents running in worker panes via the cmux CLI
name cmux-orchestrate
description Use when orchestrating cmux terminal panes, splits, tabs, worker sessions, or agents in other cmux panes, including reading screens, sending commands, answering prompts, jumping to unread activity, or setting AFK check-ins. Do not use for tmux, IDE/browser tabs, deployment replicas, or plain command execution.

cmux Orchestrate

Drive a cmux terminal workspace — build pane layouts, name tabs, send work to worker panes, read their screens, and answer the agents running inside them — translating the user's plain English into real cmux CLI calls fast, without paging through help every time.

cmux is agent-first: it exposes a Unix-socket CLI so an agent can inspect and control the whole window/workspace/pane/surface tree. You don't memorize a GUI; you read the surface and act on it.

@EternallLight
EternallLight / SKILL.md
Created June 29, 2026 12:22
orchestrate-plan — a Claude Code skill: execute a locked PLAN.md via fresh-context cmux worker pane(s), one phase per /clear, parallel lanes for independent repos
name orchestrate-plan
description Use when executing a locked PLAN.md (e.g. produced by grill-with-docs-codex / codex-review) by delegating the implementation to cmux worker pane(s) ONE PHASE at a time — splitting the plan into context-window-sized phases, fully clearing the worker's context between phases, and (when the plan touches INDEPENDENT repos) running one worker pane per repo IN PARALLEL with a ~45s monitor/unblock loop. Triggers on "execute the plan", "implement PLAN.md", "orchestrate this implementation", "run the plan with a worker", "split the plan into phases and build it", "build the backend and frontend in parallel panes". Builds on cmux-orchestrate. Not for edits you can finish inline, and not outside a cmux workspace.

Orchestrate Plan — execute a PLAN.md via fresh-context worker(s), one PHASE at a time

You are the orchestrator (manager). You do NOT write the implementation yourself. You split a locked plan into context-window-sized phases and drive one or more *worker

@EternallLight
EternallLight / bootstrap.sh
Created February 20, 2026 15:35
Toggl Focus — Full Designer Bootstrap
#!/bin/bash
# Toggl Focus — Full Designer Bootstrap
#
# Runs both setup scripts in order:
# 1. Dev environment (Homebrew, Node, repos, etc.)
# 2. Claude Code MCPs (Flow DS, plugins, skills)
#
# Host as a PUBLIC Gist, then share one command with designers:
# /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/YOUR_USER/GIST_ID/raw/bootstrap.sh)"
#

Keybase proof

I hereby claim:

  • I am eternalllight on github.
  • I am agrunev (https://keybase.io/agrunev) on keybase.
  • I have a public key ASBi8mVUaqjkA58LiAer5k_OkTHZeZmZUBlM7VMUqnUCbwo

To claim this, I am signing this object:

@EternallLight
EternallLight / voipbl.sh
Created March 18, 2018 08:04
Fail2Ban on Steroids – VoIP BlackList
#!/bin/bash
# Check if chain exists and create one if required
if [ `iptables -L | grep -c "Chain BLACKLIST-INPUT"` -lt 1 ]; then
/sbin/iptables -N BLACKLIST-INPUT
/sbin/iptables -I INPUT 1 -j BLACKLIST-INPUT
fi
# Empty the chain
/sbin/iptables -F BLACKLIST-INPUT
wget -qO - “http://www.voipbl.org/update/” |\
awk '{print "if [ ! -z \""$1"\" -a \""$1"\" != \"#\" ]; then /sbin/iptables -A
@EternallLight
EternallLight / textareaResizer.js
Last active September 10, 2016 13:52
Angular 1 directive which dynamically regulates TEXTAREA's height to fit the content that's being typed in
// Read more at http://web-mystery.com/articles/creating-dynamically-resizing-textarea-and-wrapping-it-angular-1-directive
angular.module('myAwesomeTextarea', [])
.directive('textareaResizer', function() {
return {
restrict: 'A',
link: function(scope, element) {
// Check if the directive is used on a textarea and stop otherwise
if (element[0].tagName != 'TEXTAREA') {
return;