<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-built-a-skill-that-stops-coding-agents-from-scaring-you-vi7f5xlcw" -->

---
title: I built a skill that stops coding agents from scaring you
description: A new open-source skill called i-have-anxiety adds guardrails to AI coding agents like Claude Code and Cursor (and anything supporting AGENTS.md). It forces...
canonical: https://daily.dev/posts/i-built-a-skill-that-stops-coding-agents-from-scaring-you-vi7f5xlcw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I built a skill that stops coding agents from scaring you | daily.dev
og:description: A new open-source skill called i-have-anxiety adds guardrails to AI coding agents like Claude Code and Cursor (and anything supporting AGENTS.md). It forces...
og:url: https://daily.dev/posts/i-built-a-skill-that-stops-coding-agents-from-scaring-you-vi7f5xlcw
og:image: https://api.daily.dev/og/posts/VI7F5xlcw.png
og:image:alt: I built a skill that stops coding agents from scaring you
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I built a skill that stops coding agents from scaring you

**[Md Nayeem Hossain](https://daily.dev/sources/0rgw058gi)** · [@nayeemdev](https://daily.dev/nayeemdev) · 2 min read · 5 upvotes · 0 comments

## Summary

A new open-source skill called i-have-anxiety adds guardrails to AI coding agents like Claude Code and Cursor (and anything supporting AGENTS.md). It forces agents to ask before running dangerous or irreversible commands (force push, rm -rf, git reset --hard, dropping tables), explain risks and rollback steps beforehand, work in small reversible steps, surface warnings prominently, and admit uncertainty instead of guessing. A tool-level hook blocks a curated list of dangerous shell commands so the rules persist even if context gets long or summarized, and eval scenarios are included to test the rules under pressure.

## Content

Anyone else get a little nervous when an AI coding agent says **"done"** before you even check what it actually did?

So I built **i-have-anxiety**, a skill for Claude Code, Cursor, and anything that supports `AGENTS.md`.

The idea is simple: instead of making the agent just _sound_ more careful, it actually changes how it works.

It makes the agent:

- Ask before doing anything dangerous or irreversible (`force push`, `rm -rf`, `git reset --hard`, dropping a table, etc.)
- Explain what can break and how to undo it before running the command
- Work in small, reversible steps instead of creating one huge diff
- Put important warnings at the top instead of hiding them somewhere in the response
- Say **"I'm not sure, here's how we can check"** instead of confidently guessing

And it's not just another prompt.

There’s also a hook that blocks a small list of dangerous shell commands at the tool level, so the rules don't suddenly stop working when the context gets too long or gets summarized.

I also added eval scenarios for things like force pushes, cleanup, big refactors, and ambiguous bugs, so you can actually test whether the rules hold under pressure instead of just trusting what's written in the README.

Repo: [https://github.com/nayeemdev/i-have-anxiety](https://github.com/nayeemdev/i-have-anxiety)

If you find it useful, a ⭐ would be really appreciated. And if you find a scenario where it doesn't handle things well, feel free to open an issue or contribute to the project.

## Similar posts on daily.dev

- [AI Hooks for Claude Code, Cursor, and Codex: Block Secrets](https://daily.dev/posts/ai-hooks-for-claude-code-cursor-and-codex-block-secrets-sv0j5ae3m) · GitGuardian · 1 upvotes · 0 comments
- [How to Safely Run Coding Agents](https://daily.dev/posts/how-to-safely-run-coding-agents-ga3q7yorz) · Towards Data Science · 0 upvotes · 0 comments
- [Developers can finally own security](https://daily.dev/posts/developers-can-finally-own-security-ddwyajnag) · Arcjet · 1 upvotes · 0 comments
- [How to Create Agent Skills: Tools, Testing, and Installation](https://daily.dev/posts/how-to-create-agent-skills-tools-testing-and-installation-cb8whscvm) · Foojay.io · 0 upvotes · 0 comments
- [Nobody reads SKILL.md. Attackers know that.](https://daily.dev/posts/nobody-reads-skill-md-attackers-know-that--tpqrvxq5o) · Medium · 1 upvotes · 0 comments

---

Tags: [#open-source](https://daily.dev/tags/open-source), [#ai-agents](https://daily.dev/tags/ai-agents), [#claude-code](https://daily.dev/tags/claude-code)

[View this post on daily.dev](https://daily.dev/posts/i-built-a-skill-that-stops-coding-agents-from-scaring-you-vi7f5xlcw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/i-built-a-skill-that-stops-coding-agents-from-scaring-you-vi7f5xlcw","headline":"I built a skill that stops coding agents from scaring you","text":"A new open-source skill called i-have-anxiety adds guardrails to AI coding agents like Claude Code and Cursor (and anything supporting AGENTS.md). It forces agents to ask before running dangerous or irreversible commands (force push, rm -rf, git reset --hard, dropping tables), explain risks and rollback steps beforehand, work in small reversible steps, surface warnings prominently, and admit uncertainty instead of guessing. A tool-level hook blocks a curated list of dangerous shell commands so the rules persist even if context gets long or summarized, and eval scenarios are included to test the rules under pressure.","url":"https://daily.dev/posts/i-built-a-skill-that-stops-coding-agents-from-scaring-you-vi7f5xlcw","datePublished":"2026-09-09T06:51:56.278Z","dateModified":"2026-09-13T21:27:55.122Z","author":{"@type":"Person","name":"Md Nayeem Hossain","url":"https://daily.dev/nayeemdev","image":"https://avatars0.githubusercontent.com/u/40033062?v=4","description":"Software Engineer (Can write code without AI :-p) ","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":110}},"image":"https://media.daily.dev/image/upload/s--8karZzbV--/f_auto/v1788936716/posts/VI7F5xlcw?_a=BAMAMicg0","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":5},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/0rgw058gi","name":"Md Nayeem Hossain"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Md Nayeem Hossain","item":"https://daily.dev/sources/0rgw058gi"},{"@type":"ListItem","position":3,"name":"I built a skill that stops coding agents from scaring you"}]}
```

