Agent Plugins Marketplace
All plugins

thai-token-optimizer

v2.0.0

Thai Token Optimizer v2.0 — adaptive Thai token optimization for Claude Code using lifecycle hooks, compact Thai policy, MTP-aware compression guidance, quality checks, and safety preservation.

Claude Code1 Skill

By Dr.Kittimasak NaijitLicense: MIT47 GitHub starsUpdated 4 months ago

Directory evidence

Runtimes
Claude Code
Parsed components
1 skill or MCP entry
Source updated
May 17, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology

Install thai-token-optimizer for Claude Code

Installs for the current user
claude plugin marketplace add IchenDEV/agent-plugin-mkt
claude plugin marketplace update agent-plugin-marketplace
claude plugin install thai-token-optimizer@agent-plugin-marketplace

Paste and run these commands in a terminal with Claude Code. They add and refresh the PluginsMP catalog, then install this plugin.

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/kittimasak/thai-token-optimizer

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The repository root is the plugin root.

Plugin files

thai-token-optimizer/
├── .claude-plugin/plugin.json
└── skills/thai-token-optimizer/SKILL.md

Included Skills1

thai-token-optimizerskills/thai-token-optimizer/SKILL.md

Advanced Thai token optimization for coding agents with code-aware preservation.

Plugin manifests1

.claude-plugin/plugin.json
{
  "name": "thai-token-optimizer",
  "description": "Thai Token Optimizer v2.0 — adaptive Thai token optimization for Claude Code using lifecycle hooks, compact Thai policy, MTP-aware compression guidance, quality checks, and safety preservation.",
  "author": {
    "name": "Dr.Kittimasak Naijit",
    "url": "https://github.com/kittimasak"
  },
  "version": "2.0.0",
  "license": "MIT",
  "homepage": "https://github.com/kittimasak/thai-token-optimizer",
  "repository": "https://github.com/kittimasak/thai-token-optimizer",
  "keywords": [
    "claude-code",
    "hooks",
    "thai",
    "token",
    "prompt-compression",
    "productivity",
    "safety",
    "local-first",
    "mtp",
    "speculative-decoding",
    "quality-score",
    "coach-mode",
    "fleet-audit",
    "context-audit",
    "claude-plugin"
  ],
  "hooks": {
    "SessionStart": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/tto-activate.js\"",
            "timeout": 5,
            "statusMessage": "[TTO Stage 1/4] Detect Intent — loading Thai Token Optimizer v2.0"
          }
        ]
      }
    ],
    "UserPromptSubmit": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/tto-mode-tracker.js\"",
            "timeout": 5,
            "statusMessage": "[TTO Stage 1/4] Detect Intent — tracking TTO mode/profile/safety"
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/tto-pretool-guard.js\"",
            "timeout": 5,
            "statusMessage": "[TTO Stage 3/4] Preserve Critical — checking safety guard"
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/tto-posttool-summary.js\"",
            "timeout": 5,
            "statusMessage": "[TTO Stage 4/4] Output Compact — preparing compact tool summary"
          }
        ]
      }
    ],
    "Stop": [
      {
        "matcher": "",
        "hooks": [
          {
            "type": "command",
            "command": "node \"${CLAUDE_PLUGIN_ROOT}/hooks/tto-stop-summary.js\"",
            "timeout": 5,
            "statusMessage": "[TTO Stage 4/4] Output Compact — finalizing safely"
          }
        ]
      }
    ]
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[thai-token-optimizer on Agent Plugins Marketplace](https://pluginsmp.com/plugins/thai-token-optimizer)