blake: Instructions file for GitHub Copilot

.github/copilot-instructions.md

blake copilot-instructions.md is an instructions file for GitHub Copilot from matt-goldman/blake. It costs 2,059 tokens per session, scanned C, original, MIT.

Project instructions for Blake, a .NET and Blazor tool that builds static websites from Markdown, templates, and components.

In plain words
What is it for?
They help guide changes to Blake's command-line tool, static-site build process, and .NET or Blazor code.
Why use it?
They explain the project's design principles, structure, and requirement to consult current Microsoft documentation for relevant features.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is matt-goldman/blake's own configuration. It tells GitHub Copilot how to work on blake 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 blake configures →

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/matt-goldman/blake/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/matt-goldman/blake/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,059 This file is loaded in full into every session.
When invoked 2,059 The same file — it is already loaded in full.
Security scan C 2 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.02059 $0.02059
Opus 5.5 $0.00824 $0.00824
Sonnet 5.5 $0.00412 $0.00412
Haiku 4.5 $0.00206 $0.00206

Measured 11d ago against content hash d62785b101af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

blake copilot-instructions.md scanned grade C with 2 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 11d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 9.0

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 9.0
.github/copilot-instructions.md · 265 lines

How it starts

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

Blake - Copilot Instructions

Blake is a Blazor-based static site generator that embraces Occam's Razor and convention-over-configuration principles. It allows developers to create static websites using familiar .NET technologies: Markdown files, Razor templates, and Blazor components.

Development Guidelines

Always search Microsoft documentation (MS Learn) when working with .NET, Windows, or Microsoft features, or APIs. Use the microsoft_docs_search tool to find the most current information about capabilities, best practices, and implementation patterns before making changes.

Project Philosophy

Blake is guided by simplicity and minimalism:

  • Minimal assumptions: Use familiar .NET and Blazor patterns
  • Convention-over-configuration: Folder structure determines behavior
  • Transparency: Developers should understand their build process
  • Familiarity: Leverage existing .NET/Blazor knowledge

Core Principle: "Bake your Blazor into beautiful static sites" with the fewest assumptions and maximum developer control.

Architecture Overview

Project Structure

Blake/
├── src/
│   ├── Blake.CLI/              # Command-line interface (`blake` tool)
│   ├── Blake.Types/            # Core types (PageModel, SiteTemplate)
│   ├── Blake.BuildTools/       # Build engine, plugin system, BlakeContext
│   └── Blake.MarkdownParser/   # Markdown parsing and rendering
├── tests/
│   └── Blake.BuildTools.Tests/ # Unit tests
├── TemplateRegistry.json      # Community template registry
└── Blake.sln                  # Solution file

Key Components

  1. Blake.CLI: Main entry point providing bake, new, serve, and init commands
  2. Blake.BuildTools: Core build functionality, plugin architecture, and BlakeContext
  3. Blake.Types: Shared types including PageModel for content metadata
  4. Blake.MarkdownParser: Handles Markdown parsing with frontmatter support

Build Flow

Markdown + template.razor → blake bake → .generated/*.razor → dotnet run → Blazor app

Read the full file on GitHub · 265 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. 11d ago First seen · 265 lines · 2,059 tokens per session scan C d62785b101af

Subscribe to this mod's changes

blake copilot-instructions.md is an instructions file published in the GitHub repository matt-goldman/blake (34 stars, last pushed 4mo ago), licensed MIT. It adds 2,059 tokens to every session, about $0.0082 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

blake copilot-instructions.md compared with instructions from other repositories

blake copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
blake copilot-instructions.mdmatt-goldman/blakeInstructions file344mo agoMITC2,059GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode