Discover and explore top open-source AI tools and projects—updated daily.
kerlosOptimizing Thai AI responses for brevity and clarity
Top 88.9% on SourcePulse
Summary
Pordee is a Thai language optimization plugin for Claude Code, designed to drastically reduce LLM response token counts by intelligently removing non-essential words while preserving technical accuracy. It targets users interacting with LLMs in Thai, offering significant cost and efficiency benefits through concise, yet complete, communication.
How It Works
Pordee operates as a Claude Code plugin, intercepting and rephrasing Thai language outputs. It employs two main levels: 'Lite' removes polite particles (ครับ/ค่ะ) and hesitation fillers, while 'Full' (default) further strips redundant particles, nominalizers, and simplifies vocabulary for maximum brevity. This approach preserves crucial English technical terms, ensuring that core information remains intact. The plugin injects rules into the LLM's context for each session, with state persisted across sessions.
Quick Start & Requirements
Installation is straightforward via the Claude Code plugin marketplace:
claude plugin marketplace add kerlos/pordeeclaude plugin install pordee@pordee
Hooks register automatically upon installation. New sessions can immediately use the /pordee slash command or trigger keywords like "พอดี" to activate.Highlighted Details
/pordee-stats.DROP TABLE, rm -rf)./pordee-stats command to monitor current session and lifetime token usage and estimated cost savings.Maintenance & Community
This README does not detail specific contributors, sponsorships, or community channels like Discord or Slack.
Licensing & Compatibility
Licensed under MIT, permitting broad commercial use. Currently, Pordee is exclusively compatible with Claude Code (v1), with plans to support other programs in the future.
Limitations & Caveats
The plugin's current scope is limited to Claude Code (v1). It includes automatic safety deactivations for certain command types and multi-step processes where conciseness could lead to misinterpretation or errors.
1 month ago
Inactive
OpenLemur
blader