~/talk

Scripting the GitHub Copilot CLI - Deep Dive

slides:none on file

Dives into the Copilot CLI workflow: runs Copilot from the terminal with -p (prompt) and allow tools to emit standard out, uses command substitution and globbed file preloads to pass real repo context, converts diffs into auto commit messages, and manages sessions with continue/resume for chained work. Shows ZSH aliases to shorten commands, builds markdown-based agents and a tool called MDFlow, and wires agents into a pre-commit hook that blocks commits when tests are missing.

AI-written summary · about

  1. 0:00Intro and Overview of Copilot in the Terminal
  2. 0:49Running Copilot with Prompt Mode and Standard Output
  3. 1:30Preloading Context and Using Markdown for AI
  4. 2:22Using Diffs and Automating Commit Messages
  5. 3:03Key Flags: -p, Allow Tools, and Workflow Security
  6. 3:34Demo: Running Copilot in the Terminal
  7. 4:10Setting Up ZSH Aliases for Copilot Commands
  8. 5:54Interactive Mode vs Prompt Mode Explained
  9. 8:49Combining AI with Command Substitution and GitHub CLI
  10. 11:30Continue and Resume Sessions for Workflow Efficiency
  11. 13:41Building Custom Agents with Markdown
  12. 16:36Automating Pre-Commit Hooks with AI Agents
  13. 18:15Introducing MDFlow: Markdown That Thinks
  14. 20:49Running Markdown Files as Intelligent Agents
  15. 23:40Advanced Features: Piping, Templates, and Conditional Logic
  16. 25:55Wrap-Up and Final Thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.