Making video with coding agents

Member lesson

Keeping keys and money out of the agent's reach

Lesson 10 of 10 in Making video with coding agents.

Checked against the makers' documentation on 25 September 2026.

How auto mode works with Claude Code · Claude
Lesson

Claude Code gives you three layers, and they do different jobs. Deny rules in settings.json stop its own file reading and the commands it recognises, such as cat, from touching .env, but its permissions page warns that they do not stop a Python script that opens the file itself. The sandbox does. Turned on in settings, it runs every shell command inside macOS's own sandbox, where a denyRead entry blocks .env files for every program the agent starts and a credentials entry unsets variables such as GEMINI_API_KEY before each command runs. Ask rules add the third layer, a prompt before the render script runs, which even auto mode cannot skip.

agentdeny rulesstop thecommandsandbox, nokeystop the scriptown project,$10 capstop the loss$google bills whoever holds the keyyou run the paid command yourself
Three locks between the agent and the bill: deny and ask rules stop the command, a sandbox with no .env and no key stops the script, and a separate project with a ten-dollar cap stops the loss; you run the paid command yourself.
An ink drawing of a yellow cash box on a desk beside a green robotic arm, with the cash box key hanging on a hook on the far wall out of the arm's reach.
The agent can work beside the money but cannot reach the key.
Member

The rest of this is for members.

You have read the opening of this lesson. The rest of it comes with a membership.

One membership covers all four courses and Brands.

  • All lessons in the four Learn courses
  • All brand breakdowns in the Brands section
  • All quizzes, flashcards and crosswords
  • An AI teacher on every lesson, for up to 60 questions a day
  • All course material published during the membership

Price

Membership is from $12 a month on the Yearly plan, which is charged at $144 once a year. Lifetime access is $59, paid once.Membership is from ₹200 a month on the Yearly plan, which is charged at ₹2,400 + GST once a year. Lifetime access is ₹3,999 + GST, paid once.

Check what stuck

Members only

You can't take this check yet.

Members answer these 3 questions and keep the ticket for this lesson. Every lesson has one.

  1. Question 1, locked

    Which of these words means this? “A Claude Code setting that blocks a tool or a file whatever the model decides.”

    • Definition of done
    • JSONL log
    • Deny rule
    • Filter
  2. Question 2, locked

    Which of these words means this? “Removing secret variables before a command starts, so it cannot print them.”

    • Environment scrub
    • Surface
    • Cask
    • Override
  3. Question 3, locked

    Which of these words means this? “A separate key on its own capped project, made only for agent work.”

    • Contact sheet
    • Low-limit key
    • SAR
    • Commit
End of Making video with coding agentsMembers onlyNow play it5 games from this module at four levels, and a stamp for your ticket book.

Elsewhere in the library

Hear about new courses.

Leave an email and we will tell you when something new lands. We do not write often.