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/aaronbassett/agent-foundry/fly-deploynpx skills add aaronbassett/agent-foundry --skill fly-deploygit clone --depth 1 https://github.com/aaronbassett/agent-foundryWrote 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/aaronbassett/agent-foundry/fly-deploy)<a href="https://agentmods.dev/skills/aaronbassett/agent-foundry/fly-deploy"><img src="https://agentmods.dev/badge/skills/aaronbassett/agent-foundry/fly-deploy.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.1 | $0.00103 | $0.03210 |
| Opus 5 | $0.00051 | $0.01605 |
| Sonnet 5 | $0.00021 | $0.00642 |
| Haiku 4.5 | $0.00010 | $0.00321 |
Grade A, and why
dev-specialisms:fly-deploy 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 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
fly ssh console -C "curl http://localhost:8080/health" How it starts
The opening of the file, as written. The whole thing — 499 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fly.io Deployment
Quick MVP deployment to fly.io with support for multiple languages, databases, GitHub integration, and production-ready configurations.
When to Use This Skill
Use this skill when you need to:
- Deploy a new application to fly.io quickly
- Migrate existing applications to fly.io
- Set up databases (Managed Postgres, SQLite with volumes, or Tigris object storage)
- Configure secrets and environment variables
- Add custom domains with SSL certificates
- Set up GitHub Actions for continuous deployment
- Create PR review apps (preview environments)
- Troubleshoot deployment or runtime issues
- Optimize fly.io configurations for cost and performance
Quick Start
New Application
# From your app directory
fly launch
# Follow interactive prompts:
# - Choose app name
# - Select region
# - Configure resources
# - Deploy immediately or create config only
Existing Application
# Deploy app with existing fly.toml
fly deploy
# Build on fly.io servers (recommended for CI/CD)
fly deploy --remote-only
Workflow Decision Tree
1. Choose Your Starting Point
New App (No fly.toml) → See: Deploying New Applications
Existing fly.io App → See: Deploying Existing Applications
Migrating from Another Platform → See: references/deployment-workflow.md + Language-specific guides
2. Choose Your Language/Framework
Navigate to the appropriate language guide:
JavaScript/Node.js:
- Next.js → references/languages/javascript.md#nextjs
- Express → references/languages/javascript.md#express
- RedwoodJS → references/languages/javascript.md#redwoodjs
Python:
- FastAPI → references/languages/python.md#fastapi
- Django → references/languages/python.md#django
- Flask → references/languages/python.md#flask
What ships with it
20 files 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.
- assets/dockerfiles/axum.Dockerfile 1.5 KB
- assets/dockerfiles/express.Dockerfile 1.4 KB
- assets/dockerfiles/fastapi.Dockerfile 1.3 KB
- assets/dockerfiles/nextjs.Dockerfile 1.9 KB
- assets/dockerfiles/rocket.Dockerfile 1.4 KB
- assets/workflows/deploy.yml 486 B
- assets/workflows/review-apps.yml 844 B
- assets/workflows/test-and-deploy.yml 1.5 KB
- references/data-persistence.md 12 KB
- references/deployment-workflow.md 4.6 KB
- references/domains-and-networking.md 8.8 KB
- references/github-integration.md 11 KB
- references/languages/javascript.md 6.6 KB
- references/languages/python.md 8.3 KB
- references/languages/rust.md 9.0 KB
- references/secrets-and-env.md 9.2 KB
- references/troubleshooting.md 13 KB
- scripts/init_postgres.sh 2.8 KB runs code
- scripts/setup_review_apps.sh 3.2 KB runs code
- scripts/setup_tigris.sh 3.2 KB runs code
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.
- 5d ago First seen · 499 lines · 103 tokens per session scan A 8f331b820bfa
dev-specialisms:fly-deploy is a skill published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 20d ago), licensed MIT. It adds 103 tokens to every session and 3,210 once invoked, about $0.0005 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-31.
Other skills, from other repositories
azd-deployment
Deploy containerized frontend + backend applications to Azure Container Apps with remote builds, managed identity, and idempotent infrastructure.
openshell-cli
Guide agents through using the OpenShell CLI (openshell) for sandbox management, gateway registration, provider configuration and refresh, policy iteration, settings, service exposure, BYOC workflows, and inference routing. Covers basic through advanced multi-step workflows. Trigger keywords - openshell, sandbox…
langbot-deploy
Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…
compute-env-setup
Set up a compute environment on a remote provider so Claude Science jobs can run there. Covers direct SSH/conda hosts, Slurm clusters, container-via-bridge runners, and managed-API providers (Modal, GCP, RunPod). Use when standing up a new provider, porting an env to a different backend, adding a tool that needs its…
azure-cloud-migrate
Assess and migrate cross-cloud workloads to Azure with reports and code conversion. Supports Lambda→Functions, Beanstalk/Heroku/App Engine→App Service, Fargate/Kubernetes/Cloud Run/Spring Boot→Container Apps. WHEN: migrate Lambda to Functions, AWS to Azure, migrate Beanstalk, migrate Heroku, migrate App Engine, Cloud…
compute-env-setup
Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.