← Back to Skills Marketplace
banxian87

Decision Advisor

by banxian87 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
114
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install decision-advisor
Description
Decision-making advisor using Tree of Thoughts for exploring options, analyzing trade-offs, and providing data-driven recommendations.
README (SKILL.md)

Decision Advisor

AI-powered decision advisor that uses Tree of Thoughts to explore multiple options, analyze trade-offs, and provide structured recommendations for complex decisions.


Use Cases

🎯 Technical Decisions

  • Technology stack selection
  • Architecture patterns
  • Build vs buy decisions
  • Tool evaluation

💼 Business Decisions

  • Product feature prioritization
  • Investment analysis
  • Strategic planning
  • Risk assessment

👥 Personal Decisions

  • Career choices
  • Education paths
  • Major purchases

Features

🌳 Option Exploration

  • Generate multiple alternatives
  • Consider non-obvious options
  • Explore different perspectives

⚖️ Trade-off Analysis

  • Pros and cons for each option
  • Risk assessment
  • Cost-benefit analysis
  • Long-term implications

📊 Structured Framework

  • Decision criteria definition
  • Weighted scoring
  • Sensitivity analysis
  • Recommendation with confidence level

Usage

const advisor = new DecisionAdvisor();

const decision = await advisor.advise({
  decision: 'Choose frontend framework for enterprise app',
  options: ['React', 'Vue', 'Angular'],
  criteria: [
    { name: 'Performance', weight: 0.3 },
    { name: 'Developer Experience', weight: 0.25 },
    { name: 'Ecosystem', weight: 0.25 },
    { name: 'Long-term Support', weight: 0.2 }
  ],
  context: 'Team of 20 developers, 5-year project lifespan'
});

console.log(decision.recommendation);
console.log(decision.analysis);

Example Output

## Decision Analysis: Frontend Framework Selection

### Options Evaluated
1. React
2. Vue
3. Angular

### Scoring Matrix

| Criteria              | Weight | React | Vue | Angular |
|-----------------------|--------|-------|-----|---------|
| Performance           | 30%    | 8.5   | 8.0 | 7.5     |
| Developer Experience  | 25%    | 9.0   | 8.5 | 7.0     |
| Ecosystem             | 25%    | 9.5   | 7.5 | 8.5     |
| Long-term Support     | 20%    | 9.0   | 7.0 | 9.0     |
| **Weighted Score**    |        | **8.95** | 7.85 | 7.95 |

### Recommendation

**React** is recommended with a weighted score of 8.95/10.

### Key Reasons
1. Largest ecosystem and community
2. Excellent developer experience
3. Strong corporate backing (Meta)
4. Proven at scale

### Risks & Mitigations
- **Risk**: Frequent breaking changes
- **Mitigation**: Use stable LTS versions, invest in testing

### Confidence Level: High (85%)

Architecture

Decision Request
    ↓
Tree of Thoughts Agent
    ├─ Generate options
    ├─ Explore variations
    └─ Identify criteria
    ↓
Evaluation Phase
    ├─ Score each option
    ├─ Analyze trade-offs
    └─ Assess risks
    ↓
Recommendation Engine
    ├─ Weighted scoring
    ├─ Sensitivity analysis
    └─ Confidence calculation
    ↓
Structured Report

Installation

clawhub install decision-advisor

License

MIT


Version

1.0.0


Created

2026-04-02

Usage Guidance
This skill appears coherent and light-weight. Two practical things to consider before installing: (1) It expects the host to provide an LLM implementation (this.llm.generate). The included default LLM simply returns '5' so you should supply a real LLM client (and the credentials that client requires) to get useful results. (2) Any sensitive context you pass into advise(...) may be sent to whatever LLM provider you configure — the skill itself doesn't store or exfiltrate secrets, but your configured LLM/provider could. Also note the code parses LLM text with simple regexes, so malformed LLM responses can lead to fallback/default behavior (not a security issue but can affect accuracy).
Capability Analysis
Type: OpenClaw Skill Name: decision-advisor Version: 1.0.0 The skill bundle implements a structured decision-making framework using the Tree of Thoughts methodology. The code in index.js focuses on generating options, defining criteria, and scoring alternatives via an LLM, with no evidence of data exfiltration, malicious execution, or prompt injection attempts.
Capability Assessment
Purpose & Capability
The name/description (Tree of Thoughts decision advisor) match the implementation: index.js implements option generation, criteria definition, scoring, and recommendation logic. There are no unexpected dependencies, environment variables, or external services declared.
Instruction Scope
SKILL.md describes the decision workflow and shows JS usage that matches index.js. The runtime instructions and code only use the provided LLM interface and do not instruct reading system files, env vars, or posting to external endpoints.
Install Mechanism
There is no install spec (instruction-only skill) and package.json is simple; nothing is downloaded or extracted. No high-risk install mechanism is present.
Credentials
The skill declares no required environment variables or credentials. The only external interaction is via this.llm.generate — the host must supply an LLM implementation and any associated credentials; the skill itself does not request secrets.
Persistence & Privilege
always is false and the skill does not modify other skills or system settings. It does not request permanent presence or elevated privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install decision-advisor
  3. After installation, invoke the skill by name or use /decision-advisor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Decision advisor with Tree of Thoughts for multi-criteria analysis
Metadata
Slug decision-advisor
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Decision Advisor?

Decision-making advisor using Tree of Thoughts for exploring options, analyzing trade-offs, and providing data-driven recommendations. It is an AI Agent Skill for Claude Code / OpenClaw, with 114 downloads so far.

How do I install Decision Advisor?

Run "/install decision-advisor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Decision Advisor free?

Yes, Decision Advisor is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Decision Advisor support?

Decision Advisor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Decision Advisor?

It is built and maintained by banxian87 (@banxian87); the current version is v1.0.0.

💬 Comments