Claude Code plugin · v0.10.0 · 🔥 HOT

Mindful AI
coding framework
AI โค้ด
อย่างมีวินัย

Discipline over cleverness. Works on any model tier — compensates for weaker reasoning with external structure. วินัยสำคัญกว่าความฉลาด ใช้ได้กับทุก model tier — มี structure ภายนอกชดเชยเมื่อ reasoning อ่อน

install in two lines ติดตั้งใน 2 บรรทัด

/plugin marketplace add kasidit-wansudon/kasidit
/plugin install kasidit@kasidit
claude-code
$ /plugin install kasidit@kasidit
  installed · 15 commands · 8 agents · 6 backend hooks wired
$ /kasi-init
  scaffolded .kasidit/ · mode=router · hub seeded
# Router classifies automatically
$ sudo fix auth bug
  [kasidit] kind=bug-fix mode=lite history=4/4 avg_turns=2.0
   dispatched 2 specialists · context isolated
   bug-hunter found root cause AuthService.php:142 [high]
  [kasidit-verify] [high] claim verified against Read call
✓ Done! patch ready ./app/Auth/AuthService.php
  [kasidit-record] +1 backend entry saved (route-memory.jsonl)
$ /kasi-review

Why Kasidit ทำไมต้อง Kasidit

Four primitives that force structure before the model is allowed to guess. 4 หลักที่บังคับ structure ก่อนปล่อยให้ AI เดา

Gravity Pattern

Two-tier knowledge. Global hub + project orbit. Nothing moves without confirmation. Knowledge 2 ชั้น hub กลาง + project orbit. ไม่มีอะไรย้ายโดยไม่ยืนยัน

Learn moreดูเพิ่ม

Checklists

Audit by mechanical list. Haiku executes faithfully when reasoning is weak. ตรวจตาม list. Haiku ทำตามได้ครบแม้ reasoning อ่อน

Learn moreดูเพิ่ม

Tier-aware

Opus reasons. Sonnet works. Haiku greps. Rules diverge by model. Opus คิด. Sonnet ทำ. Haiku grep. กฎต่างกันตามรุ่น

Learn moreดูเพิ่ม

Master Orchestrator

Main delegates. Specialists execute. Context isolation by design. Main delegate. Specialist execute. แยก context ตามแบบ

Learn moreดูเพิ่ม

v0.10 · /kasi off|router|lite|full|ultra

Five intensity modes 5 ระดับความเข้มข้น

The framework adapts to the work. Casual chat stays in router. Audits escalate to full. Security work jumps to ultra. You pick — or the heavy commands escalate temporarily and revert on completion. Framework ปรับตามงาน. คุยเล่น = อยู่ router. Audit = ขยับเป็น full. Security = ขึ้น ultra. เลือกเอง — หรือให้ heavy command escalate ชั่วคราวแล้ว revert เมื่อเสร็จ

/kasi

off

0 lines — skill inactive. Vanilla Claude Code behavior. 0 บรรทัด — ปิด framework ทั้งหมด ใช้ Claude Code ปกติ

For one-off throwaway scripts or debugging the plugin itself. สำหรับ script ทิ้ง หรือ debug plugin เอง

/kasi · default

router

~20 lines — thin classifier. Reads each message, recommends a mode, escalates only when the work needs it. ~20 บรรทัด — classifier บางๆ. อ่านทุกข้อความ แนะนำ mode, escalate เฉพาะตอนจำเป็น

Day-to-day default. Pulls .kasidit/INDEX.md + relevant knowledge/ on demand. ใช้ทุกวัน. ดึง .kasidit/INDEX.md + knowledge/ ที่เกี่ยวข้อง on-demand

/kasi

lite

~100 lines — Rule 1 (mission narrowing) + Rule 11 (confidence labels) always-on. No agent registry, no Gravity, no UI Override. ~100 บรรทัด — Rule 1 + Rule 11 always-on. ไม่มี agent registry / Gravity / UI Override

Routine coding with light discipline. Bug fixes, single-file edits. โค้ดธรรมดามีวินัยเบาๆ. Bug fix, แก้ไฟล์เดียว

/kasi · escalates here

full

~650 lines — all 11 core rules + 8 specialist agents + Gravity + UI Override. Master Orchestrator soft-gate active. ~650 บรรทัด — 11 rules + 8 agent + Gravity + UI Override. Master Orchestrator soft-gate ทำงาน

Audit, refactor >2 files, new feature, unfamiliar codebase. /kasi-review, /kasi-fix, /kasi-ui auto-escalate here. Audit, refactor หลายไฟล์, feature ใหม่, codebase ที่ไม่คุ้น. /kasi-review, /kasi-fix, /kasi-ui auto-escalate มาที่นี่

/kasi · max

ultra

full + verifier hook + master self-check every turn. Mission counter tighter (Opus 3 / Sonnet 2 / Haiku 1). full + verifier hook + master self-check ทุก turn. Counter เข้มกว่า (Opus 3 / Sonnet 2 / Haiku 1)

Rare — security audit, migration, compliance-critical. /kasi-security auto-escalates here. ใช้น้อย — security audit, migration, งาน compliance. /kasi-security auto-escalate มาที่นี่

Honest caveat: the precedence chain (session > project > global > default) is documented as a spec, not a runtime resolver. The plugin does not yet have code that merges three configs into a single resolved value — the AI and the user apply the chain by reading the files. Full Mode docs → หมายเหตุตรงๆ: precedence chain (session > project > global > default) เป็น spec ไม่ใช่ runtime resolver. Plugin ยังไม่มีโค้ดที่ merge 3 config → resolved value — AI กับ user อ่านไฟล์เองแล้วทำตาม. เอกสาร Mode เต็ม →

tier-aware behavior

Different rules per model tier กฎต่างกันตามระดับ model

Senior engineers reason from mental models. Haiku does pattern-match. Same framework, different scaffolding density — Haiku gets the most. Senior dev คิดจาก mental model. Haiku ใช้ pattern match. Framework เดียวกัน scaffolding ต่างกัน — Haiku ได้หนาที่สุด

O

Opus

deep reasoning · cross-file

  • Full framework enabledเปิด framework ครบ
  • Architecture suggestions OKเสนอ architecture ได้
  • Cross-file reasoning OKreason ข้ามไฟล์ได้
  • Module-scoped per agent1 agent ต่อ 1 module
  • Counter cap: 4 roundsCounter cap: 4 รอบ
  • Fan-out N up to 10Fan-out N ได้ถึง 10
  • Verifier pass optionalVerifier optional
S

Sonnet

solid reasoning · default workhorse

  • Full framework enabledเปิด framework ครบ
  • State assumptions explicitlyระบุ assumption ชัดเจน
  • Module-scoped per agent1 agent ต่อ 1 module
  • Counter cap: 3 roundsCounter cap: 3 รอบ
  • Default fan-out N=4 on large contextsFan-out N=4 default บน context ใหญ่
  • Verifier pass recommended for securityVerifier แนะนำสำหรับ security
H

Haiku

fast · pattern-match · checklist-driven

  • No architecture decisions — escalate to userห้ามตัดสิน architecture — ส่งให้ user
  • No creative refactor — only follow PATTERNS.mdห้าม refactor สร้างสรรค์ — ตามแต่ PATTERNS.md
  • 1 file per agent, not 1 module1 ไฟล์ต่อ agent ไม่ใช่ module
  • Confidence labels mandatoryConfidence labels บังคับ
  • Verifier pass mandatoryVerifier pass บังคับ
  • Counter cap: 2 roundsCounter cap: 2 รอบ
  • Fan-out N capped at 4Fan-out N ≤ 4
  • Hand-coded mockups forbidden — route to Claude Designห้ามเขียน mockup HTML เอง — ใช้ Claude Design

When raw reasoning is weak, external scaffolding takes its place. On Opus, discipline unlocks depth. On Haiku, discipline IS the reasoning. เมื่อ reasoning อ่อน ใช้ structure ภายนอกแทน. บน Opus, วินัยปลดล็อค depth. บน Haiku, วินัย = reasoning

two-tier knowledge · runtime hooks

Architecture สถาปัตยกรรม

A central knowledge hub (Centerlite), per-project orbit (Dcenterlite), runtime hooks fired by Claude Code events, and structured emit lines that grow the hub over time. Hub กลาง (Centerlite), orbit ต่อ project (Dcenterlite), hook runtime ที่ Claude Code ยิง events, และ emit line ที่ทำให้ hub โตขึ้นเรื่อยๆ

kasidit-architecture.txt
┌────────────────────────────────────────────────────────────────────┐
│  USER PROMPT                                                       │
└─────────────┬──────────────────────────────────────────────────────┘
              │
              ▼
┌────────────────────────────────────────────────────────────────────┐
│  CLAUDE CODE                                                       │
│                                                                    │
│   UserPromptSubmit ──► kasidit-route.py     ──► reads          │
│                          classify · query memory     route-memory  │
│                          inject 1-line recommendation              │
│                                                                    │
│   ┌──────────────────────────────────────────────────────────────┐ │
│   │  AGENT (Opus / Sonnet / Haiku)                               │ │
│   │                                                              │ │
│   │   reads SKILL.md @ Mode level (off/router/lite/full/ultra)   │ │
│   │   reads .kasidit/INDEX.md, MEMORY.md, PATTERNS.md            │ │
│   │   reads center/checklists/, knowledge/                       │ │
│   │   dispatches specialists w/ Dispatch Brief                   │ │
│   │   emits findings + [kasidit-log|pattern|memory|rule] lines   │ │
│   │                                                              │ │
│   └──────────────────┬───────────────────────────────────────────┘ │
│                      │                                             │
│   PostToolUse ─────► kasidit-verify.py   ──► flags [high]    │
│                       cross-check labels       w/o evidence        │
│                                                                    │
│   Stop ─────────────► kasidit-record.py   ──► appends to     │
│                       parse emit lines          center/*.jsonl     │
│                                                                    │
│   SessionStart ────► kasidit-update-check.sh (1×/UTC day)    │
│                  └─► kasidit-drift-check.sh  (Centerlite age) │
└──────┬───────────────────────────────────────┬─────────────────────┘
       │                                       │
       ▼                                       ▼
┌────────────────────────┐         ┌────────────────────────────────┐
│  DCENTERLITE            │         │  CENTERLITE (the hub)     │
│  <project>/.kasidit/   │ ◄─────► │  ~/.claude/skills/kasidit/     │
│                        │ pull /  │  center/                       │
│  ├── INDEX.md          │ promote │                                │
│  ├── RELATIONS.md      │ /sync   │  ├── config.json (Mode)        │
│  ├── MEMORY.md         │         │  ├── checklists/  (12 default) │
│  ├── PATTERNS.md       │         │  ├── knowledge/   (templates)  │
│  ├── DESIGN_SYSTEM.md  │         │  ├── patterns.jsonl            │
│  ├── MISSION.md        │         │  ├── route-memory.jsonl  ←hook │
│  ├── config.json       │         │  ├── memory.jsonl        ←hook │
│  ├── CHECKLISTS/       │         │  ├── rules.jsonl         ←hook │
│  ├── knowledge/        │         │  ├── missions.jsonl            │
│  ├── prototypes/       │         │  └── logs/YYYY-MM-DD.jsonl     │
│  └── rules.jsonl ←hook │         │                                │
└────────────────────────┘         └────────────────────────────────┘
        full fidelity                    lightweight, append-only
        per-project                      cross-project hub

How it works ทำงานอย่างไร

A mission moves through three gates. Each gate refuses if the prior is underspecified. ทุก mission ต้องผ่าน 3 ด่าน. ด่านถัดไปจะปฏิเสธถ้าด่านก่อนหน้ายังไม่ชัด

  1. 01

    Narrow the mission ตั้งเป้าให้ชัด

    Vague asks get refused. Pick from numbered options until the target is verifiable. โจทย์กำกวมจะถูกปฏิเสธ. เลือกจาก option ที่เป็นเลขจน verify ได้

  2. 02

    Dispatch specialists ส่งงานให้ specialist

    sudo <mission> fans out to 6 parallel specialists. Each gets isolated context and a brief. sudo <mission> กระจายให้ specialist 6 ตัวขนานกัน แต่ละตัวได้ context แยก + brief ของตัวเอง

  3. 03

    Synthesize with confidence รวมผลพร้อม confidence

    Findings tagged [high/medium/low/unsure]. [unsure] never silently guessed. ผลทุกข้อ tag [high/medium/low/unsure]. [unsure] ห้ามเดาเงียบเด็ดขาด

Examples in action ตัวอย่างการใช้จริง

Five real mission shapes — what you type, what the orchestrator does, what comes back. 5 แบบ mission ที่ใช้จริง — สิ่งที่พิมพ์, สิ่งที่ orchestrator ทำ, ผลที่ได้

01

Bug fix — N+1 query Fix bug — N+1 query

Single-file fix. Mandatory git log --grep + git log -S before any change (Rule 2.6). Fix file เดียว. ต้อง git log --grep + git log -S ก่อนเสมอ (Rule 2.6)

claude-code · /kasi-fix
$ /kasi-fix N+1 on GET /api/sales — page load < 300ms
  [kasidit] kind=bug-fix-single-file mode=lite
  [git] log --grep="N+1" → 0 hits · log -S "with(" → 3 hits in SalesController
   dispatch bug-hunter: SalesController.php scope
root cause: SalesController.php:142 missing ->with(['items']) [high]
  before: 47 queries · after: 3 queries · 312ms → 89ms
✓ Done! verified runtime · regression test added
  [kasidit-record] +1 entry → route-memory.jsonl
02

Code review — multi-file PR Code review — PR หลายไฟล์

Master delegates to audit-specialist --focus=quality. Findings tagged with confidence; [unsure] goes to user, never silently guessed. Master ส่งให้ audit-specialist --focus=quality. ผลแต่ละข้อ tag confidence; [unsure] ส่งให้ user ห้ามเดาเงียบ

claude-code · /kasi-review
$ /kasi-review PR #1247 — 5 files changed
  [kasidit] mode=full · escalate from router
   dispatch audit-specialist --focus=quality (1 agent / file × 5)
🔴 HIGH
  [high] UserService.php:88 race condition on session create
🟡 MED
  [medium] OrderRepo.php:54 N+1 pattern (not profiled)
  [medium] api.test.js:12 stale snapshot
❓ UNSURE — user review
  [unsure] DiscountCalc.php:103 rounding edge case — needs domain rule
verifier pass · 0 false positives
03

Security audit — checklist-driven Security audit — ขับด้วย checklist

Auto-escalates to ultra. Mechanical pass through checklists/security-php.md — no reasoning required, ideal for Haiku. Escalate ไป ultra อัตโนมัติ. ตรวจตาม checklists/security-php.md — ไม่ต้อง reasoning, เหมาะ Haiku

claude-code · /kasi-security
$ /kasi-security SalesController.php — only HIGH
  [kasidit] mode=ultra · checklist=security-php (28 items)
   1 agent + verifier pass
🔴 HIGH (filtered)
  [high] L:3708 SQL inject — $distributor_id concat in CALL proc
    fix: DB::select('CALL p(?)', [$distributor_id])
  [high] L:825 SQL inject _exportCancelIMEI — raw concat
    fix: binding via DB::select(?, [$imei])
verifier: both reproducible · ready to fix
  offer: export findings as one-pager via Claude Design? (y/n)
04

UI fix — override pattern UI fix — override pattern

Visual is truth. Cascade is noise. Scoped class + !important, one change per round, cache version bumped. Visual คือคำตอบ. Cascade คือเสียงรบกวน. Class scope + !important, แก้ทีละจุด, bump cache version

claude-code · /kasi-ui
$ /kasi-ui table แคบ ควรกว้างเท่า chart [screenshot]
  [kasidit] domain=ui · override mode
   grep max-width on .table + parents
found 3 constraints:
  #datatable max-width: 500px ← culprit
  #show-result max-width: 1000px (parent OK)
  .highcharts-figure max-width: 1000px (reference)
fix (1 change):
.kasidit-fix-table-width #datatable {
  max-width: 1000px !important;
}
  cache: v1.0.5 → 1.0.6 · clear + Cmd+Shift+R
waiting for screenshot to verify...
05

Multi-agent — sudo fan-out Multi-agent — sudo กระจายงาน

sudo <mission> = /kasi-multi 6 + skip clarifying Qs. Master narrates assumptions, dispatches 6 in parallel, synthesizes. sudo <mission> = /kasi-multi 6 + ข้าม clarifying. Master narrate assumption, ส่ง 6 ตัวขนาน, รวมผล

claude-code · sudo
$ sudo refactor 4 controllers — extract auth into middleware
  [kasidit] sudo · N=6 · assumption: middleware = ApiAuth namespace
   dispatch in parallel:
     architect-planner — middleware shape + DI strategy
     refactor-surgeon — UserController auth extract
     refactor-surgeon — OrderController auth extract
     refactor-surgeon — ProductController auth extract
     refactor-surgeon — ReportController auth extract
     test-writer — middleware regression suite
synthesis: 4 controllers cleaned, 1 middleware, 12 tests green
  diff: -184 lines · +52 middleware · context isolation preserved
✓ Done! runtime: all routes 200 · auth tests pass

Honest note: outputs above are representative shapes — actual responses depend on tier (Opus/Sonnet/Haiku), project state, and runtime evidence. หมายเหตุ: output ด้านบนคือรูปแบบโดยทั่วไป — ของจริงขึ้นกับ tier (Opus/Sonnet/Haiku), state ของ project, และผล runtime

target audience

Who it's for เหมาะกับใคร

Three personas. The framework adapts — different scaffolding density, different default Mode. 3 กลุ่มเป้าหมาย. Framework ปรับ — scaffolding ต่างกัน, Mode default ต่างกัน

👤

Solo dev / Freelance Solo dev / Freelance

Pain: AI hallucinates APIs, fabricates fixes, loops on ghost bugs. You spend half the time correcting it instead of shipping. ปัญหา: AI หลอก API, สร้าง fix ปลอม, วนใน bug ผี เสียเวลาแก้ AI มากกว่าทำงานจริง

Default Mode: router for daily work, escalate to full per audit / refactor. Mode default: router ใช้ทุกวัน, escalate full ตอน audit / refactor

Why it works: confidence labels surface what AI is unsure about; verifier hook flags untrusted [high] claims; git log --grep mandate stops re-regression bugs. ที่ work: confidence labels แสดงสิ่งที่ AI ไม่แน่ใจ; verifier hook แจ้งเมื่อ [high] ไม่มี evidence; git log --grep บังคับ ป้องกัน bug re-regression

🏢

Agency / Dev team Agency / ทีม dev

Pain: AI usage is uneven across the team. Senior wins, juniors get burned. No shared standard for "AI did this; verify before merge". ปัญหา: ทีมใช้ AI ไม่เท่ากัน. Senior ใช้ดี, junior โดนหลอก. ไม่มี standard กลาง "AI ทำ X; verify ก่อน merge"

Default Mode: lite always-on for the team. full on PR review. Mode default: lite always-on ทั้งทีม. full ตอน review PR

Why it works: Centerlite hub becomes the team's shared knowledge; PATTERNS.md codifies house style; checklists make audits reproducible across reviewers. ที่ work: Centerlite hub = shared knowledge ทีม; PATTERNS.md = house style; checklist ทำให้ audit reproduce ข้าม reviewer ได้

Cost-conscious + Haiku users คนใช้ Haiku ประหยัด token

Pain: Haiku hallucinates more than Opus, but Opus is 5–10× the cost. Most tasks don't need Opus, but Haiku output without scaffolding is unsafe. ปัญหา: Haiku หลอกมากกว่า Opus แต่ Opus แพง 5-10 เท่า. งานส่วนใหญ่ไม่ต้องใช้ Opus, แต่ Haiku ไม่มี scaffolding ก็ใช้ไม่ได้

Default Mode: lite always-on. Strict 1-file-per-agent. Mandatory verifier pass. Mode default: lite always-on. 1 file ต่อ agent เข้ม. Verifier pass บังคับ

Why it works: when reasoning is weak, the framework becomes the reasoning. Checklists tell Haiku what to look for; confidence labels tell it when to stop. ที่ work: เมื่อ reasoning อ่อน, framework เป็น reasoning เอง. Checklist บอก Haiku ว่าหาอะไร; confidence labels บอกเมื่อไหร่ควรหยุด

value proposition

Vanilla Claude Code vs Kasidit Claude Code ปกติ vs Kasidit

Same model. Different defaults. The difference is whether discipline is enforced or hoped for. Model เดียวกัน. Default ต่างกัน. ต่างที่วินัยถูกบังคับ หรือแค่หวัง

Scenario สถานการณ์ Vanilla Claude Code Claude Code ปกติ + Kasidit + Kasidit
"check my backend" "เช็ค backend" Starts reading files immediately, makes plausible-but-wrong findings. เริ่มอ่านไฟล์ทันที, เจอผลที่ดูดีแต่ผิด Refuses; gives 4 numbered narrowing options. No work until scope is verifiable. ปฏิเสธ; ให้ 4 ตัวเลือก narrow. ไม่ทำจนกว่าจะ verify scope ได้
"fix this N+1 bug" "fix N+1" Patches the symptom. Maybe re-introduces a bug fixed last quarter. แก้อาการ. อาจ re-regress bug ที่ fix ไปแล้ว Mandatory git log --grep + git log -S first. Earlier fix found → root cause known → minimal-change patch. บังคับ git log --grep + git log -S ก่อน. Fix เก่าเจอ → รู้ root cause → แก้น้อยที่สุด
Multi-file refactor Refactor หลายไฟล์ Main agent loads all files itself; context pollution; half-formed hypotheses leak into output. Main agent โหลดไฟล์เอง; context ปน; hypothesis ครึ่งๆ leak มาใน output Master delegates to refactor-surgeon + test-writer. Each gets isolated context + dispatch brief. Synthesis at the end. Master ส่ง refactor-surgeon + test-writer. แต่ละตัวได้ context แยก + brief. รวมผลตอนจบ
Security audit on Haiku Security audit บน Haiku Pattern-matches surface; lots of confident-sounding false positives. Match แค่ผิวเผิน; false positive เยอะแบบมั่นใจ Loads security-php.md checklist (12 default seeded). 1 file per agent. Mandatory verifier pass strips speculative findings. [unsure] goes to user. โหลด security-php.md checklist (12 default). 1 ไฟล์ต่อ agent. Verifier pass บังคับ กรองที่เก็ง. [unsure] ส่ง user
UI "looks weird" UI "ดูแปลก" Audits the entire CSS cascade; modifies legacy rules; cache shows old version, "fixed" looks broken. Audit CSS cascade ทั้งหมด; แก้ rule เก่า; cache แสดงของเก่า, "fix แล้ว" ดูพัง Refuses without visual target. Uses scoped class + !important. One change per round. Cache version bumped + hard-refresh confirmed. ปฏิเสธถ้าไม่มี visual target. ใช้ scoped class + !important. แก้ทีละจุด. Bump cache version + ยืนยัน hard-refresh
"Implement this feature" "ทำ feature นี้" Skips design phase, jumps to code, finds out half-way the schema doesn't fit. ข้าม design, dive โค้ด, ทำครึ่งทางพบ schema ไม่ fit Shows design first (endpoint + data flow + DB shape). Asks clarifying Qs. Code only after user confirms. แสดง design ก่อน (endpoint + data flow + DB). ถาม clarifying Q. Code หลังจาก user confirm
Token cost on Haiku audit Token cost audit บน Haiku High false positive rate → many re-runs → costs add up. False positive เยอะ → run ซ้ำ → cost บาน Router learns from route-memory.jsonl — past kind=audit-haiku succeeded at lite? Recommend lite next time. Compounding savings. Router เรียนจาก route-memory.jsonlkind=audit-haiku สำเร็จที่ lite? แนะนำ lite รอบหน้า. ประหยัดทบ

Commands Commands

Slash commands that launch a disciplined mission. Pick the one that matches your intent. Slash commands ที่เริ่ม mission แบบมีวินัย. เลือกตัวที่ตรงกับเจตนา

Specialist agents Specialist agents

Focused subagents the orchestrator dispatches. Each owns one checklist and returns tagged findings. Subagent เฉพาะทาง ที่ orchestrator ส่งให้. แต่ละตัวถือ 1 checklist + คืนผลที่ tag เรียบร้อย

Install ติดตั้ง

Run these two lines in Claude Code. First time only. พิมพ์ 2 บรรทัดนี้ใน Claude Code (ครั้งแรกเท่านั้น)

/plugin marketplace add kasidit-wansudon/kasidit
/plugin install kasidit

Update อัปเดต

Already installed. Pull the latest release. ติดตั้งแล้ว ดึงเวอร์ชั่นล่าสุด

/plugin marketplace update kasidit

Reload the session to pick up new commands. New in the latest release appears on the releases page. รีโหลด session เพื่อโหลด command ใหม่. ของใหม่ใน release ล่าสุดดูได้ที่ หน้า releases

Prompt log hook (optional) Prompt log hook (ทางเลือก)

Capture every prompt to ~/.claude/skills/kasidit/center/logs/. Hook ships with the plugin; installs at user scope. เก็บทุก prompt ลง ~/.claude/skills/kasidit/center/logs/. Hook มากับ plugin ติดตั้งที่ user scope

cp ~/.claude/plugins/marketplaces/kasidit/plugins/kasidit/hooks/kasidit-log.{sh,py} ~/.claude/hooks/ && chmod +x ~/.claude/hooks/kasidit-log.*

Then register the UserPromptSubmit hook in ~/.claude/settings.json — full steps in the Installation wiki. ลงทะเบียน hook UserPromptSubmit ใน ~/.claude/settings.json — ขั้นตอนเต็มดูที่ หน้า Installation wiki

First project Project แรก

Bootstrap .kasidit/ and wire auto-invoke. สร้าง .kasidit/ + ต่อ auto-invoke

/kasi-init

Evidence ผลทดสอบ

Measured on SWE-bench Lite and curated Kasidit task suites. Runtime is the judge. วัดบน SWE-bench Lite + ชุด task ของ Kasidit. Runtime เป็นตัวตัดสิน

60.7%

SWE-bench Lite strict PASS (34/56) SWE-bench Lite PASS เข้ม (34/56)

87.5%

valid fix rate อัตรา fix ที่ใช้ได้

100%

curated 7-task Opus valid rate ชุด 7 task บน Opus ผ่านทั้งหมด

0 FAIL

15-task curated run ชุด 15 task ไม่ fail เลย

objections answered

FAQ คำถามที่ถามบ่อย

Six things people ask before trying Kasidit. More on the wiki FAQ. 6 คำถามที่ถามก่อนลอง. เพิ่มเติมที่ wiki FAQ

Does Kasidit slow down every conversation? Kasidit ทำทุกการคุยช้าลงไหม?

No. The default Mode is router — a ~20-line classifier that runs on each message. For casual chat or simple edits, it stays out of your way. Heavy commands (/kasi-review, /kasi-security) auto-escalate to full only for the duration of that mission, then revert. ไม่. Mode default คือ router — classifier ~20 บรรทัดที่ทำงานทุก message. คุยเล่น หรือแก้ง่ายๆ มันไม่ขวาง. Heavy command (/kasi-review, /kasi-security) auto-escalate full เฉพาะระหว่าง mission นั้น แล้ว revert

Token cost on day-to-day chat is roughly the same as vanilla Claude Code. The router actually reduces cost over time by learning the shortest successful Mode per mission kind from route-memory.jsonl. Token cost ในวันธรรมดา ~เท่า Claude Code ปกติ. Router ลด cost เมื่อใช้นานๆ โดยเรียน Mode สั้นที่สุดที่ผ่านสำหรับ mission แต่ละ kind จาก route-memory.jsonl

Does it phone home? Send my code anywhere? มัน upload โค้ดไปไหนไหม?

No. Everything is local filesystem. The Centerlite hub is at ~/.claude/skills/kasidit/center/ on your machine. The prompt log writes to disk only. Backend hooks are stdlib-only Python with no network calls. ไม่. ทุกอย่างเป็น local filesystem. Centerlite hub อยู่ที่ ~/.claude/skills/kasidit/center/ ในเครื่อง. Prompt log เขียน disk เท่านั้น. Backend hooks ใช้ Python stdlib ไม่มี network call

The only outbound call: kasidit-update-check.sh hits GitHub Releases once per UTC day to compare versions. You can disable it by removing the SessionStart hook from settings.json. ที่ออก network: kasidit-update-check.sh ยิง GitHub Releases วันละ 1 ครั้ง เทียบ version. ปิดได้โดยลบ SessionStart hook จาก settings.json

Why bother on Opus? Isn't it smart enough already? ทำไมต้องใช้บน Opus? ฉลาดอยู่แล้วไม่ใช่เหรอ?

Smart ≠ disciplined. Opus still skips design when prompted to "just code", still hallucinates APIs when not version-pinned, still pollutes context when the master both plans and executes. ฉลาด ≠ มีวินัย. Opus ยังข้าม design ตอนถูกบอก "code เลย", ยังหลอก API ตอนไม่ pin version, ยัง pollute context ตอน master ทำทั้งวางแผน + execute

On Opus, Kasidit unlocks depth — multi-file architecture suggestions backed by actual reads, cross-file reasoning with isolated specialist contexts, dispatch briefs that prevent "do stuff" prompts. Same model, more reliable output. บน Opus, Kasidit ปลดล็อค depth — เสนอ architecture หลายไฟล์โดยอ่านจริง, reason ข้ามไฟล์ด้วย specialist context แยก, dispatch brief ที่ป้องกัน "do stuff". Model เดียว แต่ output น่าเชื่อถือกว่า

What's the difference between /kasi-review and /kasi-security? /kasi-review กับ /kasi-security ต่างกันยังไง?

Both dispatch audit-specialist (v0.10) but with different --focus= flags and different default Modes: ทั้งคู่ dispatch audit-specialist (v0.10) แต่ --focus= ต่าง + Mode default ต่าง:

  • /kasi-review--focus=quality, escalates to full. Multi-dimensional code review (correctness / readability / architecture / testability / error handling).
  • /kasi-security--focus=security, escalates to ultra. OWASP-aligned scan (injection / auth / data exposure / XXE / SSRF / access control / crypto / dependencies).

Use /kasi-review for general PR review. Use /kasi-security when the file touches auth, payments, file uploads, or admin endpoints. ใช้ /kasi-review สำหรับ review PR ทั่วไป. ใช้ /kasi-security เมื่อไฟล์เกี่ยว auth, payment, file upload, admin endpoint

Will it work with my project's specific stack? ใช้กับ stack ของ project ผมได้ไหม?

v0.10 ships 12 default checklists covering PHP / Node / Python / Go across code-review / security / perf lenses. /kasi-init auto-pulls the matches for your detected stack. v0.10 มี 12 default checklist ครอบคลุม PHP / Node / Python / Go × code-review / security / perf. /kasi-init auto-pull ที่ตรงกับ stack ที่ detect ได้

For other stacks: write your own checklist (the format is just a markdown list of "for each X, check Y"), drop it in .kasidit/CHECKLISTS/, and /kasi-promote if you want it in the global hub. Framework-specific behavior comes from PATTERNS.md (codebase patterns the AI is told to copy, not invent). Stack อื่น: เขียน checklist เอง (format = markdown list "for each X, check Y"), วาง .kasidit/CHECKLISTS/, /kasi-promote ถ้าอยากเข้า hub. พฤติกรรมเฉพาะ framework มาจาก PATTERNS.md (pattern ใน codebase ที่ให้ AI copy ไม่ใช่คิดเอง)

Is the SWE-bench number a competitive claim? เลข SWE-bench เทียบกับคนอื่นได้ไหม?

No. The 60.7% strict PASS / 87.5% valid fix rate is on a 56-task sample of SWE-bench Lite (out of 300), with line-match scoring. This is not apples-to-apples against: ไม่. 60.7% strict PASS / 87.5% valid fix rate วัดบน 56 task ของ SWE-bench Lite (จาก 300), ใช้ line-match scoring. ไม่ใช่ apples-to-apples เทียบกับ:

  • Copilot (GPT-4o) 72.5% on SWE-bench Verified — different split, different scoring
  • Claude Code Opus base 80.8% on real test — different methodology

Reported here for transparency, not as a marketing claim. The full 244-task run is scheduled. The number is a baseline for the framework itself, on whichever model + tier the test ran. รายงานเพื่อโปร่งใส ไม่ใช่ marketing. Full run 244 task scheduled. เลขนี้คือ baseline ของ framework เองบน model+tier ที่ test

More questions on the wiki FAQ, or ask in Discussions Q&A. คำถามเพิ่มเติม wiki FAQ, หรือถามใน Discussions Q&A