hve-core: Instructions file for GitHub Copilot

.github/instructions/skill-security-model.instructions.md

hve-core skill-security-model.instructions.md is an instructions file for GitHub Copilot from microsoft/hve-core. It costs 1,685 tokens per session, scanned A, original, MIT.

Instructions for writing STRIDE security models for coding skills. STRIDE is a method for identifying six categories of security threats in a system.

In plain words
What is it for?
They help create SECURITY.md files with threat diagrams, all six STRIDE categories, risk ratings, gap identifiers, and links to the repository-wide security model.
Why use it?
They give each executable skill a consistent way to describe data flows, trust boundaries, risks, and gaps without exposing internal file paths.

Instructions file for GitHub Copilot ✓ vendor

Written for GitHub Copilot: a Copilot instructions file.

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

About the project

HVE Core is a collection of agents, prompts, coding instructions, and skills for building repeatable software-development workflows with GitHub Copilot. It is intended for individuals and teams that want structured AI-assisted research, planning, implementation, and review, while the catalogue entries provide many of its reusable workflow components.

microsoft/hve-core · 1,580 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/hve-core. 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/microsoft/hve-core/main/.github/instructions/skill-security-model.instructions.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/hve-core

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 hve-core skill-security-model.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/microsoft/hve-core/skill-security-model/github.svg)](https://agentmods.dev/instructions/microsoft/hve-core/skill-security-model)
Your own site
<a href="https://agentmods.dev/instructions/microsoft/hve-core/skill-security-model"><img src="https://agentmods.dev/badge/instructions/microsoft/hve-core/skill-security-model/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 hve-core skill-security-model.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/microsoft/hve-core/skill-security-model"><img src="https://agentmods.dev/badge/instructions/microsoft/hve-core/skill-security-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,685 This file is loaded in full into every session.
When invoked 1,685 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 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.01685 $0.01685
Opus 5.5 $0.00674 $0.00674
Sonnet 5.5 $0.00337 $0.00337
Haiku 4.5 $0.00169 $0.00169

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

Security

Grade A, and why

hve-core skill-security-model.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 21d 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/instructions/skill-security-model.instructions.md · 74 lines

How it starts

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

Skill Security Model Conventions

A skill whose shipped scripts meet any trigger in When a Model Is Required carries a SECURITY.md STRIDE threat model next to its SKILL.md. These models mirror the repo-wide model at docs/security/security-model.md and are registered in its Skill Security Models section, which is the authoritative index for locating any of them. When that index is unavailable, say so and locate models by looking for a SECURITY.md beside the skill's own SKILL.md rather than assuming a skill has no model. The canonical exemplars are the SECURITY.md files bundled with the mural, jira, and gitlab skills; resolve them by skill name rather than by a package path, which is not stable across repository, plugin, and extension layouts. When none of them is available, follow the Required Structure below, which is self-contained. The fill-in template is docs/templates/skill-security-model-template.md; when it is unavailable, build the document from the Required Structure section instead of improvising a layout.

When a Model Is Required

Evaluate every shipped script in the skill. Test files are excluded: files under a tests/ directory and *.test.* or *.spec.* files.

A skill requires a SECURITY.md when any of its shipped scripts:

  1. Makes network requests.
  2. Reads, stores, or sends credentials, tokens, or keys.
  3. Parses files, media, or responses that can come from outside the operator's control, such as downloads, customer-supplied data, or content from another repository.
  4. Writes outside .copilot-tracking/, stdout, or the skill's own declared output location, for example into a user's repository, global settings, or system paths.
  5. Runs an external program with arguments or input derived from any of the conditions above.

A skill is exempt when none of the triggers apply. Typical exempt scripts only read the local repository, run fixed-argument programs such as git or pwsh, and write to stdout or .copilot-tracking/.

Read the full file on GitHub · 74 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. 21d ago Changed · +4 lines · +127 tokens per session b977dc8ad1fa
  2. 23d ago Changed · +32 lines · +531 tokens per session 4a64d775edf5
  3. 1mo ago First seen · 38 lines · 1,027 tokens per session scan A 0d524db7abbc

Subscribe to this mod's changes

hve-core skill-security-model.instructions.md is an instructions file published in the GitHub repository microsoft/hve-core (1,580 stars, last pushed yesterday), licensed MIT. It adds 1,685 tokens to every session, about $0.0067 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 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).

microsoft/vscode · 9,715 tokens

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.

vercel/next.js · 7,786 tokens

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).

microsoft/vscode · 5,262 tokens

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.

langchain-ai/langchain · 4,680 tokens

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).

microsoft/vscode · 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens