No slash command · from Office
Detects and eliminates AI writing tropes that make text sound artificial or formulaic. Scans generated text for common patterns and supports user preferences via JSON config files.
Ships in Office. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
references/composition.md (opens in a new tab)references/formatting.md (opens in a new tab)references/paragraph-structure.md (opens in a new tab)references/preferences-schema.md (opens in a new tab)references/professional-balance.md (opens in a new tab)references/sentence-structure.md (opens in a new tab)references/tone.md (opens in a new tab)references/word-choice.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fradser/dotclaude --plugin officeScan generated text for common AI writing patterns that make content sound artificial or formulaic. This skill provides a systematic workflow for identifying and eliminating tropes.
Source: tropes.fyi by ossama.is
Original gist: ossa-ma/f3baa9d2 — the raw 33-trope list this skill's references/ are structured from and extended.
Write like a human expert: varied, precise, and professional.
The goal is to find the "middle ground" between overly colloquial or casual writing and the obscure, formulaic style typical of AI generation. A single pattern used once is usually fine; the problem occurs when multiple tropes cluster together or when the same trope repeats throughout the text.
Scan for tropes when:
CRITICAL: User preferences live in office.*.json files (NOT Claude Code's settings.json). These are the office plugin's own preference files following the .claude/plugin-name.local.* convention with .json carriers. They do NOT participate in the harness four-layer settings merge — the merge is done by load-preferences.sh.
Run the loader script to get the merged preferences as a single JSON object:
bash ${CLAUDE_PLUGIN_ROOT}/scripts/load-preferences.sh
The script reads up to four files in precedence order (highest first): .claude/office.local.json (project, personal) > .claude/office.json (project, shared) > ~/.claude/office.local.json (global, personal) > ~/.claude/office.json (global, shared). It deep-merges them (scalars replaced by higher layer, lists concatenated and deduped, pattern_caps deduped by id, dead_metaphors.entries by word), and prints the merged JSON to stdout. If jq is missing or all files are absent, it fails open to {} and default rules apply.
Apply the merged preferences as overrides/supplements to the default detection below:
banned_words / banned_phrases / zh.* / en.* — additive to default trope wordspreferred_terms — suggested replacements during revisionskip_categories — disables the named category entirely (enum: word-choice, sentence-structure, paragraph-structure, tone, formatting, composition, professional-balance)sensitivity — threshold override (strict flags single occurrences; relaxed only 3+)tone — baseline shift for professional-balanceformatting.max_em_dashes / formatting.allow_bold_first_bullets — formatting thresholdsdead_metaphors — enforce per-word caps (default 1; quote_exception skips quoted speech); suggest replacementpattern_caps — enforce per-pattern caps (reversal_sentence, parallelism_triple, arrow_flow, numbered_bold_sections), honoring forbidden_in / scope / exceptionrhetorical_bans — ban rhetorical patterns by stable ID (self_qa, self_eval_summary, parallel_antithesis_subheading, process_meta_narration)principles — judgmental free-text rules applied as additional checksIf no preference file exists (all four files are absent), after the detection run, offer to create the global file with default values.
See references/preferences-schema.md for the full field reference and merge rules.
Read through the text and identify:
Look for multiple tropes appearing together:
For each identified trope:
After revision:
After the detection run, offer to save preferences to one of the four files (default ~/.claude/office.local.json):
~/.claude/office.local.json — global personal defaults~/.claude/office.json — global shared baseline.claude/office.local.json — project personal (gitignore this).claude/office.json — project shared (commit this for the team)When the user wants a rule shared with a team, suggest a .json (shared) file; for personal preferences, a .local.json file. Then:
banned_words / banned_phrases / zh.banned_words / en.banned_wordspreferred_termsdead_metaphors.entries (with word, replacement, cap)pattern_caps (with id, max/max_nodes, optional forbidden_in/scope/exception)rhetorical_bans (stable ID)principlessensitivityDefault target is the global file unless the user specifies project-level. Do not auto-write. Present a diff preview: which file, which field, and what the merged JSON will look like. Let the user confirm before writing.
The complete trope catalog is organized into seven categories. Load specific references as needed:
Word Choice - references/word-choice.md
Ornate vocabulary, magic adverbs, pompous constructions
Sentence Structure - references/sentence-structure.md
Negative parallelism, rhetorical questions, formulaic patterns
Paragraph Structure - references/paragraph-structure.md
Short fragments, listicle disguises
Tone - references/tone.md
False suspense, pedagogical voice, vague attributions
Formatting - references/formatting.md
Em-dash overuse, bold-first bullets, unicode decoration
Composition - references/composition.md
Fractal summaries, dead metaphors, content duplication
Professional Balance - references/professional-balance.md
Avoiding both overly colloquial "humanisms" and obscure AI-isms.
Plus one supporting schema (not a trope category):
references/preferences-schema.md
Four-tier JSON config: .claude/office.local.json (project personal) > .claude/office.json (project shared) > ~/.claude/office.local.json (global personal) > ~/.claude/office.json (global shared), read and merged by load-preferences.sh. Custom banned words/phrases, dead metaphors, pattern caps, sensitivity, tone, skip categories.5 skills in this plugin
/create-prdThis skill should be used when the user asks to "create PRD", "write product requirements document", or mentions "PRD", "product requirements document"./generate-videoGenerate short videos from a text prompt or from still images using ByteDance Seedance on Volcengine Ark. Use this skill whenever the user wants to create, generate, render, or animate a video, clip, animation, motion graphic, or product demo — including text-to-video ("a drone shot over a forest at sunrise") and image-to-video, where a still becomes the first frame, or two stills are morphed start-to-end. Prefer this skill over describing a video in text./patent-architectAutomatically searches prior art via SerpAPI and generates Chinese patent application forms. This skill should be used when the user wants to generate Chinese patent application forms, or mentions "patents", "inventions", or wants to protect technical innovations./remotionProgrammatic video creation in React with Remotion. Use this skill whenever the user writes Remotion, npx create-video, remotion studio/render/still, useCurrentFrame/interpolate/Sequence, Composition, Mediabunny, or any React-driven video/animation/caption/motion-graphics task — including scaffolding a project, writing markup, rendering/exporting (incl. transparent), adding captions/subtitles, making Studio-editable animations, building a Remotion SaaS (Player/Lambda/Vercel/Cloudflare), or getting media metadata. Do NOT use for ffmpeg-only pipelines, video.js/players, WebRTC live streaming, framer-motion web animation, or After Effects.Other plugins' skills for the same job