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 skills add shennawardana23/skillme --skill twelve-factor-app-principlesgit clone --depth 1 https://github.com/shennawardana23/skillmeWrote 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/shennawardana23/skillme/twelve-factor-app-principles)<a href="https://agentmods.dev/skills/shennawardana23/skillme/twelve-factor-app-principles"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/twelve-factor-app-principles/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.
<a href="https://agentmods.dev/skills/shennawardana23/skillme/twelve-factor-app-principles"><img src="https://agentmods.dev/badge/skills/shennawardana23/skillme/twelve-factor-app-principles.svg" alt="Reviewed on agentmods" width="80" 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.00118 | $0.01766 |
| Opus 5 | $0.00059 | $0.00883 |
| Sonnet 5 | $0.00024 | $0.00353 |
| Haiku 4.5 | $0.00012 | $0.00177 |
Grade A, and why
twelve-factor-app-principles 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.
How it starts
The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Twelve-Factor App Principles
The Twelve-Factor App (12factor.net) is a methodology for building services that can be deployed, scaled, and handed off between engineers without hidden local state or environment-specific assumptions. This skill paraphrases its own principles — for the canonical text, see the source website rather than copying prose from here.
Rather than restate all twelve one by one, group them by the failure mode each one prevents — this is more useful for review than memorizing a list.
Group 1: One codebase, config and environment kept out of code
- One codebase tracked in version control, many deploys from it. Every running instance — local, staging, production — traces back to the same repository at different points in its history; if two environments are running code that lives in genuinely different repositories (a fork, a copy-pasted variant), you no longer have one deployable app, you have two apps pretending to be one. A service should never require its own divergent copy of the repo per environment.
- Config in the environment, not in code. Anything that varies between deploys (database URLs, API keys, feature flags, hostnames) belongs in environment variables or a secrets manager, never hardcoded or committed in a config file checked into version control. A quick test: could you make the repository public without leaking a secret or an environment-specific value? If not, something in "config" is misplaced.
- Dev/prod parity. Keep the gap between local, staging, and production as small as possible — same backing service types (don't run SQLite locally and Postgres in prod), same dependency versions, short lead time between a code change and its deploy. Most "works on my machine" bugs trace back to a parity gap here.
Group 2: Backing services are attached resources, not internal state
- Every external system a service talks to — its database, a queue, a cache, a third-party API — should be swappable purely by changing a config value, with no code change required. A service shouldn't need a code change to point at a different Postgres instance — only a changed connection string. This makes it easy to point a local dev environment at a throwaway instance without touching the code that talks to it.
- Explicit, declared dependencies. Every library the service needs is
declared in a manifest (
go.mod,package.json) and pinned — never relying on something happening to be present on the host system.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 8d ago First seen · 145 lines · 118 tokens per session scan A 890e04c7162d
twelve-factor-app-principles is a skill published in the GitHub repository shennawardana23/skillme (2 stars, last pushed 13d ago), licensed Apache-2.0. It adds 118 tokens to every session and 1,766 once invoked, about $0.0006 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-03.
Other skills, from other repositories
spring-boot-project-creator
Creates and scaffolds a new Spring Boot project (3.x or 4.x) by downloading from Spring Initializr, generating package structure (DDD or Layered architecture), configuring JPA, SpringDoc OpenAPI, and Docker Compose services (PostgreSQL, Redis, MongoDB). Use when creating a new Java Spring Boot project from scratch…
temporal-developer
Develop, debug, and manage Temporal applications across Python, TypeScript, Go, Java, .NET, Ruby, and Rust. Use when the user is building workflows, activities, or workers with a Temporal SDK, debugging issues like non-determinism errors, stuck workflows, or activity retries, using Temporal CLI, Temporal Server, or…
upstash-box-js
Work with the @upstash/box TypeScript/JavaScript SDK for sandboxed cloud containers with AI agents, shell, filesystem, git, cron schedules, snapshots, and a headless browser. Use when building with Upstash Box, creating a sandbox or isolated environment to run untrusted or agent-generated code, running AI coding…
configure-reverse-proxy
Configure reverse proxy patterns across multiple tools including Nginx, Traefik, and ShinyProxy. Covers WebSocket proxying, path-based and host-based routing, SSL termination, and Docker label auto-discovery. Use when routing multiple services behind a single entry point, proxying WebSocket connections (Shiny…
wp-env-local-dev
Run a local WordPress development environment with wp-env (the official @wordpress/env Docker wrapper) — the default choice for plugin and block development. Covers the npx @wordpress/env command (and the trap that bare "npx wp-env" installs an unrelated stub package), the .wp-env.json config (core, phpVersion…
k8s-yaml-generator
Comprehensive toolkit for generating, validating, and managing Kubernetes YAML resources. Use this skill when creating Kubernetes manifests (Deployments, Services, ConfigMaps, StatefulSets, etc.), working with Custom Resource Definitions (CRDs), or generating production-ready K8s configurations.