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 đề: openanalyzingdecidedclosed. 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.sh

Dữ 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ómTools
Tổng quanthink_status · think_dashboard · think_activity
Vấn đềthink_problem_add · think_problem_list · think_problem_get · think_problem_update · think_problem_delete
5Wthink_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ápthink_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ậnthink_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 schema

Declared 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

@senclawtrusted
benji
44 packages · 0 downloads · member since 2026-07 · GitHub since 2015-06

The checkmark means SenClaw confirmed who this publisher is. It says nothing about whether their packages are safe.

About

Owner@senclaw
Latest1.0.0
Downloads (30d)0
Repositorygithub.com/NortonBen/senclaw-app

Versions

VersionTagsArtifactsPublished
1.0.0latestdarwin-arm64, linux-x64, win32-x642026-08-07

Artifacts · 1.0.0

PlatformFormatSignatureFileSize
darwin-arm64zipunsignedthinking-app.zip2875 KB
linux-x64zipunsignedthinking-app.zip3213 KB
win32-x64zipunsignedthinking-app.zip3128 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