Skip to content
Back to skills

Inspect Agents

ASecurity

Work with the agents in the workspace: list them, check their configuration and the MCP tools they can reach, send one a message over the A2A protocol, and read the artifacts and traces it produces.

  • 29 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 3, 2026
ai-agentsbash

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add systempromptio/systemprompt-template --skill inspect_agents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Inspect Agents?

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

Security grade badge for Inspect Agents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/systempromptio-inspect-agents/badge)](https://www.skillsdirectory.com/skills/systempromptio-inspect-agents)

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
# Inspect Agents

Work with the agents in the workspace: list them, check their configuration and the MCP tools they can reach, send one
a message over the A2A protocol, and read the artifacts and traces it produces.

## When to Use

Use this skill to understand the agent fleet and exercise it: confirm which agents exist and their scope, validate a
config before relying on it, see which tools an agent is allowed to call, or drive an agent end to end and inspect its
output. The demo ships two agents - `developer_agent` (admin scope, all skills) and `associate_agent` (user scope,
restricted) - which together demonstrate scoped access.

## How to Use

### Discover and inspect

```bash
systemprompt admin agents list                  # configured agents: name, port, enabled, primary, default
systemprompt admin agents status                # process status: running, PID
systemprompt admin agents registry              # agents live in the A2A gateway registry
systemprompt admin agents show developer_agent  # full config: scope, model, skills, mcp servers
systemprompt admin agents show associate_agent
```

### Validate and list tools

```bash
systemprompt admin agents validate developer_agent    # check config for errors
systemprompt admin agents tools developer_agent       # MCP tools this agent may call
systemprompt admin agents tools associate_agent       # note the narrower set (user scope)
```

### Message an agent over A2A

Messaging spends real provider tokens. Use `--blocking` to wait for completion and reuse a `--context-id` for a
multi-turn conversation:

```bash
systemprompt core contexts create --name "agent-demo"
systemprompt admin agents message developer_agent \
  -m "List all agents and summarise their scopes." \
  --context-id <context-id> --blocking --timeout 60
```

### Read what it produced

```bash
systemprompt core artifacts list --context-id <context-id>
systemprompt core artifacts show <artifact-id> --full
systemprompt admin agents task <task-id>              # task details and the agent's response
```

### Follow the execution

```bash
systemprompt infra logs trace list --agent developer_agent --limit 5
systemprompt infra logs trace show <trace-id> --all
systemprompt admin agents logs developer_agent
```

### Typical workflow

1. `admin agents list` / `admin agents show <name>` - see the fleet and one agent's scope.
2. `admin agents tools <name>` - confirm what it is allowed to call.
3. `admin agents message <name> -m "…" --context-id <id> --blocking` - drive it.
4. `core artifacts show <id> --full` and `infra logs trace show <trace-id> --all` - inspect the result and the trace.

Files in this skill

  • SKILL.md2.6 KB
  • config.yaml261 B

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.

Comments

Loading comments…

Newsletter

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