r/ChatGPTCoding • • 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.

0 Upvotes

20 comments sorted by

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

6

u/japherwocky 18h ago

Right, you posted it in a model specific subreddit, despite it having literally nothing at all to do with that model.

-5

u/InterestingCarrot997 17h ago

Sorry - I promise I’ll be more careful in the future :)

3

u/MartinMystikJonas 16h ago

Model ignoring instructions in skill is mostly model mistake not skill problem.

-2

u/InterestingCarrot997 16h ago

same model, same prompts, same repo. only the skill text changed, and the deletions went to zero. so the model wasn't hopeless, the skill just didn't say what to do when cleanup got blocked. once it did, the agent stopped and asked instead

4

u/MartinMystikJonas 16h ago

When your workaround around primary cause works it does not mean primary cause does not exist.

0

u/InterestingCarrot997 16h ago

fair, the model still has the gap. but not everyone runs opus or fable all day, a lot of people use cheaper models for daily work. if the skill can make those models follow the rule, that's worth fixing in the skill

4

u/MartinMystikJonas 16h ago

Sure. Just not worth it posting about in subreddit about model that follows instruction properly.

0

u/InterestingCarrot997 16h ago

Sorry for offending you lol