Alexgreensh Token Optimizer
Audit, fix, and monitor Claude Code context window usage. Find the ghost tokens.
Alexgreensh Token Optimizer is an open-source Claude Code marketplace collection in Finance. It bundles 5 skills, 2 slash commands, and 0 subagents to extend Claude Code with verified install commands and live GitHub tracking.
How to Install & Test
Official Claude Code installation commands generated from verified marketplace manifests.
Automated Execution Notice
This plugin includes automated event hooks or MCP servers that execute code during your Claude Code sessions. Review what this plugin can run and only install from trusted repositories.
What this plugin can run:
- 5 contextual agent skill(s)
- 2 slash command(s)
- Automated lifecycle event hooks (run on turnstiles)
Installation Time: Running Claude Code marketplace commands resolves dependencies, AST verification, and hooks. This usually takes 10–30 seconds. Wait for the CLI confirmation before proceeding.
Run these slash commands inside your Claude Code interactive session:
Registers the author's plugin catalog with your Claude Code client:
/plugin marketplace add alexgreensh/token-optimizer
Installs the package into your chosen scope (user, project, or local):
/plugin marketplace add alexgreensh/token-optimizer
Reloads active plugins in your session without exiting:
/reload-plugins
Test or inspect the plugin locally using official Claude Code CLI commands:
git clone https://github.com/alexgreensh/token-optimizer.git
Loads the local plugin into this terminal session only:
claude --plugin-dir ./
claude plugin validate ./
claude plugin install ./
Copy this audit-and-install prompt and paste it into Claude Code or your AI coding assistant:
Please inspect the Claude Code marketplace at https://github.com/alexgreensh/token-optimizer. 1. Read the manifest (.claude-plugin/plugin.json or marketplace.json) and scan components (commands, skills, agents, hooks, and .mcp.json). 2. Summarize every hook lifecycle event, script, command, and external MCP server it defines. 3. Verify whether it requests API keys or accesses sensitive local paths. 4. Ask for my confirmation. Once approved, run: /plugin marketplace add alexgreensh/token-optimizer /plugin marketplace add alexgreensh/token-optimizer /reload-plugins
What's Inside This Package
Components declared in the plugin tree: skills, slash commands, dedicated subagents, lifecycle hooks, and MCP servers.
Agent Skills (5)
Custom Slash Commands (2)
/health /quickAutomated Event Hooks Included
This package installs lifecycle hooks that run automatically on agent startup, tool invocation, or command execution.
Overview & Documentation
Alexgreensh Token Optimizer — Audit, fix, and monitor Claude Code context window usage. Find the ghost tokens.
Includes 5 skills, 2 slash commands, hooks.
Add the marketplace with /plugin marketplace add alexgreensh/token-optimizer, then install any of its 3 plugins with /plugin install <name>@alexgreensh-token-optimizer.
Source: alexgreensh/token-optimizer (3017 GitHub stars as of 2026-11-18).
Frequently Asked Questions
Answers to common questions regarding Alexgreensh Token Optimizer compatibility, safety, and configuration.
Frequently Asked Questions
Direct answers to common questions about using these skills and tools.
How do I install Alexgreensh Token Optimizer in Claude Code?
Add the marketplace via "/plugin marketplace add alexgreensh/token-optimizer", then run "/plugin install token-optimizer@alexgreensh-token-optimizer". Finally, run "/reload-plugins" to activate the package in your current session.
What capabilities and components are included inside Alexgreensh Token Optimizer?
Alexgreensh Token Optimizer bundles 5 contextual skills, 2 custom commands, 0 subagents, automated event hooks, and 0 external MCP server connections.
Is Alexgreensh Token Optimizer safe to run on my machine?
This package is classified as "hooks-or-mcp" risk. It utilizes automated event hooks that execute during your Claude Code sessions. Review the repository before installing.
How do I test Alexgreensh Token Optimizer locally without permanent installation?
Clone the repository and run "claude --plugin-dir ./". This loads the plugin strictly for the active terminal session without changing your global settings.