DEV Community

Cover image for A Claude Skill That Turns Long AI Answers Into Short Notes
Amir Reza Dalir
Amir Reza Dalir

Posted on

A Claude Skill That Turns Long AI Answers Into Short Notes

An AI gives a long answer. You read fast and skip most of it. Every time.

🤔 Why

Your eyes don't read the whole reply. They look for one thing: the line that says do this, not that. The other 400 words are extra. So I wanted a way to turn any answer into short notes — the kind you write in the margin of a book.

✂️ What

toot turns a long answer into short notes. A few words per line. Symbols do most of the work.

The name is Persian: toot (توت) means mulberry — the small berry you eat in one bite. That is the idea: take something big and make it small enough to take in at once.

Here is a real answer about adding a database index:

Adding an index on user_id makes these lookups faster, but it is not free. Every index must be updated on each INSERT, UPDATE, and DELETE, so tables with many writes pay a cost. Your table has many reads and always filters on user_id, so it is worth it. One warning: if user_id has very few different values, the planner may skip the index. Also, a composite index on (user_id, created_at) would cover both the filter and the sort.

The same answer, after toot:

index on user_id → faster reads ✓
every write updates it → write cost ↑
many reads + filters user_id → worth it ✓
⚠ few different values → planner skips it → useless
composite (user_id, created_at) ≡ covers filter + sort
Enter fullscreen mode Exit fullscreen mode

About 110 words become 5 lines. Nothing important is lost — the cost, the warning, and the advice are all still there. Two rules keep it safe:

  • Code is never changed. Commands and code stay exactly the same, in their own block. A changed command is a broken command.
  • Only one word is translated. If you set a language, toot translates only the one hard word, on its own line below the note. Words you already know — like cache or rollback — stay in English.

The skill is just one SKILL.md file with rules written in plain English. There is no script. Claude does the work; the file tells it how.

🚀 How

1. Install — go to your skills folder, then clone the gist:

cd ~/.claude/skills
git clone https://gist.github.com/dalirnet/26bc7f57a13f13a030afb78ed17f7d71.git toot
Enter fullscreen mode Exit fullscreen mode

Claude finds it in your next session. To update later: cd ~/.claude/skills/toot && git pull.

2. Use it — say toot (or /toot) after any answer. To always translate into one language, add this line to your project's CLAUDE.md:

toot default language: Persian
Enter fullscreen mode Exit fullscreen mode

Top comments (0)