DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to add the same cost control to Codex or Copilot CLI with Token Economizer

Use each agent's plugin marketplace command and check status.

Short answer: For Codex run codex plugin marketplace add "$PWD/TokenEconomizer" then codex plugin add tokeneconomizer@tokeneconomizer; then start codex, choose Trust and continue, review the hooks, restart and check with $tokeneconomizer:status; For Copilot CLI run copilot plugin marketplace add "$PWD/TokenEconomizer" then copilot plugin install tokeneconomizer@tokeneconomizer. All steps.

Who it is forA team that uses Codex or the GitHub Copilot CLI instead of Claude Code.

The problemCost control tools are usually tied to one agent.

The outcomeToken Economizer running under Codex or Copilot CLI with the same mechanisms.

What you need first

  • Claude Code, Codex (0.141.0 or later), GitHub Copilot CLI or Pi
  • git
  • No API key of its own: model calls run through your own agent

Steps

  1. For Codex run codex plugin marketplace add "$PWD/TokenEconomizer" then codex plugin add tokeneconomizer@tokeneconomizer
  2. Start codex, choose Trust and continue, review the hooks, restart and check with $tokeneconomizer:status
  3. For Copilot CLI run copilot plugin marketplace add "$PWD/TokenEconomizer" then copilot plugin install tokeneconomizer@tokeneconomizer
  4. For Pi run pi install git:github.com/microsoft/TokenEconomizer and /te status

Prompt for your agent

Install TokenEconomizer for <codex|copilot|pi> following its README commands, then run its status command and show me the output.

Caveat. Codex before 0.141.0 does not run plugin hooks at all.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for microsoft/TokenEconomizer and "Add the same cost control to Codex or Copilot CLI"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer