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.
npx agentmods add instructions/az-scout/az-scout/plugin-apigit clone --depth 1 https://github.com/az-scout/az-scoutWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00856 | $0.00856 |
| Opus 5 | $0.00428 | $0.00428 |
| Sonnet 5 | $0.00171 | $0.00171 |
| Haiku 4.5 | $0.00086 | $0.00086 |
Grade A, and why
az-scout plugin-api.instructions.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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Plugin API (core side)
Audience: core maintainers changing the plugin contract.
For plugin authors implementing a plugin, see plugin-author.instructions.md.
Compatibility
PLUGIN_API_VERSIONlives inazure_api/__init__.py. Bump it for any breaking change to the protocol, dataclasses, or shared helpers.- The plugin manager guard refuses to load plugins declaring an incompatible major version — keep the guard in sync.
- Document every bump in
CHANGELOG.mdunder### Changedwith a migration note.
Plugin protocol
from az_scout.plugin_api import AzScoutPlugin, TabDefinition, ChatMode, NavbarAction
class MyPlugin:
name = "my-plugin" # unique identifier
version = "0.1.0"
def get_router(self) -> APIRouter | None: ...
def get_mcp_tools(self) -> list[Callable] | None: ...
def get_static_dir(self) -> Path | None: ...
def get_tabs(self) -> list[TabDefinition] | None: ...
def get_chat_modes(self) -> list[ChatMode] | None: ...
def get_navbar_actions(self) -> list[NavbarAction] | None: ...
All methods optional — return None to skip.
Conventions
- Package layout: src-layout (
src/az_scout_myplugin/) with hatchling - Naming: Package
az-scout-plugin-{name}, moduleaz_scout_{name} - Entry point:
[project.entry-points."az_scout.plugins"] - Lazy imports: Inside methods to avoid circular imports at discovery time
- Static dir:
Path(__file__).parent / "static"at module level
AI completion helpers
from az_scout.plugin_api import is_ai_enabled, plugin_ai_complete
if is_ai_enabled():
result = await plugin_ai_complete(
"Analyse this data...",
system_prompt="You are an expert.",
region="eastus",
cache_ttl=600, # 10 min cache, 0 to bypass
)
# result = {"content": "...", "tool_calls": [...]}
JS: if (aiEnabled) { const r = await aiComplete("...", {cacheTtl: 600}); }
Isolation rules
- Fully self-contained — no global state mutation
- No circular imports — use lazy imports
- No heavy imports at module import time
- Respect core authentication and context model
- Never override built-in routes
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.
- 2d ago First seen · 89 lines · 856 tokens per session scan A 72093f3e8824
az-scout plugin-api.instructions.md is an instructions file published in the GitHub repository az-scout/az-scout (11 stars, last pushed 21d ago), licensed MIT. It adds 856 tokens to every session, about $0.0043 per session on Opus 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.
Other instructions, from other repositories
generative-ai-for-beginners AGENTS.md
Instructions for microsoft/generative-ai-for-beginners, covering agents.md, project overview, setup commands, initial repository setup and clone the repository.
skills copilot-instructions.md
Copilot instructions for microsoft/skills, covering copilot instructions for agent skills, project overview, ⚠️ fresh information first, core principles and 1. think before coding.
azure-sdk-for-net copilot-instructions.md
Instructions for Azure/azure-sdk-for-net, covering project overview, prerequisites, folder structure, azure generator and azure management generator.
azure-sdk-for-go go-examples.instructions.md
Instructions for Azure/azure-sdk-for-go, a project described as: This repository is for active development of the Azure SDK for Go. For consumers of the SDK we recommend visiting our public developer docs at.
azure-search-openai-demo bicep.instructions.md
Infrastructure as Code with Bicep.
GPT-RAG copilot-instructions.md
Instructions for Azure/GPT-RAG, covering repository development and release instructions, branching strategy, default behavior, feature development workflow and branch creation.