github-copilot-instructions: Instructions file for GitHub Copilot

.github/instructions/markdown.instructions.md

github-copilot-instructions markdown.instructions.md is an instructions file for GitHub Copilot from antiotaku/github-copilot-instructions. It costs 749 tokens per session, scanned A, a copy of custom_github_copilot_agent_builder markdown.instructions.md, MIT.

Instructions for applying Docker best practices to container images and running containers. They focus on image size, security, reproducible builds, immutable images, and reliable versioning.

In plain words
What is it for?
Writing and reviewing Dockerfiles, using multi-stage builds, optimizing image layers, pinning dependencies, scanning images, and planning container rollbacks.
Why use it?
It helps avoid inconsistent builds, unnecessary image layers, runtime changes, and common container security problems.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is antiotaku/github-copilot-instructions's own configuration. It tells GitHub Copilot how to work on github-copilot-instructions 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 github-copilot-instructions configures →

Reuse

Borrowing it

Nothing to install: this file belongs to antiotaku/github-copilot-instructions. 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/antiotaku/github-copilot-instructions/main/.github/instructions/markdown.instructions.md
Clone the repo
git clone --depth 1 https://github.com/antiotaku/github-copilot-instructions

Made for: GitHub Copilot.

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 github-copilot-instructions markdown.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/antiotaku/github-copilot-instructions/markdown/github.svg)](https://agentmods.dev/instructions/antiotaku/github-copilot-instructions/markdown)
Your own site
<a href="https://agentmods.dev/instructions/antiotaku/github-copilot-instructions/markdown"><img src="https://agentmods.dev/badge/instructions/antiotaku/github-copilot-instructions/markdown/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 github-copilot-instructions markdown.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/antiotaku/github-copilot-instructions/markdown"><img src="https://agentmods.dev/badge/instructions/antiotaku/github-copilot-instructions/markdown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 749 This file is loaded in full into every session.
When invoked 749 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 94% copy Near-identical to another mod 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.00749 $0.00749
Opus 5.5 $0.00300 $0.00300
Sonnet 5.5 $0.00150 $0.00150
Haiku 4.5 $0.00075 $0.00075

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

Security

Grade A, and why

github-copilot-instructions markdown.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 3mo 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.

Origin

This is a copy

94% identical to custom_github_copilot_agent_builder markdown.instructions.md — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/instructions/markdown.instructions.md · 53 lines

How it starts

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

Markdown Content Rules

The following markdown content rules are enforced in the validators:

  1. Headings: Use appropriate heading levels (H2, H3, etc.) to structure your content. Do not use an H1 heading, as this will be generated based on the title.
  2. Lists: Use bullet points or numbered lists for lists. Ensure proper indentation and spacing.
  3. Code Blocks: Use fenced code blocks for code snippets. Specify the language for syntax highlighting.
  4. Links: Use proper markdown syntax for links. Ensure that links are valid and accessible.
  5. Images: Use proper markdown syntax for images. Include alt text for accessibility.
  6. Tables: Use markdown tables for tabular data. Ensure proper formatting and alignment.
  7. Line Length: Limit line length to 400 characters for readability.
  8. Whitespace: Use appropriate whitespace to separate sections and improve readability.
  9. Front Matter: Include YAML front matter at the beginning of the file with required metadata fields.

Formatting and Structure

Follow these guidelines for formatting and structuring your markdown content:

  • Headings: Use ## for H2 and ### for H3. Ensure that headings are used in a hierarchical manner. Recommend restructuring if content includes H4, and more strongly recommend for H5.
  • Lists: Use - for bullet points and 1. for numbered lists. Indent nested lists with two spaces.
  • Code Blocks: Use triple backticks () to create fenced code blocks. Specify the language after the opening backticks for syntax highlighting (e.g., csharp). Use escaped form \\n instead of \n when documenting escape sequences to prevent markdown rendering issues.
  • Links: Use [link text](URL) for links. Ensure that the link text is descriptive and the URL is valid.
  • Images: Use ![alt text](image URL) for images. Include a brief description of the image in the alt text.
  • Tables: Use | to create tables. Ensure that columns are properly aligned and headers are included.
  • Line Length: Break lines at 80 characters to improve readability. Use soft line breaks for long paragraphs.
  • Whitespace: Use blank lines to separate sections and improve readability. Avoid excessive whitespace.

Read the full file on GitHub · 53 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. 3mo ago First seen · 53 lines · 749 tokens per session scan A 55198d3f5902

Subscribe to this mod's changes

github-copilot-instructions markdown.instructions.md is an instructions file published in the GitHub repository antiotaku/github-copilot-instructions (1 stars, last pushed 1y ago), licensed MIT. It adds 749 tokens to every session, about $0.0030 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 94% identical to custom_github_copilot_agent_builder markdown.instructions.md, differing in 2 lines, and is treated as a copy.

Related

github-copilot-instructions markdown.instructions.md compared with instructions from other repositories

github-copilot-instructions markdown.instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-copilot-instructions markdown.instructions.mdantiotaku/github-copilot-instructionsInstructions file11y agoMITA749GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,951Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file291kyesterdayMITA4,396Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot