print-queue-app: Instructions file for Codex

AGENTS.md

print-queue-app AGENTS.md is an instructions file for Codex, OpenCode from nsh1l/print-queue-app. It costs 1,028 tokens per session, scanned A, original, MIT.

Project instructions for a standalone Windows app that queues XLSX, XLS, XLSM, and PDF files for selected printers. They describe the .NET and WinUI setup, verification commands, and how to make a complete release build.

In plain words
What is it for?
Use them when developing or releasing this print-queue app, especially when checking the self-test, printer submission, or self-contained package.
Why use it?
They give an agent the project rules and exact Windows commands needed to build, test, run, and distribute the app correctly.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is nsh1l/print-queue-app's own configuration. It tells Codex and OpenCode how to work on print-queue-app 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 print-queue-app configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nsh1l/print-queue-app. 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/nsh1l/print-queue-app/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/nsh1l/print-queue-app

Made for: Codex, OpenCode.

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 print-queue-app AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nsh1l/print-queue-app/agents-md/github.svg)](https://agentmods.dev/instructions/nsh1l/print-queue-app/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/nsh1l/print-queue-app/agents-md"><img src="https://agentmods.dev/badge/instructions/nsh1l/print-queue-app/agents-md/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 print-queue-app AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nsh1l/print-queue-app/agents-md"><img src="https://agentmods.dev/badge/instructions/nsh1l/print-queue-app/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,028 This file is loaded in full into every session.
When invoked 1,028 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.01028 $0.01028
Opus 5.5 $0.00411 $0.00411
Sonnet 5.5 $0.00206 $0.00206
Haiku 4.5 $0.00103 $0.00103

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

Security

Grade A, and why

print-queue-app AGENTS.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.

AGENTS.md · 74 lines

How it starts

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

AGENTS.md - AYP Print-Queue

Project overview

Windows用のスタンドアローン印刷キューアプリ。ローカルでXLSX / XLS / XLSM / PDFを追加し、一覧から選択したWindowsプリンターへ送信する。

公開API、Cloudflare Tunnel、HTTPサーバー、MCP連携はこのプロジェクトの範囲外。

Stack

  • .NET 8 SDK / WinUI 3 (Windows App SDK); target net8.0-windows10.0.19041.0, runtime win-x64
  • Microsoft.WindowsAppSDK 2.3.1, Windows Shell printto verb
  • Windows 10 version 2004 (build 19041)以降を対象にする

Build and test (Windows PowerShell)

Run from the repository root on Windows. The current runnable verification is the Program.cs self-test; there is no separate test project.

cd WinUIMCPServer
dotnet restore
dotnet build -c Debug
dotnet run -c Debug -- --self-test
dotnet run -c Debug
dotnet run -c Debug -- --print-test <file-path>

--self-test must print QueueItem self-test passed.. --print-test uses the default printer and exits non-zero when submission fails; it still depends on the file association's printto verb.

Distribution build

Use the complete self-contained folder; do not distribute the executable alone because WinUI native DLLs and resources are required.

cd WinUIMCPServer
dotnet publish -c Release -r win-x64 --self-contained true `
  -p:WindowsAppSDKSelfContained=true `
  -p:PublishSingleFile=false `
  -o ..\dist\AYP-Print-Queue-win-x64

ZIP dist\AYP-Print-Queue-win-x64 as the release artifact. bin/, obj/, and dist/ are generated and ignored.

Source layout

  • WinUIMCPServer/Program.cs — application entry point, --self-test, and --print-test
  • WinUIMCPServer/MainWindow.xaml(.cs) — local WinUI queue UI, drag/drop, dialogs, accessibility status, and printer refresh
  • WinUIMCPServer/QueueItem.cs — supported-format validation, queue persistence, bounded submission, Win32 printer catalog/health, and self-test

Design constraints

  • Keep the app local-only. Do not add a server, token, remote control, or public endpoint.
  • Submitted means the request was accepted by Windows Shell, not physical print completion; physical status remains a printer/spooler concern.
  • PDF/Excel submission depends on an associated Windows application exposing the Shell printto verb.
  • Use native Windows capabilities before dependencies or abstractions. Keep P/Invoke and Windows printer handling in the existing catalog instead of adding a new library.
  • Duplicate identity is the normalized absolute path, compared case-insensitively. Supported extensions are .xlsx, .xls, .xlsm, and .pdf.
  • Normal submission is bounded to four concurrent Shell launches; the preserve-order option submits sequentially.

Read the full file on GitHub · 74 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 Changed · -26 lines · -460 tokens per session 2be8203bfb18
  2. 2mo ago First seen · 100 lines · 1,488 tokens per session scan A f1ec8d957d45

Subscribe to this mod's changes

print-queue-app AGENTS.md is an instructions file published in the GitHub repository nsh1l/print-queue-app (1 stars, last pushed yesterday), licensed MIT. It adds 1,028 tokens to every session, about $0.0041 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

print-queue-app AGENTS.md compared with instructions from other repositories

print-queue-app AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
print-queue-app AGENTS.mdnsh1l/print-queue-appInstructions file1yesterdayMITA1,028Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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