openmelon: Instructions file for GitHub Copilot

.github/copilot-instructions.md

openmelon copilot-instructions.md is an instructions file for GitHub Copilot from eight-acres-lab/openmelon. It costs 539 tokens per session, scanned A, original, Apache-2.0.

A project-specific set of development rules for the openmelon codebase. It documents the technologies, folder structure, commands, and recent changes, including its Go runtime and language-model provider integration.

In plain words
What is it for?
Guiding development in openmelon, locating source and test files, following project commands, and understanding its language-model provider and command-line options.
Why use it?
It gives an agent the project context needed to make changes that fit the existing code and workflows. It also records constraints such as the use of standard-library Go and local text and JSONL files.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is eight-acres-lab/openmelon's own configuration. It tells GitHub Copilot how to work on openmelon 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 openmelon configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eight-acres-lab/openmelon. 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/eight-acres-lab/openmelon/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/eight-acres-lab/openmelon

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/eight-acres-lab/openmelon/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/eight-acres-lab/openmelon/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 539 This file is loaded in full into every session.
When invoked 539 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.00539 $0.00539
Opus 5.5 $0.00216 $0.00216
Sonnet 5.5 $0.00108 $0.00108
Haiku 4.5 $0.00054 $0.00054

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

Security

Grade A, and why

openmelon 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 · 51 lines

What it actually says

openmelon Development Guidelines

Auto-generated from all feature plans. Last updated: 2026-05-05

Active Technologies

  • Go 1.22 + 标准库(encoding/json, os/exec, crypto/sha256, flag, context)— 零外部依赖 (001-phase2-runtime-skeleton)

  • 本地文件系统(.txt artifacts + .jsonl provenance 追加日志) (001-phase2-runtime-skeleton)

  • (001-phase2-runtime-skeleton)

Project Structure

src/
tests/

Commands

Add commands for

Code Style

: Follow standard conventions

Recent Changes

  • 002-openrouter-llm-pipeline: Added [if applicable, e.g., PostgreSQL, CoreData, files or N/A]
  • 002-openrouter-llm-pipeline: Added [if applicable, e.g., PostgreSQL, CoreData, files or N/A]
  • 001-phase2-runtime-skeleton: Added Go 1.22 + 标准库(encoding/json, os/exec, crypto/sha256, flag, context)— 零外部依赖

002-openrouter-llm-pipeline: LLM Provider 接入

新增模块:

  • internal/generation/llm_provider.go — 实现 generation.Provider,内部使用 internal/llm.Client(OpenRouter / OpenAI / Anthropic)
  • internal/generation/provider.go — Request 新增 Intent string 字段(System/User 分割)

CLI 新增 flags: --llm <provider>, --llm-model <model_id>(与 --generate-cmd 互斥)

API Key: 环境变量 OPENROUTER_API_KEY / OPENAI_API_KEY / ANTHROPIC_API_KEY,不经 CLI

TTY 检测: os.Stdout.Stat() + ModeCharDevice,stdlib only

Provenance: Record.Model 改为记录 trace 中的实际 model ID(如 google/gemini-2.0-flash-001)

新 Skills (skillplus 仓库):

  • travel-street-realism — kind visual_prompt_concretization, locale zh-CN
  • post-caption-xiaohongshu — kind copy_draft, stage copywriting, locale zh-CN
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 · 51 lines · 539 tokens per session scan A 007c8092cb9b

Subscribe to this mod's changes

openmelon copilot-instructions.md is an instructions file published in the GitHub repository eight-acres-lab/openmelon (89 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 539 tokens to every session, about $0.0022 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

openmelon copilot-instructions.md compared with instructions from other repositories

openmelon copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
openmelon copilot-instructions.mdeight-acres-lab/openmelonInstructions file895mo agoApache-2.0A539GitHub Copilot
runtm copilot-instructions.mdruntm-ai/runtmInstructions file303yesterdaynoneA297GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot