npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rj-weather-lookup

v0.2.5

Published

查询城市或地区的当前天气与短期预报。当用户询问某个地点的温度、降雨、风力、天气预报或一般天气情况时使用。

Readme

天气查询

查询城市或地区的当前天气与短期预报。当用户询问某个地点的温度、降雨、风力、天气预报或一般天气情况时使用。

安装方式

方式 1:npm 全局安装(推荐)

npm install -g codex-skill-weather-lookup

安装后会自动复制到 ~/.claude/skills/weather-lookup/~/.codex/skills/weather-lookup/

方式 2:npx 临时安装

npx codex-skill-weather-lookup

无需全局安装,临时下载并自动安装到 skills 目录。

方式 3:本地项目安装

npm install codex-skill-weather-lookup

安装到项目的 node_modules,同时自动复制到 skills 目录。

验证安装

安装完成后,检查 skill 是否已安装:

ls ~/.claude/skills/weather-lookup/
# 或
ls ~/.codex/skills/weather-lookup/

应该看到以下文件:

  • SKILL.md - skill 主入口
  • openai.yaml - 运行时元数据
  • lookup-guide.md - 查询指南
  • prompt-examples.md - 示例说明

使用方式

安装后,在 Claude Code 或 Codex 中直接询问天气相关问题,AI 会自动调用此 skill。

示例

  • "北京今天天气怎么样?"
  • "上海明天会下雨吗?"
  • "深圳这周末的天气预报"

目录结构

.
├── package.json          # npm 包配置
├── README.md             # 本文件(npm 页面说明)
├── SKILL.md              # skill 主入口(AI 执行入口)
├── openai.yaml           # 运行时元数据
├── install.js            # 自动安装脚本
├── lookup-guide.md       # 查询指南
└── prompt-examples.md    # 示例说明

开发者信息

  • Owner: qa-platform
  • Package: codex-skill-weather-lookup
  • Skill Name: weather-lookup
  • Version: 0.1.1

本地开发

如果你是从源码仓库开发,可以手动复制文件到本地:

# 复制到 Claude skills 目录
cp -r packages/weather-lookup/* ~/.claude/skills/weather-lookup/

# 或复制到 Codex skills 目录
cp -r packages/weather-lookup/* ~/.codex/skills/weather-lookup/

# 记得排除不需要的文件
rm ~/.claude/skills/weather-lookup/package.json
rm ~/.claude/skills/weather-lookup/README.md
rm ~/.claude/skills/weather-lookup/install.js

更新

更新到最新版本:

npm update -g codex-skill-weather-lookup
# 或
npm update codex-skill-weather-lookup

卸载

npm uninstall -g codex-skill-weather-lookup

注意:卸载 npm 包不会自动删除 skills 目录中的文件,需要手动删除:

rm -rf ~/.claude/skills/weather-lookup

许可证

MIT