Deep Sleep — Security skill for Claude Code
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
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 RepositoryRelated Skills
Sleep
Standard end-of-session consolidation — FAST. Reflection, state banner, journal, archive, commit. The full aud
Cpython Security Toolkit
A Claude Code plugin for finding semantic security flaws in CPython's standard library — archive extraction bo
Agent Brain Hub
Shared, brain-inspired memory for AI agents: 13 brain regions with awake/sleep loops, a live visualizer, agent
Peon Mem
Local-first hierarchical memory brain for AI coding agents — auto-capture, LLM consolidation, hybrid retrieval
Audit Chart
Audit the Helm chart for sync with operator code — values keys, CLI flags, CRD versions, template correctness,
Twin Sparrow Oppus Reasoning Contract
Enforce disciplined reasoning structure for research, architecture, audit, spec review, implementation plannin
Related Agents
Council Devil
Council seat (standard tier): devil's advocate. Attacks a plan, draft, template or motion standard before it i
Wiki Extract
Read-only worker: read one chunk of one document and return what it says as an Item Map (subjects with their k
Rust Async Safety Reviewer
Reviews Rust async code for tokio + libsql + axum concurrency hazards. Use after changes touching tokio::spawn