dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:HULILI-com/dsh-namecheck
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A dsh (DeepSeek Harness) plugin that checks the availability of candidate software/brand names. It registers a check_name_availability tool; when the agent detects a naming/validation intent in conversation, the tool runs automatically and returns domain registration status and trademark screening results in a single call.
.com by default and supports additional TLDs via the tlds argumentfetch, and the core logic can be tested standaloneThe tool performs two checks:
<name>.<tld>. A 404 response means the domain is available; 200 means it is registered, and the result includes registrant and registration/expiration metadata.From GitHub:
dsh plugin --profile web add github:HULILI-com/dsh-namecheck
From npm (once published):
dsh plugin --profile web add dsh-namecheck
Local development (link mode):
dsh plugin --profile web add link:/path/to/dsh-namecheck
Restart dsh (dsh --profile web) after installation and hard-refresh the browser page.
Ask the agent in a dsh conversation, for example:
Please check whether these candidate names are available: acme, demo, novalink, and report the
.comdomain status and trademark screening result for each.
The agent calls the check_name_availability tool and returns a structured result: per-candidate domain status, trademark search/screening outcome, and an overall verdict.
Tool arguments:
| Argument | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Candidate English name / pinyin |
chineseName |
string | No | Candidate Chinese name, used for trademark screening |
tlds |
string[] | No | Domain suffixes to check, defaults to ["com"] |
Override plugin config in the profile's user layer (cordis.patch.yml):
- insert:
- id: dsh-namecheck
name: 'dsh-namecheck'
config:
trademarkApiUrl: https://api.example-trademark.com
trademarkApiKey: '<your-token>'
| Config | Description | Default |
|---|---|---|
trademarkApiUrl |
Base URL of the third-party trademark search API | empty |
trademarkApiKey |
Bearer token for the trademark API | empty |
Request contract for the trademark API (adjust in lib/checks.js to match your vendor's docs):
GET {trademarkApiUrl}/search?keyword=<name>&type=all
Authorization: Bearer <trademarkApiKey>
Response contract:
{
"hits": [
{ "name": "acme", "class": 9, "status": "registered", "applicant": "Example Co." }
]
}
dsh-namecheck/
├── package.json # Package manifest; dsh.bundle.patch points to cordis.patch.yml
├── cordis.patch.yml # Mounts the plugin into the profile config tree
├── index.js # Plugin entry: exports name + apply(ctx, config); registers the tool
├── lib/checks.js # Core logic (RDAP domain check + trademark screening), zero deps
├── test-check.js # Standalone test script; no dsh/pnpm environment required
├── README.md # English documentation (default)
├── README.zh.md # Chinese documentation
└── LICENSE
The core logic can be verified without starting dsh:
node test-check.js example demo
dsh --profile web --dump-config.MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。