Skip to content
Back to skills

Agent Observe

ASecurity

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.

  • 24 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentspythonapi

Works with

  • api

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add gabrielmoreira/agent-skills-mirror --skill agent-observe --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Observe?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Observe
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrielmoreira-agent-observe/badge)](https://www.skillsdirectory.com/skills/gabrielmoreira-agent-observe)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-observe
description: 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.
---

# 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:

```python
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

- `await agent_observe.list_agents()` returns `current` and `agents`, the full
  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.
- `await agent_observe.get_agent(target)` returns `agent`, where `agent`
  contains one live agent summary. `target` is resolved like other live-session
  selectors: active id, session id/name, or unambiguous suffix.
- `await agent_observe.recent_messages(target, limit=8, max_chars=800)`
  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

- This skill is read-only and exposes no mutation commands.
- Targets outside the nuclear family are rejected; transcript reads follow the
  same family rule as messaging.
- Message access is bounded by count and per-message character limit.
- Prefer status and recent previews for orchestration. Ask the user before
  using observed context to steer or message another session.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.