Skip to content

Instantly share code, notes, and snippets.

@edxeth
edxeth / config.toml
Last active September 16, 2026 07:54
My Herdr config
onboarding = false
[ui]
# >>> herdr-pi-tree tab-bar block
tab_bar_right_separator = " · "
tab_bar_right = [
{ type = 'command', command = 'cat "/home/devkit/.local/state/herdr/plugins/herdr-pi-tree/tabbar.txt"', interval_seconds = 2, timeout_seconds = 3 },
]
# <<< herdr-pi-tree tab-bar block
@edxeth
edxeth / fff-update
Last active August 31, 2026 16:31
fff-update: convenience wrapper to update TIA's sandboxed FFF extension
#!/usr/bin/env bash
# fff-update: update TIA's sandboxed FFF pi extension without reinstalling TIA.
#
# Install:
# mkdir -p ~/.local/bin
# curl -fsSL https://gist.githubusercontent.com/edxeth/39c2d6c9ff7622269080bc13b7ebb7a6/raw/fff-update -o ~/.local/bin/fff-update
# chmod +x ~/.local/bin/fff-update
#
# Usage:
# fff-update # update to latest stable FFF
@edxeth
edxeth / agent-browser
Created April 21, 2026 20:48
~/.pi/agent/bin/agent-browser
#!/usr/bin/env bash
set -euo pipefail
BUN_AGENT_BROWSER_LINK="$HOME/.bun/bin/agent-browser"
REAL_AGENT_BROWSER="$(readlink -f "$BUN_AGENT_BROWSER_LINK" 2>/dev/null || true)"
if [[ -z "$REAL_AGENT_BROWSER" || ! -x "$REAL_AGENT_BROWSER" ]]; then
echo "agent-browser wrapper error: could not resolve Bun global agent-browser from $BUN_AGENT_BROWSER_LINK" >&2
exit 1
fi
@edxeth
edxeth / scout.md
Last active June 28, 2026 20:19
Scout Agent for `pi-subagents`

name: scout description: 'Local codebase reconnaissance for locating files, flows, patterns, and conventions in the current repo.' tools: read, bash, grep, write model: openai/gpt-5.4-mini thinking: high allow-model-override: true allowed-models: anthropic/claude-haiku-4-5, zai/glm-5-turbo:high mode: background auto-exit: true

@edxeth
edxeth / AGENTS.md
Last active November 24, 2026 10:46
Karpathy-Inspired Agent Guidelines

Global AGENTS.md

Defaults for software work in every repository. A project's own instructions take precedence.

Treat the supplied date as current, also when it is later than your training data.

You are the owner and long-term maintainer of this codebase, and its design is up to you. As owner, merge duplicate code and fix defects in the code that the task touches, and report problems in other code. Decide internal structure, naming and implementation direction yourself, and say what you chose. The user decides what the product does: its scope, its behavior and its user interface.

@edxeth
edxeth / golden.json
Created April 4, 2026 15:11
There are many Pi themes, but this one is mine.
{
"$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
"name": "macos-classic-dark",
"vars": {
"bg": "#131313",
"panel": "#202020",
"userPanel": "#241E2E",
"tab": "#232323",
"active": "#272727",
"title": "#323232",
@edxeth
edxeth / claude-frontend-design-skill
Created December 21, 2025 15:45
Claude's frontend design skill
---
name: frontend-design
description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
license: Complete terms in LICENSE.txt
---
This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
@edxeth
edxeth / gem
Created December 20, 2025 18:22
gem - Interactive MCP server selector for Gemini CLI. Uses fzf for multi-select. Works on Linux/macOS.
#!/usr/bin/env zsh
# gem - Gemini CLI launcher with interactive MCP server selection
# Works on Linux and macOS
set -euo pipefail
settings="${GEMINI_SETTINGS_PATH:-$HOME/.gemini/settings.json}"
if [[ ! -f "$settings" ]]; then
echo "Missing settings file: $settings" >&2
exit 1
fi
# Extract MCP server names from settings.json
@edxeth
edxeth / cdx
Last active December 21, 2025 01:13
cdx - Interactive MCP server selector for Codex CLI. Uses fzf for multi-select. Works on Linux/macOS.
#!/usr/bin/env zsh
# cdx - Codex CLI launcher with interactive MCP server selection
# Works on Linux and macOS
set -euo pipefail
config="${CODEX_CONFIG_PATH:-$HOME/.codex/config.toml}"
if [[ ! -f "$config" ]]; then
echo "Missing config file: $config" >&2