a365-code-validator

a365-code-validator is a skill for Claude Code from microsoft/agent365-skills. It costs 202 tokens per session (6,690 once invoked), scanned A, original, MIT.

A checker for Agent 365 observability code. Agent 365 observability is the recording of an agent's activity so it can appear in Microsoft monitoring tools such as MAC Activity and Defender.

In plain words
What is it for?
Use it to inspect exporter settings, agent IDs, span types, authentication endpoints, tokens, and permissions, with optional fixes where supported.
Why use it?
It helps find configuration and identity problems when telemetry appears to be sent but the agent's activity is missing or misleading in reports.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the agent365 plugin — 8 skills shipped together

Good fit Use it to inspect exporter settings, agent IDs, span types, authentication endpoints, tokens, and permissions, with optional fixes where supported.

Compare 6 skills from other repositories ↓
About the project

Microsoft Agent 365 Skills is a collection of coding-agent skills and MCP configuration for building and operating AI Teammates hosted in Microsoft Teams. It supports the Agent 365 lifecycle, including WorkIQ integration, registration, observability, validation, and local testing, for users of Claude Code and GitHub Copilot.

microsoft/agent365-skills · 51 stars · on GitHub

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add microsoft/agent365-skills
Claude Code
/plugin install agent365

Made for: Claude Code.

Or install agent365, the plugin that ships this one along with the rest of its 8 skills.

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 a365-code-validator

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/agent365-skills/a365-code-validator/github.svg)](https://agentmods.dev/skills/microsoft/agent365-skills/a365-code-validator)
Your own site
<a href="https://agentmods.dev/skills/microsoft/agent365-skills/a365-code-validator"><img src="https://agentmods.dev/badge/skills/microsoft/agent365-skills/a365-code-validator/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 a365-code-validator

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/agent365-skills/a365-code-validator"><img src="https://agentmods.dev/badge/skills/microsoft/agent365-skills/a365-code-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 202 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,690 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.00202 $0.06690
Opus 5.5 $0.00081 $0.02676
Sonnet 5.5 $0.00040 $0.01338
Haiku 4.5 $0.00020 $0.00669

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

Security

Grade A, and why

a365-code-validator 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 22d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (references/a365-code-validator.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/agent365/skills/a365-code-validator/SKILL.md · 685 lines

How it starts

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

A365 Code Validator

Trigger phrases — any of these will activate this skill automatically:

  • "validate a365 code"
  • "run a365 code validator"
  • "check a365 observability code"
  • "debug a365 activity missing"
  • "debug MAC activity for this agent"
  • "validate Agent 365 telemetry"
  • "check why Agent Activity is empty"
  • "check A365 exporter flags"
  • "validate gen_ai agent id"
  • "check A365 span types"

Overview

This skill performs a report-first validation of an existing agent codebase to answer:

"If this agent runs now, will its spans reach the A365 backend and become eligible for MAC Activity?"

It is designed for incident response. It checks the exact classes of bugs that cause silent or confusing A365 Activity failures:

  1. Exporter configured but not actually enabled.
  2. gen_ai.agent.id set to a Blueprint ID instead of the runtime Agent Identity / Source Agent ID.
  3. Generic HTTP/OpenAI spans emitted without A365 semantic operations.
  4. Delegated (OBO-route) telemetry: the S2S route flag is missing, or an OBO / Agentic User token is fed to the exporter.
  5. Missing token resolver or wrong S2S token shape.
  6. Stale local Blueprint ID, missing Blueprint permissions, or an unregistered agent instance in the target tenant.
  7. Inheritable permission policy configured without grants on the Blueprint service principal.
  8. MAC reporting expectations confused with raw ingest success.

No source code is modified during validation. After the report, the skill asks whether to apply safe fixes, create a fix plan only, or stop.


Output is support-safe (applies to every phase)

This report may be pasted into a customer or partner thread, so it must be safe to share: never print internal cluster/database names, Kusto queries, private endpoint or route templates, correlation IDs, or real tenant/agent IDs. Report file/function names and public, supportable signals only. This is non-negotiable — it holds even when a user asks for "just the raw details."

Read the full file on GitHub · 685 lines

Files

What ships with it

2 files 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. 22d ago Changed · +3 lines 07d2640a590b
  2. 1mo ago Changed · +50 lines · +8 tokens per session b9829b4fb0e9
  3. 2mo ago First seen · 632 lines · 194 tokens per session scan A e747930a4b52

Subscribe to this mod's changes

a365-code-validator is a skill published in the GitHub repository microsoft/agent365-skills (51 stars, last pushed 17d ago), licensed MIT. It adds 202 tokens to every session and 6,690 once invoked, about $0.0008 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-08-30.

Related

a365-code-validator compared with skills from other repositories

a365-code-validator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
a365-code-validatormicrosoft/agent365-skillsSkill5117d agoMITA202Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code