Borrowing it
Nothing to install: this file belongs to HoangTheQuyen/think-better. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/HoangTheQuyen/think-better/main/.agents/skills/code-solving/SKILL.mdgit clone --depth 1 https://github.com/HoangTheQuyen/think-betterWrote 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/skills/hoangthequyen/think-better/code-solving)<a href="https://agentmods.dev/skills/hoangthequyen/think-better/code-solving"><img src="https://agentmods.dev/badge/skills/hoangthequyen/think-better/code-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/skills/hoangthequyen/think-better/code-solving"><img src="https://agentmods.dev/badge/skills/hoangthequyen/think-better/code-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.00215 | $0.03578 |
| Opus 5.5 | $0.00086 | $0.01431 |
| Sonnet 5.5 | $0.00043 | $0.00716 |
| Haiku 4.5 | $0.00021 | $0.00358 |
Grade A, and why
code-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 19d ago.
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 — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal
Make code changes the way a careful senior engineer does: define done before coding, map the change, work in small verified steps, and prove the result with evidence instead of claiming it.
code-solving
A 7-step method (Define → Decompose → Prioritize → Plan → Execute → Verify → Communicate) applied to 12 task types: debug, feature, refactor, performance, flaky-test, incident, migration, review, test, explain, security and quick-fix. Every step has a gate: a concrete piece of evidence that must exist before moving on. The knowledge base has 149 records: debugging techniques, change techniques (feature flags, expand-contract, strangler fig…), testing strategies, design principles, engineering biases, a review checklist, hand-off templates and 44 common error messages across languages with their likely causes. The script also detects the project's own test, lint and build commands.
Prerequisites
Detect the Python command first: python3 --version 2>/dev/null || python --version. Use whichever works (python on most Windows machines) in every command below. The scripts use only the standard library. If neither works, tell the user that Python 3.9+ is needed and ask before installing anything; do not install it yourself.
Running the Scripts
Run every command from the project root with the path shown, e.g.
python3 .agents/skills/code-solving/scripts/search.py ... (the installer adjusts this path for
your AI tool). Saved plans are written to the project, never inside the skill folder.
Saving again never overwrites files that already exist (they hold your notes); add --force
to replace them.
Passing the user's text
When the query is the user's own words (a request, an error message, a pasted log), pass it on
stdin with --stdin instead of quoting it, so quotes, backticks and $ never reach the shell.
Every example below does this.
Use exactly this delimiter, THINK_BETTER_EOF_7f3a, quoted as shown:
python3 .agents/skills/code-solving/scripts/search.py --stdin --plan <<'THINK_BETTER_EOF_7f3a'
<the user's text, unchanged>
THINK_BETTER_EOF_7f3a
What ships with it
16 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- data/artifacts.csv 3.1 KB
- data/biases.csv 4.4 KB
- data/changes.csv 5.5 KB
- data/debugging.csv 6.8 KB
- data/errors.csv 22 KB
- data/principles.csv 4.4 KB
- data/review-checklist.csv 3.3 KB
- data/steps.csv 3.6 KB
- data/task-types.csv 21 KB
- data/testing.csv 5.2 KB
- PROMPT.md 14 KB
- scripts/advisor.py 26 KB runs code
- scripts/context.py 23 KB runs code
- scripts/core.py 27 KB runs code
- scripts/search.py 10 KB runs code
- scripts/workspace.py 13 KB runs code
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.
- 19d ago First seen · 236 lines · 215 tokens per session scan A 312a8481e6f5
code-solving is a skill published in the GitHub repository HoangTheQuyen/think-better (125 stars, last pushed 6d ago), licensed MIT. It adds 215 tokens to every session and 3,578 once invoked, about $0.0009 per session on Opus 5.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-10-09.
Other skills, from other repositories
agent-qa-debug-fix
Debug, patch, and verify failed Agent QA runs from MCP evidence, artifacts, logs, and local code without hiding product or infrastructure defects.
agent-qa-result-triage
Triage failed Agent QA runs with MCP evidence, artifacts, logs, fixed failure categories, confidence, and actionable next steps.
ulw-qa
This is an OMH ultraqa workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
evidence-audit
Evidence-led audit/fix rounds for any codebase in any language. Finds only defects that a runnable proof reproduces on current code, applies the narrowest in-scope patch, verifies with a second proof, promotes high-risk proofs to permanent regression tests, and reports exact validation results. Use whenever the user…
debugging
Use this skill when something is broken and the cause is unknown — a failing test, a crash, an error message, wrong output, a regression, a hang, or behaviour that differs between environments — and it has to be found and fixed at the root. Also use it to build the failing proof for a suspected defect before fixing…
squid-triage-issue
Bug intake — localise the suspected code, capture a deterministic reproducer, and emit a groomed bug task with a regression-test acceptance criterion, ready for /squid-implement-task or the full pipeline.