openapi-mcp: Instructions file for GitHub Copilot

.github/instructions/yaml.instructions.md

openapi-mcp yaml.instructions.md is an instructions file for GitHub Copilot from wate/openapi-mcp. It costs 497 tokens per session, scanned A, original, MIT.

Repository instructions for writing YAML files, a text format commonly used for configuration. They cover indentation, value syntax, spacing, duplicate keys, and YAML 1.2 validity.

In plain words
What is it for?
Use them when creating or editing YAML files and checking that they follow the project’s formatting and linting rules.
Why use it?
They reduce configuration errors caused by inconsistent formatting, invalid syntax, ambiguous numbers, or repeated keys.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

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

Reuse

Borrowing it

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

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 openapi-mcp yaml.instructions.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wate/openapi-mcp/yaml"><img src="https://agentmods.dev/badge/instructions/wate/openapi-mcp/yaml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 497 This file is loaded in full into every session.
When invoked 497 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.00497 $0.00497
Opus 5.5 $0.00199 $0.00199
Sonnet 5.5 $0.00099 $0.00099
Haiku 4.5 $0.00050 $0.00050

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

Security

Grade A, and why

openapi-mcp yaml.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 2mo 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/yaml.instructions.md · 50 lines

What it actually says

YAMLファイル作成・編集指針

コーディング規約

以下のルールは必ず遵守してください。

基本フォーマット

  • インデントはスペースを使用し、タブは使用しない
  • インデント幅は2スペースで統一する

構文・記法

  • キーと値の区切りはkey: value形式で記述する
  • インライン記法の{}や[]内のスペースは最小限にする
  • 真偽値はtrue/falseを使用する
  • 先頭0付き数値など曖昧な数値表現を避ける
  • 同一階層でキー名を重複させない

空行ルール

  • リスト項目(- item)の直前に不要な空行を入れない
  • ハッシュ項目(key: value)の直前に不要な空行を入れない
  • 同一階層の連続する項目は空行なしで連続記述する
  • 意味的なセクション区切り以外では空行を入れない
  • 空行を使う場合でも連続空行は作らない

品質基準

  • YAML 1.2として構文エラーがないこと
  • .yamllint.ymlの設定に適合すること
  • インデント、空行、スペーシングがファイル全体で一貫していること
  • 人が読んだときに階層構造を追跡しやすいこと

禁止事項

  • タブ文字によるインデント
  • 同一階層の項目間への過剰な空行挿入
  • リストやハッシュの各項目の前に毎回空行を入れる記述
  • 重複キーの定義
  • 暗黙的な8進数として解釈される数値表現
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. 2mo ago First seen · 50 lines · 497 tokens per session scan A 9e5fea1a027d

Subscribe to this mod's changes

openapi-mcp yaml.instructions.md is an instructions file published in the GitHub repository wate/openapi-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 497 tokens to every session, about $0.0020 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-31.

Related

openapi-mcp yaml.instructions.md compared with instructions from other repositories

openapi-mcp yaml.instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openapi-mcp yaml.instructions.mdwate/openapi-mcpInstructions file05mo agoMITA497GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode