October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

Unscript: A Sanity-Powered Writing Agent That Explains Why It Changes Your Text

Unscript is a terminal writing agent that keeps its editing rules as structured Sanity content, retrieves them for each task, and validates the output. Here is how the pieces work and what remains unproven.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Unscript is a terminal-based writing transformation agent built by Maisam Abbas. It stores its writing guidance as structured content in Sanity, retrieves the rules relevant to each piece of text, has a language model rewrite the text, and then runs deterministic checks on the result before showing it. The author describes it as a Sanity Challenge Path One submission, and the design question behind it is simple: can a writing agent keep its editorial knowledge outside the model, where it can be inspected and changed?

What Unscript is and what it is not

Unscript is a command-line tool, not a browser editor, a word processor plugin, or a Sanity product in its own right. Its builder presents it as an agent whose purpose is to make writing clearer and more natural while leaving intact the information that should not change. The project post was published on the DEV Community with a date of September 27, 2026, and it is the primary source for everything described below. Implementation details and results are the author’s own account; they have not been independently tested.

As an Amazon Associate I earn from qualifying purchases.

How the parts divide the work

The author separates the system by responsibility. Each layer has a narrow job, which is the main reason the design is easier to reason about than a single large prompt.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Component Role as described by the author
TypeScript CLI Interactive navigation, environment inspection, knowledge inspection, and the transformation flow
Agent Analyzes and classifies the input, applies the chosen transformation level and tone, retrieves relevant knowledge, and prepares the transformation task
Sanity Stores the structured knowledge in schemas for writing patterns, content types, humanization levels, tone rules, transformation rules, preservation rules, sources, and user decisions
Sanity Context MCP The connection used to retrieve that knowledge, including through a groq_query capability
Gemini 3.1 Flash-Lite Performs the language transformation
Deterministic checks Validate the generated result before it is displayed, along with information about the retrieved knowledge and its provenance

The author states the split directly: the model handles the language transformation, while Sanity provides the structured rules and knowledge that guide it. The practical consequence is that a rule about, say, tone or preservation lives in a content record rather than inside a prompt string, so it can be read, edited, or removed without rewriting the agent’s code.

#1 Best Overall
Taja Lined Spiral Notebook for Work, 5.7"x7.9" Spiral Journal College Ruled
  • Sturdy Construction: Our Lined Spiral Journal Notebook is built to last with a sturdy metal twin-wire binding and a tough hardcover. The water-resistant cover shields your notes from damage, while the double-wire design allows for easy folding and flat laying.
  • High-Quality Paper: Crafted from 100 GSM thick, ink-friendly paper, our notebook prevents ink bleed-through and ghosting. It accommodates various pens, including ballpoint, gel, and fountain pens. Each page features a day header for effortless date tracking.
  • Organized and Functional Design: With 140 lined pages and a 6-page blank table of contents, our notebook offers ample space for note-taking and easy referencing. An inner pocket keeps miscellaneous items secure, and an elastic closure band ensures the notebook stays closed when not in use.
  • Versatile Usage: Suitable for office, school, and home environments, our notebook is perfect for journaling, note-taking, drawing, goal setting, Bible, and planning. It's a thoughtful present for friends, family, classmates, and colleagues.
  • Medium-Sized Portability: Measuring 5.7 inches x 7.9 inches, our medium notebook strikes the perfect balance between portability and functionality. Its sturdy construction and aesthetic design make it an ideal companion for all your writing endeavors.

What the knowledge base contains

The author reports the following initial inventory. These are counts from the project submission, not an independent audit of the live dataset, and they describe the starting state rather than what the system holds today.

Knowledge type Initial count (author-reported, 2026)
Sources 3
Content types 8
Humanization levels 5
Tone rules 8
Transformation rules 14
Preservation rules 10
Writing patterns 10
User decisions 0

The zero for user decisions is worth noticing. It means the store had no recorded decisions at the time of the inventory, so the feature that would let the system learn from a user’s accept or reject choices is a schema in place rather than accumulated history.

The author names three reference sources for the guidance: U.S. Digital.gov and GSA plain-language guidance, the Microsoft Writing Style Guide, and Google’s writing guidance. The submission does not say which specific principles were encoded from each, so readers cannot yet audit how faithfully those guides are represented in the rules.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Lined Journal Notebook -365 Pages A5 Thick Journals for Writing Ruled Notebook, Hardcover Leather Journal for Women Men Daily Journal Notebook for Work, Note Taking, 100Gsm Lined Paper( 5.75'' X 8.38'' Green)
  • 【365 Pages&100Gsm Thick Journal】Large A5 size (5.75"x 8.38"/146mm x 213mm), 8mm space classic college ruled notebook, total 365 pages, include 64 perforated pages. 100gsm acid free light Ivory paper that is thicker than normal, will not cause bleeding, ghosting or smudging and is suit for most types pens.
  • 【Hardcover Leather Journal Notebook】Made from high quality vegan leather, no animals were harmed. Durable and water-resistant hard cover can protects the inside of the page better than a soft cover and provides a comfortable writing surface. The “Tree of Life” symbolizes tenacious vitality. No matter what difficulties and obstacles you face,you can face it firmly.
  • 【Upgrade Lined Journal Notebook】Comes with 1 elastic closure band & 1 elastic bookmark band, more stable. An expandable inner storage pocket to keep track of appointment cards,notes,receipts,and more. 1 gift of multicolor index tabs stickers for papers classifying and marking.
  • 【180°Lay Flat Journal Notebook】The 180° lay flat design makes writing easier, reading more convenient, and taking notes more efficient.At the same time, the hardcover notebook is designed with1 elastic closure band & 1 elastic bookmark band. to make it tightly closed to protect your content, and the inner paper will not be curled and kept flat.
  • 【Great Use】Ansopu tcollege ruled notebook perfect for business executives, office, work, home, college, students, adults, scientists, and people in many other fields. Perfect for travelers,business people,students for writing journals,journaling, personal daily journals,travel journals,work notebooks or for taking notes in college classes or meetings.

Walking through a transformation

The author’s demo uses the Article content type, the Friendly tone, and the Custom transformation level. The flow runs in this order:

  1. Select the options. Choose the content type, tone, and transformation level in the CLI’s interactive navigation.
  2. Enter the text. Paste or type the passage to be revised.
  3. Analyze and classify. The agent classifies the input and considers the selected level and tone.
  4. Retrieve knowledge. The agent queries Sanity through the Context MCP connection for the rules that match the task.
  5. Transform. The retrieved guidance and the text are sent as a task to Gemini 3.1 Flash-Lite, which produces the revised version.
  6. Validate. Deterministic checks run against the generated output before anything is shown to the user.
  7. Display with provenance. The output is shown together with the knowledge that was used to produce it.

Step six is the design choice that separates Unscript from a plain prompt. Validation is a separate stage that does not depend on the model’s own judgment of its output, so checks such as whether required information survived can be applied the same way each time. The author does not publish the list of checks, so the exact rules they enforce should be read from the repository rather than assumed.

Why keep the rules outside the model

The author’s central framing question is: “What if a writing agent did not have to keep all of its knowledge inside the model?” Maisam Abbas poses it as the motivation for the project, and it points at a practical problem. When editorial rules are buried in a prompt, changing one means editing text that is hard to version, hard to test in isolation, and hard for a reader to inspect. Storing them as structured content gives each rule an identity, a type, and a place in a schema.

Rank #3
Sale
Biuwory Leather Journal Notebook,256 Thick Lined Pages,Hardcover 5.7"×8.3"
  • 【Vintage Leather Journal Notebook】The perfect rule notebook is perfect for travelers,business people,students for writing journals,journaling, personal daily journals,travel journals,work notebooks or for taking notes in college classes or meetings.The exquisite print symbolizes tenacious vitality,which will always remain alive.No matter what difficulties and obstacles you face,you can face it firmly.
  • 【Hardcover Leather journal】This medium 5.7 x 8.3 inchs A5 lined journal notebook features a waterproof brown faux leather cover,Leather feels soft and comfortable,inner ribbon bookmark and elastic closure band,for all your drawing, writing, sketching, note-taking, traveling, etc.At the same time, it is perfect to carry around or put in a bag or purse.
  • 【256 Pages Premium Paper】We use 256 Pages (128 Sheets) 80Gsm acid-free paper thick lined paper,Line spacing 8.5mm,so you can confidently use most pens, pencils, and markers without ghosting and bleed-through.The Light yellow paper resists damage from light and air and the paper protects your eyes from irritation.
  • 【180° Lay Flat Design】The 180° lay flat design makes writing easier, reading more convenient, and taking notes more efficient.At the same time, the hardcover notebook is designed with elastic closure band to make it tightly closed to protect your content, and the inner paper will not be curled and kept flat.
  • 【Ideal Business Notebook Gift】Journal with beautiful print is perfect for mom,dad,girls, boys, children,friends,wife,husband,friends,daughters, sons,granddaughter,teachers, students, artists,writers,designers, journalists,office clerks,business women/men,on Christmas, Halloween, New Year, Nirthday, Children's Day,Mothers Day,Fathers Day,Valentine's Day,Anniversary Gift,etc.

That approach also makes the system’s behavior easier to explain. Because the output is displayed alongside the knowledge that informed it, a user can see which rule was in play instead of accepting a rewrite on trust. The trade-off is that the quality of the result now depends on the quality and coverage of the stored rules, which is an editorial job as much as an engineering one.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What the evidence does and does not establish

The author lists development checks covering TypeScript compilation, linting, formatting, production build, CLI runtime, Sanity schema validation, MCP initialization and retrieval, Gemini integration, transformation, deterministic validation, and terminal input edge cases. The author also says the final end-to-end flow worked against the real Sanity Context MCP integration. These are self-reported. They show that the pieces were exercised; they do not show that the tool produces better writing.

  • Established: the architecture, the stages, the stored knowledge types, and the author’s account of the checks and the end-to-end run.
  • Not established: any user study, benchmark, controlled comparison, or measured improvement in writing quality or accuracy.
  • Not established: that the tool outperforms other writing assistants, or that its edits are more accurate than those produced by a prompt-only approach.

Anyone evaluating Unscript should therefore treat it as a well-described design with a working demo, not as a measured product.

Rank #4
Mead Primary Journal Creative Story Tablet Composition Notebook, 7.5" x 9.75", Grades K-2, 100 Sheets, Color Selected For You (10297)
  • Journal is appropriate for grades K-2. It contains 100 double-sided, primary ruled sheets that measure 7-1/2" x 9-3/4".
  • Double-sided primary ruling is printed with solid and dotted lines. Ideal for beginning students who want to improve their handwriting.
  • Top half of each page is blank for illustrating stories. Cover includes a manuscript alphabet for reference.
  • Sewn binding is smooth, helps keep pages securely in place and lays flat when open
  • Includes 1 primary journal in a randomly selected color: Red, Blue, Green or Purple. Color will vary with each purchase.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to compare it with other writing agents

Because no comparative data exists for Unscript, the fair way to compare it with other writing agents is along axes the project itself makes visible:

  • Where the rules live: in the prompt, or in external structured content that can be edited independently.
  • Whether retrieval can be inspected: whether the user can see which knowledge was pulled for a given task.
  • Whether preservation is checked separately: whether a validation stage that is distinct from generation confirms that required information survived.
  • Control surface: which content types, tones, and transformation levels the tool supports.
  • Interface: here, a TypeScript CLI rather than an editor or web app.
  • Published evaluation: whether any independent measurement of output quality exists. For Unscript, it does not yet.

Scoring Unscript against a competitor on these axes requires sources for both, which is outside what is available for this article.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Who this is for

Unscript is most relevant to developers who already use Sanity or want to see how editorial guidance can be modeled as content, and to writers and editors who are curious how a rule-based revision tool would expose its reasoning. It is less relevant to someone who wants a finished editing tool with a polished interface, because the project presents a demo workflow and a CLI, not a packaged product. The author’s own closing question, whether the knowledge itself can be part of the product, is the most useful lens for judging it.

Best Value
PAPERAGE Lined Journal Notebook, Hardcover Journal for Women & Men, 160 Pages, (5.6 in x 8 in), College Ruled Journaling Notebook for Work, School Supplies & Note Taking, (Black)
  • BEST-SELLING HARDCOVER JOURNAL: This classic 5.6" x 8" vegan leather journal features a durable and water-resistant cover, 160 college ruled lined pages, inner expandable pocket, sticker labels, ribbon bookmark & elastic closure band.
  • PREMIUM PAPER: Made with high-quality, 100 gsm acid-free paper in light ivory color, our journal paper is thicker than average notebooks & note pads, so you can confidently use most pens, pencils, and markers without ghosting and bleed-through.
  • LAY FLAT DESIGN FOR WRITING EASE: Our thread-bound, college ruled notebook is designed to lay flat, making it easier to write for both right and left-handed users. It’s the perfect notebook for journaling, note taking and planning.
  • INNER POCKET: Includes an expandable inner storage pocket to store appointment cards, notes, receipts, and more. Personalize your journal cover & spine with the sheet of sticker labels included.
  • VERSATILE LINED NOTEBOOK: Ideal for journaling, note-taking, planning, or creative writing. Whether you're making a to-do list, capturing ideas, or writing notes, this journal makes a perfect notebook for school, work, or home office.

The project’s code and demo links are referenced in the original post. Readers who want to verify the claims should start there.

Source: Maisam Abbas, the author’s DEV Community post on Unscript, dated September 27, 2026.

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.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.