Log decisions, track reasoning, review outcomes. See where your judgment is sharp and where it needs work.
Use this skill when the user asks about:
Trigger phrases: "decision", "deciding", "should I", "log this decision", "track my decision", "what did I decide", "review my decisions", "decision journal", "prediction", "outcome", "how accurate am I", "overconfident", "lessons learned", "follow up on decision", "beslissing", "besluit", "keuze maken"
If the database does not exist yet, run the setup script:
bash setup.sh
This creates ~/.nex-decision-journal/ with the SQLite database and export directory.
The CLI tool is nex-decision-journal. All commands output plain text.
Log a new decision with full context:
# Minimal: just a title
nex-decision-journal log "Hire a junior developer"
# Full context
nex-decision-journal log "Hire a junior developer" \
--context "Team is overwhelmed. Current sprint velocity dropped 30%. Need more hands." \
--options "Hire full-time at 3K/month, Hire freelancer at 45/hour, Wait 3 months and reassess" \
--chosen "Hire freelancer at 45/hour" \
--reasoning "Full-time is too risky with current runway. Freelancer gives flexibility to scale down if revenue dips." \
--prediction "Freelancer will handle the backlog within 2 months and we'll convert to full-time by Q4" \
--confidence 7 \
--category hiring \
--stakes high \
--tags "team,capacity,budget" \
--follow-up 3m
# Quick log with just the essentials
nex-decision-journal log "Switch from Firebase to Supabase" \
--reasoning "Firebase costs are scaling badly" \
--prediction "Migration takes 3 weeks, saves 40% on hosting by month 2" \
--confidence 6 \
--category technical \
--follow-up 2m
Follow-up accepts: 1w, 2w, 1m, 2m, 3m, 6m, 1y, a number of days (e.g., 45), or an ISO date (e.g., 2026-09-01). Default: 90 days.
Show full details of a logged decision:
nex-decision-journal show 1
List all decisions with optional filters:
# All decisions
nex-decision-journal list
# Filter by status
nex-decision-journal list --status pending
nex-decision-journal list --status reviewed
# Filter by category
nex-decision-journal list --category hiring
# Filter by tag
nex-decision-journal list --tags budget
When the follow-up date arrives, record what actually happened:
nex-decision-journal review 1 \
--outcome "Freelancer delivered 80% of backlog in 6 weeks. Quality was good." \
--accuracy correct \
--notes "Slightly ahead of schedule" \
--lesson "Freelancers work well for defined backlogs. Less good for open-ended feature work."
Accuracy options: correct, partially_correct, wrong.
See which decisions are overdue for review:
nex-decision-journal pending
Full-text search across all decision fields:
nex-decision-journal search "freelancer"
nex-decision-journal search "pricing"
nex-decision-journal search "Firebase"
See your decision-making patterns:
nex-decision-journal stats
Shows: total decisions, prediction accuracy breakdown, average confidence, confidence by accuracy, overconfidence/underconfidence alerts, decisions by category and stakes, monthly volume.
Bias detection, accuracy by category, lessons learned:
nex-decision-journal reflect
Shows: accuracy by category, overconfident decisions (high confidence but wrong), underconfident decisions (low confidence but correct), and all lessons learned.
Update fields on an existing decision:
nex-decision-journal edit 1 --prediction "New prediction after more info" --confidence 8
nex-decision-journal edit 1 --tags "team,capacity,budget,q2"
nex-decision-journal edit 1 --follow-up 6m
Mark a decision as abandoned (never acted on):
nex-decision-journal abandon 3 --reason "Client cancelled the project"
See all tags used across decisions:
nex-decision-journal tags
Export to JSON or CSV for external analysis:
nex-decision-journal export json
nex-decision-journal export csv --status reviewed --output "reviewed_decisions.csv"
See decisions on a timeline:
nex-decision-journal timeline
nex-decision-journal timeline --start 2026-01-01 --end 2026-06-30
User: "I need to decide whether to raise my agency prices from 299 to 399 per month. Help me log this."
Agent runs: nex-decision-journal log "Raise retainer pricing from 299 to 399/month" --context "Current margins are thin at 299. Competitors charge 350-500. 3 clients out of 12 have mentioned they'd pay more for faster turnaround." --options "Raise to 399 for new clients only, Raise to 399 for everyone, Raise to 349 as compromise, Keep at 299" --chosen "Raise to 399 for new clients only" --reasoning "Grandfather existing clients to avoid churn. Test new price point on incoming leads." --prediction "New clients will still convert at 60%+ close rate. No existing client churn." --confidence 7 --category pricing --stakes high --tags "pricing,revenue,agency" --follow-up 3m
Agent: "Logged your pricing decision (ID: 5). You chose to raise to 399 for new clients only, with 7/10 confidence that conversion stays above 60%. I'll remind you to review the outcome in 3 months."
User: "How did my decisions turn out this quarter?"
Agent runs: nex-decision-journal stats
Agent: "Here's your Q1 summary. You logged 8 decisions. Of the 5 you've reviewed, you were correct on 3, partially correct on 1, and wrong on 1. Your average confidence was 6.4/10. You tend to be slightly overconfident on hiring decisions (2 were wrong despite 7+/10 confidence)."
User: "Show me decisions where I was overconfident"
Agent runs: nex-decision-journal reflect
Agent: "You have 2 overconfident decisions where you rated 7+/10 confidence but the prediction was wrong. Both were in the hiring category. The lesson from decision #3 was: 'Cultural fit matters more than technical skills for long-term hires.'"
User: "What decisions are due for review?"
Agent runs: nex-decision-journal pending
Agent: "3 decisions are overdue for review: pricing change (12 days overdue), new marketing channel (5 days overdue), and office lease renewal (2 days overdue). Want to review any of them now?"
User: "The pricing change worked out great. Close rate stayed at 65%."
Agent runs: nex-decision-journal review 5 --outcome "Close rate stayed at 65% with new 399 pricing. Revenue per new client up 33%." --accuracy correct --lesson "Grandfather existing, test new price on leads. Works every time."
Agent: "Outcome recorded for your pricing decision. Prediction was correct. Your overall accuracy is now 67% across reviewed decisions."
User: "I decided not to go through with the partnership deal after all"
Agent runs: nex-decision-journal abandon 7 --reason "Due diligence revealed financial red flags"
Agent: "Decision #7 marked as abandoned. Reason: due diligence revealed financial red flags."
User: "Search my decisions for anything about Firebase"
Agent runs: nex-decision-journal search "Firebase"
Agent: "Found 2 decisions mentioning Firebase: #4 (Switch from Firebase to Supabase, pending review) and #9 (Add Firebase Analytics to client dashboards, reviewed, prediction was partially correct)."
User: "Export all my reviewed decisions to CSV"
Agent runs: nex-decision-journal export csv --status reviewed
Agent: "Exported 12 reviewed decisions to ~/.nex-decision-journal/exports/decisions_export.csv."
User: "Show me a timeline of everything I decided this year"
Agent runs: nex-decision-journal timeline --start 2026-01-01
Agent: "Here's your decision timeline for 2026. January: 3 decisions (2 reviewed, 1 pending). February: 5 decisions (3 reviewed, 1 wrong, 1 pending). March: 4 decisions (all pending)."
All CLI output is plain text, structured for easy parsing:
[Decision Journal by Nex AI | nex-ai.be]When presenting output to the user, strip the footer line and present the information naturally.
~/.nex-decision-journal/. No telemetry, no analytics.abandon to mark unused decisions.pending command shows overdue reviews.lib/ is in the same folder as nex-decision-journal.py.nex-decision-journal list to verify decisions exist. Use nex-decision-journal log to add one.pending command checks if follow_up_date <= today. Run it regularly or integrate with a cron/scheduled task.bash setup.sh to recreate the directory structure.Built by Nex AI (https://nex-ai.be) - Digital transformation for Belgian SMEs.
Author: Kevin Blancaflor
共 1 个版本