# Don't use AI Agents without using these 8 skills
<!--
ref: @content/youtube/david-ondrej/2026-08-02-eight-agent-skills-you-should-use
version: 3
updated_at: 2026-10-31T19:22:12.284Z
-->

David Ondrej (2026-08-02): Ondrej's claim is that only two variables now determine outcomes with agents: how well you can steer them, and whether you can afford the tokens.

*Synthesized from David Ondrej on David Ondrej, 2026-08-02.*

David Ondrej has spent over 2,000 hours coding with AI agents across three years and open-sourced his agent skills repo, which drew over half a million views on Twitter and endorsements from engineering leaders including OpenSea CTO Chris Maddern.

## Core Thesis

Ondrej's claim is that only two variables now determine outcomes with agents: how well you can steer them, and whether you can afford the tokens. Skills are the steering mechanism, and he stresses they are written *for agents*, not primarily for humans — human readability is secondary. He walks through eight of the 42 skills in his repo, and the running theme is that most of them have nothing to do with coding: guardrails, isolation, remote agent management, and decision review are what make an agent fleet usable at all.

## Key Insights

- **Global agent guardrails** is the prerequisite skill. Running agents in YOLO mode (`--dangerously-skip-permissions`) is the only practical way to operate multi-agent systems at scale, but the risk of a wiped production database doesn't disappear with a smarter model. The skill installs **pre-tool-call hooks** that programmatically block dangerous commands before they execute — recursive deletes aimed at root, the home folder, or the user tree; disk destroyers; deletes with admin power; fork bombs; piping the internet straight into a shell; rewriting remote git history; deleting remote branches and tags; breaking system permissions and ownership; destroying the reflog; and GitHub CLI safety. Crucially, it's a shell-script hook, not a system-prompt instruction — Ondrej's point is that prompting the agent not to do something is not strong enough.
- The hook distinguishes cases by shape, not just by command: a recursive delete of `node_modules` is allowed because it's routine; a recursive delete of the machine is not.
- **Git worktrees** are essential once more than about five agents work in the same repository, otherwise they fight over the same files. Each worktree is a copy of the repo in a separate directory on its own branch, giving each agent isolation. The skill covers detecting where you are, creating and removing worktrees, marking them complete, automating setup, and — the detail that actually bites — copying over environment files, without which the worktree agent can't do what the primary checkout can.
- **VPS server management** lets one agent administer the others. Ondrej runs separate VPSs per agent: one for his personal assistant tracking calories and workouts, another for tasks and productivity workflows. The skill teaches any agent how to SSH in (directly or over Tailscale), navigate the relevant install layouts, recover a crashed agent, and update models when a new one ships — otherwise every one of those is manual work per box.
- Isolation on a VPS solves two problems at once: agents can't delete things on your own machine, and they can't collide with each other. Connected to Slack, WhatsApp, Telegram, or Discord, the same setup extends past coding into any part of life or business.
- **The goal-loop skill** turns a vague instruction into a properly-formed goal prompt. `/goal` only works with a verifiable end condition — "build this feature" wastes it, "find 100 CMOs in Idaho with at least three forms of contact" doesn't. The skill encodes the definition, requirements, when to use it, and a five-part contract, so a two-sentence plain-English request written in 20 seconds becomes a full goal contract (output CSV structure, public-sources-only constraint, progress file) that would otherwise take five to ten minutes to draft.
- His repeated framing: because the tools are called Claude Code and Codex, people stop at coding. Goal loops are equally suited to sourcing people, marketing contacts, and hiring candidates.
- **Setup help** is the inverse skill — for when *you* must do the work, such as configuring a database you don't want to give the agent access to, or filling in a web form. Its value is a format that always shows the current step plus the list of remaining steps, so drilling into one step with follow-up questions doesn't cause the agent to hyper-focus and lose the plan. Ondrej applies it to anything multi-step: backend deployment, DNS changes, even taxes.
- **Decisions**, credited to Victor Talan's tweet, is his second-shortest skill and among the most valuable. Frontier models write near-perfect code but occasionally exercise questionable judgment, so after any medium or large change you ask what choices the model isn't confident about. Ondrej modified the original because "list all" made models overthink and enumerate trivia: his version asks the model to reason deeply about important decisions, consider whether better alternatives exist, explicitly *skip* anything already at the best available solution, and answer concisely in plain English.
- **Next decision** is the companion format skill: rather than dumping ten decisions at once — which leaves you unable to give proper context on any of them — it surfaces one decision at a time with roughly four options and a recommendation, so you can accept, override, or reject the whole set.
- The underlying argument: writing code has never been cheaper (10,000 lines in minutes), so the expensive, unscalable part is review. Reviewing 2,000 lines across 30 files is not viable; reviewing the four decisions that shaped them is. Judgment on decisions is where humans still beat the model.
- **Anti-sleep** wraps macOS `caffeinate` in a shipped shell script so agents left running overnight or during a gym trip don't get suspended. Shipping the script rather than having the agent regenerate the command each time saves tokens and makes behavior predictable; it also lets the agent check whether a previous process is already running. Default is three hours, adjustable, with settings strong enough to keep both screen and processes awake.
- Ondrej also uses agents for small local chores rather than clicking through UIs: finding and opening the right macOS settings pane, revealing a file in Finder, or copying a SQL migration to the clipboard.
- The eighth skill wraps a single-key web-capability API he's building (scraping, deep research and web search, image generation, audio transcription, memory, and an agent-owned email inbox that sends and receives without Gmail or Outlook authentication). The general lesson he draws is the one that applies regardless of vendor: a fresh agent on a fresh machine starts with nothing, most APIs ship no agent skill because they weren't built for agents, and a skill keeps those instructions out of the system prompt so they load only when relevant.
- On why skills matter at all: Google Trends shows steep growth in "agent skills" searches, and Ondrej suggests using a strong reasoning model at high effort to review whether a skill is written well *for agents* — since agents, not humans, are the primary users.

## Actionable Takeaways

1. Install pre-tool-call hooks blocking destructive command patterns *before* you run any agent in YOLO mode; treat prompt-level instructions as insufficient protection.
2. Allow-list the routine destructive commands (deleting `node_modules`) explicitly so guardrails don't block normal work.
3. Switch to git worktrees once you run more than a handful of parallel agents on one repo, and make sure your worktree setup copies environment files across.
4. Isolate long-lived personal or productivity agents onto separate VPSs, and keep a skill that teaches any agent how to SSH in, recover a crashed instance, and update models across boxes.
5. Only reach for `/goal` when you can state a verifiable end condition with concrete numbers; use a skill to expand short requests into the full goal contract rather than hand-writing it.
6. Use goal loops for non-coding work — lead sourcing, contact enrichment, recruiting research.
7. For any procedure you must perform yourself, use a skill that restates the current step *and* the remaining steps in every reply, so follow-up questions don't lose the sequence.
8. After every large change, ask: which important decisions did you make that you are not confident about? Instruct the model to skip decisions already at the best solution and answer concisely.
9. Review decisions one at a time with a small set of alternatives and a recommendation, not as a batch of ten.
10. Keep the machine awake with a shipped script (macOS `caffeinate`) rather than an ad-hoc command, so the agent can verify state and skip regenerating tokens.
11. Ship reusable scripts inside skills wherever behavior is deterministic — cheaper and more predictable than regenerating code each run.

## Notable Quotes

> "Everything we build, guys, it's not for humans anymore. It's for the agents." — David Ondrej

> "Whoever can control the agents and whoever can best steer them, those are the people who are going to win." — David Ondrej

> "It's never been cheaper to write code." — David Ondrej

> "Instead of reviewing thousands of lines of code, you just review the core decisions." — David Ondrej

> "While working on this, which choices did you make that you're not confident of? List all." — Victor Talan, quoted by David Ondrej

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*