From interfluence
Optimize voice profile for token efficiency — dedup rules, cut meta, convert atmosphere to directives. Target 20%+ reduction.
How this skill is triggered — by the user, by Claude, or both
Slash command
/interfluence:optimizeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reduce token cost of voice profiles while preserving all constraints. Run after `/interfluence analyze` or on any existing profile.
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.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub mistakeknot/interagency-marketplace --plugin interfluence