360 Secure SkillHub
360 安全技能中心

domain-inventory-dashboard

该 Skill 先访谈部署方式、标签、域名清单和工具接入,再按用户批准的方案生成 Google Sheet 或 Next.js/Supabase 域名清单页面;页面按品牌、用途和状态标记发送域名,并在同一表中显示邮箱数、发送量、退信、垃圾邮件率、SPF/DKIM/DMARC、黑名单和续费信息,健康数据默认来自无需密钥的 DNS 检查,发送工具连接器可选。

分类:开发
mambabuilt
mambabuilt
热度 33.19
最近更新 2026-12-03 19:25:40

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add mambabuilt/domain-inventory-dashboard
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
domain-inventory-dashboard
description
Build a domain inventory page that tags every sending domain by brand, purpose and status and shows its health in one table. Use when someone runs many sending domains across brands or clients and needs to track, tag or inventory them, or wants a domains page added to an existing dashboard. Asks for your setup and tools first, then builds a Google Sheet, a team app or an agency view with inboxes, spam rate, blocklists, SPF, DKIM, DMARC and renewals per domain.
license
MIT
compatibility
Claude Code, Claude Desktop, Codex CLI, Cursor, Gemini CLI, and other agents that read SKILL.md. Live data steps need only what the Requirements section of the skill lists.
tags
["deliverability"]
metadata
{"title":"Domain Inventory Dashboard","category":"deliverability","tags":"deliverability","keywords":"deliverability, domain inventory, track my sending domains, tag domains by brand, which domains are resting, build a domains dashboard, too many cold email domains, domains page for our dashboard","version":"2.1.0","requirements":"Needs Python 3; a place to run the page: a Supabase project with Node.js 18 or newer, another stack you pick, or a Google account for the Sheet version. Optional: API access to the sending tools you use (Instantly, Smartlead, Apollo, Lemlist or others); DNS access at your registrar, to apply the fixes."}

Domain Inventory Dashboard

What this does

Teams with dozens or hundreds of sending domains lose track of three things: which brand owns each domain, what it is for, and whether it is active, resting, set aside or retired. Deliverability dashboards show health but have nowhere to keep those tags. This skill builds one page that answers all of it at a glance: summary cards by brand, purpose and status, filters, and a table with health on the same row. It interviews the user about their setup and tools first, offers choices with defaults instead of assuming them, and builds only what the user approves. assets/reference.png is the target look and assets/template.html is an editable copy of it.

Requirements

Check these before you run the skill. Nothing outside this table is needed.

Requirement Needed Used for What it costs you
Python 3 Required The no key DNS and blocklist check scripts/dns_check.py Free. The DNS and blocklist check uses only the standard library, with no API key.
A place to run the page: a Supabase project with Node.js 18 or newer, another stack you pick, or a Google account for the Sheet version Required Storing the tags and serving the page, in the setup you choose Free tiers work for most inventories. Any hosting or database plan bills you directly.
API access to the sending tools you use (Instantly, Smartlead, Apollo, Lemlist or others) Optional Inbox counts, sends, bounces and warmup spam rate per domain Comes with your existing sending plan.
DNS access at your registrar, to apply the fixes Optional Fixing the records the check flags None.

Missing a required item? Stop before the live steps and tell the user which item is missing and what it is for. Do not run the step without it and do not present an empty result as an answer. Keys are read from the environment at run time and are never written into a file, a prompt or the output.

When to use it

  • domain inventory
  • track my sending domains
  • tag domains by brand
  • which domains are resting
  • build a domains dashboard
  • too many cold email domains
  • domains page for our dashboard

Inputs

  • setup: Google Sheet with Apps Script, team app, or agency mode with clients above brands; the user picks, it is never assigned by domain count
  • where it lives: an existing repo to extend (read it first), or a new app from templates/nextjs-supabase/, or another stack
  • tags: brands with colors, purposes and statuses, defaults offered and editable
  • starting list: a CSV or sheet of current domains; sample-data/domains.csv shows the columns and is used when there is none
  • integrations: registrar, DNS host, inbox provider, sequencer and warmup tool, each with whether API access exists
  • access and alerts: who uses the page, whether it needs a login, and where alerts go

Shared context this skill reads

Before doing anything else, read whichever of these exist at the project root and use them instead of asking the user to repeat themselves:

  • BRAND.md

If none exist, do the work from what the user gives you, then offer to write the missing file so the next skill in the pack starts warmer.

Tool connection

This skill needs no live data tool. It works from the files, exports and answers you give it, so it runs the same in any agent with no setup.

Files in this skill

Path What it is
assets/reference.png The target look: summary cards, filter row and table. Brands and domains are made up
assets/template.html The same page as one editable HTML file. Put in your own brands and domains to see your layout before anything is built
references/intake.md The questions to ask first, and the plan to propose
references/setups.md The three setups: Google Sheet, team app, agency mode
references/scenarios.md Every scenario option with its default and how to change or switch it off
references/stacks.md Next.js and Supabase by default, and the other stacks offered
references/data-model.md Tables, columns and the rules that keep tags and health apart
references/health-sources.md Where health data comes from: the free script by default, then optional sources
references/gotchas.md What most teams find out too late
scripts/dns_check.py No key check of MX, SPF, DKIM, DMARC and the Spamhaus, SURBL and URIBL lists
connectors/ One file per sending tool behind one shared format (connectors/schema.json)
templates/nextjs-supabase/ Starter app for the team and agency setups
templates/google-sheet/ Apps Script and setup steps for the Sheet setup
sample-data/ Made up brands and domains, so the page works before anything is connected
tests/ Test cases with expected results for the script and the connectors

Method

  1. Interview first. Ask the questions in references/intake.md in one message: setup, where the page lives, where the tags live, brands, purposes and statuses, the starting list, each integration and whether it has API access, who uses the page, login, and alerts. Write no code before the answers.
  2. Offer the three setups in references/setups.md (Google Sheet with Apps Script, team app, agency mode with clients above brands, a read only client view and a client login) and let the user pick. Never pick one for them from the number of domains.
  3. Walk the scenario options in references/scenarios.md: setup, sending setup, status rules, capacity planning, cost, placement testing, migration mode, alerts, ownership, compliance per brand and hosting. Each has a stated default; the user keeps it, changes it, customizes it or switches it off.
  4. Pick the stack. The default is Next.js with Supabase from templates/nextjs-supabase/. Offer the other stacks in references/stacks.md. If the user has a repo, read it and extend it instead of starting a second app.
  5. Show assets/reference.png as the target and offer assets/template.html so the user can see their own brands and domains in the layout before the build.
  6. Propose the plan: setup, scenario choices, the data model from references/data-model.md adapted to the answers, which integrations get wired and which stay manual, the build order, and every secret as an environment variable name, never a value. Wait for approval.
  7. Build in this order: data model and CSV import (preview, flag duplicates and invalid domains, then insert), the page with tags only, then health pulls on a schedule, then alerts. Show the user the page after the tags only step, before any sync is wired.
  8. Wire health from references/health-sources.md. The default is scripts/dns_check.py, which needs no key. Sending tool data comes through connectors/, one file per tool in the shared format. The Mamba Labs MCP servers and Google Postmaster are options, never requirements. The script checks each blocklist's test entry before it trusts any blocklist answer; if a test entry does not read as listed, every result from that list is unknown.
  9. Apply every item in references/gotchas.md: refused Spamhaus lookups, status history, tags never overwritten by a sync, retired domains keep MX and redirect, resting domains get an end date, registrar and renewal fields, DKIM selector per provider, and secrets on the server only.
  10. Test against assets/reference.png and the checks in tests/: summary counts equal table counts for every filter, a status change writes a history row and moves Status since, every domain gets a snapshot per sync run, and no key appears in client code or the browser network tab.
  11. Approval stop. Before writing any code or creating a database, then again before deploying the page, writing to a sending tool, registrar or DNS host, changing a domain status automatically, or turning on alerts, show the user exactly what will happen and wait for an explicit yes. Nothing live changes without it.
  12. Check the output with scripts/check-output.py before you return it.

Approval stop

Stop and ask before writing any code or creating a database, then again before deploying the page, writing to a sending tool, registrar or DNS host, changing a domain status automatically, or turning on alerts. Show exactly what will be sent or written, to whom or to which records, and how many. Proceed only on an explicit yes from the user in this conversation. A yes for one batch does not cover the next one.

Output

First, the intake questions. After the answers, a build plan with seven sections, each under its own ## heading: Setup (the chosen setup), Scenario options (a table of every scenario option with the choice and its default), Stack, Data model, Integrations (wired and left manual), Environment variables (names only), and Build order. After approval, the built page and a short build report: what was built, what each check in tests/ returned, and what is left to wire.

A complete output carries these sections, in this order:

  • ## Setup
  • ## Scenario options
  • ## Stack
  • ## Data model
  • ## Integrations
  • ## Environment variables
  • ## Build order

Check the output before you return it

Save the output to a file and run python3 scripts/check-output.py <file>. The contract it checks is scripts/output-contract.json.

  • Exit 0, COMPLETE: return the output.
  • Exit 2, INCOMPLETE: do not present the output as finished. Fill what you can, run the check again, and if parts stay missing, return the output under the heading Incomplete with every reason the check printed.

Quality bar

  • The setup is the user's choice; the skill never assigns one from the domain count
  • Every scenario option is shown with its default and can be changed or switched off
  • No code is written before the plan is approved
  • Tags are set by people and a sync never overwrites a tag
  • A refused Spamhaus lookup (127.255.255.x) reads as unknown, never as listed
  • Every status change writes a history row, and Status since comes from it
  • No API key appears in page code; every key is a server side environment variable

Rules that are not obvious

  • Spamhaus refuses lookups that come through public resolvers such as 8.8.8.8 and 1.1.1.1 and from many cloud hosts. The answer is a 127.255.255.x code, which is an error and not a listing. Check the Spamhaus test domain first so a refused lookup is never reported as a listing.
  • Retiring a domain is not deleting it. Keep the MX records so replies still arrive, and redirect the root domain to the main brand site.
  • Resting needs an end date. A resting domain without one never comes back, so the page lists overdue ones as needing action.
  • DKIM lives at a selector the provider picks (Google uses google, Microsoft 365 uses selector1 and selector2, resellers vary). Ask for it; a missing selector is not a missing DKIM record.
  • Keep tags in one place. A tag sheet next to a separate dashboard drifts within a month; put the tags in the same database the health data lands in.

Optional: run it on live data

This skill works with no tool. To add live data, run Domain Deliverability Checker (https://apify.com/mambalabs/domain-deliverability-checker?fpr=mamba) on your own Apify account to add domain age, mail provider and a 0 to 100 deliverability score per domain, in batches, next to the free DNS check. No Apify account yet: https://console.apify.com/sign-up?fpr=mamba

About

Built and maintained by Mamba Labs (https://mambabuilt.com). Free under the MIT license. Questions, fixes or a setup this skill does not cover: contact@mambabuilt.com.

How it relates to Domain Health Precheck

The two skills stay separate. domain-health-precheck is a deep check of one domain with the exact DNS records to publish. This skill tracks every domain you own over time. When the inventory flags a domain, run domain-health-precheck on it for the fix.

Related skills

  • domain-health-precheck
  • domain-warmup-planner
  • sending-capacity-planner
  • email-deliverability-audit

Ships in the deliverability pack.