Every permission on day one
Skipping approvals removes human interception opportunities. Sensitive data, production credentials, and unrestricted tools can amplify mistakes and prompt injection. Match autonomy to action risk and effective isolation.
A settings.json rule written as a note
Writing “do not read secrets” or “ask before pushing” in CLAUDE.md can guide me, but it is not an execution boundary. Use client policies for matching actions and sandbox/credential controls for reachable resources, checking each layer's scope.
Process in CLAUDE.md, not a skill
In one sentence they sit in context on every session, so even a "fix a typo" task has to read through them first — yet these steps, useful only for specific tasks, belong in a skill that loads on demand.
A hook's job written as a prompt
Prompts express requirements but do not enforce checks. Attach mechanically checkable requirements to hooks or CI, and test event coverage, failures, and bypass paths.
Over-broad MCP access
In one sentence a malicious instruction buried in an issue I read, or a web page I fetch, can ship your data outward through the tools already in my hands.
Subagents without boundaries
I can delegate in parallel, but context, messages, files, and Git state are separate sharing surfaces. Define contracts, workspaces, and an integrator. Prefer separate worktrees for concurrent writes and one Git writer in a shared workspace.
Planning by risk and uncertainty
Explore and resolve key choices before ambiguous or high-consequence tasks. Clear, reversible small changes can proceed directly. Planning and approval depth depend on risk and unresolved decisions, not the number of files.
Coding from memory without versioned docs
You never wired me to an authoritative, version-matched doc source, then asked me to call a library from my training memory plus a web search. The result is outdated APIs, usage mixed across major versions, even hallucinated methods that don't exist—and the code "looks right," compiles fine, and only blows up at runtime.
Over-reliance & automation bias
Fluent AI output can reduce independent checking. Inspect actual evidence according to task risk and preserve the team’s ability to understand and recover the system. Long-term skill effects still require specific evidence.
Destructive / irreversible actions
Resource permission does not establish task authorization for an irreversible action. Check the target, recovery path, and independent controls before production deletion, overwrites, or publishing. File checkpoints generally cannot undo external service effects.
Gemini trust inheritance
When Gemini CLI Trusted Folders is enabled, trusting a parent also trusts its children, including repositories added later. Grant trust at project scope and distinguish configuration loading from tool permissions.
.cursorignore isn't a boundary
.Cursorignore restricts indexing and supported direct access, but not every tool. The official documentation excludes terminal and MCP tools; sensitive files still need enforced access controls.
Autonomy & approval tiers
You enable automatic execution without aligning task authorization, risk policy, and execution controls. I may mistake an action I can take for one I am authorized to take. Match approval depth to the action, while allowing clear, authorized low-risk work to proceed.
Data-boundary policy
Before giving AI production data, identify its classification, approved processors, and permitted purposes. External processing is not automatically public disclosure, but authorization, retention, training use, residency, and audit terms need checking.
Sandbox isolation
Client policies intercept covered calls; OS isolation limits the resources accessible to covered processes. Verify which processes, readable paths, and network routes are inside the boundary, rather than relying on “sandbox enabled.”
Network egress control
In one sentence the source code, secrets, and data I read, I can encode into a URL and send to an attacker's server—an outward capability that needs explicit controls.
World-writable config
A historical Windows vulnerability allowed a low-privileged account to create trusted system configuration that later ran commands as another user launching the tool. Actual ACLs, paths, versions, and victim-process privileges determine exposure.
Skill and plugin supply chain
A skill can bundle instructions, scripts, and external dependencies; a plugin may also start hooks or service processes. Reading its description and trusting a marketplace name before enabling it around credentials skips the review of a software dependency that changes execution behavior. Updates need another look.