thought-loop

Generate structured thoughts from environmental deltas for OpenClaw agents.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/Heretek-AI/heretek-openclaw --skill thought-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: thought-loop
Source: https://github.com/Heretek-AI/heretek-openclaw/tree/main/skills/thought-loop
Command: npx skills add https://github.com/Heretek-AI/heretek-openclaw --skill thought-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Structured thought generation from environmental deltas to support the OpenClaw agent collective decision making, enabling proactive responses and improved coordination.

Core Features & Use Cases

  • Detects and aggregates deltas from file systems, databases, external signals, and agent states.
  • Generates structured thoughts with type, trigger, subject, observation, implication, recommendation, and confidence.
  • Provides idle reflection thoughts to maintain continuous situational awareness when no events occur.
  • Integrates with the Consciousness module, Triad system, memory, and self-model for end-to-end workflow.
  • Use Case: When a new file is created, a discovery thought is produced to broadcast insights and trigger deliberation.

Quick Start

Run the full thought loop from the project root with node thought-loop.js run to detect changes and generate thoughts.

Frequently Asked Questions about thought-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate autonomous thoughts from environmental deltas for multiple agents?

Generate autonomous thoughts from environmental deltas by detecting changes across file systems, databases, external signals, and agent states, then producing structured thoughts with observations, implications, and recommended actions.

What is structured thought generation for autonomous agent collectives?

Structured thought generation for autonomous agent collectives is the process of detecting environmental changes and creating actionable thoughts with type, trigger, subject, and confidence to support proactive decision-making and coordination.

How do I maintain situational awareness for autonomous agents when no events occur?

Maintain situational awareness for autonomous agents during idle periods by utilizing idle reflection thoughts, which continuously generate baseline observations when no environmental deltas or external signals are detected.

How do I start detecting file system and database changes to trigger agent deliberation?

Start detecting file system and database changes by running the thought loop from the project root with node thought-loop.js run, which aggregates deltas and broadcasts discovery thoughts to trigger agent deliberation.

Can I integrate thought generation with existing agent consciousness and memory modules?

Integrate thought generation with agent consciousness and memory modules through built-in compatibility with the Consciousness module, Triad system, and self-model, enabling end-to-end workflow integration and configurable agent identity.

What are the limitations of delta detection for autonomous agent monitoring?

Delta detection for autonomous agent monitoring is limited to environments where multiple agents can actively monitor file, database, external signals, and agent states to produce structured thoughts and recommended actions.