Borrowing it
Nothing to install: this file belongs to theolundqvist/pr-cockpit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/theolundqvist/pr-cockpit/main/AGENTS.mdgit clone --depth 1 https://github.com/theolundqvist/pr-cockpitWrote 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.
[](https://agentmods.dev/instructions/theolundqvist/pr-cockpit/agents-md)<a href="https://agentmods.dev/instructions/theolundqvist/pr-cockpit/agents-md"><img src="https://agentmods.dev/badge/instructions/theolundqvist/pr-cockpit/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.
<a href="https://agentmods.dev/instructions/theolundqvist/pr-cockpit/agents-md"><img src="https://agentmods.dev/badge/instructions/theolundqvist/pr-cockpit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02651 | $0.02651 |
| Opus 5 | $0.01326 | $0.01326 |
| Sonnet 5 | $0.00530 | $0.00530 |
| Haiku 4.5 | $0.00265 | $0.00265 |
Grade A, and why
pr-cockpit AGENTS.md scanned grade A 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 2d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
3. Verify with `curl -fsS -i http://127.0.0.1:<port>/healthz`. A healthy response is `200` with `root`, `lastPollAt`, and `prCount`. Note that `lastPollAt` is `null` immediately after a restart until the first poll compl How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PR Cockpit contributor and agent guide
This repository is worked on by humans and coding agents alike. Leave it easier to operate than you found it.
Layout
server/: the Bun server. GitHub ingestion, SQLite cache, mutation queue, HTTP API.ui/: the Svelte 5 front end (runes:$state,$derived,$props,$effect).shell/: the Electron shell. It only provides the macOS window, global hotkeys, andprcockpit://links.relay/: the Cloudflare Worker that receives GitHub webhook events and hands them to a cockpit.scripts/: install, launch, update, and thepr-cockpitCLI.
Working here
bun installat the repository root, inui/, and inshell/.cd ui && bun run devfor a hot-reloading UI. It proxies/apito127.0.0.1:4820, so it needs a server on that port.bun test server/<file>.test.tsfor a targeted test. Prefer targeted runs over the whole suite while iterating.- Screenshot harnesses render at
1600x1200; keep their default viewport and PNG dimension checks aligned. - PR detail headers and tabs use the standard width; Conversation centers its 816px primary column and adjacent sidebar beneath them, and Files alone expands to full width.
- Verify landing-page search queries against live GitHub results; captured PR titles can disappear from the search index while the fixture remains valid.
- Match existing style. Keep the homepage dark and speed-first, with brief subtext and FAQ answers; link to details. Comments explain hidden constraints.
- Pull-request actions follow GitHub semantics: merge green, update neutral, and destructive actions red.
- Workflow jobs use commit-check semantics: green check for success, red cross for failure, orange spinner while active, and gray minus when skipped. Logs preserve ANSI colors and open at the bottom. Commit status icons and failing-check rows open Cockpit’s Actions tab at the exact commit and job; its selector covers the full mirror range, not GraphQL’s last 100 commits.
- Operational telemetry belongs on a dedicated Usage page in Settings, not among general controls; it keeps three days of hourly context and forecasts the active GitHub quota window.
- File status lives in the colored leading icon; moved files use a distinct move glyph, never a text badge beside the name.
1: - Agents mutate existing PRs through
pr-cockpit; use its--body-filecommands for exact multiline text, neverghor direct GitHub APIs. - Keep examples, fixtures, benchmarks, and docs free of private company, product, repository, host, and infrastructure names; do not perform unrelated hosting or infrastructure work here. 2: COCKPIT_PROXY="build-server" # optional Cockpit replica source over SSH 3: # COCKPIT_PROXY="build-server" # replicate another Cockpit over SSH
- For manual app recordings, launch
/Users/theo/dev/pr-cockpit; thispr-cockpit-v3checkout is the legacy landing worktree.
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.
- 2d ago Changed · +11 tokens per session c989a7cb298d
- 4d ago Changed · +124 tokens per session 1c69e0fc957e
- 9d ago First seen · 109 lines · 2,516 tokens per session scan A fae37922257f
pr-cockpit AGENTS.md is an instructions file published in the GitHub repository theolundqvist/pr-cockpit (46 stars, last pushed yesterday), licensed MIT. It adds 2,651 tokens to every session, about $0.0133 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.