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

mind-models-skill

v0.1.3

Published

Mental models skill installer for Codex and Claude Code.

Readme

mind-models-skill

mind-models-skill 是一个面向 Claude CodeCodex 的思维模型 skill。它内置了 100 个常用思维模型,覆盖思考、沟通、学习、规划、执行、复盘、领导力、自我认知、情绪管理和营销等场景。

如果你经常会问这类问题,这个 skill 就适合你:

  • 这个问题该怎么分析?
  • 这个方案该怎么规划?
  • 怎么更高效地学习、沟通、复盘或做决策?
  • 面对拖延、情绪波动、职业选择或团队协作时,有哪些更系统的思考框架?

安装后,AI 会更容易在相关任务里调用这套思维模型资料;你也可以显式要求它使用 mind-models 这个 skill。

包含内容

  • SKILL.md:skill 主入口
  • references/:100 个思维模型的分类资料
  • evals/:基础评估样例
  • npx 安装器:一条命令安装到 Claude Code 和 Codex

安装

默认同时安装到 Claude CodeCodex

npx mind-models-skill

只安装到 Codex

npx mind-models-skill install --target codex

只安装到 Claude Code

npx mind-models-skill install --target claude

覆盖已有安装:

npx mind-models-skill install --force

预览将写入哪些目录:

npx mind-models-skill install --dry-run

安装位置

Claude Code

根据官方 skills 文档,Claude Code 的个人 skill 应安装在:

~/.claude/skills/mind-models/

这个目录里会包含:

~/.claude/skills/mind-models/SKILL.md
~/.claude/skills/mind-models/references/
~/.claude/skills/mind-models/evals/

Codex

Codex 安装到用户级 skill 目录:

$CODEX_HOME/skills/mind-models/

如果没有设置 CODEX_HOME,默认写入:

~/.codex/skills/mind-models/

使用

安装完成后,建议重启 Claude Code 或 Codex,让它们重新发现新安装的 skill。

在 Claude Code 中

你可以直接调用:

/mind-models

也可以自然地提问,例如:

  • “帮我用几个思维模型分析这个产品决策”
  • “用思维模型帮我拆解这个学习计划”
  • “我最近执行力差,帮我从目标、障碍和行动机制几个角度分析”

在 Codex 中

安装后,Codex 可以在相关任务中自动使用这份 skill。你也可以显式提到它,例如:

  • “Use the mind-models skill to help me plan this launch”
  • “请使用 mind-models skill 分析这个决策问题”

开发与发布

本项目同时是一个 NPM 包,便于通过 npx 安装。

本地验证:

npm run lint
npm run typecheck
npm test
npm pack --dry-run

发布:

git push origin main
npm publish

当前版本会把同一份 skill 目录分别复制到 Claude Code 和 Codex,避免维护两套不同的说明文件。升级安装时也会清理旧的 mental-models 目录,统一迁移到 mind-models