aigon-dev-server

aigon-dev-server is a command for Claude Code, Cursor from jayvee/aigon. It costs 0 tokens per session (553 once invoked), scanned A, a copy of ads, Apache-2.0.

A local development-server manager that assigns ports, starts and stops the server, registers proxy URLs, and shows logs.

In plain words
What is it for?
Use it to start, stop, inspect, list, or open project development servers through their assigned local URLs.
Why use it?
It prevents port conflicts when several worktrees or coding agents run the same project at once.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

Good fit Use it to start, stop, inspect, list, or open project development servers through their assigned local URLs.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jayvee/aigon/aigon-dev-server
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jayvee/aigon

Made for: Claude Code, Cursor.

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 aigon-dev-server

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/jayvee/aigon/aigon-dev-server"><img src="https://agentmods.dev/badge/commands/jayvee/aigon/aigon-dev-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 553 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 98% 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.00000 $0.00553
Opus 5 $0.00000 $0.00277
Sonnet 5 $0.00000 $0.00111
Haiku 4.5 $0.00000 $0.00055

Measured 8d ago against content hash 157ca8d64f34, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

aigon-dev-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 8d 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

98% identical to ads — 3 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.

.cursor/commands/aigon-dev-server.md · 79 lines

How it starts

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

aigon-dev-server

Manage the dev server for the current project. Handles port allocation, process lifecycle, proxy registration, and log viewing.

CRITICAL: NEVER run the project's dev command directly. ALWAYS use aigon dev-server start. Running the dev command directly bypasses port allocation and will cause port conflicts in worktrees.

Usage

Run the appropriate subcommand based on what's needed:

Start the dev server

aigon dev-server start

This will:

  • Allocate a unique port (each agent gets its own offset from the project's base port)
  • Start the dev server process in the background with PORT=<allocated>
  • Register with the local proxy for a custom subdomain URL (e.g. http://cx-121.myapp.test)
  • Wait for the server to become healthy
  • Print the URL to access the app — always use this URL

Check dev server logs

aigon dev-server logs

Use -f to follow logs in real time:

aigon dev-server logs -f

Stop the dev server

aigon dev-server stop

List all running dev servers

aigon dev-server list

Open in browser

aigon dev-server open

Opens the dev server URL in the default browser. Uses the proxy subdomain URL if available, otherwise falls back to localhost.

You can also auto-open when starting the server:

aigon dev-server start --open

Get the URL for the current context

aigon dev-server url

Prints the proxy subdomain URL (or localhost fallback) for use in testing and browser access.

Notes

  • The dev server command is read from devProxy.command in .aigon/config.json (set this to whatever the project uses)
  • Port is allocated automatically — agents get offsets from the base port (cc=+1, ag=+2, cx=+3, cu=+4)
  • The base port is configured per-project in .aigon/config.json (devProxy.basePort). Worktree agents get offsets from this.
  • If the proxy is running (aigon proxy install), the server gets a named URL like http://cx-121.myapp.localhost
  • Without the proxy, it falls back to http://localhost:<port>
  • Use aigon dev-server logs to diagnose startup issues — all stdout/stderr is captured
  • To check what's running: aigon dev-server list shows all active servers with their ports and URLs

Read the full file on GitHub · 79 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. 8d ago First seen · 79 lines · 0 tokens per session scan A 157ca8d64f34

Subscribe to this mod's changes

aigon-dev-server is a command published in the GitHub repository jayvee/aigon (25 stars, last pushed 10d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 553 tokens. A static security scan graded it A with 0 findings. It is 98% identical to ads, differing in 3 lines, and is treated as a copy.