Borrowing it
Nothing to install: this file belongs to franklesniak/copilot-repo-template. 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/franklesniak/copilot-repo-template/main/.github/instructions/yaml.instructions.mdgit clone --depth 1 https://github.com/franklesniak/copilot-repo-templateWrote 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/franklesniak/copilot-repo-template/yaml)<a href="https://agentmods.dev/instructions/franklesniak/copilot-repo-template/yaml"><img src="https://agentmods.dev/badge/instructions/franklesniak/copilot-repo-template/yaml/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/franklesniak/copilot-repo-template/yaml"><img src="https://agentmods.dev/badge/instructions/franklesniak/copilot-repo-template/yaml.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.12598 | $0.12598 |
| Opus 5.5 | $0.05039 | $0.05039 |
| Sonnet 5.5 | $0.02520 | $0.02520 |
| Haiku 4.5 | $0.01260 | $0.01260 |
Grade A, and why
copilot-repo-template yaml.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 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.
How it starts
The opening of the file, as written. The whole thing — 609 lines — stays where its author put it; the contents beside it link to each section on GitHub.
YAML Writing Style
Version: 1.7.20260923.0
Metadata
- Status: Active
- Owner: Repository Maintainers
- Last Updated: 2026-09-23
- Scope: Defines authoring standards for all YAML files in this repository, including GitHub Actions workflows, Azure Pipelines YAML, pre-commit configuration, linter configuration, and any other human-authored YAML configuration. Does not cover JSON files (covered by the companion JSON guide, if present) or generated YAML artifacts that are owned by another tool's serializer.
- Related: Repository Copilot Instructions
- Related baseline guidance:
.gitattributesRules
- Related JSON guidance: JSON Writing Style
Purpose and Scope
YAML in this repository is the preferred format for human-authored configuration that benefits from comments, multi-line strings, and a forgiving syntax for editors (workflow files, pre-commit configs, linter configs, application config files committed to source control). JSON is preferred for strict machine interchange and for generated artifacts (lock files, schema documents, tool outputs, structured data exchanged between systems).
To keep YAML safe to edit, easy to diff, and portable across parsers, this repository adopts a conservative, tool-friendly subset of YAML 1.2. Authors MUST prefer explicit, unambiguous constructs over clever or compact YAML features that vary by parser.
Note: This document uses RFC 2119 keywords (MUST, MUST NOT, SHOULD, SHOULD NOT, MAY) to indicate requirement levels.
Quick Reference Checklist
- [All] MUST use 2-space indentation; MUST NOT use tabs.
- [All] MUST use block style by default; SHOULD NOT use flow style for non-trivial structures.
- [All] MUST use lowercase
true,false, andnull; MUST NOT useyes/no/on/off(or capitalized variants) as booleans. - [All] MUST quote values that could be misparsed as booleans, nulls, numbers, dates, or YAML 1.1 truthy tokens.
- [All] MUST quote version pins (for example,
"3.13","1.0") so they cannot be coerced to numbers. - [All] SHOULD use double quotes only when escape sequences are needed; SHOULD use single quotes for literal regexes and Windows paths.
- [All] SHOULD use block scalars (
|,>,|-,>-) for multi-line strings. - [All] SHOULD NOT use anchors, aliases, merge keys, custom tags, or multi-document files unless required and supported by the consumer.
- [All] MUST NOT commit secrets in YAML.
- [Actions] MUST apply least-privilege
permissions:on GitHub Actions workflows. - [Actions]
setup-*actionwith.*-version:inputs (for example,python-version,node-version,go-version, anddotnet-version) in workflow files under.github/workflows/MUST resolve from checked-in release-line selectors and MUST NOT use a broad floating selector such as'3.x','latest', or'*'. The required granularity follows each ecosystem's release model: Python and Go MUST use major.minor (for example,"3.13"or"1.26"); Node.js MAY use major for an LTS line (for example,"24") or major.minor (for example,"24.17"); .NET MAY use the most specific stable SDK channel selector documented byactions/setup-dotnet, such as major.minor.x (for example,"10.0.x"); for other ecosystems, use the most specific stable release-line selector documented by the action's README. - [Actions]
actions/setup-nodeMAY instead use the guarded exact Node.js version-file exception. Its file, precedence, exactness, and verification conditions all apply. - [AzurePipelines] Repositories that use Azure Pipelines language/runtime/SDK tool-installer tasks MUST explicitly provide checked-in compliant selectors for in-scope
versionorversionSpecinputs and MUST NOT rely on broad task defaults, queue-time-only values,"latest", bare"*", comparator/operator ranges, or composite ranges. - [AzurePipelines] Azure Pipelines YAML MUST pass retained host-neutral local YAML hooks, and pipeline schema/branch-policy validation MUST be treated as Azure DevOps Services-backed validation rather than
actionlint. - [Actions] Documentation/navigation comments above
uses:lines MUST use versionless upstream URLs; theuses:line remains the authoritative action version. - [Actions] Comments documenting where a GitHub Actions
with:tool-version input is pinned, or that such a value must stay aligned across files, SHOULD describe the membership criterion instead of a hardcoded workflow-file list; if a concrete file list is included for convenience, it SHOULD be labeled as a non-authoritative snapshot. - [Actions] Optional
workflow_dispatchstring inputs that also need defaults on non-dispatch triggers SHOULD derive the effective value from a single source, using a fallback only in keys where the needed contexts are available, rather than duplicating an unmarked inputdefault:andenv:literal. - [Schemas] Schema-backed YAML MUST pass any schema validator wired into pre-commit or CI; where no validator is wired up for a particular file family, authors SHOULD run the appropriate validator locally before committing.
- [Naming] YAML filenames SHOULD be lowercase kebab-case; GitHub Actions workflows MUST use the
.ymlextension; project-owned YAML MUST choose.ymlor.yamland use it consistently. - [IssueForms] In
.github/ISSUE_TEMPLATE/*.yml, repo-internal targets in both issue-formvalue:Markdown links (e.g.,bug_report.yml) andconfig.ymlcontact_linksurl:fields MUST use absolute GitHub URLs such ashttps://github.com/<owner>/<repo>/blob/HEAD/<path>for file links; relative paths MUST NOT be used. Template repositories MAY ship unresolved live URLs using literalOWNER/REPO; other placeholder spellings MUST NOT serve that live role. Angle-bracket URL shapes here are schematic after substitution, and the final rendered URL still needs the real host, owner, and repository. The two file types fail for different reasons:value:Markdown blocks render at/{owner}/{repo}/issues/new?...so relative paths resolve against that URL and 404, whilecontact_linksurl:fields are not Markdown at all — GitHub validates them as absolute URLs at form-load time and rejects relative values outright.
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.
- 1mo ago Changed · +117 lines · +2,571 tokens per session c2341d4c02b1
- 2mo ago First seen · 492 lines · 10,027 tokens per session scan A 866a2868f1e1
copilot-repo-template yaml.instructions.md is an instructions file published in the GitHub repository franklesniak/copilot-repo-template (9 stars, last pushed 5d ago), licensed MIT. It adds 12,598 tokens to every session, about $0.0504 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-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deepseek-harness AGENTS.md
AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.