cloakpdf: Instructions file for GitHub Copilot

.github/copilot-instructions.md

cloakpdf copilot-instructions.md is an instructions file for GitHub Copilot from cloakyard/cloakpdf. It costs 539 tokens per session, scanned A, a copy of orval AGENTS.md, MIT.

Project-specific instructions for coding in CloakPDF, a web application for asking questions about PDF files. They explain the Vite+ command-line tool and how the project's commands, scripts, checks, and tests are organized.

In plain words
What is it for?
Use them when developing, checking, building, or testing the CloakPDF web application.
Why use it?
They reduce mistakes such as running the wrong command or using a separate tool when the project already provides one. They also give agents a consistent review and testing process.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/cloakyard/cloakpdf/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/cloakyard/cloakpdf/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 94% copy Near-identical to another mod 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 14d ago against content hash 4798b42b728d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cloakpdf 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 14d 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.

Origin

This is a copy

94% identical to orval AGENTS.md — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/copilot-instructions.md · 32 lines

How it starts

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

Using Vite+, the Unified Toolchain for the Web

This project is using Vite+, a unified toolchain built on top of Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task. Vite+ wraps runtime management, package management, and frontend tooling in a single global CLI called vp. Vite+ is distinct from Vite, and it invokes Vite through vp dev and vp build. Run vp help to print a list of commands and vp <command> --help for information about a specific command.

Docs are local at node_modules/vite-plus/docs or online at https://viteplus.dev/guide/.

Built-in Commands vs Scripts

vp <name> runs a built-in command. vp run <name> runs a package.json script or a vite.config.ts task. Scripts cannot overwrite built-ins, so vp dev and vp run dev may do different things. Check package.json and vite.config.ts first, and run vp run <name> when the project defines a script or task with that name.

Running Scripts

Run TypeScript and JavaScript files with vpx <file>, for example vpx ./scripts/seed.ts --dry-run. It handles enums, decorators, JSX, and tsconfig paths, so do not add tsx or ts-node to run scripts. vpx --watch <file> reruns the file when a file it uses changes, in place of tsx watch. vp node <file> runs plain Node.js.

Tool Versions

Run vp toolchain to show versions and relationships in the active Vite+ release. Add a tool name to select part of the graph. For example, run vp toolchain vite. Use --global to ignore the local vite-plus package. Use vp why <package> to show the package-manager dependency graph.

Review Checklist

  • Run vp install after pulling remote changes and before getting started.
  • Run vp check and vp test to format, lint, type check and test changes.
  • Check if there are vite.config.ts tasks or package.json scripts necessary for validation, run via vp run <script>.
  • If setup, runtime, or package-manager behavior looks wrong, run vp env doctor and include its output when asking for help.

Read the full file on GitHub · 32 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. 14d ago First seen · 32 lines · 539 tokens per session scan A 4798b42b728d

Subscribe to this mod's changes

cloakpdf copilot-instructions.md is an instructions file published in the GitHub repository cloakyard/cloakpdf (16 stars, last pushed 6d ago), licensed MIT. 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. It is 94% identical to orval AGENTS.md, differing in 4 lines, and is treated as a copy.

Related

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

cloakpdf copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cloakpdf copilot-instructions.mdcloakyard/cloakpdfInstructions file166d agoMITA539GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode