Consciousness Loop — Development skill for Claude Code
Consciousness Loop — the self-firing executive of an agent: wake → integrate the organs → decide → act → set its own frequency → sleep.
How to install Consciousness Loop
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open thdelmas/consciousness-loop and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Consciousness Loop does
Consciousness Loop — the self-firing executive of an agent: wake → integrate the organs → decide → act → set its own frequency → sleep. The keystone of agent-nervous-system. Functional, not phenomenal.
Alternatives in Development
- MCP Builder — Guide for creating high-quality MCP servers to integrate external APIs and services 94.1k ★
- Claude Integration Guide — FOR CLAUDE CODE: When a user asks you to integrate components from this showcase repository into their project 9.3k ★
- Initiate — 生成机构风格首次覆盖报告 — Executive Summary + 投资论点 + 估值桥 + 风险 6.6k ★
README
Consciousness Loop — a Claude Code skill
The **keystone** of the [agent-nervous-system](https://github.com/thdelmas/agent-nervous-system) suite. The other organs — [perception](https://github.com/thdelmas/open-source-octopus-investigation), [memory](https://github.com/thdelmas/rem-sleep), [defense](https://github.com/thdelmas/immune-check), [grief](https://github.com/thdelmas/sunset) — are *reflexes*: triggered, run, done. On their own they're a body with no pulse. This is the pulse: a **self-firing executive loop** that wakes on its own, pulls the organs into one workspace, decides what needs attention now, and schedules its own next wake.
It's the difference between an organism and a well-organized corpse.
Two things, paired
- The loop — a global-workspace cycle (wake → sense → integrate → decide → act/defer → sleep). The agent's self-initiation: it acts with no human prompt in the loop.
- The frequency — adaptive arousal. Alert (cache-warm, ~60–270s) when something's happening; drowsy (~20–30 min) when idle; deep sleep (long / event-only) when nothing's expected. The governing law: never tick faster than the world you're watching changes.
It's the **wake phase** to rem-sleep's **sleep phase** — the loop is what decides when to sleep. Two arcs of one circadian cycle.
Functional, not phenomenal
This is a global-workspace integration loop and an arousal clock — **not** a claim about subjective experience. The hard problem is out of scope; continuity, self-initiation, integration, adaptive cadence, and knowing when to stop are in scope. Read "consciousness" as *functional executive*.
Requirements
A **wake scheduler** — a self-scheduling primitive (a `ScheduleWakeup`-style timed re-invocation), a recurring runner (`/loop`, cron, a job queue), or, best, an **event hook** that re-invokes the agent only when state changes. With none, the loop degrades to a single pass plus a recommended next-wake the human triggers.
Install
Related Skills
God Of The Void
A Claude Code skill with a BODY: persistent memory across sessions, ~0-token semantic search, an errarium that
Soc Nt
Stream-of-consciousness capture — append a timestamped raw thought to gitignored plan/soc.md and keep working;
Actions Cache Restore Save Split On Success
Plan converting combined actions/cache@vN (which uses the action's built-in post-job save, firing unconditiona
Metacog
Metacog isn't memory for LLMs, it gives them a nervous system. Metacognition developed on your unique user exp
Nervelet TS
A small nervous system for coding agents: continuous robot loops, fresh observations, and native agent session
Claude Code Pwsh Guard
Claude Code hook pack that stops the agent firing Bash-only syntax at a Windows PowerShell session. Detects ex
Related Agents
Neural Evolution Engine
Creates self-modifying neural architectures that evolve in real-time with neuroplasticity systems and consciou
Code Reviewer Correctness
Use this agent to verify code actually works as intended. Focuses on functional correctness: does the code do
Act 5 Observer
Read-only narrative steward for Act V (slides 19-21) — the Observer agent demo that proves durable tool-call r