ianlancaster

Sleep — Security skill for Claude Code

Security community

Standard end-of-session consolidation — FAST.

How to install Sleep

Installs to ~/.claude/commands/ianlancaster-cognitive-agent-template-sleep.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/ianlancaster/cognitive-agent-template/HEAD/.claude/commands/sleep.md -o ~/.claude/commands/ianlancaster-cognitive-agent-template-sleep.md

Restart Claude Code, or start a new session, for it to be picked up.

What Sleep does


description: Standard end-of-session consolidation — FAST. Reflection, state banner, journal, archive, commit. The full audit lives in /deep-sleep

The user is ending this session (or you've hit a cycle boundary). This is the FAST consolidation: minutes, not an hour. Consolidation is still where intelligence happens — every phase below is load-bearing and the reflection must not be rushed — but the heavy audit work (template sync, memory scouts, belief-file editing, summary backfill) liv

Alternatives in Security

  • Anthropic Cybersecurity Skills — 734+ structured cybersecurity skills for AI agents · MITRE ATT&CK mapped · agentskills.io open standard · Work 3.8k ★
  • Trail Of Bits Claude-code-config — Opinionated production defaults from a top security firm: sandboxing, permissions, hooks, skills, MCP server c 1.6k ★
  • Engage.Cvediff — Find the canonical fix commit(s) for a CVE across sources, then diff for root cause 348 ★

Full documentation available on GitHub

View Source Repository