Configuration excerpts and reproducible companion examples behind the articles on postcursors.dev.
This repository is written for two readers: humans and the coding agents that will reproduce or adapt these setups. Every bundle follows the same structure so an agent can navigate it deterministically:
README.md What, why, prerequisites, adapt-to-your-context, verify
<config files> Real, working code — not simplified stubs
- Read AGENTS.md first — it defines how to consume this repo.
- Each bundle's
README.mdcontains, in order:- What / Why — the real-world problem the config solves;
- Files — what each file does;
- Adapt to your context — the variables to change (paths, model names, keybindings, tool availability), with the decision points;
- Install — ordered commands;
- Pitfalls — traps already hit, as
symptom → cause → fix. Read this section before implementing: it is the accumulated experience; - Verify — how to prove the setup works.
- Never copy secrets, API keys, or machine-specific paths. Assume the user's context differs; the Adapt sections tell you what to change.
pi/— pi agent configuration: model-layering presets (budget ceiling per task type), guardrail extensions (rm -rfblocking, secret guard, workflow gates), slash-command prompts, and the test bench that proves the guardrails work.pi/env-guard/: standalone pi 0.85.1 extension, loading diagnostics and a real SDK/native-tool smoke without LLM requests.omp/git-review/: frozen Git exports, omp 18.8.6 review launcher and a public pagination-regression fixture.herdr/— herdr terminal-multiplexer integration: TV (Television) pickers for workspaces/tabs/panes, keybindings, and four documented pitfalls (reload half-validation, CLI child-process fork, popup stdout plumbing, TV source spawning).agents-md/— AGENTS.md hierarchy examples (project-wide file + per-directory overrides), the cheap way to give context to agents without context-window spending.opencode/— opencode config and project-scoped custom commands (endpoint scaffold, test generation, service scaffold).prompts/— prompt structure template and ✅/❌ pairs: task formulation, verifiable exit conditions, constraint types, anti-patterns.tmux/— tmux config excerpts for agent sessions: accessible prefix, vim-style navigation, one-key agent launch, named session for remote work.
- Layer coding-agent models with a budget ceiling —
pi/presets.json,pi/extensions/preset.ts - Constrain tools rather than instruct them —
pi/extensions/dangerous-commands.ts - Tool review — pi —
pi/extensions/ - Orchestrating coding agents with herdr —
herdr/ - AGENTS.md per subdirectory —
agents-md/ - A project-scoped custom command for opencode —
opencode/ - Prompt engineering for coding agents —
prompts/ - OpenCode setup: Neovim + tmux —
tmux/,opencode/config.json - Why Claude Code over OpenCode —
opencode/commands/new-service.md
Real excerpts from a daily setup, adapted for public use:
- machine paths replaced with
$HOME/ generic names; - no secrets, no API keys (the
secret-guard.tsregexes are the redaction feature, not leaks); - no private project or company data.
MIT — copy, adapt, no attribution required.