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 3mo 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 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.

.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. 3mo 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 (45 stars, last pushed 6mo 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

markdown-customizations compared with skills from other repositories

markdown-customizations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
markdown-customizationsRobotti-io/copilot-security-instructionsSkill456mo agoApache-2.0A31Claude Code, Codex
dataverse-schema-architectpnp/copilot-promptsSkill9196d agoMITA93Claude Code, Codex
code-review-csharppnp/copilot-promptsSkill9196d agoMITA66Claude Code, Codex
clean-architecture-dotnetSebastienDegodez/copilot-instructionsSkill19929d agoApache-2.0A50Claude Code, Codex
outside-in-tddSebastienDegodez/copilot-instructionsSkill19929d agoApache-2.0A35Claude Code, Codex
setup-husky-dotnetSebastienDegodez/copilot-instructionsSkill19929d agoApache-2.0A30Claude Code, Codex
querying-jsonSebastienDegodez/copilot-instructionsSkill19929d agoApache-2.0A39Claude Code, Codex