host-observer

Generate structured observation XML for claude-mem generator loop tasks on Grok Bot.

115k|10.0k|Updated Aug 31, 2025
Ready to run
npx skills add https://github.com/thedotmack/claude-mem --skill host-observer-thedotmack
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: host-observer
Source: https://github.com/thedotmack/claude-mem/tree/main/claude-mem-grok-bot/skills/host-observer
Command: npx skills add https://github.com/thedotmack/claude-mem --skill host-observer-thedotmack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? This Skill addresses the need to produce consistent, machine-readable output within claude-mem's observer loop, where responses must conform to strict XML schemas instead of natural prose. ## Core Features & Use Cases - Skip Summaries: Return noise-filtering responses for idle or inconclusive task states. - Structured Observations: Generate XML observations with titles, facts, and narratives for completed searchable units. - Type Classification: Tag observations by type (bugfix, feature, refactor, change, discovery, decision) for memory indexing. - Use Case: When processing a completed code refactoring task, generate an observation with extracted facts about file changes, function names, and architectural decisions—all wrapped in valid XML for downstream memory storage. ## Quick Start Respond to a claude-mem observer job by returning either skip_summary with a noise reason or a complete observation element containing the task title, four to ten facts with file paths, and a narrative describing the work completed.

Frequently Asked Questions about host-observer

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

FAQPage Schema
When should I return skip_summary instead of an observation?▼

Return skip_summary with reason="noise" when the task is idle, initializing, or has no meaningful tool results to report. Observations require completed, searchable work units with at least four distinct facts.

What is the correct structure for an observation XML element?▼

An observation contains a real title (never a tool name), 4–10 fact elements with file paths, and a narrative section. Include a type attribute set to one of: bugfix, feature, refactor, change, discovery, or decision.

Why does claude-mem reject prose responses from the observer?▼

Prose is dropped by claude-mem's output processor (outputClass=prose). The generator loop expects only XML for downstream memory indexing; natural language descriptions cannot be parsed into structured memory records.

How do I classify work types for observation elements?▼

Use bugfix for error corrections, feature for new capabilities, refactor for code structure improvements, change for configuration or dependency updates, discovery for findings or diagnostics, and decision for architectural choices made.

Should I POST to /api/memory/save from the observer?▼

No. Write only to outbox/{id}.txt for inbox jobs, or return XML as the chat-completions body. POST to /api/memory/save only as a last resort if outbox write fails.