pordee is a Claude Code plugin with 2 hand-picked skills, indexed on Flowy in the Writing category.
> /plugin marketplace add kerlos/pordee> /plugin install pordee@pordee
ทำไมใช้คำเยอะ ตอบสั้นๆ ก็เข้าใจ
ได้แรงบันดาลใจมาจาก caveman — pordee เป็นรุ่นภาษาไทยที่ลดเฉพาะ output token โดยไม่เสียความถูกต้องทาง technical
pordee คือ Claude Code plugin สั่งให้ agent ตอบภาษาไทยกระชับ — ตัดคำสุภาพ (ครับ/ค่ะ/นะคะ), คำลังเล (อาจจะ/น่าจะ), และคำเชื่อมที่ไม่จำเป็นทิ้ง เก็บ technical term อังกฤษไว้ตามเดิม
ผล: ลด output token 60-75% เนื้อหาเท่าเดิม
ตรวจสอบ agent บนเครื่องที่มีอยู่และติดตั้งได้ทันที
macOS · Linux · WSL · Git Bash
curl -fsSL https://raw.githubusercontent.com/kerlos/pordee/main/install.sh | bash
Windows · PowerShell 5.1+
irm https://raw.githubusercontent.com/kerlos/pordee/main/install.ps1 | iex
npx skills add kerlos/pordee
สำหรับ agent ที่รองรับ skills registry (Cursor, Windsurf, Cline, Codex, ฯลฯ) เปิดใช้ต่อ session ด้วย /pordee
ดูคำสั่งเฉพาะ agent ทั้งหมดและ flags ต่าง ๆ ใน INSTALL.md
| คำสั่ง | ผล |
|---|---|
/pordee | เปิด default level (full) |
/pordee lite | โหมดเบา — ตัดคำสุภาพและ filler ออก แต่ grammar เต็ม |
/pordee full | โหมดเต็ม — ตัดให้สั้นที่สุด |
/pordee stop | ปิด |
/pordee-stats | ดูสถิติ token ของ session ปัจจุบัน |
/pordee-stats --share | สรุปสถิติ 1 บรรทัด (copy-paste ได้) |
พิมพ์คำเหล่านี้เป็นข้อความปกติในแชต — pordee จะเปิด/ปิดให้อัตโนมัติ ต้องเป็นข้อความทั้งบรรทัด ไม่ใช่ส่วนหนึ่งของประโยค
| Keyword | ผล |
|---|---|
พอดี | เปิด |
พอดีโหมด | เปิด |
พูดสั้นๆ | เปิด |
หยุดพอดี | ปิด |
พูดปกติ | ปิด |
/pordee liteตัดคำสุภาพ (ครับ/ค่ะ/นะคะ), คำลังเลใจ (อาจจะ/น่าจะ/จริงๆแล้ว), และคำทักทาย (ได้เลยครับ/แน่นอน) ทิ้ง แต่เก็บ grammar เต็ม อ่านแล้วยังเป็นภาษาไทยปกติ professional
/pordee หรือ /pordee full (default)ตัดเหมือน lite + ตัด particle ที่ซ้ำซ้อน (ที่/ซึ่ง/ว่า/อยู่/กำลัง) + ตัด nominalizer (การ-, ความ-) + ใช้คำสั้น (ดู ไม่ใช่ ตรวจสอบ) + ประโยคสั้นได้
Pattern: [ของ] [ทำ] [เหตุผล]. [ขั้นต่อ].
┌─────────────────────────────────────┐
│ Lite ████░░░░░░ 44% saved │
│ Full ███████░░░ 73% saved │
└─────────────────────────────────────┘
┌─────────────────────────────────────┐
│ Lite █████░░░░░ 50% saved │
│ Full ███████░░░ 74% saved │
└─────────────────────────────────────┘
┌─────────────────────────────────────┐
│ Lite █████░░░░░ 45% saved │
│ Full ████████░░ 75% saved │
└─────────────────────────────────────┘
┌─────────────────────────────────────┐
│ Lite █████░░░░░ 54% saved │
│ Full ████████░░ 80% saved │
└─────────────────────────────────────┘
┌─────────────────────────────────────┐
│ Lite ██████░░░░ 60% saved │
│ Full ████████░░ 84% saved │
└─────────────────────────────────────┘
┌─────────────────────────────────────┐
│ Lite █████░░░░░ 54% saved │
│ Full ████████░░ 80% saved │
└─────────────────────────────────────┘
~/.pordee/state.jsonenabled=true → inject กฎ pordee เข้า context ของ session/pordee, พอดี, หยุดพอดี, ฯลฯ)~/.pordee/state.json — ถาวรข้าม session/pordee-stats แสดง token usage ของ session ปัจจุบัน + ประมาณการ token ที่ประหยัดได้จากการใช้ pordee
พอดี Stats
──────────────────────────────────
Session: ...projects/demo/session.jsonl
Turns: 12
──────────────────────────────────
Output tokens: 8,450
Cache-read tokens: 2,100
──────────────────────────────────
Est. without pordee: 21,667
Est. tokens saved: 13,217 (~61%)
Est. saved (USD): ~$0.198
Savings est. from benchmarks/ (median per-task). Actual varies by task.
| คำสั่ง | ผล |
|---|---|
/pordee-stats | สถิติ session ปัจจุบัน + lifetime summary |
/pordee-stats --share | สรุป 1 บรรทัด — เช่น ⚡ Saved 13,217 output tokens (~$0.198) across 12 turns this session — pordee |
/pordee-stats --all | สถิติรวมทุก session (lifetime) |
/pordee-stats --since 7d | สถิติย้อนหลัง 7 วัน |
compression ratio ที่ stats ใช้มาจาก benchmarks/compression.json — สร้างจากการรัน prompt ชุดทดสอบภาษาไทย 8 ข้อ ผ่าน API แบบปกติ vs pordee แล้วคิด median
# รัน benchmark (ต้องมี ANTHROPIC_API_KEY)
export ANTHROPIC_BASE_URL=https://api.kimi.com/coding/v1
node benchmarks/run.js --level full
node benchmarks/run.js --level lite
หรือใช้ --dry-run สร้าง mock data สำหรับทดสอบ:
node benchmarks/run.js --dry-run --level full
บางสถานการณ์ การพูดสั้นเกินไปอันตรายหรือคนอ่านอาจเข้าใจผิด pordee จะปิดตัวเองชั่วคราว ตอบเป็นภาษาไทยปกติเต็มประโยค จบแล้วค่อยกลับมา
ถ้าผู้ใช้ต้องการให้อธิบายชัด ๆ พิมพ์คำต่อไปนี้ pordee จะหยุดและตอบยาวขึ้น:
| คำที่ผู้ใช้พิมพ์ | ความหมาย |
|---|---|
อะไรนะ | ฟังไม่ทัน ขอใหม่ |
พูดอีกที | ขอตอบซ้ำ |
อธิบายชัดๆ | ขอละเอียดกว่านี้ |
ขยายความ | ขอรายละเอียด |
นอกจากนี้ pordee จะหยุดเองเมื่อ:
DROP TABLE, rm -rf, git push --force, git reset --hard, git branch -Dหลังจบส่วนที่ต้องชัด pordee กลับมาโหมดเดิมทันที
MIT
pordee is a Claude Code plugin with 2 hand-picked skills, indexed on Flowy in the Writing category. Install it with the command on its page. It includes pordee-stats, pordee. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it