reflectworld

reflectworld is a skill for Claude Code, Codex from addxai/ReflectWorld. It costs 0 tokens per session (1,871 once invoked), scanned A, original, Apache-2.0.

A system that lets an AI agent inspect camera feeds, remember observed events and patterns, and trigger automations. It combines visual analysis with stored memory and camera controls.

In plain words
What is it for?
Use it to connect cameras, configure what to watch for, start or stop monitoring, search past events, and manage notifications or other automated actions.
Why use it?
It gives the agent a way to monitor real-world scenes over time instead of analyzing only one image. Stored rules and memories support ongoing observation and responses.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/addxai/reflectworld/reflectworld
Any agent
npx skills add addxai/ReflectWorld --skill reflectworld
Clone the repo
git clone --depth 1 https://github.com/addxai/ReflectWorld

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for reflectworld

README.md
[![agentmods](https://agentmods.dev/badge/skills/addxai/reflectworld/reflectworld.svg)](https://agentmods.dev/skills/addxai/reflectworld/reflectworld)
Your own site
<a href="https://agentmods.dev/skills/addxai/reflectworld/reflectworld"><img src="https://agentmods.dev/badge/skills/addxai/reflectworld/reflectworld.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,871 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01871
Opus 5 $0.00000 $0.00936
Sonnet 5 $0.00000 $0.00374
Haiku 4.5 $0.00000 $0.00187

Measured 5d ago against content hash 3f6dda8ecd4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

reflectworld scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/reflectworld/skills/reflectworld/SKILL.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ReflectWorld — Visual Perception + Memory for AI Agents

You have access to ReflectWorld, a visual perception and persistent memory system. It gives you eyes and memory for cameras.

Available Tools

Tool Purpose
reflectworld_cam Camera control: add sources, snapshot, watch, stop, adjust sampling, switch mode, live view, recordings
reflectworld_perception VLM analysis config: set scene description, focus targets, security rules, model override
reflectworld_memory Memory search & storage: episodic events, semantic patterns, procedural rules
reflectworld_act Automation: notifications, identify requests, rule management

Scene Adaptation Workflow

When a user describes what they want to monitor, follow this flow:

User describes intent
  → 1. Configure perception (scene_description + focus_targets)
  → 2. Add camera source if not already connected
  → 3. Select watch params (mode, fps, resolution)
  → 4. Store procedural rules in memory for persistent behavior
  → 5. Start watch

Step-by-step

  1. Configure perception first — Call reflectworld_perception with action=configure to set scene_description and focus_targets so the VLM knows what matters. This takes effect immediately on the next analyzed segment.

  2. Add source if needed — Call reflectworld_cam with action=add_source if the camera isn't registered yet.

  3. Choose watch parameters based on the scene:

    • Slow-changing scenes (cooking, front door): fps=1, 960x540
    • Security/motion: mode=event (motion-triggered), fps=1
    • Behavior analysis (poker, games): mode=stream, fps=0.5
    • Fast action (sports, pets playing): fps=2-5
  4. Store procedural rules — Call reflectworld_memory with action=add_note, memory_type=procedural for any persistent preferences. Procedural rules are automatically injected into the VLM prompt on every analysis cycle.

  5. Start watch — Call reflectworld_cam with action=watch.

Read the full file on GitHub · 171 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 171 lines · 0 tokens per session scan A 3f6dda8ecd4f

Subscribe to this mod's changes

reflectworld is a skill published in the GitHub repository addxai/ReflectWorld (98 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,871 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ama-memory

Use AMA memory in OpenClaw to recall prior context, capture turns, inspect stored state, end sessions, or delete a user's memory when asked.

Sherlockwz/AMA · 33 tokens

memx

Use when an agent needs to recall, save, inspect, or audit memX memories through the bundled MCP tools.

NeoLi00/memX · 26 tokens

tencentdb-agent-memory

面向 Agent 团队的长期记忆基础设施。把"对话、文档、代码"沉淀为四类可复用记忆资产: Chat Memory(L0 对话 → L1 原子 → L2 场景 → L3 人格逐层沉淀)、Skill(带版本/资源/ 触发边界的可复用技能)、LLM-Wiki(文档知识)、CodeGraph(代码图谱)。部署形态为 memory-core + memory-hub + memory-proxy 三件套 + SDK,接入 OpenClaw / Hermes / Claude Code / CodeBuddy 等。当前版本 v2.0.0。.

AvalonLee/AstraCraft-Program · 0 tokens

ama-memory

Use AMA memory in OpenClaw to recall prior context, capture turns, inspect stored state, end sessions, or delete a user's memory when asked.

Sherlockwz/AMA · 33 tokens

mem0-dream

Consolidates stored memories by merging duplicates, resolving contradictions, and pruning stale entries. Use when memory count is high, search results feel noisy or repetitive, or periodic cleanup is needed to maintain memory quality.

mem0ai/mem0 · 46 tokens

mem0-vercel-ai-sdk

Mem0 provider for Vercel AI SDK (@mem0/vercel-ai-provider). TRIGGER when: user mentions "vercel ai sdk", "@mem0/vercel-ai-provider", "createMem0", "retrieveMemories", "addMemories", "getMemories", "searchMemories", "mem0 vercel", "AI SDK provider", "AI SDK memory", or is using generateText/streamText with mem0. Also…

mem0ai/mem0 · 146 tokens