Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/timurgaleev/vibestackWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/timurgaleev/vibestack/problem-solving)<a href="https://agentmods.dev/rules/timurgaleev/vibestack/problem-solving"><img src="https://agentmods.dev/badge/rules/timurgaleev/vibestack/problem-solving/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/timurgaleev/vibestack/problem-solving"><img src="https://agentmods.dev/badge/rules/timurgaleev/vibestack/problem-solving.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00691 | $0.00691 |
| Opus 5 | $0.00345 | $0.00345 |
| Sonnet 5 | $0.00138 | $0.00138 |
| Haiku 4.5 | $0.00069 | $0.00069 |
Grade A, and why
problem-solving scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Problem Solving
The single source for how to approach a problem before and during
implementation. CLAUDE.md carries only the summary.
Think Before Coding
Do not let an assumption pass as fact. Do not hide confusion. Surface trade-offs.
The most common failure is quietly picking one interpretation and running with it. Code built on a wrong assumption is thrown away in full, however much of it there is.
- State assumptions — one line of "proceeding on the assumption that X" is enough.
- Surface multiple readings — if the request is ambiguous, list two or three possible interpretations and ask which one. Do not silently choose.
- Offer the simpler alternative first — say so as soon as you see one. If the user's approach is over-complicated, push back with reasons.
- Stop when confused — "I'll ask if I get stuck partway" is not allowed. Name what is unclear and ask.
Goal-Driven Execution
Convert an imperative instruction into a verifiable exit condition before starting. Only a strong exit condition lets you work independently and judge your own completion.
| Vague instruction | Verifiable goal |
|---|---|
| "fix the bug" | write a test that reproduces it → make it pass → lock it in as a regression test |
| "refactor this" | the same test suite passes before and after |
| "make it faster" | define a measured baseline and a target number → verify by measuring |
| "clean it up" | meets the defined lint / typecheck / coverage bar |
| "make it work" | ask the user what "done" looks like, first |
For multi-step work, state the verification per step — 1. [step] → verify: [how]. A step with no defined verification does not belong in the plan.
Root Cause Analysis
Reproduce → Investigate → Root Cause → Fix → Verify
- Reproduce — capture the exact error message, stack trace, and environment.
- Investigate
- Read the error message carefully; it often contains the cause.
- Check logs for the pattern leading up to the failure.
- Trace the execution path from entry point to failure point.
- Verify assumptions with the smallest possible experiment.
- Root Cause
- Ask "Why?" until you reach the underlying issue.
- Separate symptom from cause ("API returns 500" vs "connection pool exhausted").
- Look for the systemic version of the problem, not the one-off.
- Fix — remove the cause, not the symptom. Mark any workaround as temporary and file the follow-up.
- Verify — add a regression test and scan for the same cause on other code paths.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 74 lines · 691 tokens per session scan A 47afa6f06835
problem-solving is a cursor rule published in the GitHub repository timurgaleev/vibestack (6 stars, last pushed yesterday), licensed MIT. It adds 691 tokens to every session, about $0.0035 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.
Other cursor rules, from other repositories
debugging
Debugging guidance for the Lineai MCP Server.
composer-debugging
Root-cause debugging — reproduce, trace data flow, test cheapest hypothesis, fix the cause not the symptom.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.