You can manage your entire Miget infrastructure — deployments, databases, domains, secrets — through AI assistants like ChatGPT, Claude, Cursor, or any tool that can make API calls. All you need is the Miget skill.md.

What is the skill.md?

The Miget skill.md is a structured document that teaches AI assistants how to use the Miget API. Give it to your AI tool, and it understands how to:
  • Authenticate with your API token
  • Create resources — provision compute (Migets) with the right plan and region
  • Deploy applications — set up projects, configure build methods, push code via Git or Docker
  • Provision databases — spin up PostgreSQL, MySQL, or Valkey as standalone services or app addons
  • Configure domains — attach custom domains with TLS certificates
  • Manage environment variables — set secrets and configuration for your apps
  • Monitor and rollback — check deployment logs, stream build output, rollback to previous versions
  • Schedule tasks — create and manage cronjobs
The skill.md references the full OpenAPI spec so your AI assistant can look up any endpoint it needs.

Getting started

1

Generate an API token

Go to your Miget dashboard and create an API token. Tokens are prefixed with miget_api_ and don’t expire unless you revoke them.
2

Give your AI assistant the skill.md

Share this URL with your AI tool:
https://app.miget.com/docs/skill.md
How you do this depends on the tool — paste the URL in chat, add it as a project context file, or include it in your system prompt.
3

Provide your API token

When prompted, give your AI assistant the API token. It will use Authorization: Bearer miget_api_... for all API calls.
4

Start managing your cloud

Ask your AI assistant to deploy an app, create a database, configure a domain — anything you’d normally do in the dashboard or CLI.

Example: deploy a full-stack app with a database

Here’s what a real conversation with an AI copilot looks like:
You:     Deploy a Node.js app called "todo-api" with a PostgreSQL database.
         Use my default workspace, EU region, Starter plan.

Copilot: I'll set that up. Let me:
         1. Create a Starter resource in EU
         2. Create a project "todo-api"
         3. Create the application with Node.js buildpack
         4. Attach a PostgreSQL addon

         Done! Here's your setup:
         ✓ Resource: Starter (1 vCPU, 512 MiB) in EU
         ✓ Project: todo-api
         ✓ Application: todo-api (buildpack mode)
         ✓ PostgreSQL addon attached
           → DATABASE_URL added to your environment variables

         Push your code to deploy:
         git remote add miget <your-builder-url>
         git push miget main

You:     Add a custom domain api.myproject.com to this app.

Copilot: I've configured the domain. Add this DNS record:
         CNAME  api.myproject.com  →  todo-api.b.miget.dev
         TLS certificate will be provisioned automatically once DNS propagates.

You:     The deploy looks stuck, can you check?

Copilot: Checking build logs... The build failed at dependency install.
         Error: "npm ERR! Could not resolve dependency: peer react@^18"
         Looks like a peer dependency conflict. Want me to rollback to the
         previous version while you fix it?

Setup guides

Add the skill.md to your preferred AI tool: