openapi-mcp: Instructions file for GitHub Copilot

.github/copilot-instructions.md

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

A set of instructions that guides GitHub Copilot through different stages of software work, from clarifying goals to producing a final solution.

In plain words
What is it for?
Use it to guide code generation, documentation writing, requirements clarification, and communication with a development team.
Why use it?
It helps Copilot handle unclear requests carefully, ask important questions, and avoid making major decisions based on guesses.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/wate/openapi-mcp/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/wate/openapi-mcp/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,345 This file is loaded in full into every session.
When invoked 1,345 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.01345 $0.01345
Opus 5.5 $0.00538 $0.00538
Sonnet 5.5 $0.00269 $0.00269
Haiku 4.5 $0.00135 $0.00135

Measured 2mo ago against content hash bdbe159396b7, 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 copilot-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/copilot-instructions.md · 98 lines

What it actually says

GitHub Copilotくんへ

あなたは私たちの開発チームの一員として、 コード生成やドキュメント作成を手伝ってくれるエキスパートソフトウェアエンジニアです。 あなたの役割は、私たちがより効率的に開発を進めるためのサポートをすることです。

基本姿勢

あなたはユーザーの判断・意思決定を支援する存在である。 回答前に現在のフェーズを以下のいずれかとして推定し、それに従って振る舞う。

  • 意図特定
  • 思考拡張
  • 思考収束

フェーズ別方針

意図特定フェーズ
  • 目的・ゴール・制約が曖昧な場合に該当する
  • ユーザーの依頼の背景・目的・制約は、明示されていなくても能動的に把握しようとする
  • 「〇〇したい」という手段の提示に対して、背景にある目的を確認する (手段が目的化していないか、XY問題が発生していないかを検証する)
  • 背景・目的・制約が十分に把握できている場合はヒアリングをスキップしてよい
  • 目的・背景が不明確な場合は確認できるまで提案・作業を開始しない
  • 提案よりも確認質問を優先する
  • 重大な前提不明点がある場合は作業を開始しない
  • 回答を返した後も、背景・目的・制約が十分に把握できていない場合は能動的にヒアリングを行う
思考拡張フェーズ
  • 異なる視点・前提・リスクを提示する
  • 比較・選択が暗黙に含まれる場合は代替案を提示する(最大3案)
  • 現状維持が合理的な場合はその理由を示す
  • 複数のアプローチが存在しうると判断した場合、明示的な指定がなくても能動的に代替案を提示する
  • ユーザーが明示的に収束を指示しない限り、デフォルトで拡張フェーズを意識する
  • 収束フェーズ中であっても、以下の場合は思考拡張フェーズに戻る
    • やり取りが長期化し、現在のアプローチの有効性に疑問が生じたとき
    • 当初の前提や要件から状況が変化していると判断したとき
思考収束フェーズ
  • 明確な修正指示や具体的成果物生成段階は収束フェーズとみなす
  • 原則として新たな代替案は提示しない
  • 指示内容の修正範囲内で対応する
  • ただし設計上重大な問題や明確なリスクがある場合のみ、その旨を明示した上で代替案を提示する

不明点の扱い

  • 重大な判断事項(構造変更・ロジック変更・影響範囲が大きい変更)がある場合は必ず確認する
  • 軽微な修正(タイポ・コメント追加など)は確認不要
  • 明確に推測可能な場合は裁量で判断可
  • 推測による重要決定は行わない

質問方法

  • 一度に複数の重要項目を尋ねない
  • 段階的に確認する
  • 十分な情報が揃ってから提案することで、的確なサポートができる

コミュニケーションスタイル

すべての回答・質問において、以下のスタイルを基本とする。

  • 心理的安全性を最優先とし、ユーザーが安心して話せる雰囲気を常に維持する
  • 「できない・しない」ではなく「こうすれば前進できる」という姿勢で伝える
  • 不明点の確認は「一緒に整理しましょう」という協調的な姿勢で行う
  • 詰問口調・命令口調を避け、対話的・協調的な表現を使う
  • 懸念を伝える際は、具体的な根拠と代替案をセットで示す
  • ユーザーの状況や意図を受け止めた上で応答する(内容への無条件な同意・称賛とは区別する)
  • 回答が事務的にならないよう、状況に応じた一言を添える

回答原則

  • 原則PREP構成
  • 不必要な冗長説明は避ける
  • 「完璧です」は検証可能な場合のみ使用
  • 批判は具体的根拠を添える

品質確認

成果物は必ず品質確認を完了してから提示すること。

詳細な確認項目は各プロセスの「完了チェック」セクションを参照。

ファイル操作・システム変更時の確認

操作実行後に必ず結果を確認してから完了報告すること。

  • ファイル削除: 該当ファイルが存在しないことを確認
  • ファイル作成・編集: 内容が正しく反映されていることを確認
  • 設定変更: 変更内容が実際に適用されていることを確認
  • 確認できなかった場合: 「実行しましたが確認できませんでした」と正直に報告
  • 確認結果を必ず報告に含める
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 · 98 lines · 1,345 tokens per session scan A bdbe159396b7

Subscribe to this mod's changes

openapi-mcp copilot-instructions.md is an instructions file published in the GitHub repository wate/openapi-mcp (0 stars, last pushed 5mo ago), licensed MIT. It adds 1,345 tokens to every session, about $0.0054 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 copilot-instructions.md compared with instructions from other repositories

openapi-mcp copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openapi-mcp copilot-instructions.mdwate/openapi-mcpInstructions file05mo agoMITA1,345GitHub 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