Optimize a voice profile for token efficiency — deduplicate rules, cut meta-commentary, convert atmosphere to directives, trim examples. Target 20%+ reduction.
From interfluencenpx claudepluginhub mistakeknot/interagency-marketplace --plugin interfluenceThis skill uses the workspace's default tool permissions.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Reduce token cost of voice profiles while preserving all constraints. Run after /interfluence analyze or on any existing profile.
Announce: "Optimizing voice profile for token efficiency."
Load the profile via MCP:
profile_list(projectDir) to discover available voicesprofile_get(projectDir) for the base profileprofile_get(projectDir, voice) for each deltaIf no profile exists, tell the user to run /interfluence analyze first.
Count the approximate token length of each profile (base + deltas). Report:
Base profile: ~X tokens (Y lines)
Delta "blog": ~X tokens (Y lines)
Total: ~X tokens
Scan all H2 sections for semantically equivalent constraints. Common duplications:
For each duplicate found, keep the most specific version in the most appropriate section. Remove the other.
Remove sentences that describe the profile's own design rather than instructing the model:
These describe how the profile was made, not what the voice sounds like. Delete them.
Rewrite evocative but non-actionable prose into Do/Don't form:
Before: "Cultural References: Draws from a rich well of literary fiction, particularly Banks and Le Guin, creating an atmosphere of thoughtful science-fiction discourse."
After: "Cultural References: Reference Banks, Le Guin, and literary SF when illustrating points. Don't reference pop culture, Marvel, or mainstream tech influencers."
Where both a long corpus quote AND a Do/Don't pair demonstrate the same pattern:
If two sections have heavy overlap after deduplication:
Before saving, verify:
Save optimized profiles via profile_save. Report:
Optimization complete:
- Base: X tokens → Y tokens (Z% reduction)
- Delta "blog": X → Y (Z%)
- Total: X → Y (Z%)
Changes:
- Deduplicated N rules across sections
- Cut N meta-commentary sentences
- Converted N atmospheric descriptions to directives
- Trimmed N redundant corpus quotes
- Merged N overlapping sections
If reduction is <10%, note that the profile was already well-optimized.