Build-CLI: Instructions file for Codex

AGENTS.md

Build-CLI AGENTS.md is an instructions file for Codex, OpenCode from microsoft/Build-CLI. It costs 1,583 tokens per session, scanned A, original, MIT.

Project instructions for a Microsoft Events assistant plugin and its command-line tool. The tool fetches, caches, normalizes, and searches Microsoft Build and Ignite session catalogs.

In plain words
What is it for?
Maintaining plugin manifests, shared skills, MCP configuration, the events CLI, and synchronization rules across supported agent ecosystems.
Why use it?
They help keep the plugin's GitHub Copilot and Claude Code packages consistent when metadata, skills, or Microsoft Learn integration changes.

Instructions file for CodexOpenCode ✓ vendor

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions .claude-plugin; mentions Claude Code; mentions AGENTS.md.

This is microsoft/Build-CLI's own configuration. It tells Codex and OpenCode how to work on Build-CLI itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Build-CLI configures →

About the project

Microsoft Build CLI is a GitHub Copilot CLI extension that connects a local software project to the Microsoft Build session catalogue. Developers use it to find sessions relevant to their project's dependencies and record notes or follow-up actions from the terminal. The catalogue entries are its Copilot CLI skill, plugin, instruction, and MCP components.

microsoft/Build-CLI · 297 stars · on GitHub · build.microsoft.com

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/Build-CLI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microsoft/Build-CLI/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/Build-CLI

Made for: Codex, OpenCode.

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 Build-CLI AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/microsoft/build-cli/agents-md/github.svg)](https://agentmods.dev/instructions/microsoft/build-cli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/microsoft/build-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/microsoft/build-cli/agents-md/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 Build-CLI AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/microsoft/build-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/microsoft/build-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,583 This file is loaded in full into every session.
When invoked 1,583 The same file — it is already loaded in full.
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.01583 $0.01583
Opus 5.5 $0.00633 $0.00633
Sonnet 5.5 $0.00317 $0.00317
Haiku 4.5 $0.00158 $0.00158

Measured 1mo ago against content hash 3a528478ddad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Build-CLI AGENTS.md 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 1mo 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.

AGENTS.md · 63 lines

How it starts

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

AGENTS.md

This repo packages the Microsoft Events assistant plugin and the @microsoft/events-cli CLI. The plugin helps agents use live Microsoft Build and Ignite session catalogs; the CLI fetches, caches, normalizes, and searches those catalogs.

Plugin ecosystems

The repo publishes plugin metadata for GitHub Copilot and Claude Code. Keep shared product identity fields aligned across the manifests when changing the plugin name, description, version, author, repository, keywords, license, skills path, or MCP wiring.

Shared assets used by the plugin ecosystems:

  • skills\microsoft-events\SKILL.md — the active skill prompt
  • .mcp.json — Microsoft Learn MCP endpoint config
  • cli\ — source for the @microsoft/events-cli package used by the skill

Versioned plugin manifests:

  • GitHub Copilot — .github\plugin\plugin.json is the Copilot marketplace manifest and points at the repo root.
  • Claude Code — .claude-plugin\plugin.json defines the Claude Code plugin package; .claude-plugin\marketplace.json defines Claude Code marketplace publishing metadata.

Sync rules

  • Event support is duplicated by design between the CLI and skill docs. When adding, removing, or renaming events, update cli\src\config.ts, the supported/default event guidance in skills\microsoft-events\SKILL.md, and affected tests/docs together.
  • The offline Microsoft 365 Copilot plugin (Cowork) builds its SKILL.md from skills\microsoft-events\SKILL.md; there's no second copy to keep aligned. cli\m365-skill\offline-overlay.md holds the only Cowork-specific text: frontmatter keys to replace and a ## Session catalog access section that uses only node scripts/msevents.mjs (no npx, network, or refresh). SKILL_REWRITES in cli\scripts\build-m365-plugin.mjs rewrites the remaining online steps, and the build fails when a rewrite stops matching or online wording (npx, catalog endpoints, refresh, "live catalog") is left, so npm run smoke:m365 catches main-skill edits that need a matching update there. Changing the overlay or rewrites doesn't need a plugin version bump; the M365 plugin has its own version, entered when the M365 plugin workflow publishes a release.
  • Treat skills\microsoft-events\SKILL.md as the product contract for event-session behavior. For Build, Ignite, or event-session work: default "Build" to build-2026, get session metadata from the live catalog through msevents or the endpoint, get SDK/API facts from Microsoft Learn MCP, and never invent session IDs, speakers, schedules, or links.
  • Versioning gate: any meaningful skills\microsoft-events\SKILL.md change (agent behavior, commands/examples agents may follow, supported/default events, CLI/MCP/catalog usage, or user-facing workflow guidance) must bump both versioned plugin manifests to the same value; patch bumps are fine for guidance-only changes.
  • PR review gate: GitHub Copilot/code reviewers should flag meaningful SKILL.md changes without synced plugin version bumps, and any plugin version drift. Typo/format-only skill edits may skip the bump only when the PR explicitly says so.
  • Keep README install/client guidance aligned with plugin manifest, skill, MCP, or CLI behavior changes.

Read the full file on GitHub · 63 lines

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. 1mo ago Changed 3a528478ddad
  2. 1mo ago Changed · +8 lines · +637 tokens per session df56b438f03d
  3. 3mo ago First seen · 55 lines · 946 tokens per session scan A b6e29c43c642

Subscribe to this mod's changes

Build-CLI AGENTS.md is an instructions file published in the GitHub repository microsoft/Build-CLI (297 stars, last pushed 25d ago), licensed MIT. It adds 1,583 tokens to every session, about $0.0063 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

Build-CLI AGENTS.md compared with instructions from other repositories

Build-CLI AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Build-CLI AGENTS.mdmicrosoft/Build-CLIInstructions file29725d agoMITA1,583Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109ktodayMITA3,077GitHub Copilot