react
Skill1 starsChanged 16 days agoMITView on GitHub
Run Reel Reactor once. Reads Instagram DMs from whitelisted friends through the Playwright MCP, reacts to new reels with a mood-matched emoji, and sends the friend one short funny reply about the standout reel. Use when the user says "run reel reactor", "react to my reels", "watch mode", or a scheduled job invokes it.
48 other projects use a version of this.
Adopted by
Most recently taken up by
- LuisSambrano/antigravity-configtheir own version, first seen Nov 8, 2026
- compozy/compozytheir own version, first seen Nov 7, 2026
- lobehub/lobehubtheir own version, first seen Nov 5, 2026
- hmj1026/dhpktheir own version, first seen Nov 1, 2026
- gingerminds/claude-skillstheir own version, first seen Nov 1, 2026
- thongdn-it/react-agent-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use app-renderer-systems, refactoring-analysis and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
pedronauckSkillapp-renderer-systems
Create, extend, or debug frontend domain modules organized under systems/. Covers adapters, Query hooks, local state, and public exports; excludes generic components and backend implementation.
Also in 3 projects that use this
pedronauckSkillrefactoring-analysis
Audit code quality and architectural health or plan refactoring using Fowler code smells and techniques; write prioritized findings to docs/_refacs/. Excludes formatting, performance, and security audits.
Also in 3 projects that use this
andyridsSkillexpress
Run the ICM express-change pipeline - a small change no spec has to move for, with the plan record left intact
Also in 4 projects that use this
tondevrelSkillpytorch
Leading deep learning framework. Provides Tensors and Dynamic Computational Graphs with strong GPU acceleration. Widely used for research, neural networks, and differentiable programming.
Also in 3 projects that use this
azlekovSkilltailwindcss
This skill should be used when the user asks to "style with Tailwind", "add CSS", "configure theme", "use @theme", "add custom colors", "implement dark mode", "use container queries", "add responsive design", "use OKLCH colors", or discusses styling, theming, or visual design. Always use the latest Tailwind CSS version and modern patterns.
Also in 5 projects that use this
jander99Skilltypescript-advanced
Design, implement, refactor, and debug advanced TypeScript patterns including generics, utility types, mapped types, conditional types, type guards, discriminated unions, and strict mode configuration. Use when writing type-safe code, fixing type errors, or improving type inference.
Also in 3 projects that use this
Other versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- lobehub/lobe-chat★ 84ksame name
- lobehub/lobehub★ 84ksame name
- vercel-labs/json-render★ 19ksame name
- compozy/compozy★ 2.9ksame name
- BetterTyped/react-zoom-pan-pinch★ 1.9ksame name
- openops-cloud/openops★ 1.1ksame name
- pedronauck/skills★ 649same name
- Mindrally/skills★ 275same name
- kid-sid/claude-spellbook★ 190same name
- magnus919/agent-skills★ 172same name
38 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 3 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 38 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
If config.json is missing, stop and tell the user to run /reel-reactor:setup.
- Very specific: line 30
Running a script: call browser_run_code_unsafe (named browser_run_code in some Playwright MCP versions.
- Very specific: line 33
If the call fails with "File access denied … outside allowed roots" (for example on a standalone mcp__playwright__* server), Read the …
- Very specific: line 38
Only touch DM threads with usernames in config.friends.
- Very specific: line 39
Never type a username or password.
- Distinctive: line 45
Never pick a React or Reply button by its position on the page.
- Distinctive: line 47
Every reaction must be verified on the right reel afterwards.
- Very specific: line 81
If reels is empty, go to step 6.
- Very specific: line 88
No comments at all → config.defaultEmoji.
- Very specific: line 117
If 1 to 3 reactions came back not_found or skipped, you may redo just those with the watch-mode step-by-step procedure (step 4 there).
- Very specific: line 143
After a dry run, end with: "Dry run: nothing was sent.
- Very specific: line 144
If dryRunReason was "upgrade", say it was turned on automatically because the plugin update changed what gets sent.
- Distinctive: line 154
Find the reels: If the collect script worked, use its list.
“Common” is measured: kept by at least 6 in 10 of the 38 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Reel Reactor: one run
You are driving a real Instagram account through the Playwright MCP browser tools. Use the plugin's
bundled server (mcp__plugin_reel-reactor_playwright__*), or mcp__playwright__* if that's the one
loaded. If neither exists, stop and tell the user to run /reel-reactor:setup.
There are two modes:
- Fast mode (default, used by scheduled runs): two scripts do the browser work in single calls and you only do the judgment (mood, emoji, reply text). It takes about 6 tool calls.
- Watch mode (
config.mode="watch", or the user says "watch mode"): the same run done step by step with visible clicks, for demos and screen recordings. Fast mode also falls back to it if the collect script fails.
Files
User files live in ~/.reel-reactor/ (on Windows: %USERPROFILE%\.reel-reactor\):
config.json: the user's config (schema inconfig/reel-reactor.example.jsonat the plugin root)state.json:{ "lastRun": ISO, "processedReelIds": [codes], "recheckFriends": [usernames], "lastSeen": { username: ms } }
If config.json is missing, stop and tell the user to run /reel-reactor:setup. If state.json
is missing, start from { "lastRun": null, "processedReelIds": [], "recheckFriends": [], "lastSeen": {} }.
The scripts are in scripts/ at the plugin root, two levels up from this skill's base directory.
Running a script: call browser_run_code_unsafe (named browser_run_code in some Playwright MCP
versions; use whichever exists) with filename = the script's absolute path. The bundled server
is started with --allow-unrestricted-file-access, so this works whatever folder the session runs in.
If the call fails with "File access denied … outside allowed roots" (for example on a standalone
mcp__playwright__* server), Read the script file and pass its whole content as code instead.
Guardrails (never break these)
- Only touch DM threads with usernames in
config.friends. - Never type a username or password. If Instagram shows a login page, a checkpoint, a "suspicious
activity" screen or a CAPTCHA (
error: "login_required"from a script), stop, change nothing and tell the user. - The only writes allowed are emoji reactions on reel messages from whitelisted friends, plus at most
config.repliesPerRun(default 1, max 1) reply in that friend's thread. No other DMs, no comments on reels, no follows or likes, no settings. - Never pick a React or Reply button by its position on the page. It must belong to the message that contains that reel (the act script enforces this; in watch mode you do).
- Every reaction must be verified on the right reel afterwards. If one landed on the wrong message, stop the run and tell the user which message it was, so they can fix it by hand.
- Reply text: 15 words max, casual lowercase, 0 to 1 emoji, no @mentions, hashtags or links, nothing mean, sexual, political or about anyone's looks. Riff on the reel and its top comments; don't copy one.
config.dryRun= true means reading and probing only: nothing is clicked or sent.
Fast mode
1. Load config and state
First run node "<plugin root>/scripts/rr.mjs" migrate --quiet. It upgrades a config from an older
plugin version (new keys, renamed keys) and prints nothing when there's nothing to change. If it prints
"Config updated", show those lines to the user at the top of your report. When an upgrade changes what
gets sent, it turns dryRun on for one run (dryRunReason: "upgrade").
Then read both files. Defaults: maxReelsPerRun 15, repliesPerRun 1.
2. Collect (one call, read-only)
browser_navigatetohttps://www.instagram.com/direct/inbox/(the scripts read their input from this site's localStorage).browser_evaluatewith() => { localStorage.setItem('reelReactor.input', JSON.stringify(<INPUT>)); }, where INPUT is{ friends, processedReelIds, recheckFriends, lastSeen, force, maxReelsPerRun }from config and state.forceis true only when the user asked for a full re-check; scheduled runs use false.browser_run_code_unsafewithfilename=<plugin root>/scripts/collect.js(see "Running a script").
It returns { ok, earlyExit, threads, reels, alreadyReacted }:
earlyExit: truemeans nothing happened in any whitelisted thread since the last check (whether or not the user opened the chat in between). UpdatelastRun, print "Nothing new from<friends>", and stop. Most scheduled runs end here in seconds.ok: falsewithlogin_required: stop (guardrail). With any other error, tell the user the data feed didn't work and continue in watch mode from its step 2.- Each reel has
friend, threadFbid, messageId, code, previewFile, owner, caption, plays, likes, commentCount, topComments[]. Codes inalreadyReactedcount as processed.
If reels is empty, go to step 6.
3. Judge each reel
Classify the mood from the top comments (and the caption when there are few):
funny, wholesome, shocking, hype, sad, cringe, love. Then pick an emoji from
config.emojiPalette:
funny → 😂 or 💀 · wholesome → 😍 or ❤️ · shocking → 😮 · hype → 🔥 or 👏 · sad → 😭 · cringe → 💀 · love → ❤️.
No comments at all → config.defaultEmoji.
Roll the dice for all reels in one command with a real RNG (don't make the numbers up):
node -e "console.log(JSON.stringify(Array.from({length:N},()=>Math.floor(Math.random()*100))))"
Map each roll with config.ratios: below emoji*100 → emoji; the next sticker*100 → sticker,
which counts as emoji while stickersEnabled is false; otherwise → none (left alone, which looks human).
The reply: pick the standout reel (most plays, falling back to likes, then commentCount), and
write one reply to the friend about it, following the guardrail rules. It should sound like a
friend reacting to what they sent, e.g. "the prius recycling dinosaurs comment is sending me".
Skip the reply when repliesPerRun is 0.
4. Act (one call)
browser_evaluatewith() => { localStorage.setItem('reelReactor.act', JSON.stringify(<ACT>)); }:
Include only reels whose roll gave an emoji.{ "probe": <config.dryRun>, "gapMs": [2000, 5000], "actions": [{ "threadFbid": "…", "messageId": "…", "code": "…", "previewFile": "…", "emoji": "😂" }], "reply": { "threadFbid": "…", "messageId": "…", "code": "…", "previewFile": "…", "text": "…" } }replyis null when skipped.browser_run_code_unsafewithfilename=<plugin root>/scripts/act.js(see "Running a script").
Each result has a status:
verified: done, and confirmed in Instagram's data on the right messageprobe_ok: dry run, where everything was found but nothing was clickednot_found/skipped/unverified: not done (the detail says why); it gets retried next runwrong_message: a reaction landed on a different message. Stop and tell the user which one.
5. Retry once in watch mode (optional)
If 1 to 3 reactions came back not_found or skipped, you may redo just those with the watch-mode
step-by-step procedure (step 4 there). Leave unverified ones alone, so nothing gets doubled.
6. Save state and report
Write state.json:
lastRun: now (ISO 8601)processedReelIds: the old ones, plus this run's codes that areverified, rollednone, or inalreadyReacted. Keep the newest 500. In dry-run mode, add nothing.lastSeen: for every thread collect returned with alastActivity, setlastSeen[friend]to it. Next run, a thread is only re-read if something happened in it after that moment, whether or not anyone opened the chat. In dry-run mode, don't update it, so the live run looks again.recheckFriends: friends who still have reels that weren't done (not_found,skipped,unverified, over the cap). TheirlastSeenhas moved on, so without this the next run would skip them. Drop a friend from the list once a run leaves nothing unfinished for them.
There's no "older than the last run" cutoff. Every reel is judged only by processedReelIds and
whether it already has your reaction, so reels a run couldn't load are picked up by the next one.
Print the summary table and one line of totals:
| friend | reel | mood | action | result |
| sam | C9xYz… | funny | 😂 | verified |
| sam | C9aBc… | hype | none (roll 93) | — |
| alex | C8qRs… | wholesome | 😍 + reply: "the dog's face at the end lmao" | verified |
After a dry run, end with: "Dry run: nothing was sent. Run /reel-reactor:dry-run off to go live."
If dryRunReason was "upgrade", say it was turned on automatically because the plugin update changed
what gets sent.
Watch mode (step by step, for demos)
Same rules and the same judgment, but done with visible snapshot, hover and click steps. Narrate each
step in one short line so a screen recording reads well. Use browser_wait_for with text or an element
rather than fixed waits, except for the random 2 to 5 second gaps between reactions.
- Load config and state (fast mode step 1).
- Find the reels. If the collect script worked, use its list. Otherwise, for each friend, open
their thread from the inbox and snapshot it. Shared reels are message bubbles with a reel preview
image. Take the ones the friend sent that don't already show your reaction and aren't in
processedReelIds. Scroll up (PageUp) only while every visible reel is still new. - Read each reel.
browser_navigatetohttps://www.instagram.com/reel/<code>/, wait for the comments to appear, and read the caption, counts and top 4 or 5 comments. Judge it as in fast mode step 3. - React, scoped to that message. Back in the friend's thread:
- Find the bubble that contains that reel's preview image (its file name is
previewFilewhen the collect script ran). Hover that bubble. - Click the React to message from
<friend>button that sits inside that same message row, never one picked by position or from a neighbouring row. - Pick the emoji from the quick bar (❤️ 😂 😮 😢 😡 👍). Otherwise click Choose an emoji in the dialog and search: 💀 "death", 🔥 "flame", 😭 "crying", 😍 "heart eyes", 👏 "clap".
- Required check: snapshot and confirm the emoji now shows under that reel's bubble and under no other one. If it went to the wrong message, stop (guardrail).
- Find the bubble that contains that reel's preview image (its file name is
- Reply on the standout reel: hover it, click Reply to message from
<friend>in that row, type the reply in the message box, press Enter, and confirm it shows in the thread. - Save state and report (fast mode step 6).
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.

