# closedclaw | aSafeLobotomy | Knowledge Base | Instagit

Personal AI assistant gateway - fork of OpenClaw with GTK GUI, Ollama integration, and enhanced lite mode

GitHub Stars: 3

Repository: https://github.com/asafelobotomy/closedclaw

---

## Articles

### [How the ClosedClaw Browser Tool Leverages Playwright for Web Automation Tasks](/asafelobotomy/closedclaw/how-does-the-browser-tool-use-playwright-for-automation)

Discover how the ClosedClaw browser tool uses Playwright for web automation. It translates commands into deterministic Playwright API calls via a persistent Chrome DevTools Protocol connection. Optimize your workflow today.

- Tags: how-to-guide
- Published: 2026-02-25

### [How Session Stores Persist and Retrieve Conversation History Efficiently in ClosedClaw](/asafelobotomy/closedclaw/how-do-session-stores-persist-and-retrieve-conversation-history)

Discover how ClosedClaw's session stores use atomic JSON5 files, in-memory caching, and file locking for crash-resilient persistence and fast retrieval of conversation history.

- Tags: internals
- Published: 2026-02-25

### [What Telemetry Data Does the ClosedClaw Agent Collect and How Is It Stored?](/asafelobotomy/closedclaw/what-telemetry-does-the-agent-collect-and-how-is-it-stored)

Discover what telemetry data the ClosedClaw agent collects, including run counts, latency, and error logs. Learn how this data is stored within *.claws* script files in JSON format.

- Tags: telemetry-data-collection
- Published: 2026-02-25

### [How ClawTalk's Model Escalation Logic Determines When to Switch Between Different LLMs](/asafelobotomy/closedclaw/how-does-the-escalation-logic-determine-when-to-switch-between-models)

Discover how ClawTalk's model escalation logic switches LLMs. Learn about its confidence-based pipeline routing prompts to local or cloud models based on intent and complexity.

- Tags: internals
- Published: 2026-02-25

### [Understanding the 10 Blocks in the ClosedClaw .claws File Specification](/asafelobotomy/closedclaw/what-are-the-10-block-types-in-the-claws-file-specification)

Explore the 10 distinct blocks in the .claws file specification. Understand their roles in identity, metadata, logic, proofs, and more for literate executables.

- Tags: architecture
- Published: 2026-02-25

### [How to Configure ClosedClaw Gateway Exposure: Local, LAN, Tailscale, and Public Access Options](/asafelobotomy/closedclaw/what-configuration-options-exist-for-gateway-exposure)

Explore ClosedClaw gateway exposure options: local, LAN, Tailscale, and public access. Learn how to configure these modes easily for your security needs. Get secure access now.

- Tags: how-to-guide
- Published: 2026-02-25

### [How ClosedClaw's Sandbox Execution Environment Isolates Tool Operations](/asafelobotomy/closedclaw/how-does-the-sandbox-execution-environment-isolate-tool-operations)

Discover how ClosedClaw's Docker sandbox secures tool operations with containerization, read-only filesystems, and network lockdown. Prevent host compromise effectively.

- Tags: internals
- Published: 2026-02-25

### [Detailed Message Flow from GTK User Input to Agent Response via the Orchestrator in ClosedClaw](/asafelobotomy/closedclaw/what-is-the-message-flow-from-gtk-input-to-agent-response)

Discover the detailed message flow from GTK user input to agent response via the orchestrator in ClosedClaw. Understand the six architectural stages involved in seamless communication.

- Tags: architecture
- Published: 2026-02-25

### [How Authentication Profiles Are Defined and Managed in ClosedClaw’s AuthProfileStore](/asafelobotomy/closedclaw/how-do-auth-profiles-work-with-the-authprofilestore-format)

Learn how ClosedClaw defines and manages authentication profiles in its AuthProfileStore for API keys, static tokens, and OAuth credentials. Explore versioning, locking, and overrides.

- Tags: how-to-guide
- Published: 2026-02-25

### [Encryption Algorithms and Key Derivation Functions in ClosedClaw: A Technical Deep Dive](/asafelobotomy/closedclaw/what-encryption-and-key-derivation-functions-does-the-security-stack-use)

Explore ClosedClaw's security stack using XChaCha20-Poly1305 encryption and Argon2id key derivation. Protect your data with these advanced cryptographic functions.

- Tags: deep-dive
- Published: 2026-02-25

### [How the ClosedClaw Gateway Manages Model Fallback When the Primary Ollama Model Becomes Unavailable](/asafelobotomy/closedclaw/how-does-the-gateway-handle-model-fallback-when-ollama-model-fails)

Discover how the ClosedClaw gateway seamlessly manages Ollama model fallback when primary instances fail. Learn about its automatic rerouting and priority-based model selection for uninterrupted service.

- Tags: how-to-guide
- Published: 2026-02-25

### [Shadow Factory in ClosedClaw: Autonomous Tool Generation Explained](/asafelobotomy/closedclaw/what-is-the-shadow-factory-and-how-does-it-autonomously-generate-tools)

Discover the Shadow Factory in ClosedClaw. Learn how this autonomous component generates new tools by identifying capability gaps and optimizing agents.

- Tags: deep-dive
- Published: 2026-02-25

### [How the ClosedClaw Android App Establishes Secure WebSocket Connections via mDNS](/asafelobotomy/closedclaw/how-does-the-android-app-establish-secure-connections-via-websocket-and-mdns)

Discover how the ClosedClaw Android app secures WebSocket connections using mDNS and SHA-256 certificate fingerprinting or TOFU for robust local and remote gateway discovery.

- Tags: how-to-guide
- Published: 2026-02-25

### [How Tiered Tool Functionalities (Lite/Medium/Full) Adapt to Different LLM Sizes in ClosedClaw](/asafelobotomy/closedclaw/how-do-tool-tiers-affect-available-functionality-for-different-model-sizes)

Discover how ClosedClaw's tiered tool functionalities Lite Medium and Full adapt to various LLM sizes. Optimize your agent configuration for peak performance and efficiency.

- Tags: deep-dive
- Published: 2026-02-25

### [How the Neural Attestation System Detects Behavioral Drift in ClosedClaw](/asafelobotomy/closedclaw/what-is-the-neural-attestation-system-and-how-it-detects-behavioral-drift)

Discover how the Neural Attestation system in ClosedClaw detects behavioral drift. Learn about activation vector comparison and cosine similarity for LLM integrity.

- Tags: deep-dive
- Published: 2026-02-25

### [How the GTK Unix Socket IPC Bridge Facilitates Communication with the ClosedClaw Core Agent Runtime](/asafelobotomy/closedclaw/how-does-the-gtk-unix-socket-ipc-bridge-communicate-with-agent-runtime)

Learn how the GTK Unix socket IPC bridge connects the ClosedClaw core agent runtime using JSON message serialization and token authentication for secure communication.

- Tags: how-to-guide
- Published: 2026-02-25

### [ClosedClaw Plugin System Hooks: Complete Guide to Agent Runtime Integration](/asafelobotomy/closedclaw/what-hooks-are-available-in-the-plugin-system-and-how-do-they-integrate)

Explore the ClosedClaw plugin system hooks. Discover 17 lifecycle hooks for seamless agent runtime integration and modification of agent behavior.

- Tags: deep-dive
- Published: 2026-02-25

### [How ClosedClaw Gateway Authenticates Incoming Connections and Enforces Token-Based Security](/asafelobotomy/closedclaw/how-does-the-gateway-authenticate-connections-and-enforce-token-based-security)

Discover how ClosedClaw gateway authenticates connections and enforces token-based security in src/gateway/auth.ts. Learn about credential verification and unauthorized request handling.

- Tags: how-to-guide
- Published: 2026-02-25

### [What Is the ClawDense Compression Protocol and How Does It Achieve 60% Token Reduction?](/asafelobotomy/closedclaw/what-is-the-clwdense-compression-protocol-and-how-it-achieves-token-reduction)

Discover the ClawDense compression protocol. Learn how it achieves 60% token reduction by rewriting verbose CT/1 header parameters into single-character aliases, preserving message integrity.

- Tags: deep-dive
- Published: 2026-02-25

### [How the .claws Skill File Format Defines Agent Permissions and Tool Access](/asafelobotomy/closedclaw/how-does-the-claws-skill-file-format-define-agent-permissions-and-tool-access)

Learn how the .claws skill file format defines agent permissions and tool access using YAML manifests and access control lists. Understand resource mapping and runtime enforcement for secure agent operations.

- Tags: how-to-guide
- Published: 2026-02-25

### [Kernel Shield Three-Layer Security Enforcement Architecture in ClosedClaw](/asafelobotomy/closedclaw/what-is-the-architectural-design-of-kernel-shields-three-layer-security-enforcement)

Explore Kernel Shield's three-layer security architecture: Structural Enforcement, Semantic Filtering, and Neural Attestation. Learn how it protects your system before OS execution.

- Tags: architecture
- Published: 2026-02-25

### [How ClawTalk Orchestrates Message Routing Between Subagents in ClosedClaw](/asafelobotomy/closedclaw/how-does-clawtalk-orchestrate-message-routing-between-subagents)

Discover how ClawTalk orchestrates message routing between Research, System, Code, and Memory subagents in ClosedClaw. Learn about its role as an inter-agent bus for intelligent prompt parsing and classification.

- Tags: internals
- Published: 2026-02-25

