Agent observe

From gabrielmoreira/agent-skills-mirror · View interactive version

Agent observe is an AI agent skill from the GitHub repository gabrielmoreira/agent-skills-mirror. Read-only roster and observation of an agent's parent, siblings, and direct children. Use to discover reachable agents and to inspect family status and bounded recent-message previews without mutating sessions.

How to use this skill

Skill file

Agent Observe

Observe the current agent's nuclear family through the local daemon: parent,

siblings, direct children, and self. list_agents is the one family roster and

covers every member agent_message.send can reach. get_agent and

recent_messages hydrate an inactive child before reading it. They cannot read

a root sibling that has no live session in this worker.

This skill is read-only: it can list family sessions, inspect one session, and fetch

bounded recent message previews. It cannot prompt, steer, clear, kill, rename, or

otherwise mutate another session.

Call directly from the kernel:

roster = await agent_observe.list_agents()
child = next(
    (
        item
        for item in roster.get("agents", [])
        if item.get("relationship") == "child"
    ),
    None,
)
if child is not None:
    name = child.get("sessionName") or child["sessionId"]
    worker = await agent_observe.get_agent(name)
    recent = await agent_observe.recent_messages(name, limit=6)

API

nuclear family: parent, siblings, and direct children, active or not. Each

agent carries sessionId, optional sessionName, relationship

(parent/sibling/child/self), status, isSessionActive, and the counts and

message previews known for it: latestMessage for a live session,

firstMessage for an inactive child. A member with no live session has

no activeSessionId and no live detail; address it with agent_message.send

using its relationship plus its sessionName, or its sessionId when the

member has no name.

contains one live agent summary. target is resolved like other live-session

selectors: active id, session id/name, or unambiguous suffix.

returns up to limit recent bounded message previews for the target session.

limit must be 1-50, and max_chars must be 80-2000.

Safety

same family rule as messaging.

using observed context to steer or message another session.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.