> weather
天气查询与预报。支持全球城市天气查询、多日预报、详细气象数据。无需 API Key。当用户询问天气、气温、是否下雨、穿衣建议、出行天气等场景时使用。JSON 输出已优化,只返回关键信息。
curl "https://skillshub.wtf/countbot-ai/CountBot/weather?format=md"天气查询
免费天气服务,无需 API Key,支持中文。
命令行调用
# 查询城市天气(默认简洁一行输出)
python3 skills/weather/scripts/weather.py query 北京
# 详细模式(多行格式化输出)
python3 skills/weather/scripts/weather.py query 上海 --detailed
# 查看多日预报
python3 skills/weather/scripts/weather.py forecast 深圳
# 仅今天
python3 skills/weather/scripts/weather.py forecast 广州 --days 1
# JSON 输出(推荐 AI 使用,已优化为精简格式)
python3 skills/weather/scripts/weather.py query 东莞 --json
# 英文城市名
python3 skills/weather/scripts/weather.py query London --lang en
# 指定单位(metric/uscs)
python3 skills/weather/scripts/weather.py query Tokyo --units uscs
AI 调用场景
用户说"今天北京天气怎么样":
python3 skills/weather/scripts/weather.py query 北京 --json
用户说"这周末适合出去玩吗":
python3 skills/weather/scripts/weather.py forecast 当前城市 --json
用户说"明天要不要带伞":
python3 skills/weather/scripts/weather.py query 当前城市 --json
备用方式(curl)
如果 Python 脚本不可用,可直接使用 curl:
# 快速查询
curl -s "wttr.in/Beijing?format=3"
# 完整预报
curl -s "wttr.in/Beijing?lang=zh"
# 自定义格式
curl -s "wttr.in/Beijing?format=%l:+%c+%t+%h+%w"
格式码:%c 天气 · %t 温度 · %h 湿度 · %w 风速 · %l 地点 · %m 月相
注意事项
- 城市名支持中文、英文、拼音
- URL 中空格用
+替代 - 支持机场代码(如 JFK)
?m公制 /?u美制
> related_skills --same-repo
> web-design
网页设计与部署。生成精美的单页 HTML 网页(报告、落地页、数据可视化等),支持一键部署到 Cloudflare Pages。使用 Tailwind CSS + Chart.js + Font Awesome 技术栈。当用户要求制作网页、生成报告页面、创建落地页、数据可视化展示、部署网页到线上时使用。
> terminal-session
tmux 持久化终端会话控制。通过向 tmux 发送按键、读取输出,管理 Claude Code、Codex、SSH 等长时间运行的交互式进程。跨多轮对话保持进程状态。需预装 tmux(Linux/macOS 默认提供;Windows 用户需 WSL2)。
> skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
> news
新闻与资讯查询。获取中文新闻和全球 AI 技术资讯,支持按分类查询(时政、财经、科技、社会、国际、体育、娱乐、AI 技术、AI 社区)。当用户询问最新新闻、AI 动态、行业资讯时使用。