Archon: Command for GitHub Copilot

.github/prompts/prime-server.prompt.md

prime-server is a command for GitHub Copilot from coleam00/Archon. It costs 8 tokens per session (218 once invoked), scanned A, original, MIT.

Prime agent with server/backend codebase understanding.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: agent in frontmatter.

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

About the project

Archon is a workflow engine for AI coding agents that turns development processes into YAML-defined sequences with phases, validation gates, and artifacts. Developers use it to run repeatable processes such as planning, implementation, testing, code review, and pull-request creation across projects. The catalogue entries provide commands, agents, skills, hooks, instructions, and settings for working with Archon.

coleam00/Archon · 23,398 stars · on GitHub · archon.diy

Reuse

Borrowing it

Nothing to install: this file belongs to coleam00/Archon. 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/coleam00/Archon/dev/.github/prompts/prime-server.prompt.md
Clone the repo
git clone --depth 1 https://github.com/coleam00/Archon

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 prime-server

README.md
[![agentmods](https://agentmods.dev/badge/commands/coleam00/archon/prime-server/github.svg)](https://agentmods.dev/commands/coleam00/archon/prime-server)
Your own site
<a href="https://agentmods.dev/commands/coleam00/archon/prime-server"><img src="https://agentmods.dev/badge/commands/coleam00/archon/prime-server/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 prime-server

Your own site · 80×15
<a href="https://agentmods.dev/commands/coleam00/archon/prime-server"><img src="https://agentmods.dev/badge/commands/coleam00/archon/prime-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 218 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00008 $0.00218
Opus 5 $0.00004 $0.00109
Sonnet 5 $0.00002 $0.00044
Haiku 4.5 $0.00001 $0.00022

Measured today against content hash 71a778f5bebd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

prime-server 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 today.

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.

.github/prompts/prime-server.prompt.md · 38 lines

What it actually says

Prime Server: Load Backend Context

Objective

Build comprehensive understanding of the server codebase by analyzing structure and key files.

Process

  1. Study the entry point (server/src/index.ts)
  2. Study the services (server/src/services/)
  3. Study the middleware (server/src/middleware/)
  4. Study the database layer (server/src/db/)
  5. Check server/package.json for dependencies

Output

Produce a scannable summary of what you learned:

  • Purpose: What the backend does
  • Tech Stack: Framework, database, validation
  • API Routes: Available endpoints
  • Data Model: Core entities from shared/types.ts
  • Patterns: Database patterns, error handling, validation approach

Use bullet points. Keep it concise.

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. today First seen · 38 lines · 8 tokens per session scan A 71a778f5bebd

Subscribe to this mod's changes

prime-server is a command published in the GitHub repository coleam00/Archon (23,398 stars, last pushed today), licensed MIT. It adds 8 tokens to every session and 218 once invoked, about $0.0000 per session on Opus 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-09-08.