- Home
- Skills
- Agents & Orchestration
- decision-check
More screenshots
Works with the AI Agents you already use
Decision Check
A Claude Code skill for coding decisions: reads your codebase, checks the facts, and tells you what will break before you build.
Free
decision-check
Example session with this skill installed
decision check this: should we migrate our auth logic from the custom middleware in /src/auth to Auth0? We are hitting scaling issues with session management.
- Read your context and instructions
- Compiled the decision-check
- Generated the document
I have completed the decision check for the Auth0 migration. I analyzed the current middleware in /src/lib/auth.ts, checked recent Auth0 pricing tiers, and ran a pre-mortem on vendor lock-in.
Verdict: Migrate to Auth0 (Confidence: High)
What we found that changes the picture
Codebase finding: Your current session logic in src/lib/auth.ts:142 uses a local Redis instance that lacks a cluster config, which is the primary bottleneck, not the middleware itself.
Research finding: Auth0's B2C "Free" tier recently capped at 7,500 active users; your current users table count is 6,800. You will hit the $150/mo tier within ~2 months.
Codebase finding: There are 12 different calls to getCurrentUser() across the frontend that assume a specific JSON structure; Auth0's profile object will require a mapper to avoid breaking src/components/Profile.tsx.
Blast radius
- Files touched: 14 files across
/src/lib/auth,/src/api/middleware, and 8 UI components. - System impact: Removes the dependency on the local Redis session store.
Decision map
| Option | Bets on | Cheapest test |
|---|---|---|
| Keep Custom | Scaling Redis is easier than vendor integration | Configure Redis Cluster in dev and load test |
| Auth0 | Offloading security risk justifies the monthly cost | Implement the Auth0 provider in a single branch for one route |
Will it last?
Change test: If you move to a multi-region setup, Auth0 handles this natively. If you need to store custom PII that Auth0 forbids, you will need a hybrid database approach.
Pre-mortem
- Failure: Migration takes 3x longer due to legacy session cookie compatibility.
- Warning sign: You spend more than 4 hours writing "glue code" for the user object mapper.
Next steps
- Review the cost projection for the 10k-25k user bracket.
- Run the Redis Cluster config test suggested in the map.
- Check
decision-reports/2023-10-auth-migration.mdfor the full audit trail.
Report generated with 1 research agent and 1 code reviewer pass.
Profile.tsx
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Stop relying on shallow LLM advice for high-stakes technical and business choices. When you ask most agents for a recommendation, they give you a single, confident answer that often ignores codebase realities or critical assumptions. This skill changes that by producing a decision report that focuses specifically on what a single answer misses. It performs structured research, maps your code, and identifies the variables that would actually flip your decision.
What it does
- Codebase mapping analyzes ownership, state management, and blast radius for refactors or library migrations.
- Fact verification uses primary sources to check versioning, pricing, and known issues instead of relying on training data.
- Assumption triage identifies the 3-5 facts that would change the verdict and asks you for the ones only you know.
- Decision mapping breaks down what each option is betting on and suggests the cheapest way to test those bets.
- Pre-mortem analysis anticipates failure modes and provides warning signs to watch for after implementation.
- Independent review uses a sub-agent to re-check every claim against the code before the report reaches you.
How it works
- Context scan triggered by phrases like
decision check thisorpressure-test thisto identify the stakes. - Fact sorting to separate what is known, what needs research, and what requires user input.
- Multi-agent research where a code reviewer or researcher validates technical claims and external facts.
- Stress testing applying specific lenses like the "change test" to see if the design survives future requirements.
Frameworks & tools
This skill is designed for Claude Code, Cursor, and other agentic IDEs. It utilizes codebase search tools, web research agents, and filesystem access to decision-reports/.
Why this beats prompting it yourself
Standard prompts usually result in a "best guess" that sounds authoritative but lacks evidence. This skill forces a "claims ledger" approach where every technical assertion is independently verified against your actual files, preventing the hallucinated optimism typical of generic AI advice.
Use cases
- Architecture choices such as deciding between two libraries or microservice vs. monolith for a specific feature.
- Refactoring strategy to determine if a codebase migration is worth the blast radius and effort.
- Build vs Buy evaluating a specific vendor or tool against a custom internal implementation.
- High-stakes logic stress-testing a critical path or security-sensitive design before writing code.
Known limitations
Requires an environment with file-read and search capabilities. Best results require a sub-agent tool for independent review; without one, the agent performs a manual second-pass check.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 7 days ago
- Free to download with an account