scopes: Instructions file for GitHub Copilot

.github/copilot-instructions.md

scopes copilot-instructions.md is an instructions file for GitHub Copilot from kamiazya/scopes. It costs 2,288 tokens per session, scanned B, original, Apache-2.0.

Repository instructions for Scopes, a local-first task and project management system written in Kotlin. They describe the required Java and Gradle setup and the first commands to run after cloning the project.

In plain words
What is it for?
Use them when setting up Scopes, checking its Gradle tasks, verifying the environment, or preparing the repository for development.
Why use it?
They give an AI coding assistant the project-specific setup order and warn about known issues before it changes or builds the code.

Instructions file for GitHub Copilot

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

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/format-all.sh.

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/kamiazya/scopes/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/kamiazya/scopes/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,288 This file is loaded in full into every session.
When invoked 2,288 The same file — it is already loaded in full.
Security scan B 1 finding. 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.02288 $0.02288
Opus 5.5 $0.00915 $0.00915
Sonnet 5.5 $0.00458 $0.00458
Haiku 4.5 $0.00229 $0.00229

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

Security

Grade B, and why

scopes copilot-instructions.md scanned grade B with 1 finding 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Install Java 17 or 21 (required): `sudo apt-get update && sudo apt-get install -y openjdk-21-jdk`
.github/copilot-instructions.md · 281 lines

How it starts

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

Scopes - AI-Native Task Management System

ALWAYS follow these instructions first and only fallback to additional search and context gathering if the information here is incomplete or found to be in error.

Scopes is a next-generation local-first task and project management tool built with Kotlin, designed for symbiotic collaboration between developers and AI assistants. This repository uses a multi-module Clean Architecture approach with Gradle build system.

Quick Start & Essential Setup

Prerequisites & Environment Setup

  • Install Java 17 or 21 (required): sudo apt-get update && sudo apt-get install -y openjdk-21-jdk
  • Install GraalVM for native compilation (optional but recommended for CLI builds)
  • Verify setup: java -version should show Java 17+ (project is configured for Java 21 but works with 17+)

Bootstrap the Repository

ALWAYS run these commands in sequence when starting with a fresh clone:

# 1. Set executable permissions (required on Unix systems)
chmod +x gradlew scripts/*.sh

# 2. Verify Gradle setup
./gradlew checkGraalVM

# 3. Check current project status
./gradlew tasks --all

⚠️ Current Known Issues

JitPack Dependency Resolution

As of this writing, there is a known network connectivity issue:

  • The kulid library dependency (com.github.guepardoapps:kulid:2.0.0.0) cannot be resolved from JitPack.io
  • This prevents full compilation and testing until resolved
  • Working commands: ktlintFormat, ktlintCheck, detekt, tasks
  • Failing commands: build, test, run, nativeCompile (all require dependency resolution)

Workaround: Focus on code quality and formatting tasks until network connectivity is restored.

Build & Development Commands

Core Build Commands

# Build the project (NEVER CANCEL - takes 3-8 minutes depending on dependencies)
./gradlew build --no-daemon
# Timeout: Set 10+ minutes. Build includes compilation, testing, and quality checks.

# Build without native compilation (faster alternative - takes 2-4 minutes)
./gradlew build --exclude-task nativeCompile --no-daemon
# Timeout: Set 6+ minutes.

# Clean build (NEVER CANCEL - takes 4-10 minutes)
./gradlew clean build --no-daemon
# Timeout: Set 15+ minutes.

Read the full file on GitHub · 281 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. 2mo ago First seen · 281 lines · 2,288 tokens per session scan B 01ab7ac26b3d

Subscribe to this mod's changes

scopes copilot-instructions.md is an instructions file published in the GitHub repository kamiazya/scopes (2 stars, last pushed 11mo ago), licensed Apache-2.0. It adds 2,288 tokens to every session, about $0.0092 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

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

scopes copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scopes copilot-instructions.mdkamiazya/scopesInstructions file211mo agoApache-2.0B2,288GitHub 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
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode