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.
npx agentmods add skills/lonormaly/builders-stack/add-a-servicenpx skills add lonormaly/builders-stack --skill add-a-servicegit clone --depth 1 https://github.com/lonormaly/builders-stackWrote 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/skills/lonormaly/builders-stack/add-a-service)<a href="https://agentmods.dev/skills/lonormaly/builders-stack/add-a-service"><img src="https://agentmods.dev/badge/skills/lonormaly/builders-stack/add-a-service.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 | $0.00055 | $0.01050 |
| Opus 5 | $0.00028 | $0.00525 |
| Sonnet 5 | $0.00011 | $0.00210 |
| Haiku 4.5 | $0.00006 | $0.00105 |
Grade A, and why
add-a-service 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 4d 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.
`./tilt_up.sh` shows the new resource green in the dashboard (`localhost:10380`); `curl http://<name>.stack.localhost:1355/health` returns `{ "ok": true }` (skip for a worker and check its log line). `bun run check:deplo How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add a service
A services/* package is anything with a URL or its own deploy — an HTTP server, a webhook receiver, or a background worker (which has no URL but still runs as its own process). Use this when a new surface needs to run independently.
When to use
- New HTTP endpoint group that deserves its own process/deploy → new service.
- New background consumer (queue worker, cron) → new service (no URL, still a Tilt resource).
- Not for shared logic with no runtime of its own — that's a
lib.
Steps
-
Name it.
services/<name>, package@stack/<name>. No pinned port — served roles run behind Portless at<name>.stack.localhost:1355(Portless injects a randomPORT). Seedocs/portless.md. -
Files:
services/<name>/ ├── package.json ├── tsconfig.json └── src/ ├── index.ts # entrypoint: start the server / worker └── <feature>/ # organize BY FEATURE, not by layer -
package.json— adevscript Tilt will call:{ "name": "@stack/<name>", "private": true, "type": "module", "scripts": { "dev": "bun --hot src/index.ts", "start": "bun src/index.ts", "typecheck": "bash ../../scripts/typecheck-native.sh --noEmit" } } -
tsconfig.json:{ "extends": "../../tsconfig.base.json", "include": ["src"] } -
src/index.ts— Hono for HTTP; read the port fromprocess.env.PORT(Portless injects it — never hardcode). Always expose/health:import { Hono } from "hono"; const app = new Hono(); app.get("/health", (c) => c.json({ ok: true })); const port = Number(process.env.PORT ?? 3003); // fallback only for standalone runs export default { port, fetch: app.fetch };For a background worker there's no server — just start the consumer loop and log readiness. No
/health, no port (no Portless wrapper either — see ai-worker in the Tiltfile). -
Persistence via
@stack/dbonly. Payments via@stack/paymentonly. Never import another service's internals — talk over HTTP.
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.
- 4d ago First seen · 83 lines · 55 tokens per session scan A e784f4bd95e0
add-a-service is a skill published in the GitHub repository lonormaly/builders-stack (41 stars, last pushed 18d ago), licensed MIT. It adds 55 tokens to every session and 1,050 once invoked, about $0.0003 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 skills, from other repositories
openspec-explore
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
openspec-propose
Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.
openspec-archive-change
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
openspec-sync-specs
Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.
scaffold-project
Scaffold a new app, API, backend, fullstack project, monorepo, or starter with Better-T-Stack — including new projects built on a specific framework like Hono, Express, Fastify, Elysia, Next.js, TanStack Router/Start, Nuxt, Svelte, Solid, Astro, or React Native (native-bare, native-uniwind, native-unistyles). Use…
add-to-project
Add addons or features (PWA, Tauri, Starlight/Fumadocs docs, Biome/Oxlint, Husky/Lefthook, Turborepo/Nx, the MCP addon, etc.) to an existing Better-T-Stack project. Use when the user wants to extend, enhance, or add tooling to a project that was created with Better-T-Stack.