Self-Hosted App

Self-Hosted App is a skill for Claude Code, Codex from niels-emmer/myace. It costs 37 tokens per session (1,202 once invoked), scanned A, original, MIT.

Design guidance for a small web application that runs on a server the owner controls, using one application container and one local database file. It covers administration, backups, health checks, and deployment behind a reverse proxy, which forwards public requests to the app.

In plain words
What is it for?
Use it when building a dashboard, status page, personal tool, or small internal service that needs an admin panel, database backups, a health endpoint, and reverse-proxy deployment.
Why use it?
It provides a simple operating model for apps that do not need a large platform or managed database. The included backup, restore, and health-check practices address common risks of running the app yourself.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions AGENTS.md; mentions Codex; built for aider.

Good fit Use it when building a dashboard, status page, personal tool, or small internal service that needs an admin panel, database backups, a health endpoint, and reverse-proxy deployment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/niels-emmer/myace/self-hosted-app
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.

Any agent
npx skills add niels-emmer/myace --skill self-hosted-app
Clone the repo
git clone --depth 1 https://github.com/niels-emmer/myace

Made for: Claude Code, Codex.

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 Self-Hosted App

README.md
[![agentmods](https://agentmods.dev/badge/skills/niels-emmer/myace/self-hosted-app/github.svg)](https://agentmods.dev/skills/niels-emmer/myace/self-hosted-app)
Your own site
<a href="https://agentmods.dev/skills/niels-emmer/myace/self-hosted-app"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/self-hosted-app/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 Self-Hosted App

Your own site · 80×15
<a href="https://agentmods.dev/skills/niels-emmer/myace/self-hosted-app"><img src="https://agentmods.dev/badge/skills/niels-emmer/myace/self-hosted-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,202 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 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.1 $0.00037 $0.01202
Opus 5.5 $0.00015 $0.00481
Sonnet 5.5 $0.00007 $0.00240
Haiku 4.5 $0.00004 $0.00120

Measured yesterday against content hash 81b304143236, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Self-Hosted App 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 yesterday.

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.

collections/additional/self-hosted-deploy/skills/self-hosted-app/SKILL.md · 135 lines

How it starts

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

Purpose

Describe the small, operable self-hosted archetype: one deployable application container, one local database file, and just enough surface to run it safely on a server you control. The goal is an app a single maintainer can deploy, back up, restore, and diagnose without a platform team.

When to use it

Building a self-hosted app — a dashboard, a status page, a personal tool, a small internal service — where multi-tenant scale, a managed database, or a queue would be overkill.

The archetype

  • One application container, small and dependency-light.
  • One database file as the only state, on a mounted volume.
  • An admin panel with authentication to edit content.
  • Backup and restore of the database.
  • A health endpoint consumed by the container runtime and deploy scripts.
  • Optional outbound-only helpers (mail relay, screenshot worker).
  • Deployed behind a reverse proxy that terminates TLS.

Repository skeleton

AGENTS.md
README.md  CHANGELOG.md  LICENSE  SECURITY.md  CONTRIBUTING.md  CODE_OF_CONDUCT.md
.editorconfig  .gitignore  .dockerignore  .env.example
Dockerfile  docker-compose.yml
docs/{ARCHITECTURE,DEVELOPMENT,DEPLOYMENT,decision-log}.md
src/  test/  scripts/  public/

Add a third-party dependency ledger once dependencies ship, and a threat-model directory once the app stores user input.

Core modules (one responsibility each)

Keep the source small and single-purpose:

  • app wiring — server setup only, no business logic.
  • db — open, migrate, and query the database file.
  • config — read and validate environment variables; fail fast on missing required values.
  • auth — admin session (hash plus signed cookie), constant-time comparison.
  • validation — the single place input is validated.
  • health — returns status and version.
  • backup — export and import the database.
  • mailer — outbound only; never blocks a request.

Admin panel and auth

  • Session cookie is HttpOnly, SameSite=Lax, and Secure under TLS.
  • Hash passwords with bcrypt or argon2; compare in constant time.
  • Gate every mutating route behind the admin session; public routes are read-only.
  • Rate-limit login and any public write route.

Read the full file on GitHub · 135 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. yesterday Changed 81b304143236
  2. 7d ago First seen · 135 lines · 37 tokens per session scan A 28f786028829

Subscribe to this mod's changes

Self-Hosted App is a skill published in the GitHub repository niels-emmer/myace (1 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 1,202 once invoked, about $0.0001 per session on Opus 5.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-11-23.

Related

Self-Hosted App compared with skills from other repositories

Self-Hosted App next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Self-Hosted Appniels-emmer/myaceSkill12d agoMITA37Claude Code, Codex
vss-setup-video-analytics-apiNVIDIA-AI-Blueprints/video-search-and-summarizationSkill2.0kyesterdayApache-2.0B52Claude Code, Codex
tg-bot-opsserejaris/personal-corp-osSkill2518d agoMITA146Claude Code
loom-event-drivencosmix/loomSkill66todayMITA29Claude Code, Codex
loom-dockercosmix/loomSkill66todayMITA9Claude Code
loom-kubernetescosmix/loomSkill66todayMITA35Claude Code
loom-kustomizecosmix/loomSkill66todayMITA15Claude Code