Skip to content

Instantly share code, notes, and snippets.

@tqbf
Created May 12, 2026 21:44
Show Gist options
  • Select an option

  • Save tqbf/03d7d3656a41f838308e6ce55224ebe3 to your computer and use it in GitHub Desktop.

Select an option

Save tqbf/03d7d3656a41f838308e6ce55224ebe3 to your computer and use it in GitHub Desktop.
workshop a swiftui bpftrace front-end with me.
assume I can ssh to a linux host where bpftrace runs (or many of them).
i'm just going to have an agent build this
---
complexifier: [REDACTED] so we can't use native ssh -- [REDACTED] [ed: you don't care]
---
two immediate wins from a frontend:
* swiftui-standard controls for selecting probe points (in the cli the possible matching probes scroll right off the screen)
* tables and graphs in the output
---
write a complete plan for this to hand off to the agent
---
❯ turn this into an 8-phase implementation plan; the first phase should confirm that you can, from
a swiftui app, use the terminal "ssh" command to ssh to the host "epigone" and issue a "sudo
bpftrace" command (i've verified that works locally) --- defer all [REDACTED] stuff.
---
❯ write expansive plan documentation for the 8-phase plan, including any research you need to do
on bpftrace. Include the macos-design and swiftui skills, and testing with the computer-use MCP
in those plans. Write a master PLAN.md in this directory and then plans for each phase in
plans/PHASE-$X.md. The master PLAN.md shoudl serve as an index to all the phases. Include in
the plan that progress on every stage should go in PROGRESS.md.
---
/clear
---
❯ read PLAN.md.
In a SERIES of subagents, one after the other, none running parallel, implement the 8-phase
plan here, stopping only if you run into a showstopper communicating with `epigone`.
At the end of each stage, test the current iteration of the software. If there is a UI built,
use the computer-use MCP to test the UI.
After designing any new UI components, in a subagent, use the macos-design, swiftui-pro, and
typography-designer skills to firm up the UI. This is a gating step before proceeding to the
next phase (or finishing the whole project).
---
❯ write a document about how to use this thing, including some example probes that exercise all
the different features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment