{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "seyedehsanhadi-sloptrim--screen-office-and-notebook-files",
 "repo": "seyedehsanhadi/sloptrim",
 "repo_url": "https://github.com/seyedehsanhadi/sloptrim",
 "repo_slug": "seyedehsanhadi-sloptrim",
 "title": "Screen Office, EPUB and notebook files for tells",
 "page_title": "How to screen Office, EPUB and notebook files for tells with Sloptrim",
 "summary": "Score the prose in .docx, .pptx, .xlsx, .epub and .ipynb files from the command line.",
 "who": "A research or operations person who keeps reports, slide decks or notebooks in Office or Jupyter formats and wants a local check before sharing them.",
 "problem": "Office and notebook files do not show their prose clearly in a plain text view, and the check has to skip code, notes and comments.",
 "outcome": "A score for the selected prose in each file, with an explicit list of what the detector reads and what it skips, so the result is read with the right scope.",
 "steps": [
  "Clone the repository and change into the folder",
  "Run `python scripts/detect.py report.docx` on a Word file, replacing report.docx with its path (inferred, check the README)",
  "Run `python scripts/detect.py slides.pptx` and `python scripts/detect.py analysis.ipynb` for other formats (inferred, check the README)",
  "Read the README limits for each format, since DOCX skips headers, footers and comments and notebooks read Markdown cells only",
  "Do not redirect `--clean` output over an Office archive, EPUB or notebook; use a format-aware editor for revisions"
 ],
 "agent_prompt": "Using the sloptrim repo at <repo path>, run `python scripts/detect.py <file>` on each of <file list> and report the score and the skipped areas for each. Verify that no output was redirected over an Office, EPUB or notebook file.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "PDF and RTF are recorded as unreadable rather than scored, and embedded images and OCR are unsupported, so those parts of a file are not checked.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.9 or newer for the detector",
  "Node for the Claude Code hooks",
  "Git, to clone the repository",
  "A coding agent such as Claude Code, Codex or Cursor, if you want the on-save guard or the contract"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/seyedehsanhadi-sloptrim/screen-office-and-notebook-files/",
 "md": "https://dedupedai.com/use-cases/seyedehsanhadi-sloptrim/screen-office-and-notebook-files/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/seyedehsanhadi-sloptrim--screen-office-and-notebook-files.json",
 "api_version": "v1"
}
