senclaw/thinking
app Phân tích, đánh giá vấn đề và ra quyết định 100% cục bộ theo hai phương pháp kinh điển: 5W (Who/What/When/Where/Why — làm rõ bản chất và nguyên nhân gốc) và 6 Mũ Tư Duy của de Bono (Trắng dữ kiện, Đỏ cảm xúc, Đen rủi ro, Vàng lợi ích, Xanh Lá sáng tạo, Xanh Dương tổng kết). Quản lý vòng đời vấn đề (mới → đang phân tích → đã quyết định → đóng), đề xuất giải pháp, chấm điểm 4 tiêu chí (lợi ích/rủi ro/khả thi/công sức) với điểm tổng hợp 0-100 do hệ thống tính, bảng so sánh xếp hạng, chốt quyết định kèm lý do và báo cáo markdown đầy đủ. AI (qua bridge SenClaw) điền nháp 5W, đội 6 mũ, đề xuất giải pháp, chấm điểm và tổng hợp khuyến nghị — nội dung người dùng viết không bao giờ bị AI ghi đè trừ khi ép force. App chỉ GHI SỔ phân tích — không tự thực thi quyết định nào.
Install
senclaw app install senclaw/thinking
Verifies sha512 and SenClaw’s signature before writing to disk.
Documentation
Tư Duy — 6 Mũ & 5W (SenClaw Space App)
Phân tích, đánh giá vấn đề và ra quyết định 100% cục bộ theo hai phương pháp kinh điển:
- 5W — Who / What / When / Where / Why: làm rõ bản chất vấn đề và nguyên nhân gốc trước khi bàn giải pháp.
- 6 Mũ Tư Duy (Edward de Bono) — ⚪ Trắng dữ kiện · 🔴 Đỏ cảm xúc · ⚫ Đen rủi ro · 🟡 Vàng lợi ích · 🟢 Xanh Lá sáng tạo · 🔵 Xanh Dương tổng kết: soi vấn đề từ sáu góc nhìn có kỷ luật.
Vòng đời một vấn đề: open → analyzing → decided → closed. Mỗi vấn đề có 5 ô 5W + 6 ô mũ (điền tay hoặc AI soạn nháp — AI không ghi đè nội dung người dùng trừ khi force), danh sách giải pháp được chấm 4 tiêu chí 0–10 (lợi ích / rủi ro / khả thi / công sức) với điểm tổng hợp 0–100 do hệ thống tính (lợi ích 35% + an toàn 30% + khả thi 25% + nhẹ công 10%), bảng so sánh xếp hạng, quyết định kèm lý do và báo cáo markdown đầy đủ.
Độ hoàn thiện phân tích (completeness) = 5W chiếm 40% + 6 mũ chiếm 60%, luôn suy ra từ dữ liệu thật.
AI chạy qua bridge SenClaw (llm.request) — app không bao giờ thấy khóa provider. App chỉ ghi sổ phân tích — không tool nào thực thi quyết định trong thế giới thật.
Build & run
# backend (từ repo root)
cargo build -p thinking
PORT=4650 ./target/debug/thinking
# web UI
cd apps/thinking/web && npm install && npm run build # hoặc npm run dev (proxy :4650)
# đóng gói zip cài vào SenClaw
apps/thinking/scripts/pack.shDữ liệu: ~/.senclaw/apps/thinking/thinking.db (đổi bằng SENCLAW_DATA_DIR).
MCP
Server thinking-mcp (HTTP + SSE tại /api/mcp/sse), tool prefix think_ — tên đầy đủ từ Claude Code: mcp__thinking-mcp__think_*. 21 tools:
| Nhóm | Tools |
|---|---|
| Tổng quan | think_status · think_dashboard · think_activity |
| Vấn đề | think_problem_add · think_problem_list · think_problem_get · think_problem_update · think_problem_delete |
| 5W | think_5w_set (tay) · think_5w_generate (AI, chỉ ô trống trừ khi force) |
| 6 mũ | think_hat_set (tay) · think_hats_generate (AI, một mũ hoặc cả sáu) |
| Giải pháp | think_solution_add · think_solutions_generate (AI) · think_solution_update · think_solution_delete |
| Đánh giá | think_solution_evaluate (AI hoặc chấm tay đủ 4 điểm) · think_compare |
| Kết luận | think_decide · think_analyze (trọn gói) · think_report |
REST
GET /api/status · GET /api/dashboard · GET /api/activity · GET|POST /api/problems · GET|POST /api/problems/:id · POST /api/problems/:id/{delete,w,w/generate,hats,hats/generate,solutions,solutions/generate,decide,analyze} · GET /api/problems/:id/{compare,report} · POST /api/solutions/:id{,/delete,/evaluate}
Tests
cargo test -p thinking # db + logic + llm(parse) + mcp schemaDeclared permissions
{
"network": [
"127.0.0.1"
],
"exec": [
"./thinking"
]
}Declared by the publisher, not enforced by SenClaw. The CLI compares this against what you already have installed and asks before anything widens.
Published by
The checkmark means SenClaw confirmed who this publisher is. It says nothing about whether their packages are safe.
About
| Owner | @senclaw |
| Latest | 1.0.0 |
| Downloads (30d) | 0 |
| Repository | github.com/NortonBen/senclaw-app ↗ |
Versions
| Version | Tags | Artifacts | Published |
|---|---|---|---|
1.0.0 | latest | darwin-arm64, linux-x64, win32-x64 | 2026-08-07 |
Artifacts · 1.0.0
| Platform | Format | Signature | File | Size |
|---|---|---|---|---|
darwin-arm64 | zip | unsigned | thinking-app.zip | 2875 KB |
linux-x64 | zip | unsigned | thinking-app.zip | 3213 KB |
win32-x64 | zip | unsigned | thinking-app.zip | 3128 KB |
Unsigned builds require sign-in to download and are not distributed to the auto-updater, because unsigned executables from a new domain get flagged as unsafe. Sign and notarize (macOS) or Authenticode-sign (Windows) to distribute publicly.
Auto-update endpoints
For a Tauri app — add to tauri.conf.json:
"endpoints": ["https://senclaw.bacnd.com/api/v1/updates/tauri/senclaw/thinking/{{target}}/{{arch}}/{{current_version}}"]For an electron-updater app — generic provider URL:
https://senclaw.bacnd.com/updates/senclaw/thinking/stable
Only signed/notarized artifacts are offered as updates — a client fetches the update without credentials, and unsigned binaries are not publicly downloadable.
Something wrong with this package?
Report this package
Report this package
Tell us what is wrong and a moderator will look at it. Be specific — a report that names a version and a behaviour can be checked in minutes; one that says “looks sketchy” cannot be acted on at all.
Not about this package? Contact us instead. What happens to a report is described in reporting and moderation.
API: GET https://senclaw.bacnd.com/api/v1/packages/senclaw/thinking