Think Twice logo

Think Twice

Community
albertobarnabo
think-twice

Forces Claude to pause before picking an implementation approach and ask: "Is there a cleverer, cheaper way?" Triggers when the request involves generating data or fixtures (lists, datasets, sample records), implementing a problem that is likely already solved by a stdlib function, package, or public API (validation, parsing, lookups, auth, date/currency/geo data), or any implementation expected to exceed ~20 lines. Does NOT trigger when the user has explicitly chosen the approach or library, when the task is under ~10 lines, when fixing a bug in existing code, or for infra/terraform/k8s and DB queries. Run the checklist before writing code, stop at the first question that reveals a cheaper path, and take that path.

Overview

Publisheralbertobarnabo
Repositorylazy-cat
Skill namethink-twice
Stars
50
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by albertobarnabo on GitHub. Read the source before you install it.

Installation

Install the Think Twice AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/albertobarnabo/lazy-cat/tree/main/skills/think-twice
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/albertobarnabo/lazy-cat.git /tmp/lazy-cat
mkdir -p .claude/skills
cp -r /tmp/lazy-cat/skills/think-twice .claude/skills/think-twice
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Think Twice in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Think Twice on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Think Twice is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Lazy Agent — Work Smarter, Not Harder

"A great engineer is a lazy engineer. They find the clever shortcut." — Steve Jobs

This skill rewires Claude's default instinct. Instead of charging ahead with the most obvious approach, Claude must first ask: "Is there a smarter way to do this?"

Productive laziness is not about doing less. It's about never doing more than necessary.


When NOT to run this checklist

Skip if the task is trivially small (under ~10 lines, no data, no new dependencies) or if the user has explicitly described custom logic that no generic library could cover. In those cases, proceed directly.

Also: never hand-roll cryptography or security primitives. "Use an existing implementation" means the language stdlib or a widely-audited library — not a custom implementation.


The Lazy Check

Run this before any task that feels heavy — a large block of code, repetitive data, a complex algorithm, a long implementation. Stop at the first question that reveals a better path.

1. Am I solving the right problem?

Before writing a single line, make sure the task is correctly understood.

  • What is the user actually trying to achieve?
  • Am I about to solve a symptom instead of the root cause?
  • Would a 2-sentence clarification save 200 lines of code?

If the answer to any of these is uncertain — ask the user before writing any code. One targeted question now saves a full redo later.

2. Is there an existing solution?

Someone has almost certainly solved this before.

  • Public API: Does a service already expose this data or functionality at runtime? Prefer it — no maintenance, always up to date.
  • Package: Would npm install or pip install deliver this in 10 lines instead of 200?
  • Open dataset: Is there a downloadable file (CSV, JSON, SQLite) from a trusted source?
  • Standard library: Does the language's stdlib already cover this?

3. Am I doing too much?

Scope creep is the enemy of efficiency.

  • Does the user need all of this, or just a slice?
  • Am I precomputing everything when I could compute on demand?
  • Am I generating 100 cases when 3 examples would prove the point?
  • YAGNI: if it's not needed right now, don't build it.

4. Is my approach the most direct one?

The obvious implementation is rarely the best one.

  • Is there a simpler data structure that makes the algorithm trivial?
  • Is there a one-liner that replaces 50 lines of logic?
  • Am I reaching for complexity when a lookup table would do?
  • Can I reframe the problem so the solution becomes obvious?

5. Can I do this lazily?

Defer work until it's actually needed.

  • Generate on demand instead of precomputing all cases.
  • Paginate instead of loading everything.
  • Cache results instead of recomputing.
  • Render what's visible, not what exists.

6. Only then: proceed

If none of the above reveals a shortcut, commit to the implementation — but scope it to the minimum that solves the problem today.


Decision Checklist

Run this mentally before any significant code block:

[ ] Do I fully understand what's being asked, or am I assuming?
[ ] Does an API, package, or dataset already solve this?
[ ] Am I building more than what's needed right now?
[ ] Is there a simpler approach I'm overlooking?
[ ] Can this be computed lazily instead of all at once?
[ ] Would a 10-line solution exist if I reframed the problem?

If any box triggers doubt — stop and explore that path before proceeding.


The Mindset

The greedy approach: see task → start implementing → figure it out as you go.

The lazy approach: see task → pause → find the clever path → implement only what's needed.

The difference is one beat of reflection before execution. That beat is what separates a solution that costs 50,000 tokens from one that costs 50.


Common Shortcuts

Instead of...Consider...
Implementing a complex feature from scratchChecking if a library already does it
Hardcoding a large static datasetFetching it from an API at runtime
Generating all permutations upfrontComputing on demand with memoization
Building the full system nowBuilding only the part that's needed today
Writing a clever algorithmChecking if a simpler data structure makes it trivial
Implementing auth, payments, maps from scratchUsing the standard library for that domain
Generating many examples to prove a pointUsing 2-3 representative cases
Preloading everything on startupLoading lazily when actually needed

When NOT to be lazy

Productive laziness has limits. Override it when:

  • Correctness requires it: security-critical code needs the language stdlib or a widely-audited library — never a hand-rolled implementation
  • Latency requires it: a runtime API call adds unacceptable delay to a hot path
  • Dependencies are restricted: offline-first or zero-dependency environments
  • The shortcut is overengineered: adding a library for 5 lines of trivial code

In these cases, proceed — but state why: "Implementing this directly because X."


The Rule

Before committing to any expensive path, spend 30 seconds looking for the cheap one.

If you find it, take it and explain what you chose. If you don't, proceed — and know you made the right call. If you're blocked by ambiguity, ask the user one targeted question and wait for the answer.

Frequently asked questions

What does the Think Twice AI skill do?

Forces Claude to pause before picking an implementation approach and ask: "Is there a cleverer, cheaper way?" Triggers when the request involves generating data or fixtures (lists, datasets, sample records), implementing a problem that is likely already solved by a stdlib function, package, or public API (validation, parsing, lookups, auth, date/currency/geo data), or any implementation expected to exceed ~20 lines. Does NOT trigger when the user has explicitly chosen the approach or library, when the task is under ~10 lines, when fixing a bug in existing code, or for infra/terraform/k8s an...

Why use Think Twice on TypingMind?

Because you install it once and use it with any model. Think Twice is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Think Twice in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/albertobarnabo/lazy-cat/tree/main/skills/think-twice. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Think Twice?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Think Twice?

As many as you like. As long as a model supports skills, you can use Think Twice with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Think Twice AI skill free?

Yes. It is published on GitHub by albertobarnabo under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇