headless-development

headless-development is an agent for coding agents from praveenjuge/teak. It costs 0 tokens per session (429 once invoked), scanned A, original, MIT.

A guide for running a particular software project in a headless development environment, such as a cloud virtual machine without a normal graphical interface. It covers required tools, local services and first-run authentication.

In plain words
What is it for?
Use it when starting the project in Cursor Cloud or another headless virtual machine, including its Convex backend and web app.
Why use it?
It prevents developers from using the wrong setup for a headless machine. The guide itself says local development should use the project’s normal root scripts instead.

Agent

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.

agentmods
npx agentmods add agents/praveenjuge/teak/headless-development
Clone the repo
git clone --depth 1 https://github.com/praveenjuge/teak

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 headless-development

README.md
[![agentmods](https://agentmods.dev/badge/agents/praveenjuge/teak/headless-development.svg)](https://agentmods.dev/agents/praveenjuge/teak/headless-development)
Your own site
<a href="https://agentmods.dev/agents/praveenjuge/teak/headless-development"><img src="https://agentmods.dev/badge/agents/praveenjuge/teak/headless-development.svg" alt="Measured on agentmods" 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 429 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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 $0.00000 $0.00429
Opus 5 $0.00000 $0.00215
Sonnet 5 $0.00000 $0.00086
Haiku 4.5 $0.00000 $0.00043

Measured 5d ago against content hash 32e16aa6545f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

headless-development 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 5d 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.

docs/agents/headless-development.md · 44 lines

What it actually says

Headless development

Use this guide only in Cursor Cloud or another headless VM. For local development, use the normal root scripts.

Runtime

Read the required Bun version from the root packageManager field. Install that exact version if Bun is unavailable, then run bun install --frozen-lockfile from the repository root.

turbo watch defaults to an interactive UI. In a headless session, set TURBO_UI=false for streaming output or run the required services separately.

Minimal web stack

Start Convex from packages/convex in a persistent session:

export CONVEX_AGENT_MODE=anonymous
bun run dev

Start the web app from apps/web in another persistent session:

bunx portless app.teak next dev

Use the localhost URL printed by Portless. Do not assume a fixed port.

Create apps/web/.env.local from the active Convex deployment values. A local anonymous deployment normally uses:

NEXT_PUBLIC_CONVEX_URL=http://127.0.0.1:3210
NEXT_PUBLIC_CONVEX_SITE_URL=http://127.0.0.1:3211

First-run authentication

Set the anonymous Convex deployment's Google client values, SITE_URL, and JWKS. Test values are acceptable for OAuth credentials in local development. Generate JWKS as the array expected by the installed @convex-dev/better-auth version; consult its current documentation instead of copying a stale shape.

Better Auth validates the browser origin. If authentication reports Invalid origin, set SITE_URL to the exact browser origin, wait for Convex to redeploy, and retry.

Test users can be marked verified through the existing internal test-setup endpoint. Inspect its current validator and route before calling it; do not cache a request contract here.

The environment is ready when Convex and the web app remain running, the login page loads at the printed localhost URL, and a test session can authenticate without an origin error.

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. 5d ago First seen · 44 lines · 0 tokens per session scan A 32e16aa6545f

Subscribe to this mod's changes

headless-development is an agent published in the GitHub repository praveenjuge/teak (25 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 429 tokens. 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-08-30.