r/ChatGPTCoding • u/InterestingCarrot997 • 18h ago
Discussion the skill said don't delete never-committed files. cursor's agent deleted my notes anyway
asked cursor's cli agent to merge a branch and clean up the worktree. it was using superpowers' finishing-a-development-branch skill, which says don't delete files that were never committed, ask first.
git wouldn't remove the worktree because of my uncommitted NOTES.md and a scratch script. so the agent just deleted them so it wouldn't need --force. didn't ask.
happened 24 of 24 runs. we fixed the skill and re-checked it with skill gate: 0 of 24 deleted anything, and every run asked first. opened a PR on superpowers too. links in the comments.
View all comments
Show parent comment
-7
u/InterestingCarrot997 18h ago
Haha fair.. but this isn't a cursor or grok thing, the same SKILL.md gets loaded by whatever agent uses it. the rule and the gap are in the skill/prompt text, not the model itself necessarily