panoptes-utils copilot-instructions.md

panoptes-utils copilot-instructions.md is an instructions file for GitHub Copilot from panoptes/panoptes-utils. It costs 464 tokens per session, scanned C, original, MIT.

A project guide for developing the Panoptes utilities Python package. It lists setup commands, testing and code-quality checks, coding standards, and the main source folders.

In plain words
What is it for?
Use it when setting up the project, running its pytest test suite, formatting or linting Python code, building the package, or preparing a commit.
Why use it?
It puts the steps for installing dependencies, checking changes, and preparing commits in one place. This reduces failures caused by skipped formatting, linting, tests, or build steps.

Instructions file for GitHub Copilot

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

Not installable on its own: it reads a path above its own folder, which only exists inside its repository. The line is **📖 IMPORTANT:** See [`AGENTS.md`](../AGENTS.md) for comprehensive guidelines, coding standards, module details, and release processes..

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/panoptes/panoptes-utils/copilot-instructions.svg)](https://agentmods.dev/instructions/panoptes/panoptes-utils/copilot-instructions)
Your own site
<a href="https://agentmods.dev/instructions/panoptes/panoptes-utils/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/panoptes/panoptes-utils/copilot-instructions.svg" alt="Measured on agentmods" height="20"></a>
Per session 464 This file is loaded in full into every session.
When invoked 464 The same file — it is already loaded in full.
Security scan C 2 findings. Scan, not verified.
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.00464 $0.00464
Opus 5 $0.00232 $0.00232
Sonnet 5 $0.00093 $0.00093
Haiku 4.5 $0.00046 $0.00046

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

Security

Grade C, and why

panoptes-utils copilot-instructions.md scanned grade C with 2 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 yesterday.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -LsSf https://astral.sh/uv/install.sh | sh
.github/copilot-instructions.md · 59 lines

What it actually says

PANOPTES Utilities - GitHub Copilot Quick Reference

📖 IMPORTANT: See AGENTS.md for comprehensive guidelines, coding standards, module details, and release processes.

Essential Commands

# Setup (first time)
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync --all-extras --group dev

# Development cycle
uv run pytest                    # Run all tests (2-5 min)
uv run ruff check .              # Lint
uv run ruff format .             # Format
uv build                         # Build package

# Before every commit (CI will fail without these)
uv run ruff check .
uv run ruff format --check .
uv run pytest tests/test_utils.py

Code Standards Checklist

  • ✅ Python 3.12+ with type hints
  • ✅ Google-style docstrings
  • ✅ Line length: 110 chars
  • ✅ Use from loguru import logger + logger.<level>(...), pathlib.Path
  • ✅ Update CHANGELOG.md for all PRs

Quick Navigation

src/panoptes/utils/
├── cli/           # Typer CLI commands
├── config/        # Flask server + client
├── images/        # astrometry.net, dcraw
├── serial/        # Serial device comm
├── time.py        # CountdownTimer, wait_for_events
└── serializers.py # JSON/YAML serialization

Critical Info

Config Server: Port 8765 (check if in use)
Test Config: tests/testing.yaml
Timing: Never cancel - env setup (1-3 min), tests (2-5 min), deps (5-8 min)

Need More Info?

Topic See
Release process AGENTS.md → "Creating a Release"
Module guidelines AGENTS.md → "Module Guidelines"
Testing strategy AGENTS.md → "Testing Strategy"
Astronomy domain AGENTS.md → "Astronomy Domain Knowledge"
All details AGENTS.md ← Read this first
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. yesterday First seen · 59 lines · 464 tokens per session scan C c9ec9a7f0d63

Subscribe to this mod's changes

panoptes-utils copilot-instructions.md is an instructions file published in the GitHub repository panoptes/panoptes-utils (4 stars, last pushed 2d ago), licensed MIT. It adds 464 tokens to every session, about $0.0023 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.