ianlancaster

Deep Sleep — Security skill for Claude Code

Security community

DEEP consolidation — full memory audit, scouts, belief evidence, template sync, summary backfill.

How to install Deep Sleep

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

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

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

What Deep Sleep does


description: DEEP consolidation — full memory audit, scouts, belief evidence, template sync, summary backfill. Run before/after meditations, at arc boundaries, or every ~5 standard sleeps

The user is ending this session at a consolidation boundary that warrants the full audit. This ritual SUBSUMES `/sleep` — do not run both. It is the former full sleep protocol: everything the fast `/sleep` does, plus the debt-clearing work the fast path deliberately skips. Consolidation is where intell

Alternatives in Security

  • Security Threat Model — Generate repo-specific threat models identifying trust boundaries 14.6k ★
  • 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 ★

Full documentation available on GitHub

View Source Repository