AI-powered decision-making framework: 10+ methodologies, cognitive bias detection, strategic planning, career & business decisions. Use when user says "decide", "choose", "compare", "which one", "should I", "weigh options", "trade-off", "pros and cons", "help me pick", "evaluate", "select", "prioritize", "nên chọn cái nào", "chọn cái nào", "so sánh", "cân nhắc", "phân vân", "không biết chọn gì", or describes any choice between 2+ alternatives.
Help users make better decisions in minutes instead of hours by applying proven frameworks, detecting cognitive biases, and structuring the evaluation process.
Comprehensive decision-making framework for structured evaluation of options. Contains 10 decision frameworks, 8 decision type classifications, 12 cognitive biases with debiasing strategies, 10 analysis techniques, 8 domain-specific criteria templates, and 8 group facilitation techniques. Searchable knowledge base with BM25 ranking that auto-recommends frameworks, criteria, and bias warnings tailored to your specific decision type.
IMPORTANT: Detect the correct Python command first. Some systems use python3, others use python. Run:
python3 --version 2>/dev/null || python --version
Use whichever command succeeds (python3 or python) for ALL script calls below. If the system only has python (common on Windows), substitute everywhere you see in this document.
pythonpython3If Python is not installed at all, install it based on user's OS:
macOS:
brew install python3
Ubuntu/Debian:
sudo apt update && sudo apt install python3
Windows:
winget install Python.Python.3.12
Note: On Windows, Python 3 is typically available as
python(notpython3).
When user requests decision-making help (decide, choose, compare, evaluate, select, prioritize, trade-off, weigh options), follow this workflow:
Extract key information from user's decision description:
Always start with --plan to get comprehensive recommendations:
python3 scripts/search.py "<decision_description>" --plan [-p "Project Name"]
This command:
Example:
python3 scripts/search.py "choosing between AWS and Azure for cloud migration" --plan -p "Cloud Migration"
To save the plan for reference:
python3 scripts/search.py "<decision>" --plan --persist -p "Project Name"
This creates:
decision-plans/project-name/PLAN.md — Complete decision-making planUse when the plan's recommendation needs more detail, OR when user asks about a specific topic (e.g., "what biases should I watch for?"):
python3 scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
When to use domain searches:
| Need | Domain | Example |
|---|---|---|
| Choose a decision framework | frameworks | --domain frameworks "hypothesis uncertainty" |
| Classify the decision type | types | --domain types "binary strategic" |
| Identify cognitive biases | biases | --domain biases "confirmation sunk cost" |
| Select analysis techniques | analysis | --domain analysis "sensitivity break-even" |
| Get evaluation criteria | criteria | --domain criteria "technology vendor" |
| Plan group facilitation | facilitation | --domain facilitation "pre-mortem red team" |
Use when user has 2+ named options to compare (e.g., "A vs B vs C"). Generate a comparison matrix:
python3 scripts/search.py --matrix "AWS vs Azure vs GCP" [-c "cost,scalability,security"]
This generates a weighted comparison matrix with criteria auto-suggested from templates (or custom criteria via -c), scoring guide, and calculation instructions.
Use after reaching a conclusion. Creates a journal entry for future reflection and calibration:
# Create journal entry
python3 scripts/search.py --journal "Choosing cloud provider for Q3 migration"
# Review past decisions
python3 scripts/search.py --journal --review
# Update with actual outcome (weeks/months later)
python3 scripts/search.py --journal --update "choosing-cloud" --outcome "Chose AWS, migration completed on time, 15% under budget"
| Domain | Records | Use For | Example Keywords |
|---|---|---|---|
frameworks | 10 | Choosing a decision methodology | hypothesis, logic tree, weighted matrix, sensitivity, expected value, scenario, pros-cons, pre-mortem, reversibility, iterative |
types | 8 | Classifying the type of decision | binary, multi-option, resource allocation, strategic, operational, uncertainty, group, time-pressured |
biases | 12 | Identifying thinking errors to avoid | confirmation, anchoring, sunk cost, status quo, overconfidence, framing, availability, groupthink, planning fallacy, loss aversion |
analysis | 10 | Selecting analytical methods | sensitivity, break-even, decision tree, scenario, scoring, opportunity cost, risk-reward, bayesian, pre-mortem, reference class |
criteria | 8 | Getting evaluation criteria templates | technology, hiring, vendor, investment, market entry, product feature, organizational change, location |
facilitation | 8 | Planning group decision sessions | pre-mortem, red team, nominal group, debate, dot voting, anonymous input, devil's advocate, workplan |
User request: "We need to choose between building in-house, buying a SaaS solution, or hiring a development agency for our new CRM system."
python3 scripts/search.py "build vs buy vs outsource CRM system" --plan -p "CRM Decision"
Output: Complete plan with decision type classification (Multi-Option Selection), recommended framework (Weighted Criteria Matrix), Technology Selection criteria with weights, analysis techniques (Sensitivity Analysis, Opportunity Cost), bias warnings (Status Quo Bias, Sunk Cost Fallacy), and decision checklist.
# Get detailed framework guidance
python3 scripts/search.py "weighted criteria evaluation" --domain frameworks
# Check for relevant biases
python3 scripts/search.py "status quo sunk cost technology" --domain biases
# Get facilitation guidance for team decision
python3 scripts/search.py "structured debate team" --domain facilitation
python3 scripts/search.py --matrix "Build in-house vs Buy SaaS vs Hire agency"
python3 scripts/search.py --journal "CRM platform: build vs buy vs outsource" -p "CRM Decision"
Then: Synthesize the plan, searches, and matrix into a structured decision recommendation for the user, walking them through each step of the recommended framework.
The --plan flag supports two output formats:
# ASCII box (default) - best for terminal display
python3 scripts/search.py "market entry strategy" --plan
# Markdown - best for documentation
python3 scripts/search.py "market entry strategy" --plan -f markdown
--plan) before doing domain searches — the plan provides context for everything elseIf the Python scripts fail or are unavailable:
python3 --version or python --version — if neither is found, guide the user to install itsearch.py returns no results, try broader keywords or search a different domainsearch.py — this ensures rich results for any language