{
  "author": {
    "address": "0x425E78375336d1938cf0eaE5c40aa86CbE1C2eBB",
    "signature": "2d5582c7cbaa36cd09b1355c68321a9d51f12ef89c9f1ccbad571fe437e17d827ede00cd92a86d7aa7fa8a3e3fac6a3520c39ba8c0b8692c87ee2817593d7a921b"
  },
  "available_to_orchestrator": true,
  "changelog": "Added setup suggestions for sharing",
  "content_hash": "sha256:92583805964fef4cbc21261f934a0b5017ddc6aaf273d3f30ecdbb3edd624c8d",
  "created_at": "2026-10-15T20:29:19Z",
  "format": "osaurus.template",
  "format_version": 1,
  "id": "98548FBB-70E4-4C06-89B3-D95C1384F407",
  "kind": "workflow",
  "name": "Slop Remover",
  "requirements": {
    "knowledge": [],
    "mcp_servers": [],
    "models": [
      {
        "locality": "cloud_allowed",
        "needs_tool_use": false,
        "preferred": "OsaurusAI/Qwen3.8-27B-JANG_6D",
        "slot": "main",
        "strictness": "preferred"
      }
    ],
    "network": [],
    "notes": {},
    "permissions": [],
    "plugins": [],
    "secrets": []
  },
  "summary": "Strips AI-sounding filler, buzzwords, em dashes and chatbot tics from pasted text and reports a before/after slop score.",
  "version": 5,
  "workflow": {
    "edges": [
      {
        "from": "scan",
        "to": "rewrite"
      },
      {
        "from": "rewrite",
        "to": "recheck"
      },
      {
        "from": "ask",
        "to": "prep"
      },
      {
        "from": "prep",
        "to": "scan"
      }
    ],
    "examples": [
      {
        "input": {},
        "name": "Productivity blurb"
      },
      {
        "input": {},
        "name": "Paste form"
      }
    ],
    "input_schema": {
      "additionalProperties": false,
      "properties": {},
      "required": [],
      "type": "object",
      "x-order": []
    },
    "model_slots": [
      {
        "locality": "cloud_allowed",
        "needs_tool_use": false,
        "preferred": "OsaurusAI/Qwen3.8-27B-JANG_6D",
        "slot": "main",
        "strictness": "preferred"
      }
    ],
    "nodes": [
      {
        "code": {
          "network": [],
          "secrets": [],
          "source": "async function run(input, ctx) {\n  const esc = s => s.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n  const words = [\"delve\",\"delves\",\"delving\",\"tapestry\",\"testament\",\"realm\",\"leverage\",\"leveraging\",\"utilize\",\"utilizing\",\"robust\",\"seamless\",\"seamlessly\",\"elevate\",\"unlock\",\"unleash\",\"embark\",\"pivotal\",\"crucial\",\"game-changer\",\"cutting-edge\",\"ever-evolving\",\"multifaceted\",\"intricate\",\"meticulous\",\"meticulously\",\"paramount\",\"foster\",\"harness\",\"bustling\",\"vibrant\",\"synergy\",\"holistic\",\"transformative\",\"groundbreaking\",\"revolutionize\",\"empower\",\"navigate\",\"navigating\",\"landscape\",\"moreover\",\"furthermore\",\"additionally\",\"nuanced\",\"underscore\",\"underscores\",\"showcase\",\"showcasing\",\"bolster\",\"streamline\",\"comprehensive\",\"myriad\",\"plethora\"];\n  const phrases = [\"in today's fast-paced world\",\"in today's digital age\",\"in the ever-evolving\",\"it's important to note\",\"it is important to note\",\"it's worth noting\",\"it is worth noting\",\"at the end of the day\",\"in conclusion\",\"in summary\",\"let's dive in\",\"dive into\",\"deep dive\",\"without further ado\",\"when it comes to\",\"plays a crucial role\",\"plays a pivotal role\",\"a testament to\",\"the world of\",\"stands as\",\"serves as a\",\"not only\",\"whether you're\",\"look no further\",\"unlock the power\",\"to the next level\",\"game changer\"];\n  const chatty = [\"great question\",\"certainly!\",\"absolutely!\",\"i hope this helps\",\"feel free to\",\"happy to help\",\"as an ai\",\"let me know if\"];\n  const list = [];\n  for (const w of words) list.push({ category: \"Overused AI words\", label: w, re: new RegExp(\"\\\\b\" + esc(w) + \"\\\\b\", \"gi\") });\n  for (const p of phrases) list.push({ category: \"Filler phrases\", label: p, re: new RegExp(esc(p), \"gi\") });\n  for (const p of chatty) list.push({ category: \"Chatbot tone\", label: p, re: new RegExp(esc(p), \"gi\") });\n  list.push({ category: \"Em dashes\", label: \"em dash\", re: /—/g });\n  list.push({ category: \"Contrast framing\", label: \"It's not X, it's Y\", re: /\\b(it's|it is|this is|that's|that is)\\s+not\\s+(just\\s+|only\\s+|merely\\s+|about\\s+)?[^.;!?\\n]{1,60}?[,;—–]\\s*(it's|it is|but|this is|that's)\\b/gi });\n  list.push({ category: \"Emoji\", label: \"emoji\", re: /\\p{Extended_Pictographic}/gu });\n  const text = String(input.text || \"\").replace(/[’‘]/g, \"'\");\n  const wc = (text.match(/\\S+/g) || []).length;\n  const findings = []; let total = 0;\n  for (const p of list) {\n    const m = text.match(p.re);\n    if (m && m.length) { total += m.length; findings.push({ category: p.category, pattern: p.label, count: m.length, example: m[0] }); }\n  }\n  findings.sort((a, b) => b.count - a.count);\n  const score = wc ? Math.round(total * 1000 / wc) / 10 : 0;\n  return { findings, total_hits: total, word_count: wc, slop_per_100_words: score };\n}",
          "timeout": 30
        },
        "id": "scan",
        "input": {
          "text": "{{nodes.prep.output.text}}"
        },
        "kind": "code",
        "name": "Scan for slop",
        "output_schema": {
          "properties": {
            "findings": {
              "items": {
                "properties": {
                  "category": {
                    "type": "string"
                  },
                  "count": {
                    "type": "number"
                  },
                  "example": {
                    "type": "string"
                  },
                  "pattern": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "slop_per_100_words": {
              "type": "number"
            },
            "total_hits": {
              "type": "number"
            },
            "word_count": {
              "type": "number"
            }
          },
          "required": [
            "findings",
            "total_hits",
            "word_count",
            "slop_per_100_words"
          ],
          "type": "object"
        },
        "retry": {
          "backoff_seconds": 1,
          "max_attempts": 1
        },
        "timeout": 120
      },
      {
        "id": "rewrite",
        "inference": {
          "instructions": "You are a sharp human editor who removes AI 'slop' from writing while keeping the author's meaning, facts, voice, and formatting (markdown, lists, links, code blocks stay intact).\n\nIntensity: Light = fix only flagged items and obvious filler, keep sentences otherwise. Balanced (default if missing) = also tighten sentences, cut hedging and throat-clearing. Aggressive = rewrite freely into plain, direct, human prose.\n\nRules:\n- Remove em dashes; use commas, periods, colons or parentheses.\n- Replace inflated words (delve, tapestry, testament, realm, leverage, utilize, robust, seamless, pivotal, crucial, elevate, unlock, foster, harness, landscape, navigate, multifaceted, transformative, etc.) with plain words or cut them.\n- Cut filler openers and wrap-ups ('In today's fast-paced world', 'It's important to note', 'When it comes to', 'In conclusion', 'Let's dive in').\n- Kill 'It's not X, it's Y' contrast framing and 'Not only... but also'; just say the point.\n- Break up reflexive groups of three and parallel triplets.\n- Remove chatbot tone: 'Great question', 'I hope this helps', 'Feel free to', sycophancy, sign-offs.\n- Remove decorative emoji and needless bold or headers in short pieces.\n- Vary sentence length; prefer concrete specifics over vague grandeur. Use contractions naturally.\n- Never add new facts, claims, or examples.\n\nReturn only the rewritten text in cleaned_text (no preamble, no quotes), and in changes list 3-8 short notes on the main kinds of edits made.",
          "mode": "generate",
          "model_slot": "main",
          "temperature": 0.4
        },
        "input": "Intensity: {{nodes.prep.output.intensity}}\n\nPatterns the scanner flagged:\n{{nodes.scan.output.findings}}\n\nText to clean:\n<<<\n{{nodes.prep.output.text}}\n>>>",
        "kind": "inference",
        "name": "Rewrite without slop",
        "output_schema": {
          "additionalProperties": false,
          "properties": {
            "changes": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "cleaned_text": {
              "type": "string"
            }
          },
          "required": [
            "cleaned_text",
            "changes"
          ],
          "type": "object"
        },
        "retry": {
          "backoff_seconds": 1,
          "max_attempts": 1
        },
        "timeout": 120
      },
      {
        "code": {
          "network": [],
          "secrets": [],
          "source": "async function run(input, ctx) {\n  const esc = s => s.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\");\n  const words = [\"delve\",\"delves\",\"delving\",\"tapestry\",\"testament\",\"realm\",\"leverage\",\"leveraging\",\"utilize\",\"utilizing\",\"robust\",\"seamless\",\"seamlessly\",\"elevate\",\"unlock\",\"unleash\",\"embark\",\"pivotal\",\"crucial\",\"game-changer\",\"cutting-edge\",\"ever-evolving\",\"multifaceted\",\"intricate\",\"meticulous\",\"meticulously\",\"paramount\",\"foster\",\"harness\",\"bustling\",\"vibrant\",\"synergy\",\"holistic\",\"transformative\",\"groundbreaking\",\"revolutionize\",\"empower\",\"navigate\",\"navigating\",\"landscape\",\"moreover\",\"furthermore\",\"additionally\",\"nuanced\",\"underscore\",\"underscores\",\"showcase\",\"showcasing\",\"bolster\",\"streamline\",\"comprehensive\",\"myriad\",\"plethora\"];\n  const phrases = [\"in today's fast-paced world\",\"in today's digital age\",\"in the ever-evolving\",\"it's important to note\",\"it is important to note\",\"it's worth noting\",\"it is worth noting\",\"at the end of the day\",\"in conclusion\",\"in summary\",\"let's dive in\",\"dive into\",\"deep dive\",\"without further ado\",\"when it comes to\",\"plays a crucial role\",\"plays a pivotal role\",\"a testament to\",\"the world of\",\"stands as\",\"serves as a\",\"not only\",\"whether you're\",\"look no further\",\"unlock the power\",\"to the next level\",\"game changer\"];\n  const chatty = [\"great question\",\"certainly!\",\"absolutely!\",\"i hope this helps\",\"feel free to\",\"happy to help\",\"as an ai\",\"let me know if\"];\n  const list = [];\n  for (const w of words) list.push({ category: \"Overused AI words\", label: w, re: new RegExp(\"\\\\b\" + esc(w) + \"\\\\b\", \"gi\") });\n  for (const p of phrases) list.push({ category: \"Filler phrases\", label: p, re: new RegExp(esc(p), \"gi\") });\n  for (const p of chatty) list.push({ category: \"Chatbot tone\", label: p, re: new RegExp(esc(p), \"gi\") });\n  list.push({ category: \"Em dashes\", label: \"em dash\", re: /—/g });\n  list.push({ category: \"Contrast framing\", label: \"It's not X, it's Y\", re: /\\b(it's|it is|this is|that's|that is)\\s+not\\s+(just\\s+|only\\s+|merely\\s+|about\\s+)?[^.;!?\\n]{1,60}?[,;—–]\\s*(it's|it is|but|this is|that's)\\b/gi });\n  list.push({ category: \"Emoji\", label: \"emoji\", re: /\\p{Extended_Pictographic}/gu });\n  const text = String(input.text || \"\").replace(/[’‘]/g, \"'\");\n  const wc = (text.match(/\\S+/g) || []).length;\n  const findings = []; let total = 0;\n  for (const p of list) {\n    const m = text.match(p.re);\n    if (m && m.length) { total += m.length; findings.push({ category: p.category, pattern: p.label, count: m.length, example: m[0] }); }\n  }\n  findings.sort((a, b) => b.count - a.count);\n  const score = wc ? Math.round(total * 1000 / wc) / 10 : 0;\n  return { findings, total_hits: total, word_count: wc, slop_per_100_words: score };\n}",
          "timeout": 30
        },
        "id": "recheck",
        "input": {
          "text": "{{nodes.rewrite.output.cleaned_text}}"
        },
        "kind": "code",
        "name": "Re-check result",
        "output_schema": {
          "properties": {
            "findings": {
              "items": {
                "properties": {
                  "category": {
                    "type": "string"
                  },
                  "count": {
                    "type": "number"
                  },
                  "example": {
                    "type": "string"
                  },
                  "pattern": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "slop_per_100_words": {
              "type": "number"
            },
            "total_hits": {
              "type": "number"
            },
            "word_count": {
              "type": "number"
            }
          },
          "required": [
            "findings",
            "total_hits",
            "word_count",
            "slop_per_100_words"
          ],
          "type": "object"
        },
        "retry": {
          "backoff_seconds": 1,
          "max_attempts": 1
        },
        "timeout": 120
      },
      {
        "dialog": {
          "fields": [
            {
              "help": "Paste the full text here.",
              "key": "text",
              "label": "Text to clean",
              "persistence": "always_ask",
              "required": true,
              "type": "long_text"
            },
            {
              "default": "Balanced",
              "help": "Light fixes only flagged bits; Aggressive rewrites freely.",
              "key": "intensity",
              "label": "How hard to edit",
              "options": [
                "Light",
                "Balanced",
                "Aggressive"
              ],
              "persistence": "always_ask",
              "prefill_last": true,
              "required": true,
              "type": "choice"
            }
          ],
          "message": "Paste the writing you want cleaned up. Multiple paragraphs are fine.",
          "title": "Slop Remover"
        },
        "id": "ask",
        "input": {},
        "kind": "dialog",
        "name": "Paste your text",
        "output_schema": {
          "properties": {
            "intensity": {
              "type": "string"
            },
            "text": {
              "type": "string"
            }
          },
          "required": [
            "text"
          ],
          "type": "object"
        },
        "retry": {
          "backoff_seconds": 1,
          "max_attempts": 1
        },
        "timeout": 86400
      },
      {
        "code": {
          "network": [],
          "secrets": [],
          "source": "async function run(input, ctx) {\n  const text = String(input.text || '').trim();\n  if (!text) throw new Error('No text was provided to clean.');\n  return { text, intensity: input.intensity || 'Balanced' };\n}",
          "timeout": 10
        },
        "id": "prep",
        "input": {
          "intensity": "{{nodes.ask.output.intensity}}",
          "text": "{{nodes.ask.output.text}}"
        },
        "kind": "code",
        "name": "Use the pasted text",
        "output_schema": {
          "properties": {
            "intensity": {
              "type": "string"
            },
            "text": {
              "type": "string"
            }
          },
          "required": [
            "text",
            "intensity"
          ],
          "type": "object"
        },
        "retry": {
          "backoff_seconds": 1,
          "max_attempts": 1
        },
        "timeout": 120
      }
    ],
    "output": {
      "changes": "{{nodes.rewrite.output.changes}}",
      "cleaned_text": "{{nodes.rewrite.output.cleaned_text}}",
      "slop_after": "{{nodes.recheck.output.slop_per_100_words}}",
      "slop_before": "{{nodes.scan.output.slop_per_100_words}}",
      "still_flagged": "{{nodes.recheck.output.findings}}"
    },
    "output_schema": {
      "additionalProperties": false,
      "properties": {
        "changes": {
          "items": {
            "type": "string"
          },
          "title": "What changed",
          "type": "array"
        },
        "cleaned_text": {
          "title": "Cleaned text",
          "type": "string"
        },
        "slop_after": {
          "title": "Slop score after (hits per 100 words)",
          "type": "number"
        },
        "slop_before": {
          "title": "Slop score before (hits per 100 words)",
          "type": "number"
        },
        "still_flagged": {
          "items": {
            "properties": {
              "category": {
                "title": "Category",
                "type": "string"
              },
              "count": {
                "title": "Count",
                "type": "number"
              },
              "example": {
                "title": "Example",
                "type": "string"
              },
              "pattern": {
                "title": "Pattern",
                "type": "string"
              }
            },
            "type": "object"
          },
          "title": "Still flagged",
          "type": "array"
        }
      },
      "required": [
        "cleaned_text",
        "changes",
        "slop_before",
        "slop_after",
        "still_flagged"
      ],
      "type": "object"
    },
    "requirement_notes": {},
    "secrets": []
  }
}