Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Repair Windows errors before they cause bigger problems3Fix the driver behind crashes, sound loss and screen glitchesWhen an AI agent handles a complex task well, don’t let that success vanish with the chat. Ask the agent to reflect on the conversation and distill the repeatable reasoning into an Agent Skill. If the skill gets used often, or the task is complex or expensive, turn its stable steps into a Bash or Python script. That is the workflow Andrew Shu describes in his DEV Community article “Turn chats into Skills, Skills into scripts.” This piece unpacks it and shows how to decide which stage a task belongs in.
The three stages
| Stage | What it is | Strength | Weakness |
|---|---|---|---|
| Chat | An open-ended conversation with the agent | Most room to adapt to the unexpected | Context and intent must be re-explained each time |
| Skill | A reusable natural-language playbook the agent follows | Keeps flexibility while capturing what worked | Still interpreted by an agent, so less repeatable than code |
| Script | Bash or Python implementing fixed steps | Clear and repeatable for a fixed sequence | Takes time to write, is less adaptable, and can be brittle |
These tradeoffs are Shu’s observations and advice, not benchmark results.
As an Amazon Associate I earn from qualifying purchases.
Step 1: Mine a successful chat for a skill
The trigger is a conversation that went well on a task that was non-trivial. Rather than hoping to reproduce it later, ask the agent to look back at the exchange and extract what mattered: the goal, the context it needed, the order of reasoning, the decisions and corrections along the way. Shu’s argument is that this captures instructions worth preserving, so the next run doesn’t start from zero.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchA prompt along these lines works (this is an illustration, not Shu’s wording):
#1 Best Overall
- “Reflect on this conversation. What reasoning and steps would someone need to repeat this task well?”
- “Write them as a reusable skill: when to use it, the inputs it needs, the steps, and the mistakes to avoid.”
Review the result before keeping it. The agent’s summary may encode one-off details of that particular chat as if they were general rules.
Why a skill can save tokens and time
Shu’s subheading asks, “How can Agent Skills save tokens and time?” His rationale is that a skill reduces the repeated work of understanding the user’s intent and the task’s context. Instead of re-deriving or re-explaining them each session, the agent starts with them written down. The article makes this case qualitatively; it gives no figures, study or measured result, so treat the savings as the author’s reasoning rather than verified numbers.
Rank #2
- LINED SPIRAL NOTEBOOK: The EMSHOI spiral notebook comes in large A4 (8.2'' x 11.2''), 7 mm college ruled and features 300 pages for your writing needs. Equipped with 100 GSM acid-free paper, 180° lay-flat, 360° foldable and a flexible plastic cover
- 300 PAGES HIGH-CAPACITY: The EMSHOI college ruled spiral journal measures 8.2'' x 11.2'' with 150 sheets / 300 pages. Massive writing space holds all lecture, work and daily records, no need to carry multiple journals for school, office and personal journaling
- HIGH-GUALITY PAPER: 100 GSM acid-free thick paper allows your ideas, words, and creative writing to flow smoothly. You can use most pens, pencils, and markers without ghosting or bleeding, and immerse yourself in the joy of writing on high-quality paper
- ALL-IN-ONE PRACTICAL ACCESSORIES: Equipped with full practical accessories including a bookmark, inner pocket, a pen holder, a removable ruler and sticky index tabs. Mark key pages, store small cards, fix pens and label important content easily, keeping notes neatly organized for school, office and daily use
- WIDE USAGE & IDEAL GIFT: Ideal for students, office workers, journaling lovers, men & women. It fits class note-taking, daily diary writing, travel journaling, school and planning. Our notebook also serves as a thoughtful gift for birthdays, christmas, graduation and holidays for teens, colleagues and stationery collectors
Step 2: Decide whether a skill should become a script
A skill is still interpreted by an agent each time. That is flexible, but it means results can vary. Shu’s point on consistency: “Consistency is important for complex tasks that I want to happen consistently.” A script executes defined steps the same way each run.
Free tools Windows power users keep installed
One-click scans. No signup required.
Scripting has a price, though. It takes time to write and maintain, handles unexpected cases poorly, and can break when inputs shift. Weigh these axes:
Rank #3
- Frequency: the more often the task recurs, the sooner a script pays off.
- Cost or importance of errors: expensive or high-stakes tasks favor repeatability.
- Flexibility needed: if each run needs judgment, keep it in the skill.
- Specifiability: only steps you can state as stable rules belong in code.
- Build and upkeep cost: if writing and maintaining the script costs more than it saves, don’t.
Shu’s rule of thumb: consider a script when the skill is used frequently, or the task is complex or expensive. It is a judgment call, not a threshold.
Step 3: Combine them
You don’t have to choose. Shu notes a skill can act as a flexible wrapper around a script, or as glue between several scripts. A practical split:
Rank #4
- GRAPH PAPER NOTEBOOK: The EMSHOI grid journal comes in A5 size (5.7" x 8.3"), 180° lay-flat and 256 pages. Equipped with 120 GSM acid-free paper, leather hardcover, 2 ribbon bookmarks, pen holder, elastic closure band, inner pocket & sticky index tabs
- LEATHER HARDCOVER: The EMSHOI journal features artistry and a sturdy faux leather hardcover to ensure the longevity and protection of your precious notes. The hardcover is a tactile pleasure, allowing you to explore its pages with comfort and ease
- HIGH-QUALITY PAPER: Our 120 GSM heavy‑weight paper delivers smooth writing for notes and creative work. It resists ghosting and ink bleeding with most pens, pencils and markers, letting you fully enjoy every writing moment
- 180° LAY-FLAT DESIGN: Our grid notebook opens fully flat at 180°. Write smoothly across two facing pages without the spine getting in your way, delivering easier, more efficient writing and more comfortable reading experience
- VERSATILE APPLICATIONS: Designed for precise graphing and formula calculation, our grid notebook is a great study helper for math, physics and engineering students. It also fits office data recording, note-taking, daily journal keeping and daily planning
- Scripts handle the deterministic core: fixed transformations, file handling, repeatable checks.
- The skill handles what code does poorly: interpreting the request, preparing input, explaining or reacting to output, and dealing with cases the script wasn’t built for.
A sensible way to build the script is to let the agent help: the skill already documents the steps, so the stable ones can be lifted into code while the fuzzy ones stay as instructions.
Recommended Free Tools
A quick decision path
- One-off or exploratory task? Stay in chat.
- Task went well and you’d do it again? Distill a skill.
- Skill used often, or the task is complex or costly, and parts are stable? Script those parts.
- Edge cases still appear? Keep the skill as the wrapper that routes them.
The approach needs no particular product; Bash and Python are simply examples of scripting languages. Source: Andrew Shu, “Turn chats into Skills, Skills into scripts,” DEV Community (posted September 19; the post says it was originally published at ashu.co).
Quick Recap
Best Value
- Save by the pack: Get a 6 pack of 1 subject notebooks with 70 sheets of college ruled paper with pastel covers; a stock-up staple for your school supplies list or home schooling; cover colors vary
- College ruled paper fits more lines per page; paper holds up to mechanical pencils, gel pens, ink pens and highlighters for perfect notes
- Micro-perforated sheets ensure the notes you want stay in the spiral notebook and unwanted pages tear out cleanly for organized classroom or office supplies
- Spiral notebooks lay flat for easy writing; sturdy wire binding resists snags and makes page turning smooth; ideal for school notebooks, planners, or work notes
- Overall notebook size is 8" x 10-1/2"; each sheet detaches to a clean 7-1/2" x 10-1/2" page; perfect for college notebooks, study notes, and professional use Overall notebook size is 8" x 10-1/2"; each sheet detaches to a clean 7-1/2" x 10-1/2" page; perfect for college notebooks, study notes, and professional use
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




