zimai233/dsh-exam-countdown ↗★ 3
dsh-exam-countdown
查询内置中国考试倒计时,按日期推算距考试天数与下次日期。 适合需要高考、考研、考公等考试倒计时查询的用户,支持按关键词和分类检索。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zimai233/dsh-exam-countdown说明文档
阅读完整 README ↗使用
直接用自然语言让 agent 查询,例如:
「高考还有多少天?」
agent 会调用 exam_countdown,例如:
{
"id": "gaokao"
}
返回:
[
{
"id": "gaokao",
"name": "高考",
"cat": "升学考试",
"dateLabel": "6月7日",
"days": 327,
"nextOccurrence": "2027-06-07"
}
]
再如:
「帮我看看最近要考的英语类考试,列出 5 个」
{
"query": "英语",
"limit": 5
}
「有哪些考试分类?」
agent 调用 exam_categories,返回各分类及其考试数量,用来发现 category 参数的合法取值。
Usage
Ask the agent in natural language:
"How many days until gaokao?"
The agent calls exam_countdown with:
{ "id": "gaokao" }
Result:
[
{
"id": "gaokao",
"name": "高考",
"cat": "升学考试",
"dateLabel": "6月7日",
"days": 327,
"nextOccurrence": "2027-06-07"
}
]
More examples:
"List 5 English-language exams coming up soon"
{ "query": "英语", "limit": 5 }
"Which exam categories do you have?"
The agent calls exam_categories, which returns each category with its exam count —
use it to discover valid category values.