WEBVTT

1
00:00:00.000 --> 00:00:04.000
Skylos CLI · Chapter 8: Agent guardrails
Stop a coding agent before it installs a fake package, reads a secret or skips your checks.

2
00:00:04.000 --> 00:00:11.000
Step 1: How the hooks work
Claude Code, Codex and Cursor ask Skylos before risky actions. Skylos answers allow or deny, with a reason the agent reads.

3
00:00:11.000 --> 00:00:22.900
Step 2: Install the hooks
One command adds Skylos to Claude Code's settings. Add --codex or --cursor for those agents.

4
00:00:22.900 --> 00:00:29.800
Step 3: What the agent sends
This is the event Claude Code sends before it runs a shell command. Here the agent is about to install "reqeusts".

5
00:00:29.800 --> 00:00:42.500
Step 4: Block fake and typo-squatted packages
The package does not exist on PyPI, so anyone could register it. Skylos denies the install and tells the agent how to fix it.

6
00:00:42.500 --> 00:00:54.100
Step 5: Keep secrets out of the model
app/payments.py holds a Stripe key. Reading it would send the key to the model provider, so Skylos blocks the read.

7
00:00:54.100 --> 00:01:05.700
Step 6: No skipping your git hooks
Agents reach for --no-verify when a pre-commit hook fails. Skylos blocks it and tells the agent to fix what the hook reports.

8
00:01:05.700 --> 00:01:16.100
Step 7: See what the hooks stopped
agent recap counts every block this week. The log stays on your machine.

9
00:01:16.100 --> 00:01:22.100
Recap: skylos agent install-hooks · Fake and typo-squatted installs are denied · Files with secrets are never sent to the model · --no-verify is blocked when you have git hooks · skylos agent recap
Next: Chapter 9 · AI assistant features
