coffee-roaster-mcp: Instructions file for GitHub Copilot

.github/instructions/copilot.instructions.md

coffee-roaster-mcp copilot.instructions.md is an instructions file for GitHub Copilot from syamaner/coffee-roaster-mcp. It costs 492 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for reviewing and changing RoastPilot, a local Python server that reads coffee-roaster data and controls the roaster. They describe its runtime boundaries, configuration defaults, timing rules, and use of released detection models.

In plain words
What is it for?
Use them when reviewing or implementing RoastPilot features involving telemetry, roast timing, first-crack events, metrics, logs, configuration, or model integration.
Why use it?
They give a coding agent the project context and rules needed to avoid changes that conflict with the repository's design. They also record important edge cases, such as distinguishing zero from a missing value.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: mentions AGENTS.md.

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

Reuse

Borrowing it

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/syamaner/coffee-roaster-mcp/copilot.svg)](https://agentmods.dev/instructions/syamaner/coffee-roaster-mcp/copilot)
Your own site
<a href="https://agentmods.dev/instructions/syamaner/coffee-roaster-mcp/copilot"><img src="https://agentmods.dev/badge/instructions/syamaner/coffee-roaster-mcp/copilot.svg" alt="Measured on agentmods" height="20"></a>
Per session 492 This file is loaded in full into every session.
When invoked 492 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.00492 $0.00492
Opus 5 $0.00246 $0.00246
Sonnet 5 $0.00098 $0.00098
Haiku 4.5 $0.00049 $0.00049

Measured 2d ago against content hash b125a09f3340, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

coffee-roaster-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 2d 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/copilot.instructions.md · 60 lines

How it starts

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

Copilot Code Review Instructions

Project Overview

RoastPilot is a Python MCP server for coffee-roaster telemetry and controlled actuation in one local stdio process.

Full project rules are in AGENTS.md at the repo root.

Key Conventions

Runtime Boundary

  • v0.1 is a local stdio MCP server.
  • Agent orchestration and n8n are out of scope.
  • The RoastSession runtime owns timing, telemetry, events, metrics, and logs.
  • beans_added_at is T0. Auto-T0 detection is disabled by default.

Configuration

  • Config defaults must allow a local mock run with no config file.
  • Default roaster driver is mock.
  • Default first-crack mode is disabled.
  • YAML config is loaded from coffee-roaster-mcp.yaml.
  • Environment overrides must be applied after file config.
  • Use explicit is None checks where falsy values such as 0, 0.0, or empty strings have distinct meaning.

Hugging Face Models

  • This repo consumes released artifacts from syamaner/coffee-first-crack-detection.
  • Do not add model training, model export, Hugging Face sync, model card, or dataset card publishing here.
  • INT8 ONNX is the default runtime precision.
  • FP32 ONNX is supported by config.

Roaster Safety

  • Hardware behavior must be conservative.
  • Hottop command-loop behavior, packet handling, temperature units, drop, cooling, and emergency stop need explicit tests or manual validation notes.
  • Do not accept mock-only validation for hardware-ready claims.

Code Style

  • Python 3.11+ with full type hints on public functions and methods.
  • Google-style docstrings for public APIs.
  • Root AGENTS.md defines the deterministic gate; do not duplicate or weaken it here.
  • Dependencies must be declared in pyproject.toml.

Generated And Local Files

  • Do not commit model weights, ONNX files, audio recordings, roast logs, serial captures, .env files, or IDE folders.
  • Generated roast logs belong under ignored log directories and must not be committed.

Testing

  • Tests live under tests/.
  • Avoid production-only fakes created solely for tests.
  • Config tests should cover defaults, YAML overrides, environment overrides, and validation failures.

Read the full file on GitHub · 60 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. 2d ago Changed · +3 lines · -27 tokens per session b125a09f3340
  2. 6d ago First seen · 57 lines · 519 tokens per session scan A 6b1564a8410e

Subscribe to this mod's changes

coffee-roaster-mcp copilot.instructions.md is an instructions file published in the GitHub repository syamaner/coffee-roaster-mcp (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 492 tokens to every session, about $0.0025 per session on Opus 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

Other instructions, from other repositories

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,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

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 · 6,785 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 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,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens