@getmikie/cli

中文文档
1.1.184发布于 2026/11/14SEE LICENSE IN LICENSEES Module零依赖近 30 天下载 8565

Cost reduction for Codex and Claude Code: focused code context, MCP retrieval, and usage receipts.

原始使用文档
文档目录3 节
  1. Quickstart
  2. Everyday commands
  3. Other MCP clients

Mikie

Mikie lowers what Codex and Claude Code cost. It gives the agent focused code context through MCP retrieval, so it re-reads and retries less, and returns a usage receipt for every request. Check cost and task quality together; savings depend on the task and setup.

Reduce AI coding costs · Reduce ChatGPT Codex token usage · Pricing

Quickstart

You need Node.js 22 or newer on macOS (Apple Silicon), Linux x64 or Windows x64.

npm install -g @getmikie/cli@latest
mikie login
mikie setup codex      # or: mikie setup claude
mikie doctor

Then open Codex or Claude Code in your project folder and work as usual. Mikie connects that project automatically.

On Windows, if PowerShell says running scripts is disabled, install with npm.cmd install -g @getmikie/cli@latest instead.

Everyday commands

mikie savings history    # see what Mikie has saved you
mikie mode codex shadow  # try Mikie beside Codex without changing what it reads
mikie mode claude shadow # the same for Claude Code
mikie privacy review     # see what Mikie can read in your project
mikie update             # update Mikie
mikie --help             # every command

You can also tell Claude Code or Codex "turn on Mikie shadow mode" or "turn off Mikie shadow mode". Mikie switches itself and the agent confirms it.

Other MCP clients

Any MCP client that can launch a stdio server can run Mikie with mikie mcp. Mikie ships tested setup for Claude Code and Codex only.

Docs: https://getmikie.com/docs

版本与发布记录

@getmikie/cli 共发布 102 个版本,首次发布于 2026/08/27;过去 12 个月发布了 102 个版本。

版本发布日期距今
1.1.184latest2026/11/142 天前
1.1.1832026/11/142 天前
1.1.1822026/11/132 天前
1.1.1802026/11/132 天前
1.1.1782026/11/133 天前
1.1.1762026/11/133 天前

关于 @getmikie/cli 的常见问题

@getmikie/cli 是什么?

Cost reduction for Codex and Claude Code: focused code context, MCP retrieval, and usage receipts.

如何安装 @getmikie/cli?

在项目目录运行 npm install @getmikie/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 mikie,可以用 npx mikie 直接运行。

@getmikie/cli 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/getmikie__cli 是否存在。

@getmikie/cli 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@getmikie/cli 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=22。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@getmikie/cli 可以商用吗?

@getmikie/cli 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@getmikie/cli 的下载量有多少?

根据 npm 官方下载统计,@getmikie/cli 在 2026/10/17 – 2026/11/15 这 30 天内被下载 8,565 次,日均约 286 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@getmikie/cli 还在维护吗?

最新版本 1.1.184 发布于 2026/11/14(2 天前);至今共发布 102 个版本,其中过去 12 个月发布了 102 个;首次发布于 2026/08/27。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。