Borrowing it
Nothing to install: this file belongs to MicrosoftLearning/trainer-demo-deploy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/MicrosoftLearning/trainer-demo-deploy/main/.github/instructions/templates-json.instructions.mdgit clone --depth 1 https://github.com/MicrosoftLearning/trainer-demo-deployWrote 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.
[](https://agentmods.dev/instructions/microsoftlearning/trainer-demo-deploy/templates-json)<a href="https://agentmods.dev/instructions/microsoftlearning/trainer-demo-deploy/templates-json"><img src="https://agentmods.dev/badge/instructions/microsoftlearning/trainer-demo-deploy/templates-json/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.
<a href="https://agentmods.dev/instructions/microsoftlearning/trainer-demo-deploy/templates-json"><img src="https://agentmods.dev/badge/instructions/microsoftlearning/trainer-demo-deploy/templates-json.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01536 | $0.01536 |
| Opus 5.5 | $0.00614 | $0.00614 |
| Sonnet 5.5 | $0.00307 | $0.00307 |
| Haiku 4.5 | $0.00154 | $0.00154 |
Grade A, and why
trainer-demo-deploy templates-json.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 today.
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 — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Templates Catalog Implementation Instructions
These instructions govern adding and maintaining entries in static/templates.json. They define a deterministic process and validation rules.
Scope
- File:
static/templates.json(single JSON array of template objects) - Tags: must be from
src/data/tags.tsxTagType union - Sources: A single GitHub repository per entry is the authoritative source for metadata
Contract: Template Entry Schema
Fields and types:
- title (string, required, unique)
- description (string, required) - Omit reference to bicep or AZD, it is the demo that we care about
- preview (string, required) — relative path under
./templates/images/or an absolute HTTPS URL - website (string, required) — author profile or project page
- author (string, required)
- source (string, required) — GitHub repo URL
- demoguide (string, optional) — raw markdown URL
- tags (string[], required) — each value must be in TagType
- industry (string, optional) — business vertical; omit for general-purpose templates
- cost (string, required) — decimal as string (e.g., "3.00")
- deploytime (string, required) — minutes as string (e.g., "5")
- prereqs (string, optional) — raw markdown URL
Conventions:
- Keep keys in the order listed above
- All fields are JSON strings except
tags(array of strings) - Missing
industryvalues are normalized toGeneralby the catalog - Deduplicate and sort
tagslexicographically for stable diffs - No trailing commas; entire file must be a single valid JSON array
Allowed Tags
Authoritative allowed values are defined in src/data/tags.tsx (TagType). Do not invent new tags here—add to TagType first if necessary. Should contain a tag from the ILT course catalog.
Automation Workflow: From GitHub Repo to Entry
When a user provides a GitHub repository URL, populate fields as follows:
- Discover metadata
- source: the provided repo URL
- website: repo owner profile URL (e.g., https://github.com/) or the repo homepage if defined
- author: repo owner display name if available; otherwise owner handle
- title: prefer a concise productized name from README H1; else repo name in human case
- description: first paragraph under README H1 (sanitize to one sentence, max ~240 chars)
- demoguide: README raw URL if it serves as the demo guide, or search for demoguide/*.md, docs/guide.md; use raw URL
- prereqs: search for prereqs.md or similar; use raw URL if present
- preview: look for images referenced in README (png/svg/jpg/webp). Prefer a repo
static/templates/images/asset if already in our repo, else the first readable image in the repo via raw URL. If none, set./templates/images/test.png. - industry: use a business vertical explicitly named in the README; otherwise omit it so the entry defaults to
General
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.
- today First seen · 138 lines · 1,536 tokens per session scan A 60de46b18a56
trainer-demo-deploy templates-json.instructions.md is an instructions file published in the GitHub repository MicrosoftLearning/trainer-demo-deploy (31 stars, last pushed 11d ago), licensed MIT. It adds 1,536 tokens to every session, about $0.0061 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-07.
trainer-demo-deploy templates-json.instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| trainer-demo-deploy templates-json.instructions.mdMicrosoftLearning/trainer-demo-deploy | Instructions file | 31 | 11d ago | MIT | A | 1,536 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 275k | 3d ago | MIT | A | 4,313 | Codex, OpenCode |