with one click
add-dns-record
Add or update a DNS record in Cloudflare using cfcli
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Add or update a DNS record in Cloudflare using cfcli
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Add an AeroSpace window rule to assign an app/window to a workspace (macOS only)
Create or update secrets using Infisical (preferred) or legacy agenix files
Re-encrypt all secrets after modifying .age files or changing host keys
Decrypt and view the contents of an .age secret file
Deploy NixOS/Darwin configuration to local or remote host using justfile commands
Analyze project from URL/path and auto-detect build system to create Nix package
| name | add-dns-record |
| description | Add or update a DNS record in Cloudflare using cfcli |
| compatibility | Requires cfcli (Cloudflare CLI) |
| metadata | {"author":"ruinous.ai","version":"1.1","domain":"dns"} |
| parameters | {"record_name":{"type":"string","description":"DNS record name (subdomain)","required":true,"placeholder":"myservice"},"target":{"type":"select","description":"Target host or address","required":true,"options":[{"label":"pilaster.meskill.farm","description":"Main web services host"},{"label":"monolith.meskill.farm","description":"Infrastructure services host"},{"label":"zenith.meskill.farm","description":"AI/GPU workloads host"},{"label":"obelisk.meskill.farm","description":"GPU compute host"},{"label":"chassis.meskill.farm","description":"AI development workstation"},{"label":"Enter custom target...","description":"Specify a custom target"}]},"record_type":{"type":"select","description":"DNS record type","required":false,"default":"CNAME","options":[{"label":"CNAME (Recommended)","description":"Alias to another hostname"},{"label":"A","description":"Direct IP address"},{"label":"TXT","description":"Text record (verification, SPF)"}]}} |
Add or update a DNS record in Cloudflare for the meskill.farm domain.
If parameters are missing from $ARGUMENTS, use mcp_question to gather them:
mcp_question({
questions: [
{
question: "What is the DNS record name (subdomain)?",
header: "Record Name",
options: [
{ label: "Enter name...", description: "e.g., myservice, myservice.x (for testing)" }
]
},
{
question: "What should this record point to?",
header: "Target",
options: [
{ label: "pilaster.meskill.farm", description: "Main web services host" },
{ label: "monolith.meskill.farm", description: "Infrastructure services" },
{ label: "zenith.meskill.farm", description: "AI/GPU workloads" },
{ label: "chassis.meskill.farm", description: "AI development workstation" },
{ label: "Enter custom target...", description: "Specify IP or hostname" }
]
}
]
})
Expected $ARGUMENTS format: <record_name> <target> [record_type]
myservice pilaster.meskill.farmmyservice pilaster.meskill.farm CNAMEcfcli --domain meskill.farm ls
cfcli --domain meskill.farm --type CNAME add <name> <target>
cfcli --domain meskill.farm --type CNAME --activate add <name> <target>
cfcli --domain meskill.farm --type CNAME edit <name> <target>
cfcli --domain meskill.farm --type CNAME rm <name>
| Type | Use Case | Example |
|---|---|---|
| CNAME | Service aliases | ai.meskill.farm → obelisk.meskill.farm |
| A | Direct IP mapping | host.meskill.farm → 10.55.20.21 |
| TXT | Verification, SPF | Mail configuration |
| Environment | Pattern | Host |
|---|---|---|
| Production | <service>.meskill.farm | Various |
| Testing | <service>.x.meskill.farm | zenith |
| Internal (tunnel) | <service>-int.meskill.farm | Various |
| Host | DNS Entry |
|---|---|
| zenith | zenith.meskill.farm |
| obelisk | obelisk.meskill.farm |
| monolith | monolith.meskill.farm |
| pilaster | pilaster.meskill.farm |
# Add new service pointing to pilaster
/add-dns-record myservice pilaster.meskill.farm
# Add testing subdomain
/add-dns-record myservice.x zenith.meskill.farm
# Add with Cloudflare proxy
cfcli --domain meskill.farm --type CNAME --activate add myservice pilaster.meskill.farm
# Check DNS propagation
dig myservice.meskill.farm
# Flush local DNS cache
sudo systemd-resolve --flush-caches