domain-query
Skill1 starsChanged 4 months agoMITView on GitHub
Domain name multi-query tool — one-shot lookup of ICP filing (备案) and WHOIS registration info for any domain. Triggered whenever the user mentions "domain lookup", "ICP", "备案", "WHOIS", "registration info", "check this domain", "domain details", "域名查询", "查一下这个域名", or simply pastes a domain and asks "check it" or "查一下". Trigger even for one-line requests.
- Reads credentials
- Installs packages
In this repository19 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- calendar-apiSkill
- chinese-poetry-apiSkill
- deepseek-balanceSkill
- enterprise-infoSkill
- epub-book-pipelineSkill
- freshrssSkill
- fun-asrSkill
- gaozhong-english-answer-parserSkill
- gotifySkill
- grillSkill
- img-recogSkill
- linkgoSkill
- mimo-ttsSkill
- personal-siyuan-standardsSkill
- scanned-pdf-to-epubSkill
- send-emailSkill
- wake-on-lanSkill
- zurlSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Run the user's requested command directly without pre-checking dependencies, environment variables, or configuration.
- Distinctive: line 80
Default behavior queries both items at once
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Domain Query
Queries the 接口盒子 API for ICP filing and WHOIS registration information for any domain — all in one command.
Execution Rule
Run the user's requested command directly without pre-checking dependencies, environment variables, or configuration. If something is wrong, the script will fail with a clear error — check and fix only then.
Environment Variables
| Variable | Description |
JKHZ_ID | 接口盒子 (apihz.cn) user ID |
JKHZ_KEY | 接口盒子 API key |
The script loads these from ~/.wmyskills/.env (shared across skills) automatically; a scripts/.env in the script directory takes priority if present. Use scripts/.env.example as the template — add the variables to ~/.wmyskills/.env, never overwriting an existing file.
Requirements
pip install python-dotenvUsage
Script: scripts/domain_query.py
Query all (ICP + WHOIS)
python scripts/domain_query.py example.comWHOIS live query (skip cache)
python scripts/domain_query.py example.com --liveQuery only one item
python scripts/domain_query.py example.com --only icp
python scripts/domain_query.py example.com --only whoisOutput raw JSON
python scripts/domain_query.py example.com --jsonQuery Items
| Item | Content |
| 📋 ICP Filing (ICP 备案) | Filing number, organization name, type, review date |
| 📝 WHOIS | Registrar, registration/expiration dates, DNS servers, domain status, etc. |
Arguments
| Arg | Description |
domain | Domain name (required), e.g. example.com |
--live | WHOIS live query (bypasses cache; cached is faster) |
--only | Query only one of: icp, whois |
--json | Output raw JSON (debugging) |
Notes
- Default behavior queries both items at once
- WHOIS cache mode is faster;
--livegives the freshest data but takes longer
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

