with one click
observation
Fetch the current world observation for this tick.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Fetch the current world observation for this tick.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Assess what actions are realistically available under environment, time, distance, access, money, body, and social constraints.
Maintain sleep-wake rhythm, circadian alertness, appetite rhythm, and chronotype-sensitive daily timing.
Produce emotion.json and intention.json from workspace context.
Model conversation intent, speech style, turn-taking, listening, repair, and nonverbal cues. Use before or after social interaction, dialogue, negotiation, apology, request, gossip, or conflict.
Apply cultural values, etiquette, rituals, symbols, taboos, and local meaning to perception and decisions.
Track sickness, pain, chronic condition, recovery, exercise, stress load, and long-term wellbeing.
| name | observation |
| description | Fetch the current world observation for this tick. |
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.
Call the environment observation action for the current agent, then write natural-language perception to state/observation.txt and structured context to state/observation_ctx.json when available.
Research basis: references/research_basis.md.
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.
codegen with instruction: "<observe>" and ctx: {"id": <your_agent_id>} (replace <your_agent_id> with your actual agent ID from the Agent Identity section).stdout contains the observation text (natural language description of what you perceive).ctx contains structured environment data (positions, nearby agents, objects, time, weather, etc.).status: "in_progress": the environment is still processing. Call done and resume next tick.workspace_write("state/observation.txt", <stdout text>)
ctx contains useful structured data, also write it:workspace_write("state/observation_ctx.json", <ctx as JSON string>)
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.
The observation text typically includes:
After performing any action via codegen, always re-observe to get the updated environment state:
codegencodegen with "<observe>" againstate/observation.txt and state/observation_ctx.jsonThis ensures the agent's internal state matches the environment state.
The state/observation_ctx.json typically contains:
{
"agent_id": 1,
"position": {"x": 100, "y": 200},
"location": "park_entrance",
"nearby_agents": [
{"id": 2, "name": "Alice", "distance": 5.2}
],
"nearby_objects": [
{"id": "bench_01", "type": "bench", "distance": 2.0}
],
"time": {"hour": 10, "minute": 30},
"weather": "sunny",
"available_actions": ["move", "interact", "wait"]
}
state/observation.txt every time you observe so the workspace stays self-consistent.ctx JSON may be large; you don't need to memorize it all—write it to state/observation_ctx.json and let readers pull fields as needed.codegen returns an error, write a short note into state/observation.txt so later reads see what failed.Write state/observation.txt and, when structured context exists, state/observation_ctx.json.
This skill only produces observation artifacts (state/observation.txt, optional state/observation_ctx.json).
Higher-level “agent state snapshot / replay logging” is considered system functionality rather than a human-like capability skill, and should be handled by the runtime/framework if needed.