ai-agent-activity

ai-agent-activity is a skill for Claude Code, Codex from Vigil-SOC/vigil. It costs 73 tokens per session (1,666 once invoked), scanned A, original, Apache-2.0.

A security investigation guide for finding activity from AI agents in OpenTelemetry data stored in a security information and event management system (SIEM). It covers which agents, tools, servers and identities were involved, including possible misuse.

In plain words
What is it for?
Use it to investigate AI agents, large-language-model use, tool calls and MCP servers in security telemetry.
Why use it?
AI-agent records can use different field names across tools and versions, making searches easy to misread. This guide helps investigators inspect the data structure before counting or grouping activity.

Skill for Claude CodeCodex

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

Good fit Use it to investigate AI agents, large-language-model use, tool calls and MCP servers in security telemetry.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vigil-soc/vigil/ai-agent-activity
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 Vigil-SOC/vigil --skill ai-agent-activity
Clone the repo
git clone --depth 1 https://github.com/Vigil-SOC/vigil

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 ai-agent-activity

README.md
[![agentmods](https://agentmods.dev/badge/skills/vigil-soc/vigil/ai-agent-activity/github.svg)](https://agentmods.dev/skills/vigil-soc/vigil/ai-agent-activity)
Your own site
<a href="https://agentmods.dev/skills/vigil-soc/vigil/ai-agent-activity"><img src="https://agentmods.dev/badge/skills/vigil-soc/vigil/ai-agent-activity/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 ai-agent-activity

Your own site · 80×15
<a href="https://agentmods.dev/skills/vigil-soc/vigil/ai-agent-activity"><img src="https://agentmods.dev/badge/skills/vigil-soc/vigil/ai-agent-activity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,666 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.
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.00073 $0.01666
Opus 5.5 $0.00029 $0.00666
Sonnet 5.5 $0.00015 $0.00333
Haiku 4.5 $0.00007 $0.00167

Measured 5d ago against content hash 6439369f967c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-agent-activity 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 5d 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.

core/skills/library/ai-agent-activity/SKILL.md · 124 lines

How it starts

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

AI agent activity

AI agents instrumented with OpenTelemetry leave spans in the SIEM. Search them with the telemetry search, in the query language of whichever system this deployment runs. Written against the OpenTelemetry generative-AI semantic conventions as of open-telemetry/semantic-conventions-genai commit e6658f1 (2026-11-06, on core semantic conventions v1.45.0). Every gen_ai.* and mcp.* attribute there is still Development status, so names drift between framework versions: older instrumentation writes gen_ai.system where newer writes gen_ai.provider.name.

How the index names these attributes is for you to find out -- Elastic may hold gen_ai.tool.name as attributes.gen_ai.tool.name, other SIEMs flatten or prefix it differently. Look at one span's field names before you count anything. Pass the search tool exactly what its parameters ask for. Where it takes a field list, name each metadata field you need and nothing else -- a wildcard such as attributes.gen_ai.* or * matches the content attributes too; where it takes an aggregation, count and group there rather than over a capped page of rows. Where it takes neither, count and group over the rows it returns.

What the fields mean

  • gen_ai.operation.name: what the span is -- invoke_agent, chat, execute_tool, create_agent, embeddings, retrieval and others. The span name usually leads with it (execute_tool <tool>, invoke_agent <agent>).
  • gen_ai.agent.name / gen_ai.agent.id / gen_ai.agent.version: which agent.
  • gen_ai.tool.name, gen_ai.tool.type, gen_ai.tool.call.id: which tool one call ran, and the call's id.
  • gen_ai.provider.name, gen_ai.request.model, gen_ai.response.model: which model service and model.
  • gen_ai.usage.input_tokens / gen_ai.usage.output_tokens: tokens counted on a model call. gen_ai.response.finish_reasons says why the model stopped (content_filter is a refusal).
  • gen_ai.conversation.id: one session of an agent.
  • MCP spans: mcp.method.name (tools/call, tools/list, initialize, resources/read ...), mcp.session.id, mcp.protocol.version, mcp.resource.uri, server.address / server.port on the client side, client.address on the server side, network.transport. A tools/call span carries gen_ai.tool.name. Vigil's own MCP client spans (mcp.call_tool) name the server in mcp.server.name and the transport in mcp.transport.
  • On every span: start, duration, trace and parent ids, status. error.type is set only when the call failed.

Read the full file on GitHub · 124 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago Changed · +17 lines 6439369f967c
  2. 13d ago First seen · 107 lines · 73 tokens per session scan A 1b05eafaf09a

Subscribe to this mod's changes

ai-agent-activity is a skill published in the GitHub repository Vigil-SOC/vigil (543 stars, last pushed today), licensed Apache-2.0. It adds 73 tokens to every session and 1,666 once invoked, about $0.0003 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-11-19.

Related

ai-agent-activity compared with skills from other repositories

ai-agent-activity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-agent-activityVigil-SOC/vigilSkill543todayApache-2.0A73Claude Code, Codex
detection-sigmaAgentSecOps/SecOpsAgentKitSkill2397mo agononeA115Claude Code, Codex
analyzing-cobalt-strike-beacon-configurationmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A42Claude Code
detecting-evasion-techniques-in-endpoint-logsxalgorix/xalgorixSkill1.6ktodayApache-2.0A97Claude Code, Codex
analyzing-azure-activity-logs-for-threatsmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A68Claude Code
analyzing-cobaltstrike-malleable-c2-profilesmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A98Claude Code
analyzing-persistence-mechanisms-in-linuxmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A82Claude Code