word-highlight
Skill9 starsChanged 13 days agoMITView on GitHub
Put one exact highlight box on a word in a screenshot, page or headline at the moment it is spoken, measured off the image pixels and trimmed to the letter ink, with the rest of the image greyed out. Use when someone says "highlight the word", "box the text", "point at this on the page", "highlight the headline", "spotlight part of the screenshot" or "the highlight is in the wrong place".
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Measure the box off the image,: never guess it from the layout.
- Distinctive: line 19
The clear window is the same box: No extra padding on the window.
- Distinctive: line 20
One highlight per shot: No underlines, no second box, no pen circles.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Word highlight
One box, exactly on the word, at the moment you say it. Everything else goes quiet.
Step 1: Ask for two things, then wait
- The image, full size, at its true ratio.
- The word or phrase and the spoken word it should appear on.
The rules
- Measure the box off the image, never guess it from the layout. Find the dark ink of the letters in that region.
- Trim to the ink, then pad 3px left and right, 5px top and bottom. The next letter and the full stop stay outside.
- The clear window is the same box. No extra padding on the window.
- One highlight per shot. No underlines, no second box, no pen circles.
- Grey the rest with about 55% white over it.
- Show the image at true ratio (
height:auto). A stretched image moves the words and the box misses.
Step 2: Measure it (paste into Claude Code)
Find the exact pixel box of "[PHRASE]" in [image.png]. Crop the region around it, threshold the dark text, and return the tight bounding box of the ink in image pixels.
Pad 3px left and right and 5px top and bottom. Then scale that box to how the image is drawn in my video (its displayed width / natural width).
Draw it in beat [N] of video.js: a 3px #0071e3 rounded outline, the rest of the image under rgba(255,255,255,.55) with the box left clear.
It fades in over 0.15s starting at the spoken word "[WORD]" from words.js.
Then crop a still of that region at 2x and show me. The box must cover the phrase and nothing else.Check
Crop the final frame at 2x. If a letter of the next word is inside the box, or a letter of the phrase is outside, measure again.
In this repository40 other files it gives its agents.
- animated-numbersSkill
- apple-styleSkill
- behind-my-headSkill
- big-idea-videoSkill
- brand-setupSkill
- call-clipsSkill
- call-to-actionSkill
- clone-roomSkill
- cube-spinSkill
- depth-uiSkill
- every-formatSkill
- explainer-videoSkill
- frame-breakSkill
- grid-diveSkill
- head-pop-outSkill
- infinite-zoomSkill
- liquid-glassSkill
- magnifying-lensSkill
- news-reactionSkill
- opening-hookSkill
- phone-fanSkill
- portalSkill
- product-demoSkill
- pull-back-revealSkill
- ribbon-wrapSkill
- screen-in-screenSkill
- shatterSkill
- spotlightSkill
- stripe-styleSkill
- tier-listSkill
- tile-tunnelSkill
- title-orbitSkill
- toolkit-videoSkill
- vertigoSkill
- video-checkSkill
- video-effectsSkill
- video-intakeSkill
- video-soundSkill
- zoom-cutSkill
- zoom-throughSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

