copilot-security-instructions: Skill for Claude Code

.github/skills/markdown-customizations/SKILL.md

markdown-customizations is a skill for Claude Code, Codex from Robotti-io/copilot-security-instructions. It costs 31 tokens per session (456 once invoked), scanned A, original, Apache-2.0.

A guide for creating and maintaining GitHub Copilot Markdown customization files, such as agent profiles, prompt files, instruction files, and skills. It defines their required layout, metadata, rules, and examples.

In plain words
What is it for?
Use it when adding or editing files such as agents/*.agent.md, prompts/*.prompt.md, instructions/*.instructions.md, or skills/**/SKILL.md.
Why use it?
It reduces errors in file names, YAML frontmatter, folder paths, and glob patterns that can stop Copilot customizations from working as intended.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is Robotti-io/copilot-security-instructions's own configuration. It tells Claude Code and Codex how to work on copilot-security-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 copilot-security-instructions configures →

Reuse

Borrowing it

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

Made for: Claude Code, Codex.

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 markdown-customizations

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/robotti-io/copilot-security-instructions/markdown-customizations"><img src="https://agentmods.dev/badge/skills/robotti-io/copilot-security-instructions/markdown-customizations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00031 $0.00456
Opus 5.5 $0.00012 $0.00182
Sonnet 5.5 $0.00006 $0.00091
Haiku 4.5 $0.00003 $0.00046

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

Security

Grade A, and why

markdown-customizations 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.

.github/skills/markdown-customizations/SKILL.md · 77 lines

What it actually says

Markdown Customizations Skill

Purpose

Help create and maintain Copilot customization files with correct structure and consistent, high-signal instructions.

When to use

Use this skill when working on any of:

  • agents/*.agent.md
  • prompts/*.prompt.md
  • instructions/*.instructions.md
  • skills/**/SKILL.md

Procedure

  1. Identify the target file type and verify the correct path + extension.
  2. Add YAML frontmatter at the top with required keys.
  3. Write the body using this structure:
    • # Title
    • ## Purpose
    • ## How to use
    • ## Rules (MUST/SHOULD/MAY)
    • ## Examples (at least one when ambiguity is likely)
  4. Validate glob patterns for .instructions.md files.
  5. Ensure no contradictions with repo-wide copilot-instructions.md.

Do / Don’t

Do

  • Use short, testable rules (e.g., “MUST include description in agent profiles”).
  • Provide one minimal realistic example for each “pattern” (agent/prompt/instructions/skill).
  • Use fenced code blocks with yaml or md tags.

Don’t

  • Don’t put YAML anywhere except the initial frontmatter block.
  • Don’t create skill.md; the file must be named SKILL.md.
  • Don’t introduce conflicting guidance across multiple instruction files.

Examples

Agent profile frontmatter example

---
name: my-agent
description: Short description of what this agent does
tools: ["read", "search", "edit"]
---

Path-specific instructions frontmatter example

---
applyTo: ".github/prompts/**/*.prompt.md"
excludeAgent: "code-review"
---

Prompt file frontmatter example

---
agent: "agent"
description: "One-line description of what this prompt does"
---
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. 1mo ago First seen · 77 lines · 31 tokens per session scan A d9305924c51a

Subscribe to this mod's changes

markdown-customizations is a skill published in the GitHub repository Robotti-io/copilot-security-instructions (42 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 31 tokens to every session and 456 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

code-review-csharp

Perform structured code reviews of C# source code covering naming conventions, performance, security, readability, and .NET best practices. Trigger phrases include "review this C# code", "check my C# for best practices", "analyze this C# class", "find issues in my C# code".

pnp/copilot-prompts · 66 tokens

clean-architecture-dotnet

Use when domain logic leaks into API/Infrastructure, project references violate layer boundaries, or you need to decide between CQS (always), CQRS bus (complex domains), and DDD patterns (invariants and events).

SebastienDegodez/copilot-instructions · 50 tokens

outside-in-tdd

Use when writing tests from the outside-in, defining behavior before code, or any feature where tests should start from observable business behavior and let internal design emerge.

SebastienDegodez/copilot-instructions · 35 tokens

setup-husky-dotnet

Use when configuring Git hooks in .NET projects before team commits occur, to enforce commit message standards and code formatting automatically.

SebastienDegodez/copilot-instructions · 30 tokens

finding-files

Use when searching for files by name, pattern, or type in large directories, or building file lists for pipelines with other tools.

SebastienDegodez/copilot-instructions · 28 tokens

querying-json

Use when querying JSON files, filtering or transforming JSON data, or extracting specific fields from large JSON files without loading entire file contents (saves 80-95% context).

SebastienDegodez/copilot-instructions · 39 tokens