微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🚗

官方数据源 · 限行提醒一键设

Reg Limited · v1.0.2
办公 安全 A 级 作者 chandler0714 公开目录收录
958 下载 0 安装 2.9k 收藏 19 浏览

简介

国内机动车尾号限行查询与定时提醒工具,直连交管局官方数据源,支持北京等10+城市。

原始描述

Vehicle restriction query and reminder tool for Chinese cities. Query daily restrictions and set scheduled reminders.

通过你的 Agent 添加

安装目录:reg-limited/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/reg-limited/
Codex CLI~/.codex/skills/reg-limited/
DeepSeek Harness~/.agents/skills/reg-limited/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: reg-limited description: Vehicle restriction query and reminder tool for Chinese cities. Query daily restrictions and set scheduled reminders.

RegLimited - Vehicle Restriction Query & Reminder

A tool to help you query vehicle restrictions and set reminders for Chinese cities.

Features

  1. Restriction Query - Check if your vehicle is restricted today based on city and plate
  2. Scheduled Reminders - Get notified at specified times about restriction info
  3. Multi-city Support - Supports major Chinese cities including Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou, Chengdu, etc.

Usage

1. Query Today's Restrictions

# Query today's restricted digits for a city
reg-limited query --city beijing

# Check if a plate is restricted
reg-limited check --city beijing --plate 京A12345

2. Set Restriction Reminders

# Basic usage
reg-limited add --city beijing --plate 京A12345 --time "07:00"

# Full parameters
reg-limited add --city beijing --plate 京A12345 --time "07:00" --notify-channel feishu

3. List All Reminders

reg-limited list

4. Remove Reminders

reg-limited remove --id <reminder_id>

Supported Cities

  • Beijing (北京)
  • Shanghai (上海)
  • Guangzhou (广州)
  • Shenzhen (深圳)
  • Hangzhou (杭州)
  • Chengdu (成都)
  • Tianjin (天津)
  • Wuhan (武汉)
  • Xi'an (西安)
  • Nanjing (南京)

Restriction Rules

Beijing

Queries real-time restriction data from Beijing Traffic Management Bureau:

Day Restricted
Monday 3, 8
Tuesday 4, 9
Wednesday 5, 0
Thursday 1, 6
Friday 2, 7

Other Cities

  • Shanghai: Elevated road restrictions
  • Guangzhou: "Open Four, Stop Four" policy
  • Shenzhen: Morning/evening peak hour restrictions
  • Hangzhou/Chengdu/Tianjin/Wuhan/Xi'an/Nanjing: Day-specific number restrictions

Output Format

JSON format for program processing:

{
  "success": true,
  "data": {
    "city": "北京",
    "date": "2026-03-03",
    "restricted": ["4", "9"],
    "isRestricted": true,
    "plate": "京A12345",
    "lastDigit": "4"
  }
}

Example Dialogues

User: What's today's vehicle restriction in Beijing?
Bot: Today's restriction digits: 4, 9 (Your plate 4 is restricted!)

User: Is my car 京A12345 restricted today?
Bot: Yes! Today (Tuesday) Beijing restricts digits 4 and 9. Your plate ends with 4, so it's restricted.

User: Set a reminder for 7am tomorrow about restrictions
Bot: Done! You'll receive a restriction reminder at 7am tomorrow.

Technical Implementation

  1. Fetches daily restriction info from official government sources
  2. For Beijing: queries https://jtgl.beijing.gov.cn/jgj/lszt/659722/660341/index.html
  3. Parses restricted digits from the official table
  4. Compares with plate last digit
  5. Sends notifications via scheduled tasks

Dependencies

  • Node.js
  • Network access (for querying restrictions)
  • Message channels (Feishu/Telegram/etc.)

More cities coming soon...

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

vehicletrafficchina-citiesschedulernotificationgovernment-data

同类 Skill