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.
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.
curl -O https://raw.githubusercontent.com/coleam00/Archon/dev/.github/prompts/prime-endpoint.prompt.mdgit clone --depth 1 https://github.com/coleam00/ArchonWrote 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/commands/coleam00/archon/prime-endpoint)<a href="https://agentmods.dev/commands/coleam00/archon/prime-endpoint"><img src="https://agentmods.dev/badge/commands/coleam00/archon/prime-endpoint.svg" alt="Measured on agentmods" 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.00010 | $0.00345 |
| Opus 5 | $0.00005 | $0.00172 |
| Sonnet 5 | $0.00002 | $0.00069 |
| Haiku 4.5 | $0.00001 | $0.00034 |
Grade A, and why
prime-endpoint 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.
What it actually says
Prime Endpoint: How to Build New Endpoints
Objective
Understand the full endpoint pattern from database to UI so you can build new endpoints correctly.
Process
Study these files in order (this is the data flow):
- Types:
shared/types.ts- define your data contracts here first - Validation:
server/src/middleware/validation.ts- Zod schemas for request validation - Service:
server/src/services/flags.ts- business logic and database operations - Routes:
server/src/routes/flags.ts- Express route handlers - Error handling:
server/src/middleware/error.ts- custom error classes - Client API:
client/src/api/flags.ts- fetch wrappers with types - Usage:
client/src/App.tsx- React Query hooks for data fetching
Output
Produce a scannable summary of what you learned:
- Type Flow: How types are shared between server and client
- Validation: How request data is validated
- Service Pattern: How business logic is structured
- Route Pattern: How routes call services and handle errors
- Client Pattern: How the frontend fetches and mutates data
- React Query: How queries and mutations are used
Use bullet points. Keep it concise.
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.
- today First seen · 43 lines · 10 tokens per session scan A 8066141ea121
prime-endpoint is a command published in the GitHub repository coleam00/Archon (23,398 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 345 once invoked, about $0.0001 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.
Other commands, from other repositories
fix-issues
Diagnose, reproduce, then fix reproducible open GitHub issues in parallel: one clean worktree/issue; symlink build artifacts to avoid rebuilds.
cleanup
Autonomous cleanup-loop iteration: discover ONE target → complete execution → verify → report. Runs stateless: derive from current tree; assume prior runs left it consistent.
api-docs.template
This prompt was authored for Claude-style slash workflows. In Codex runtime, adapt tool calls as follows.
stripe-backend
Centralized LLM prompt instructions for Copilot and Cursor, including scripts to convert and sync rules for Python, React, Shell, and TypeScript. Designed for rapid reuse and contribution across projects.
explain
System prompt for /explain slash command.
run
System prompt for /run slash command.