Logo di Think Twice

Think Twice

Community
albertobarnabo
think-twice

Prima di scegliere un approccio per l’implementazione, fa fermare Claude e chiedere: «C’è un modo più ingegnoso ed economico?». Si attiva quando la richiesta prevede di generare dati o fixture (elenchi, dataset, record di esempio), di implementare un problema probabilmente già risolto da una funzione della stdlib, da un package o da un’API pubblica (validazione, parsing, ricerche, autenticazione, dati su date, valute o geolocalizzazione), oppure un’implementazione che dovrebbe superare circa 20 righe. NON si attiva se l’utente ha già scelto l’approccio o la libreria, se il task richiede meno di circa 10 righe, se si tratta di correggere un bug nel codice esistente o per query di infrastruttura, Terraform, k8s e database. Esegue la checklist prima di scrivere codice, si ferma alla prima domanda che fa emergere un’alternativa più economica e sceglie quella.

Panoramica

Pubblicato daalbertobarnabo
Repositorylazy-cat
Nome della skillthink-twice
Stelle
50
Fork
1
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da albertobarnabo su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Think Twice in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/albertobarnabo/lazy-cat/tree/main/skills/think-twice
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Think Twice in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Think Twice non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Think Twice non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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.

Domande frequenti

Cosa fa la skill IA Think Twice?

Prima di scegliere un approccio per l’implementazione, fa fermare Claude e chiedere: «C’è un modo più ingegnoso ed economico?». Si attiva quando la richiesta prevede di generare dati o fixture (elenchi, dataset, record di esempio), di implementare un problema probabilmente già risolto da una funzione della stdlib, da un package o da un’API pubblica (validazione, parsing, ricerche, autenticazione, dati su date, valute o geolocalizzazione), oppure un’implementazione che dovrebbe superare circa 20 righe. NON si attiva se l’utente ha già scelto l’approccio o la libreria, se il task richiede men...

Perché usare Think Twice su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Think Twice è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Think Twice in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/albertobarnabo/lazy-cat/tree/main/skills/think-twice. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Think Twice?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Think Twice?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Think Twice: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Think Twice è gratuita?

Sì. È pubblicata su GitHub da albertobarnabo con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇