rea-tool-design
MOmorluto/rea486k8,943 new stars in the last 7 days
Use when the user wants to know how a company gets its users, reverse engineer a competitor's growth or distribution, copy what a winning company does on each channel, or study a brand's content strategy (titles, thumbnails, covers, captions, graphics) on YouTube, TikTok, Instagram, X, LinkedIn or Reddit. Also for "how did X grow", "teardown of X's marketing", "what content works for X".
A company in, a playbook out: when it grew, which moves did it, how its content is made on each channel and what wins there, and ten plays the user can copy, each with a ready prompt.
Runs on treg. If it isn't set up (treg --version fails), read https://treg.to/llms.txt and follow it to
install and sign in, then come back here.
| Mode | When | Steps | Delivers |
|---|---|---|---|
| full (default) | "how does TARGET grow", "teardown", "what to copy" | 0-12 | playbook.md + playbook.html + CSVs |
| content | titles, thumbnails, covers, captions, graphics, "what content works", and nothing about growth | 0, 1 (handles only), 7, 13 | content.md + content.html + CSVs |
catalog_get it, quote its price, check it fits the cap. Every
DataForSEO endpoint takes a JSON array body: [{…}].treg.web.search and treg.web.extract with header X-Treg-Route-Prefer: tinyfish.
Blocked page → the route tries the next vendor; still blocked → list it as blocked, move on.catalog_search the same job, try one alternative → else "unavailable".INPUT: mode | target domain | user's company + domain | user's stage (pre-launch / early revenue /
scaling) | budget cap (default $3) | country (US → location_code 2840, language_code en). Content
mode: mode | target | channels (default all six) | cap; the user's company is optional and only
feeds the "for your company" part of step 13. Ask for anything missing before the first call.
No target → treg.web.search {"q":"fastest growing startups 2026"} → propose 3, let the
user pick.
treg.web.map {"url":"https://TARGET"} → every URL. Group by path family (use cases, templates,
integrations, partners, pricing, docs, blog, changelog, compare/vs).treg.web.extract {"url":…} on home, about, pricing, sign-up, onboarding or getting-started doc,
referral/affiliate/partner page, changelog. Record: sign-up method (SSO, email, card up front?),
waitlist or invite codes, what is free, trial length and how it ends (days or credits), plans and
prices, the first thing a new user is told to do, every place a non-user meets the product (shared
outputs, public pages, embeds, badges, invites, emails sent to outsiders).treg.web.search {"q":"TARGET founder"}). A handle not
linked from the site counts only if its bio links back to TARGET.predictleads.companies.technology_detections {company_id_or_domain} → analytics, ad pixels, A/B
testing, referral/affiliate, lifecycle email, chat. Keep score ≥ 0.9 and not behind_firewall (the
rest includes sites their users build). A pixel = SEEN; what they run on it = INFERRED.predictleads.companies.connections → partners, integrations, investors.predictleads.companies.news_events + predictleads.companies.financing_events → launches,
press, funding, reported revenue (label it "reported").dataforseo.x.dataforseo-labs-google-historical-rank-overview-live
[{"target":"TARGET","location_code":2840,"language_code":"en","date_from":<24 months ago>}] →
monthly organic + paid traffic estimate.akta.x.website-traffic {"company":"TARGET"} needs the team's own Akta key;
without one, say "unavailable" and use the organic vs paid split above.dataforseo.google.domain.ranked_keywords
[{"target":"TARGET","location_code":2840,"language_code":"en","limit":1000,"order_by":["ranked_serp_element.serp_item.etv,desc"]}]
→ keyword, URL, position, volume. Map URLs to step 1's path families; brand vs non-brand share;
families that ranked before the inflection.cloro.ai-search.chatgpt.scrape {"prompt":…,"country":"US"}:
order brands are named, which pages are cited.scrapecreators.x.v1-facebook-adlibrary-search-companies {"query":"TARGET name"} → pick the
page whose ig_username or category matches → scrapecreators.x.v1-facebook-adlibrary-company-ads
{"pageId":…,"status":"ACTIVE","trim":true} (searchResultsCount = active total; first page sorted
by impressions).serpapi.google.ads.transparency
{"engine":"google_ads_transparency_center","text":"TARGET","num":40}
(search_information.total_results = creative count; total_days_shown = how long each ran).adyntel.linkedin.search.ads.company {"company_domain":"TARGET"}.anyapi.tiktok.ad_library_search {"advertiserName":…} (no region with advertiserName).treg.web.extract). No ads → SEEN "no ads on this network".anyapi.x.search.posts {"query":"from:FOUNDER","queryType":"Top"} and
{"query":"TARGET min_faves:300 -from:FOUNDER","queryType":"Top"}.anyapi.youtube.search {"query":"TARGET category","sortBy":"popular"}.scrapecreators.reddit.search.posts
{"query":"TARGET","sort":"top","timeframe":"year","trim":true}, next page with after.Step 6 is what others say; this step is what TARGET publishes and how it is made. Run it for every handle from step 1. Five parts: pull, rank, look, read against the checklist, write up.
Pull. Per channel, the latest 60 posts or the past 6 months, whichever comes first, page by page;
stop early if the cap would be passed. Save the rows to rea/<channel>/posts.csv with the date pulled.
| Channel | Call (and how to page) | Keep |
|---|---|---|
| YouTube | scrapecreators.x.v1-youtube-channel-videos {"handle":"handle","sort":"latest"}, next page with continuationToken; once more with "sort":"popular" (first page) for the all-time best | title, thumbnail, views, published, length; Shorts vs long |
| TikTok | crawl4ai.tiktok.user.videos {"account":"handle","limit":60} (up to 100 in one call) | description, hashtags, cover, plays, saves, shares, length, sound |
scrapecreators.instagram.user.posts {"handle":"handle"}, next page with next_max_id | kind (reel, carousel, photo), image, caption, likes, comments | |
| X | anyapi.x.user.posts.timeline {"handle":"handle"} (about 20 a page), next page with cursor = previous nextCursor; media with tikhub.x.twitter-web-fetch-user-media {"screen_name":"handle"}, paged by cursor | text, views, likes, reposts, media |
harvestapi.linkedin.company.posts {"companyUniversalName":"slug","scrapePostedLimit":"6months","page":1}, then page 2, 3…, passing paginationToken when returned | text, images, document carousels, reactions; staff reposts vs page posts | |
| TARGET's own account if it has one; otherwise step 6's Reddit rows (content mode: run step 6's Reddit call here) | title, subreddit, self or link post, score, comments |
Rank. Engagement per channel: views on YouTube, TikTok and X; likes + comments on Instagram; reactions on LinkedIn; score on Reddit. Drop posts under 7 days old (not settled). With Python, mark the top quarter and the bottom half. Compare only within a channel, never across. Under 20 posts → report them, call no pattern ("too few posts to call a pattern").
Look. Download the thumbnail, cover, first slide or image of every top-quarter post and of 5
bottom posts into rea/<channel>/ at once (TikTok and Instagram links expire within hours), then
open each file. An image that does not download is "not read", never described from its caption.
Read each image and title against the channel's checklist. What the image shows is SEEN; why it might work is INFERRED.
Write up, per channel:
dataforseo.web.backlinks.summary [{"target":"TARGET","include_subdomains":true}] → referring
domains; referring_links_tld shows links from the product's own user subdomains
(e.g. *.TARGET-app.com).dataforseo.web.anchors.list
[{"target":"TARGET","limit":40,"order_by":["referring_domains,desc"]}] → one anchor on thousands
of domains ("Edit with", "Made with", "Powered by") = a product loop; its first_seen dates it. Drop
link-seller anchors (SEO, backlinks, Telegram).treg.web.extract: what the badge says, where it links.predictleads.companies.job_openings {company_id_or_domain} → keep openings last seen in the past
30 days; growth, SEO, paid, lifecycle, community, devrel, partnerships, sales, content, design,
video and country roles → the channel each scales.Which moves lined up with growth speeding up, and how fast each move itself spread. Python only; every input is already pulled.
keyword_info.monthly_searches
summed per month, a second demand signal.rea/moves-vs-growth.csv.One row per stage, each cell SEEN or INFERRED with links: Get noticed (founder posts, press, podcasts, ads, search, AI answers, own content) → Sign up (method, card, waitlist/invites, partner links) → First win (the first action, time to it) → Pay (plans, trial end rule, free limits) → Share (what reaches non-users: shared outputs, invites, badges, referrals).
playbook.md + one-file playbook.html (light/dark, every source linked, a contact sheet
per channel of top and bottom thumbnails side by side, the traffic curve with every move pinned and
its lift, a "Copy the prompt" button per play) + the
CSVs. End with the first play to run this week.content.md + one-file content.html (light/dark, a contact sheet per channel of top and
bottom thumbnails side by side, every post linked) + the CSVs.MOmorluto/rea486k8,943 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
NEnextlevelbuilder/ui-ux-pro-max-skill157k3,225 new stars in the last 7 days
NEnextlevelbuilder/ui-ux-pro-max-skill157k3,225 new stars in the last 7 days
THthedotmack/claude-mem121k1,626 new stars in the last 7 days