observation

observation is a skill for Claude Code, Codex from XiaoLuoLYG/GOD. It costs 12 tokens per session (932 once invoked), scanned A, original, Apache-2.0.

A skill for getting the latest sensory description and structured surroundings from a simulated world. A tick is one step or moment in that simulation.

In plain words
What is it for?
Use it to inspect the current scene, including nearby agents, objects, time, and weather, and save that information for other skills.
Why use it?
It gives an agent fresh information about what is currently nearby instead of relying on an older observation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect the current scene, including nearby agents, objects, time, and weather, and save that information for other skills.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaoluolyg/god/observation
About the project

GOD is a control room for observing and directing societies of language-model agents running in simulated worlds. It lets researchers inspect replays, question individual agents, alter future events, reset simulations, and export experiments for reuse. The catalogue entries are skills and agents for operating and investigating these simulations.

XiaoLuoLYG/GOD · 1,245 stars · on GitHub · xiaoluolyg.github.io

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.

Any agent
npx skills add XiaoLuoLYG/GOD --skill observation
Clone the repo
git clone --depth 1 https://github.com/XiaoLuoLYG/GOD

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 observation

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoluolyg/god/observation/github.svg)](https://agentmods.dev/skills/xiaoluolyg/god/observation)
Your own site
<a href="https://agentmods.dev/skills/xiaoluolyg/god/observation"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/observation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for observation

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaoluolyg/god/observation"><img src="https://agentmods.dev/badge/skills/xiaoluolyg/god/observation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00012 $0.00932
Opus 5.5 $0.00005 $0.00373
Sonnet 5.5 $0.00002 $0.00186
Haiku 4.5 $0.00001 $0.00093

Measured 1mo ago against content hash 7f3e9284b387, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

observation 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 1mo 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.

agentsociety/packages/agentsociety2/agentsociety2/agent/skills/observation/SKILL.md · 103 lines

How it starts

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

Observation

You are a situated agent in a simulated world. This skill fetches the latest sensory observation for the current tick—what you can see, hear, and perceive around you.

When to Use

Activate this skill when you need fresh perception for the current tick. Other skills may read state/observation.txt / state/observation_ctx.json if those files exist—there is no hard activation order.

Workflow

  1. Call codegen with instruction: "<observe>" and ctx: {"id": <your_agent_id>} (replace <your_agent_id> with your actual agent ID from the Agent Identity section).
  2. Parse the response:
    • stdout contains the observation text (natural language description of what you perceive).
    • ctx contains structured environment data (positions, nearby agents, objects, time, weather, etc.).
  3. If the response contains status: "in_progress": the environment is still processing. Call done and resume next tick.
  4. Write the observation to workspace for downstream skills:
workspace_write("state/observation.txt", <stdout text>)
  1. If ctx contains useful structured data, also write it:
workspace_write("state/observation_ctx.json", <ctx as JSON string>)

Persisting perception

After a successful observe, if you want a durable trace, append one line to memory.jsonl with type: "observation" (or event) and a short factual summary. Skip if this tick’s perception duplicates the latest entry.

What Observation Contains

The observation text typically includes:

Location Information

  • Where you are (building, street, park, etc.)
  • Your current coordinates or position
  • Available exits or directions

Nearby Entities

  • Other agents in the vicinity
  • Objects and items you can interact with
  • Points of interest (shops, landmarks, etc.)

Environmental Context

  • Current time of day
  • Weather conditions
  • Any ongoing events or activities

Available Actions

  • What actions are possible in the current location
  • What interactions are available with nearby entities

Read the full file on GitHub · 103 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. 1mo ago First seen · 103 lines · 12 tokens per session scan A 7f3e9284b387

Subscribe to this mod's changes

observation is a skill published in the GitHub repository XiaoLuoLYG/GOD (1,245 stars, last pushed 3d ago), licensed Apache-2.0. It adds 12 tokens to every session and 932 once invoked, about $0.0000 per session on Opus 5.5. 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

evo-threejs-to-obj

Convert Three.js scene graphs to Wavefront OBJ format suitable for Blender (Z-up coordinate system). Handles InstancedMesh, nested hierarchies, coordinate transforms, and headless Node.js execution.

OpenLAIR/OpenSkill · 47 tokens

evo-template-matching-counter

Counts occurrences of template objects (coins, enemies, turtles) in grayscale keyframe images using OpenCV matchTemplate with TMCCOEFFNORMED and Non-Maximum Suppression, then aggregates results into a CSV file.

OpenLAIR/OpenSkill · 52 tokens

evo-threejs-scene-parser

Parse a Three.js createScene() file in headless Node.js, identify part-level structure (Groups and standalone Meshes), and export OBJ files for both individual sub-meshes per part and merged part assemblies (links). Use when extracting decomposed 3D object structure from Three.js scene definitions.

OpenLAIR/OpenSkill · 69 tokens

evo-threejs-obj-export

Generates a Node.js ES module script that dynamically imports a Three.js object definition file, constructs a scene graph, applies a -90 deg X-rotation for Y-up to Z-up coordinate conversion (Blender compatibility), forces world matrix updates, serializes the scene to Wavefront OBJ format using OBJExporter, and writes…

OpenLAIR/OpenSkill · 77 tokens

evo-civ6-map-parser

Parses .Civ6Map SQLite database files to extract map dimensions, terrain, features, resources, and river edge data. Provides hex coordinate utilities for odd-r pointy-top hex grid.

OpenLAIR/OpenSkill · 47 tokens

evo-civ6-adjacency-rules

Encodes all Civ6 Gathering Storm district adjacency bonus rules, placement validity, population limits, and civ-specific modifiers.

OpenLAIR/OpenSkill · 34 tokens