skills/decision-support/SKILL.md
Decision support with memory-backed context. Retrieves past decisions, journal history, and relevant facts before answering questions that involve a choice or tradeoff. Keywords: should I, which is better, tradeoff, compare, decide, choose, option, alternative, pros and cons, recommend
npx skillsauth add avifenesh/cairn decision-supportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Triggered when the user's question involves a choice, tradeoff, or recommendation.
Before answering, gather context from memory and past sessions so the recommendation is grounded in what Avi already knows and has decided before.
Identify the core choice being made:
Past decisions (cairn.deepSearch):
cairn.deepSearch("<decision topic> decision choice tradeoff")
Look for: previous decisions on this exact topic, related decisions, documented preferences.
Journal history (cairn.journalSearch):
cairn.journalSearch("<topic keywords>")
Look for: sessions where this topic came up, outcomes of previous choices, context that led to past decisions.
Facts and preferences (cairn.searchMemory):
cairn.searchMemory("<topic> preference constraint requirement")
Look for: hard rules that eliminate options, preferences that weight options, relevant facts about the domain.
Structure the response as follows:
DECISION BRIEF: [Topic]
Question: [Restate the question clearly]
Prior Decisions on This Topic [What was decided before, when, and why — from deepSearch and journalSearch. If nothing found: "No prior decisions found."]
Context Then vs Now [If prior decisions exist: what has changed since then? New constraints, new options, new information.]
Tradeoffs | Option | Pros | Cons | |--------|------|------| | [A] | ... | ... | | [B] | ... | ... |
Recommendation [Clear recommendation with brief rationale. Ground it in the retrieved preferences/constraints. If preferences conflict with the current situation, call it out explicitly.]
Confidence: [High / Medium / Low] — [one sentence explaining why]
data-ai
Detect agent-cairn PRs that have stalled (no activity >=90 min) and classify the failure mode to route to appropriate recovery agent.
tools
Post-install skill adaptation: read a newly installed SKILL.md, fix environment-specific references (paths, accounts, tool names), assign the skill to relevant agent types, and propose an AGENTS.md update. Triggered automatically after cairn.installSkill completes.
data-ai
Monthly self-improvement brief for Cairn. Queries error_patterns, action_exemplars, experiment_windows, and session_journal to synthesize what Cairn learned, where it failed, and 3 concrete proposals for Avi to approve. Run on the 1st of each month. Keywords: growth brief, monthly review, self-improvement, what did cairn learn, how is cairn doing, monthly report
development
Generate content drafts when a PR is merged or significant code ships. Produces a Twitter/X thread, blog post outline, and changelog entry from PR title, changed files, and commit messages. Keywords: content, tweet, blog, changelog, announce, write about, PR merged, shipped, released, draft post, social, thread