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

skill-image

v0.2.1

Published

Claude Code skill + CLI: AI 图像生成器。7 种模式(--app/--arch/--explode/--product/--scene/--detail/--slide),零依赖纯 ESM,自动读 API Key,白底 PNG 可直接拖入 PPT。

Readme

skill-image

Claude Code 技能包 + CLI:AI 图像生成器。7 种模式覆盖 PPT 配图全部场景,零依赖纯 ESM,自动读取 Fmode API Key。

快速使用

npx skill-image --app     "标题xxx,左侧导航,顶部指标卡"   应用界面  ← 最推荐
npx skill-image --arch    "标题xxx,从上到下五层"          架构图
npx skill-image --product "智能水杯三视图+爆炸图组合"      产品设计图
npx skill-image --explode "智能手表分层分解"               爆炸图
npx skill-image --scene   "法务团队深夜加班场景"           场景插图
npx skill-image --detail  "零件特写"                       细节图
npx skill-image --slide   "主标题/副标题"                  整页PPT

安装为 Claude Code 技能

npx skill-image@latest workspace   # 写入 ./.claude/skills/skill-image/
npx skill-image@latest install     # 写入 ~/.claude/skills/skill-image/

安装后可直接在 Claude Code 里说:「用 skill-image 生成一张架构图」。

环境变量

  • FMODE_API_KEY — Fmode API 密钥(必设)
  • SKILL_IMAGE_OUTPUT — 输出目录(默认当前目录)

凭据读取顺序

  1. FMODE_API_KEY 环境变量
  2. ANTHROPIC_AUTH_TOKEN 环境变量
  3. ~/.fmode/config.json 中的 api_key / FMODE_API_KEY / fmodeApiToken
  4. ~/.fmode/config.yaml
  5. /opt/data/.env、.env 文件

输出

纯白底 PNG,可直接拖入 PPT 使用。

链接

  • GitHub: https://github.com/fmodecn/skill-image
  • npm: https://www.npmjs.com/package/skill-image