dokploy-api

A guide for operating Dokploy, a self-hosted platform that runs applications and services with Docker and manages deployment infrastructure. It covers the platform’s API, deployments, databases, domains, TLS, backups, and destructive-operation safety.

In plain words
What is it for?
Use it to deploy applications or Compose projects, manage databases and domains, configure TLS and backups, and safely inspect or change Dokploy resources.
Why use it?
It helps perform infrastructure changes through the correct Dokploy API structure while protecting credentials and reducing the risk of damaging live resources.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/catwillgh/mainframe/dokploy-api
Any agent
npx skills add CATWILLgh/MAINFRAME --skill dokploy-api
Clone the repo
git clone --depth 1 https://github.com/CATWILLgh/MAINFRAME

Made for: Claude Code, Codex.

Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,126 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00051 $0.02126
Opus 5 $0.00026 $0.01063
Sonnet 5 $0.00010 $0.00425
Haiku 4.5 $0.00005 $0.00213

Measured yesterday against content hash e9eacde9c6ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dokploy-api 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl --disable -sS --fail-with-body --connect-timeout 5 --max-time 30 -G \
adapters/claude-code/plugin/skills/dokploy-api/SKILL.md · 150 lines

How it starts

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

Working with the Dokploy API

This is the hidden Dokploy branch of mainframe:infrastructure. The primary session reads it through that skill when the project map or verified recon identifies Dokploy.

Dokploy is a self-hostable PaaS built on Docker and Traefik. This skill drives a resolved running instance through its HTTP API.

Config is never hardcoded. Resolve the non-secret base URL from the project infrastructure map or verified project configuration. Resolve the API-key name and its approved access pattern only through secrets-handling and the credentials index. An already-exported DOKPLOY_API_KEY is valid only when that index names it. Never read arbitrary config in search of a key or expose the value in output.

Authentication & base URL

  • Base URL: <DOKPLOY_URL>/api — every endpoint lives under the /api prefix.
  • Auth header: x-api-key: <key>.

The current official API reference defines API-key authentication in the x-api-key header. Do not substitute an Authorization header merely because an UI label says “Authorization”.

Creating, rotating, or deleting an API key is credential-store administration and requires explicit authority outside this operational branch.

Call convention (tRPC-over-OpenAPI)

The API is tRPC exposed as OpenAPI. Paths are RPC-style /<resource>.<action>, not REST resources.

  • GET = query. Parameters are flat query params (e.g. ?applicationId=abc), not a JSON ?input= wrapper. Read actions: *.one, *.all, *.readLogs, *.getServerMetrics.
  • POST = mutation. Body is bare JSON matching the endpoint's requestBody schema. Write actions: *.create, *.update, *.save*, *.deploy, *.remove.
  • Responses are bare JSON per each endpoint's own schema — there is no {result:{data:{json}}} wrapper (that envelope only appears at the raw tRPC layer, not on these OpenAPI endpoints).
  • Errors: gate on the HTTP status with --fail-with-body; common current responses use 400, 401, 403, 404, and 500 with code, message, and sometimes issues. Verify the exact endpoint contract instead of assuming every action exposes every status.

Read the full file on GitHub · 150 lines

Files

What ships with it

8 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.

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 First seen · 150 lines · 51 tokens per session scan A e9eacde9c6ce

Subscribe to this mod's changes

dokploy-api is a skill published in the GitHub repository CATWILLgh/MAINFRAME (2 stars, last pushed 11d ago), licensed MIT. It adds 51 tokens to every session and 2,126 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-31.

Related

Other skills, from other repositories

discord-webhook

Send trading alerts, signals, and analysis summaries to Discord via webhook. Integrates with realtime-alert-pipeline, trading-brain, and trade-journal-analytics.

mahmoud20138/Tradecraft · 37 tokens

agentforge-protocol

Use when doing non-trivial coding with Hermes, OpenClaw, Claude Code, Codex CLI, or similar autonomous coding agents. Orchestrates Karpathy-style minimal-change discipline, grill-plan intake, TDD, systematic debugging, subagent-driven implementation, spikes, and pre-commit review into one end-to-end workflow.

Yat-mo/agentforge-protocol · 71 tokens

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.

questflowai/investorskills · 44 tokens