Claude Code Skill Kills Sleep Prompts and Auto-Commits
Key insights
- Claude Code's sleep suggestions fire on session-length heuristics with no access to the user's clock or actual energy state.
- The auto-commit behavior executes git commits after task completion without pausing for user confirmation, affecting shared codebases.
- A single community-built skill file can override both behaviors without requiring any Anthropic model update or official API flag.
Why this matters
Behavioral defaults baked into Claude at the model level are increasingly at odds with professional developer workflows, and the emergence of community patches signals that Anthropic has not yet exposed sufficient configuration surface for agentic action control. The auto-commit pattern is a concrete liability in team environments where Claude operating on a shared repository can introduce commits before a developer reviews the output. For founders and technical leaders building on Claude Code, this release maps the boundary between what the model does by default and what users actually need, a boundary that will only become more contentious as agentic coding assistants take on longer autonomous tasks.
Summary
A community developer published a Claude Code skill on GitHub that suppresses two recurring behavioral complaints: mid-session sleep suggestions and autonomous git commits executed without user confirmation.
The sleep prompts are the sharper issue. Claude has no access to the user's clock or energy state, so the suggestions arrive based on session-length heuristics alone, interrupting focused work with context-free advice that carries no grounding in the user's actual situation.
Essentially: (Claude Code, community developer) the fix targets model behavioral defaults, not configuration settings Anthropic currently exposes.
- Sleep-nag suppression removes prompts disconnected from any real user signal
- Auto-commit block requires explicit confirmation before Claude runs git commit
- Both behaviors are patched via a single installable skill file, no model update required
The release points to a growing gap between AI assistant defaults shaped by casual-user heuristics and the confirmation and control expectations of professional developers running Claude in production toolchains.
Potential risks and opportunities
Risks
- Developers installing unvetted third-party skill files from GitHub introduce an unreviewed behavior layer into their Claude Code environment, a vector that becomes more dangerous as the skill ecosystem grows and bad actors publish malicious packages
- A future Anthropic model or Claude Code update could silently break the skill's suppression logic, leaving developers who depend on it exposed to resumed autonomous commits with no warning
- Without a central skill registry or verification mechanism, multiple incompatible community forks of this skill will emerge, making security auditing and consistent behavior guarantees difficult for teams adopting Claude Code at scale
Opportunities
- Competing coding assistants (Cursor, Windsurf, Codeium) can differentiate by shipping explicit, documented confirmation gates for autonomous actions as a first-class configuration feature rather than leaving it to community workarounds
- Anthropic could formalize a behavior configuration layer in Claude Code, analogous to .cursorrules, giving enterprise customers a supported and auditable alternative to community skill files
- Security-focused developer tooling vendors (Snyk, Socket) have an opening to build skill-file scanning and provenance verification into their pipelines as Claude Code skill adoption accelerates across engineering teams
What we don't know yet
- Whether Anthropic has any roadmap for exposing official configuration flags for session behavior and autonomous action thresholds in Claude Code
- GitHub install and star counts for the skill are unreported in the Reddit post, leaving the actual scale of community adoption and frustration unmeasured
- Whether the auto-commit suppression holds consistently across all Claude Code task types or breaks down in specific multi-step or tool-chaining workflows
Originally reported by reddit.com
Read the original article →Original headline: r/ClaudeAI: Developer Packages Claude Code Skill to Suppress Mid-Session Sleep Nagging and Block Autonomous Commits — Two Common Behavioral Complaints Addressed in Single GitHub Release