Logo Decision Logger

Decision Logger

Cộng đồng
borghei
decision-logger

Bộ nhớ hai lớp cho các quyết định cấp điều hành, tách biệt quá trình cân nhắc thô với các quyết định đã được phê duyệt để tránh tạo ra sự đồng thuận tưởng tượng. Dùng khi ghi lại quyết định, xem lại các quyết định trước đây hoặc kiểm tra những việc cần làm đã quá hạn.

Add to TypingMind

Tổng quan

Nhà phát hànhborghei
Kho mãClaude-Skills
Tên kỹ năngdecision-logger
Sao
856
Bản fork
154
Tệp đi kèm
3
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được borghei công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Decision Logger trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/borghei/Claude-Skills/tree/main/c-level-advisor/decision-logger
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/borghei/Claude-Skills.git /tmp/Claude-Skills
mkdir -p .claude/skills
cp -r /tmp/Claude-Skills/c-level-advisor/decision-logger .claude/skills/decision-logger
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Decision Logger trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Decision Logger ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Decision Logger với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Decision Logger

Two-layer memory system for executive decisions. Layer 1 stores everything discussed. Layer 2 stores only what the founder approved. Future sessions read Layer 2 only -- this prevents hallucinated consensus from past debates bleeding into new deliberations.

Keywords

decision log, memory, approved decisions, action items, board minutes, conflict detection, DO_NOT_RESURFACE, decision history, overdue, supersession, decision search, decision tracking, accountability


Two-Layer Architecture

Why Two Layers?

Single-layer decision logs create a dangerous problem: agents read old debates, rejected proposals, and discarded ideas, then treat them as context for new decisions. This causes "hallucinated consensus" where rejected ideas gradually become accepted through repetition.

The two-layer system prevents this by strictly separating raw discussion from approved decisions.

Layer Architecture

Layer 1: Raw Transcripts (NEVER auto-loaded)
  Location: memory/board-meetings/YYYY-MM-DD-raw.md
  Contains: Full deliberation, all perspectives, rejected arguments
  Loaded: Only on explicit founder request
  Retention: Active 90 days, then archived

Layer 2: Approved Decisions (AUTO-LOADED every session)
  Location: memory/board-meetings/decisions.md
  Contains: Only founder-approved decisions and action items
  Loaded: Automatically at start of every board meeting (Phase 1)
  Mutation: Append-only. Decisions are never deleted, only superseded.

Layer Interaction Rules

RuleRationale
Layer 2 is append-onlyPreserves complete decision history
Layer 1 is never auto-loadedPrevents hallucinated consensus
Only Chief of Staff writes to Layer 2Single point of control
Agents never write directlyAll writes go through Chief of Staff after founder approval
Superseded decisions stay in Layer 2History is the record; nothing is deleted

Decision Entry Format

Standard Decision Record

markdown
## [YYYY-MM-DD] -- [DECISION TITLE]

**Decision:** [One clear statement of what was decided]
**Context:** [1-2 sentences on why this decision was needed]
**Owner:** [One person or role accountable for execution]
**Deadline:** [YYYY-MM-DD]
**Review Date:** [YYYY-MM-DD]
**Confidence:** [High / Medium / Low]
**Rationale:** [Why this option over alternatives, 1-2 sentences]

**User Override:** [If founder changed agent recommendation -- what and why]

**Rejected Alternatives:**
- [Proposal] -- [reason for rejection] [DO_NOT_RESURFACE]
- [Proposal] -- [reason for rejection]

**Action Items:**
- [ ] [Action] -- Owner: [name] -- Due: [YYYY-MM-DD]
- [ ] [Action] -- Owner: [name] -- Due: [YYYY-MM-DD]

**Dependencies:** [Other decisions this depends on]
**Supersedes:** [DATE of previous decision on same topic, if any]
**Superseded by:** [Filled retroactively if overridden later]
**Raw transcript:** memory/board-meetings/[DATE]-raw.md
**Tags:** [topic tags for search -- e.g., pricing, hiring, market-entry]

Completed Action Item Format

markdown
- [x] [Action] -- Owner: [name] -- Completed: [YYYY-MM-DD] -- Result: [one sentence]

Conflict Detection System

Before logging any new decision, the system checks for three types of conflicts.

Conflict Type 1: DO_NOT_RESURFACE Violation

A new decision matches a previously rejected proposal.

Detection: New proposal text similarity > 70% to a rejected proposal

Response:
  BLOCKED: "[Proposal]" was rejected on [DATE].
  Reason: [original rejection reason]

  To reopen: Founder must explicitly say "reopen [topic] from [DATE]"
  This cannot be overridden by agents.

Conflict Type 2: Topic Contradiction

Two active decisions on the same topic reach different conclusions.

Detection: Same tags + contradictory conclusions

Response:
  DECISION CONFLICT DETECTED

  Active decision (older): [DATE] -- [decision text]
  New decision: [DATE] -- [decision text]

  These decisions contradict each other.

  Options:
  1. Supersede old decision (new replaces old)
  2. Merge decisions (reconcile the conflict)
  3. Defer to founder (present both, let founder choose)

Conflict Type 3: Owner Conflict

Same action assigned to different people in different decisions.

Detection: Same action description, different owners

Response:
  OWNER CONFLICT

  Action: "[action text]"
  Decision 1 ([DATE]): Owner = [Person A]
  Decision 2 ([DATE]): Owner = [Person B]

  Resolve: Which owner is correct?

Conflict Resolution Decision Tree

START: Conflict detected
  |
  v
[What type of conflict?]
  |
  +-- DO_NOT_RESURFACE --> Block automatically. Only founder can reopen.
  |
  +-- Topic contradiction --> [Is the new decision from a board meeting?]
  |                           |
  |                           +-- YES --> Supersede old by default (board > individual)
  |                           +-- NO  --> Present both to founder for resolution
  |
  +-- Owner conflict --> [Which decision is more recent?]
                         |
                         +-- Flag to founder with both dates
                         +-- Default to more recent unless founder overrides

Decision Lifecycle

States

PROPOSED --> APPROVED --> ACTIVE --> [COMPLETED | SUPERSEDED | EXPIRED]

PROPOSED:    Agent synthesis presented to founder
APPROVED:    Founder explicitly approved
ACTIVE:      Being executed, action items in progress
COMPLETED:   All action items done, review confirmed success
SUPERSEDED:  New decision replaced this one
EXPIRED:     Review date passed without renewal

State Transitions

FromToTriggerWho
ProposedApprovedFounder says "yes" or "approve"Founder
ProposedRejectedFounder says "no" or "reject"Founder
ApprovedActiveAction items begin executionAutomatic
ActiveCompletedAll action items marked doneChief of Staff
ActiveSupersededNew decision on same topicChief of Staff
ActiveExpiredReview date passed, no renewalSystem alert

Clarify First

Before logging a decision, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • The exact decision statement (one clear sentence of what was decided) — this is the heart of the record; a vague statement makes the log useless for future conflict detection
  • Owner and deadline — every decision record needs a single accountable person and a date, or it cannot be tracked or surfaced as overdue
  • Rejected alternatives and why — these become DO_NOT_RESURFACE entries that prevent rejected ideas from re-entering future deliberations
  • Whether this supersedes a prior decision on the same topic — drives conflict detection and supersession tracking against the existing log

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Logging Workflow

Post-Decision Logging (after Board Meeting Phase 5)

Step 1: Founder approves synthesis
  |
Step 2: Write Layer 1 raw transcript
  --> memory/board-meetings/YYYY-MM-DD-raw.md
  |
Step 3: Run conflict detection against decisions.md
  |
  +-- Conflicts found --> Surface to founder, wait for resolution
  +-- No conflicts --> Continue
  |
Step 4: Append approved entries to decisions.md (Layer 2)
  |
Step 5: Set review dates and action item deadlines
  |
Step 6: Confirm to founder:
  "Logged: [N] decisions, [M] action items tracked, [K] flags added"

Action Item Management

Overdue Detection

At the start of every session, scan for:

  1. Action items past their deadline
  2. Decisions with review dates that have passed
  3. Decisions older than 90 days with no completion status

Alert Format

OVERDUE ITEMS (as of [today's date])

Action Items Past Deadline:
  1. [Action] -- Owner: [name] -- Due: [date] -- [X] days overdue
     From decision: [decision title] ([date])

  2. [Action] -- Owner: [name] -- Due: [date] -- [X] days overdue

Decisions Pending Review:
  1. [Decision title] -- Review was due: [date]
     Original decision: [summary]
     Prompt: "You decided [X] on [date]. Worth a check-in?"

Stale Decisions (> 90 days, no status update):
  1. [Decision title] -- Decided: [date] -- Last update: [date]

Action Item Priority Matrix

UrgencyImpactPriorityResponse
OverdueHighCriticalEscalate to founder immediately
OverdueLowHighFlag in next session
Due this weekHighHighSurface proactively
Due this weekLowMediumInclude in weekly summary
Due next monthAnyLowMonitor only

Search and Retrieval

Search Capabilities

Query TypeExampleReturns
By topic"pricing"All decisions tagged with pricing
By owner"CTO"All decisions and actions owned by CTO
By date range"Q4 2025"All decisions from Oct-Dec 2025
By status"overdue"All overdue action items
By conflict"conflicts"All detected contradictions
By tag"hiring AND engineering"Intersection of tags

Decision Summary Views

ViewContentsWhen Used
Last 10Most recent 10 approved decisionsDefault quick view
Full historyAll decisions, chronologicalAudit or deep review
By ownerGrouped by accountable personAccountability check
By topicGrouped by tagStrategic review
Overdue onlyOnly overdue itemsAction management
Active onlyOnly decisions with open action itemsExecution tracking

File Structure

memory/
  board-meetings/
    decisions.md           # Layer 2: append-only, founder-approved
    YYYY-MM-DD-raw.md      # Layer 1: full transcript per meeting
    archive/
      YYYY/                # Raw transcripts after 90 days

Integration with Other Skills

SkillIntegration Point
Chief of Staff (chief-of-staff)Manages the logging workflow, writes to Layer 2
Board Meeting (board-meeting)Triggers logging after Phase 5 approval
Strategic Alignment (strategic-alignment)Checks if decisions cascade properly to team goals
Executive Mentor (executive-mentor)Reviews stale decisions for re-evaluation
Org Health (org-health-diagnostic)Decision velocity as health indicator

Red Flags

  • Same topic discussed 3+ times without a logged decision -- decision avoidance
  • Action items consistently overdue by the same owner -- capacity or accountability issue
  • Decisions made without checking history -- risk of contradiction
  • Layer 1 being loaded without explicit request -- hallucinated consensus risk
  • No review dates set on decisions -- decisions age without re-evaluation
  • Rejected proposals resurfacing in new language -- DO_NOT_RESURFACE not enforced
  • Decision log not consulted at start of board meetings -- institutional memory not used
  • All decisions owned by one person -- bottleneck or delegation failure

Proactive Triggers

  • Review date passed on a decision -- prompt: "You decided [X] on [date]. Worth checking in?"
  • Action item overdue > 7 days -- escalate to founder with owner context
  • Same topic area has 3+ active decisions -- consolidation review needed
  • 30+ days without any logged decision -- is the system being used?
  • New decision proposed that matches DO_NOT_RESURFACE -- block and explain
  • Decision from 6+ months ago with no status update -- mark as stale, prompt review

Output Artifacts

RequestDeliverable
"Show recent decisions"Last 10 approved decisions with status
"What's overdue?"All overdue action items with owner and days past due
"Search decisions about [topic]"Filtered decision history by topic/tag
"Log this decision"Formatted decision entry with all fields
"Check for conflicts"Conflict scan against all active decisions
"Decision summary for board"Decision velocity, completion rate, open items

Tool Reference

1. decision_tracker.py

Tracks executive decisions with full lifecycle management (Proposed > Approved > Active > Completed/Superseded/Expired). Scans for overdue action items, stale decisions, and generates status summaries.

bash
python scripts/decision_tracker.py --input decisions.json --json
python scripts/decision_tracker.py --input decisions.json
FlagTypeDescription
--inputrequiredPath to JSON file with decision records (title, status, owner, deadline, action items, tags)
--jsonoptionalOutput in JSON format instead of human-readable text

2. decision_quality_scorer.py

Scores decision quality across 6 dimensions: framing (problem definition), alternatives (options considered), information (evidence quality), reasoning (logic soundness), commitment (action clarity), and metacognition (awareness of uncertainty). Generates improvement recommendations.

bash
python scripts/decision_quality_scorer.py --input decision_assessments.json --json
python scripts/decision_quality_scorer.py --input decision_assessments.json
FlagTypeDescription
--inputrequiredPath to JSON file with decision assessments (dimension scores 1-10, optional outcome data)
--jsonoptionalOutput in JSON format instead of human-readable text

3. decision_tree_builder.py

Builds decision trees with expected value analysis. Calculates optimal paths through probability-weighted outcomes, identifies highest-value decisions, and generates sensitivity analysis on key assumptions.

bash
python scripts/decision_tree_builder.py --input tree_data.json --json
python scripts/decision_tree_builder.py --input tree_data.json
FlagTypeDescription
--inputrequiredPath to JSON file with decision nodes (options, probabilities, outcomes, values)
--jsonoptionalOutput in JSON format instead of human-readable text

Troubleshooting

ProblemLikely CauseResolution
Same topic discussed 3+ times without a logged decisionDecision avoidance or no clear decision-making authorityForce a decision at next session; use decision tree builder to clarify options; assign explicit decision owner
Action items consistently overdue by same ownerOwner over-committed, lacks capacity, or accountability issueReview owner workload; redistribute if capacity issue; escalate to founder if accountability issue
Decisions made without checking historyDecision log not consulted at session start; no integration habitAutomate decision log loading at board meeting Phase 1; surface relevant past decisions proactively
Rejected proposals resurfacing in new languageDO_NOT_RESURFACE not enforced; team members unaware of prior rejectionEnforce conflict detection before logging; block proposals matching rejected items; require explicit "reopen" from founder
Decision log growing but never consulted for patternsLog treated as archive, not strategic toolRun quarterly decision review; analyze decision velocity, completion rate, and quality trends
All decisions owned by one personBottleneck or delegation failureDistribute ownership; use decision quality scorer to assess whether centralization improves or hurts quality
Decision quality scores low on "alternatives" dimensionTeam anchoring on first option instead of exploringRequire minimum 3 alternatives for decisions above a threshold; use decision tree builder to model options

Success Criteria

  • All board meeting decisions logged in Layer 2 within 24 hours of approval
  • Action item completion rate exceeds 80% within stated deadlines
  • Zero DO_NOT_RESURFACE violations (rejected proposals do not re-enter decision flow)
  • Decision review dates honored for 90%+ of active decisions
  • Decision quality score averages above 7/10 across all 6 dimensions
  • Conflict detection catches 100% of topic contradictions before new decisions are logged
  • Decision log consulted at the start of every board meeting session

Scope & Limitations

In scope: Two-layer decision memory architecture, decision entry and lifecycle management (Proposed > Approved > Active > Completed/Superseded/Expired), conflict detection (DO_NOT_RESURFACE, topic contradiction, owner conflict), action item tracking with overdue alerting, decision search and retrieval by topic/owner/date/status, decision quality scoring, and expected value analysis via decision trees.

Out of scope: CRM or project management tool integration (tools consume JSON exports), meeting transcription or recording, team-level task management (use project-management/ skills), strategic planning or OKR tracking (use strategic-alignment or ceo-advisor), and automated decision-making. This skill tracks and evaluates decisions; it does not make them.

Limitations: Conflict detection uses tag and text matching; semantically similar but differently worded proposals may not be caught. Decision quality scoring is retrospective and depends on honest self-assessment. Decision tree expected value calculations assume probabilities are estimable; highly uncertain environments may make probability assignment misleading. The two-layer architecture requires discipline to maintain; if Layer 2 is not consistently updated, institutional memory degrades.


Integration Points

  • chief-of-staff -- Manages the logging workflow; single point of control for Layer 2 writes
  • board-meeting -- Triggers decision logging after Phase 5 approval; decision log loaded at Phase 1
  • strategic-alignment -- Checks if decisions cascade properly to team goals and OKRs
  • executive-mentor -- Reviews stale decisions for re-evaluation; coaches on decision quality improvement
  • ceo-advisor -- Strategic decisions logged and tracked; decision patterns inform leadership coaching

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Decision Logger làm được gì?

Bộ nhớ hai lớp cho các quyết định cấp điều hành, tách biệt quá trình cân nhắc thô với các quyết định đã được phê duyệt để tránh tạo ra sự đồng thuận tưởng tượng. Dùng khi ghi lại quyết định, xem lại các quyết định trước đây hoặc kiểm tra những việc cần làm đã quá hạn.

Vì sao nên dùng Decision Logger trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Decision Logger là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Decision Logger trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/borghei/Claude-Skills/tree/main/c-level-advisor/decision-logger. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Decision Logger?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Decision Logger với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Decision Logger với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Decision Logger có miễn phí không?

Kỹ năng này được borghei phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇