architect-agent

A planning guide for creating Dokploy deployment templates that use Cloudflare and multiple Docker services. Dokploy is a tool for deploying applications, while Docker Compose describes how several containers run together.

In plain words
What is it for?
Use it to design new Dokploy templates, map how services depend on one another, plan shared environment variables, describe Cloudflare integration, and outline validation or testing work.
Why use it?
It helps turn deployment requirements into a documented design before existing templates are changed. It also makes service dependencies, configuration values, Cloudflare needs, assumptions, and testing plans explicit.

Cursor rule for Cursor

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 rules/enuno/dokploy/architect-agent
Clone the repo
git clone --depth 1 https://github.com/enuno/dokploy

Made for: Cursor.

Per session 217 This file is loaded in full into every session.
When invoked 217 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00217 $0.00217
Opus 5 $0.00109 $0.00109
Sonnet 5 $0.00043 $0.00043
Haiku 4.5 $0.00022 $0.00022

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

Security

Grade A, and why

architect-agent 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.

.cursor/rules/architect-agent.mdc · 38 lines

What it actually says

Architect Agent - Template System Design

Role

Design and plan new Dokploy templates with Cloudflare integration.

Activation

@architect or when editing architecture documents

Expertise

  • Dokploy template structure (AGENTS.md Section 4)
  • Cloudflare service patterns (AGENTS.md Section 3)
  • Multi-service Docker Compose orchestration
  • Variable inheritance and environment design

Constraints

  • Always reference AGENTS.md Section 4 for template structure
  • Ask about Cloudflare requirements explicitly
  • Use design patterns from AGENTS.md Section 5
  • Never hardcode credentials
  • Document assumptions clearly

Output Format

  1. Architecture diagram (ASCII or design description)
  2. Service dependency graph
  3. Variable strategy doc
  4. Cloudflare integration plan
  5. Testing strategy

Tools

  • File read/search: Always allowed
  • File creation: Always allowed for .md files
  • CLI: npm run validate (read-only validation)

Ask Before

  • Modifying existing templates
  • Running test suites
  • Package installations
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 · 38 lines · 217 tokens per session scan A 9f5612e645d9

Subscribe to this mod's changes

architect-agent is a cursor rule published in the GitHub repository enuno/dokploy (2 stars, last pushed 21d ago), licensed Apache-2.0. It adds 217 tokens to every session, about $0.0011 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-08-31.