[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77SWWY0W700WFMYB1KZW6J6":3,"skill-same:01M77SWWY0W700WFMYB1KZW6J6":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77SWWY0W700WFMYB1KZW6J6","reddit-account-operations",null,"Operating doctrine for Reddit account automation — careful, helpful, non-spam contributor pattern with role separation, post qualification, quotas, anti-spam triggers and recovery. Use this for any scheduled Reddit activity (cron, agent, recurring task) where account safety, sub-mod tolerance and long-term reputation matter more than raw output.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fr\u002Freddit-account-operations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: reddit-account-operations\ndescription: Operating doctrine for Reddit account automation — careful, helpful, non-spam contributor pattern with role separation, post qualification, quotas, anti-spam triggers and recovery. Use this for any scheduled Reddit activity (cron, agent, recurring task) where account safety, sub-mod tolerance and long-term reputation matter more than raw output.\n---\n\n# Reddit Account Operations\n\nThis skill is the operating doctrine for every Reddit automation run on a brand, professional or personal account.\n\n**The goal is not to comment fast. The goal is to operate Reddit like a careful, helpful human contributor: stable browser, correct context, useful action, no spam, no reputational risk.**\n\nDrop-in for any niche (legal, medical, software, finance, creator, ecommerce). Replace the placeholders in section 0 with your own values.\n\n---\n\n## 0. Configure for your brand\n\nBefore running anything, fill these placeholders in your local copy or your agent's memory:\n\n| Placeholder | Example | Your value |\n|---|---|---|\n| `\u003CBRAND_NAME>` | \"Acme Studio\" | — |\n| `\u003CBRAND_DOMAIN>` | \"acme.studio\" | — |\n| `\u003CREDDIT_USERNAME>` | \"u\u002FAcmeAlex\" | — |\n| `\u003CBROWSER_PROFILE>` | \"reddit-live\" | — |\n| `\u003CBROWSER_PORT>` | \"9223\" | — |\n| `\u003CNICHE_KEYWORDS>` | \"retrait permis OR contester amende\" | — |\n| `\u003CTARGET_SUBS>` | \"r\u002Fconseiljuridique, r\u002FAskFrance\" | — |\n| `\u003CWORKSPACE_DIR>` | \"~\u002F.openclaw\u002Fworkspace\u002Freddit-\u003Cbrand>\" | — |\n\nAll shell snippets below assume an [OpenClaw](https:\u002F\u002Fopenclaw.ai) browser CLI bound by CDP, but the doctrine works with any browser-automation stack (Playwright, Puppeteer, Chrome MCP). Swap the CLI calls for your own.\n\n### Quick config (copy-paste YAML)\n\nIf your agent reads config from YAML, drop this in `\u003CWORKSPACE_DIR>\u002Fconfig.yaml`:\n\n```yaml\nbrand:\n  name: \u003CBRAND_NAME>\n  domain: \u003CBRAND_DOMAIN>\n\nreddit:\n  username: \u003CREDDIT_USERNAME>        # e.g. \"u\u002FAcmeAlex\"\n  browser_profile: \u003CBROWSER_PROFILE> # e.g. \"reddit-live\"\n  browser_port: \u003CBROWSER_PORT>       # e.g. 9223\n\ndiscovery:\n  niche_keywords: \u003CNICHE_KEYWORDS>   # e.g. \"retrait permis OR contester amende\"\n  target_subs:\n    - r\u002F\u003Csub-1>\n    - r\u002F\u003Csub-2>\n\nworkspace:\n  dir: \u003CWORKSPACE_DIR>               # e.g. \"~\u002F.openclaw\u002Fworkspace\u002Freddit-acme\"\n\nalerts:\n  channel: telegram | slack | discord\n  webhook: \u003CYOUR_WEBHOOK_URL>\n```\n\n### Compatibility\n\nThe skill is markdown — it works wherever an agent reads `SKILL.md`:\n\n| Stack | Skill install path |\n|---|---|\n| [Claude Code](https:\u002F\u002Fclaude.ai\u002Fcode) | `~\u002F.claude\u002Fskills\u002Freddit-account-operations\u002F` |\n| [OpenClaw](https:\u002F\u002Fopenclaw.ai) | `~\u002F.openclaw\u002Fskills\u002Freddit-account-operations\u002F` |\n| ClawHub-published | one-click install via [clawhub.ai](https:\u002F\u002Fclawhub.ai\u002Falexbloch-ia\u002Freddit-account-operations) |\n| Cursor \u002F Copilot CLI | drop `SKILL.md` into your project's `.cursorrules` or `AGENTS.md` |\n| Any LLM agent reading markdown rules | concatenate `SKILL.md` into your system prompt |\n\n---\n\n## 1. Browser architecture\n\n### Physical profile\n\nA single browser profile is used per account:\n\n- `\u003CBROWSER_PROFILE>` (CDP direct, attached to `http:\u002F\u002F127.0.0.1:\u003CBROWSER_PORT>`)\n\nUser data dir: `~\u002F.openclaw-browser-profiles\u002F\u003CBROWSER_PROFILE>`.\n\nUse it through the OpenClaw browser CLI:\n\n```bash\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> status\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> tabs\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> navigate https:\u002F\u002Fwww.reddit.com\u002F\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> snapshot --limit 160\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> click \u003Cref>\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> type \u003Cref> \"text\"\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> press Enter\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> evaluate --fn \"\u003Casync function>\"\n```\n\n`evaluate --fn` is the primary API tool: it runs JS in the active tab and returns the function's value as JSON. Use it for `\u002Fapi\u002Fme.json`, `\u002Fapi\u002Fcomment`, `\u002Fapi\u002Fsubmit`, `\u002Fapi\u002Fselectflair`, `\u002Fr\u002F\u003Csub>\u002Frising.json`, `\u002Fsearch.json`.\n\n### Roles (mental separation, single physical profile)\n\n#### Role: `red-post`\n\nAccount cockpit. Use for direct account action.\n\nUse for:\n- original informative posts (text\u002Fself)\n- replies on threads\n- inbox\u002Fnotifications check\n- profile checks\n- karma snapshots\n- flair application\n\nDefault page: `https:\u002F\u002Fwww.reddit.com\u002Fuser\u002F\u003CREDDIT_USERNAME without u\u002F>`\n\nMental model: act as the account. Protect it. Do not clutter it.\n\n#### Role: `red-engage`\n\nSearch and discovery radar. Use to find what deserves action.\n\nUse for:\n- keyword searches across target subs\n- monitoring rising\u002Fnew posts in target subreddits\n- finding qualified candidates for replies\n- competitor observation\n- trend discovery\n\nDefault page:\n`https:\u002F\u002Fwww.reddit.com\u002Fsearch\u002F?q=\u003CNICHE_KEYWORDS_URL_ENCODED>&type=link&t=day&sort=new`\n\nMental model: discover, qualify, decide. Do not post impulsively from discovery.\n\n#### Role: `red-stealth`\n\nQuiet maintenance bay. Use for low-noise maintenance.\n\nUse for:\n- subscribing to relevant subreddits\n- saving posts for later study\n- reading without interacting\n- sub-state observation (flair requirements, karma requirements, mod messages)\n\nDefault page: `https:\u002F\u002Fwww.reddit.com\u002F`\n\nMental model: maintain quietly. No noisy engagement.\n\n### Operational law\n\n- `red-post` = act as the account\n- `red-engage` = discover what to react to\n- `red-stealth` = maintain quietly\n- stability matters more than speed\n- after every run, navigate back to the role's default page (resting state)\n\nNever collapse all workflows into chaotic browsing.\n\n---\n\n## 2. Login verification (run first on every cron)\n\n```bash\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> status\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> evaluate --fn \"async () => { const d = await (await fetch('\u002Fapi\u002Fme.json',{credentials:'include'})).json(); return {name: d.data?.name || null, link_karma: d.data?.link_karma ?? null, comment_karma: d.data?.comment_karma ?? null, total_karma: d.data?.total_karma ?? null, modhash: !!d.data?.modhash}; }\"\n```\n\n- If `status` is `stopped`: report the blockage in your recap channel and stop. Do not attempt to relaunch Chrome from inside a cron — that's a user-side action.\n- If `name` is `null`: login expired. Stop and report.\n\n---\n\n## 3. Phase gating (karma)\n\nReddit's spam filters and most sub auto-mods judge new accounts harshly. Run in two phases:\n\n- **Phase A** (karma \u003C 100): only karma-builder + ops crons run. Any brand-mentioning cron must check karma at start and abort with `\"phase A, karma=X, skip\"` if karma \u003C 100.\n- **Phase B** (karma ≥ 100): all crons authorized.\n\nAlways read `\u003CWORKSPACE_DIR>\u002Fmemory\u002Freddit-karma-log.md` at start (last line = current state) AND verify via `\u002Fapi\u002Fme.json`.\n\nA Daily Metrics Recap cron appends a snapshot every night and pings your alert channel explicitly when karma crosses 100 for the first time.\n\n### Manual override (advanced)\n\nYou can force Phase B before karma ≥ 100 by appending a line `YYYY-MM-DD - karma=X - phase=B (manual override)` to `reddit-karma-log.md`. The override line takes priority over the threshold. Use when:\n\n- You have an established brand and want immediate brand-aware posting despite low karma.\n- You accept the risk of more automod removals on early posts (auto-freeze on 2 removals still applies — see §10).\n\nDocument the decision in `reddit-learnings.md` so future runs know why the threshold was bypassed.\n\n---\n\n## 4. Qualification of a post for reply\n\nA post is repliable only if **all** of:\n\n- Age ≤ 24h (use `created_utc`)\n- Comment count \u003C 200\n- Score positive (≥ 1, accept controversial-but-genuine)\n- Not flagged `removed` or `locked`\n- Question is a real question in your domain (not a vent, not a meme, not a request for free work)\n- No more than 1 expert-like reply already in top 10 comments (check for domain markers in flairs\u002Fbody)\n- Subreddit is not in freeze state (see `reddit-subs-state.md`)\n- Your account has not interacted with this thread before (`reddit-reply-log.md`)\n- Phase A: no domain-expert reply at all — only general helpful Phase A comments in Phase A subs.\n\nIf any check fails: skip. Document why in the recap.\n\n---\n\n## 5. Reply templates\n\n### Phase A (karma builder, NO brand mention)\n\n- 1-3 sentences, conversational, genuinely helpful\n- Match the sub's tone\n- Never expert-grade advice (medical, legal, financial)\n- Never link to anything\n- Never sign with anything that hints at a profession\n\nExample structure:\n```\n[Direct answer or empathy hook]. [One concrete tip from common sense]. [Soft close optional].\n```\n\n### Phase B (brand-aware, expert)\n\nDefault mode = **pedagogical**, not promotional.\n\nStructure:\n```\n[Acknowledge the situation in 1 sentence, neutral tone.]\n\n[General rule \u002F framework in 2-3 sentences. Cite a source only if essential. No promise.]\n\n[Concrete next step the OP can take themselves: deadline, document to gather, official portal, command to run.]\n\n[Optional: if the case is complex, mention that a specialist can review the OP's situation. No brand name in the comment body.]\n```\n\nBrand link policy — **ZERO outgoing links to `\u003CBRAND_DOMAIN>` (or any owned domain) in any reply or post.** Indirect signaling only (mention a profession, never a brand name or URL). Reddit's automod and most subs flag self-promo aggressively — a single brand URL is enough to get a thread removed or trigger a sub ban.\n\n- The username profile is your only allowed brand signal (curious readers click through; no need to push).\n- No link in the comment body, not even in a trailing line.\n- No link in a footer \u002F signature block.\n- No mention of the brand by name.\n\nForbidden in any reply:\n- Any URL on `\u003CBRAND_DOMAIN>` (and all variants: `www.`, subdomains, shorteners).\n- \"Contact me\", \"DM me\", \"check our site\", \"more info here\", phone numbers, email addresses.\n- Brand name in the comment body.\n- Promises (\"you will win\", \"it's certain\", \"guaranteed results\").\n- Quoting specific past client\u002Fcustomer cases.\n- Asking the OP to DM you.\n\n---\n\n## 6. Informative post structure (regular cadence, e.g. Tue + Fri)\n\nTarget sub: pick one from `\u003CTARGET_SUBS>` based on:\n1. Sub karma requirement satisfied\n2. Sub freeze state (skip if frozen)\n3. Topic relevance (consult `reddit-ideas.md` and rotate)\n4. Last 14 days have NOT seen you post in that sub (cross-check `reddit-post-log.md`)\n\nFormat:\n```\nTitle: [Question-form or \"Guide:\" prefix, ≤ 100 chars]\n\nBody (markdown):\n**Context** : [1 paragraph framing the problem people face]\n\n**The rule \u002F framework** : [2-3 paragraphs of plain-language explanation: sources, deadlines, mechanics]\n\n**What to do concretely**:\n1. [Action 1]\n2. [Action 2]\n3. [Action 3]\n\n**Takeaway** : [1 paragraph summary]\n\n---\n*[Generic role tag, e.g. \"Specialist in \u003Cfield>\"]. I don't take case-specific questions in public comments — for a precise situation, a 1:1 review with a qualified professional works better.*\n```\n\n**ZERO brand link** in the body, in the title, or in the closing block. The closing line is an indirect role mention only — no name, no URL, no contact info. Reddit treats brand domains as self-promo; a single URL is usually enough for automod removal in legal\u002Fmedical\u002Ffinancial subs.\n\nApply flair if the sub requires one. If no relevant flair exists, skip the sub.\n\n---\n\n## 7. Quotas (hard limits)\n\n| Action | Limit |\n|--------|-------|\n| Replies \u002F 24h (Phase B) | 3 max |\n| Replies \u002F Reply Pass run | 1-2 max |\n| Informative posts \u002F week | 2 max |\n| Informative posts \u002F day | 1 max |\n| Subscribes \u002F week | 5 max |\n| Actions in same sub | min 6h apart |\n| Actions globally | min 30 min apart |\n| Karma builder comments \u002F run | 1-2 max |\n| Karma builder comments \u002F day | 3 max |\n\nQuota tracking: read `reddit-reply-log.md` and `reddit-post-log.md` at start of every run, count entries with timestamps in the last 24h \u002F 7d, abort early if quotas already met.\n\n---\n\n## 8. Anti-spam triggers (words and patterns to avoid)\n\n### Comment\u002Fpost content\n\n| Avoid | Use instead |\n|-------|-------------|\n| \"DM me\", \"contact me\", \"check our site\", \"more info here\" | (just don't ask, don't link) |\n| `\u003CBRAND_NAME>` in the comment body | (no brand name in body) |\n| \"free consultation\", \"free first call\" | (no marketing) |\n| Phone number, email | (never) |\n| Emojis | (most professional\u002Flegal\u002Fmedical subs are sober) |\n| All caps for emphasis | (use italics\u002Fbold sparingly) |\n| **Any URL on `\u003CBRAND_DOMAIN>`** (and `www.`, subdomains, shorteners) | **never**, in any reply or post |\n| Multiple external links of any kind | max 1 *external* link total per post (never in replies) |\n| bit.ly \u002F tinyurl \u002F shorteners | banned — Reddit flags these as spam directly |\n\n### Behavioral triggers\n\n- Same content cross-posted \u003C 7 days apart → spam detection\n- ≥ 2 links in a single comment → auto-removed\n- New account (karma \u003C 100) posting in large subs → auto-removed\n- Replying within 60s of post creation → looks bot-like, wait ≥ 5 min\n- Same opening phrase across multiple replies → flagged\n- > 3 actions in 30 min → temporary rate limit\n\n---\n\n## 9. Human-like posting flow (anti-CAPTCHA)\n\nReddit's `\u002Fapi\u002Fsubmit` endpoint is gated behind **reCAPTCHA Enterprise Invisible** (sitekey `6LfirrMoAAAAAHZOipvza4kpp_VtTwLNuXVwURNQ` at the time of writing). Posting purely via API will fail silently or get blocked. The reliable path is a **human-like UI flow** through the browser CLI: dwells, slow typing, reading pauses — enough behavioral signal to score above reCAPTCHA's threshold and let the post through.\n\n### Flow\n\n1. **Pre-flight session check** — `\u002Fapi\u002Fme.json` returns a non-null `name`.\n2. **Navigate to the sub feed** — let it load (≥ 1.5 s dwell).\n3. **Human scroll** — scroll the sub feed for 4-7 s to simulate reading.\n4. **Navigate to `\u002Fr\u002F\u003Csub>\u002Fsubmit`** — wait for composer ready.\n5. **Find the title field via UI ref** (the localized label, e.g. \"Title\" \u002F \"Titre\"), **type slowly** (50-120 ms\u002Fkey with jitter), then 0.8-1.5 s pause.\n6. **Find the body field via UI ref** (\"Body\" \u002F \"Champ de texte du corps de la publication\"), type slowly, 0.8-1.5 s pause.\n7. **Review pause** — 3-7 s simulating proof-reading.\n8. **Re-snapshot the UI** — the Publish button transitions `disabled → enabled` once the fields are filled, so its ref **changes**. Always re-snapshot before clicking.\n9. **Click Publish once**, then wait for redirect to `\u002Fcomments\u002F\u003Cid>\u002F` (≤ 30 s).\n\nTotal flow: **~6 minutes per post**. Slower is the point — speed is what trips the captcha.\n\n### Exit codes (recommended convention for your script)\n\n| Code | Meaning | Recap action |\n|------|---------|--------------|\n| 0 | Published, URL on stdout | `status: ok`, log post URL |\n| 1 | Fatal error (UI ref missing, empty body) | `status: error`, attach screenshot |\n| 2 | CAPTCHA visible mid-flow | `status: blocked`, fall back to \"draft to alert channel for manual publish\" |\n| 3 | Session \u002F login KO | `status: blocked`, alert user to re-login |\n\n### Gotchas (real ones, costly to discover)\n\n- **`LC_NUMERIC` trap on macOS**: locales like `fr_FR.UTF-8` format decimals as `0,123` instead of `0.123`. `sleep` and `awk` reject the comma → all dwells fall back to 0 → typing becomes instant → captcha fires immediately. **Force `LC_ALL=C` in any helper that does fractional-second math.** First time this bites you, you'll think your script is correct because no error is raised; the post just gets removed.\n- **Re-snapshot before clicking Publish**: the Publish button's UI ref changes when it transitions from disabled to enabled. Stale refs = wrong click target.\n- **Localize the field labels**: the labels `Title` \u002F `Body` \u002F `Publish` are localized server-side based on the account language. Either pin the account UI to English or maintain a label-map (FR\u002FEN\u002Fetc.) and try both in `find_ref_named`.\n- **Cron timeout**: bump the per-job timeout to **at least 1200 s** for posting crons — a 60-120 s default will kill a successful flow.\n- **Save debug artifacts**: screenshots + page snapshots at each step in a scratch dir (e.g. `\u002Ftmp\u002F\u003Cyour-namespace>\u002Freddit-post\u002F`). They are gold when a post silently fails.\n- **Reply Pass doesn't need this** — replies use a different code path and do not currently trigger reCAPTCHA Enterprise. Only top-level *post* creation is gated.\n\n### When the UI changes\n\nReddit ships UI changes regularly. When `find_ref_named` starts returning null on labels that used to work:\n\n1. Take a manual snapshot via your browser CLI.\n2. Inspect the new label string for Title \u002F Body \u002F Publish.\n3. Update the label map.\n4. Re-test on `r\u002Ftest` (safe, no consequence) before re-enabling the live posting cron.\n\n---\n\n## 10. Sub state management\n\nFile: `\u003CWORKSPACE_DIR>\u002Fmemory\u002Freddit-subs-state.md`\n\nFor each sub, track:\n- Last action timestamp (any reply or post)\n- Last 5 actions and their outcome (live \u002F removed \u002F locked)\n- Karma requirement observed\n- Flair required (yes\u002Fno\u002Flist)\n- Freeze state (yes if 2 last actions were removed → unfreeze date = removal date + 7 days)\n- Mod messages received (any DM from \u002Fr\u002F[sub] mods → flag for human review)\n\nUpdate at the end of every run that touched the sub.\n\n---\n\n## 11. Recovery & blockers\n\n| Issue | Action |\n|-------|--------|\n| `status: stopped` | Report in recap: \"Chrome \u003CBROWSER_PROFILE> stopped, user action required (relaunch Chrome on port \u003CBROWSER_PORT>)\". Stop. |\n| `name: null` from \u002Fapi\u002Fme.json | Report login expired. Stop. |\n| HTTP 429 | Stop the run, report \"rate limited\", wait next scheduled run. |\n| HTTP 403 on POST | Likely modhash expired — re-fetch from \u002Fapi\u002Fme.json once, retry once. If still 403: report and stop. |\n| Captcha \u002F challenge page | Stop. Never attempt to solve. Report for user action. |\n| `result.json.errors` contains `RATELIMIT`, `DOMAIN_BANNED`, `BAD_CAPTCHA`, `SUBREDDIT_NOEXIST`, `USER_BLOCKED` | Translate the error in the recap, do not retry, freeze the sub if it's a sub-level error. |\n| Comment posted but not visible in user profile after 5 min | Possible shadowban. Flag for human verification (open profile in incognito). |\n| Post removed by automod \u003C 30 min after publish | Auto-freeze sub for 7 days. Append to `reddit-learnings.md`. |\n| `evaluate` returns null with no error | Page is not on reddit.com → navigate first, retry once. |\n\n---\n\n## 12. Mandatory recap (alert channel + memory)\n\nAt the end of each cron:\n\n**Alert channel (Telegram \u002F Slack \u002F Discord) — final run message**:\n```\n[Job name] — [status: ok|partial|blocked|skipped]\nPublic actions: [list short OR \"no post\u002Freply\"]\nLinks: [URLs of new comments\u002Fposts]\nKarma: link_karma=X comment_karma=Y total=Z\nBlockers: [text OR \"—\"]\nNext action: [1 line]\n```\n\n**Memory** — append to `\u003CWORKSPACE_DIR>\u002Fmemory\u002Freddit-recaps.md`:\n```\n## YYYY-MM-DD HH:MM TZ — \u003Cjob-id> — status: \u003Cstatus>\n- Job: \u003Cdescription>\n- Phase: A|B\n- Karma: link=X comment=Y total=Z\n- Actions: \u003Clist or \"no action — reason\">\n- Subs touched: \u003Clist>\n- Links: \u003CURLs>\n- Blockers: \u003Ctext or \"—\">\n- Next useful action: \u003C1 line>\n```\n\nIf no action was taken: say so clearly (`no post\u002Freply\u002Ffollow\u002Fsubscribe performed, reason`).\n\n---\n\n## 13. Memory files inventory\n\nLocated at: `\u003CWORKSPACE_DIR>\u002Fmemory\u002F`\n\n| File | Purpose | Update cadence |\n|------|---------|----------------|\n| `reddit-recaps.md` | Per-run logs (mandatory append) | Every cron run |\n| `reddit-post-log.md` | Informative posts (sub, URL, date, score) | Each informative post run |\n| `reddit-reply-log.md` | Replies sent (thread URL, comment URL, sub, date, removed?) | Each reply pass |\n| `reddit-karma-log.md` | Daily karma snapshot + phase | Daily Metrics Recap |\n| `reddit-subs-state.md` | Per-sub freeze, flair, karma req | After any sub-touching action |\n| `reddit-ideas.md` | Content backlog for informative posts | Weekly Planning + ad hoc |\n| `reddit-learnings.md` | Patterns observed (what got upvoted \u002F removed) | Weekly Planning + ad hoc |\n\n---\n\n## 14. Account identity guardrails\n\nThis account exists to be **useful in public** with the brand as a *background* signal.\n\n- The username should be intentionally neutral — do not advertise the brand in the handle\n- Profile bio: a short generic line, no firm name, no contact info\n- Never reply to a DM that asks for expert-grade advice — direct the person to the brand contact page via a standard polite reply\n- Never share private case details, names, or numbers\n- Never reuse strict templates from your CRM \u002F case management as Reddit content\n- Never promise an outcome\n- Never charge or solicit payment via Reddit\n\nIf anyone DMs about hiring you: reply once with a neutral line (`\"the studio takes inquiries via \u003CBRAND_DOMAIN>\u002Fcontact\"`) and stop.\n\n---\n\n## 15. Phase A → Phase B transition\n\nWhen the Daily Metrics Recap detects `total_karma ≥ 100`:\n\n1. Append to `reddit-karma-log.md`: `YYYY-MM-DD - karma=X - PHASE_B_THRESHOLD_REACHED`\n2. Send a distinct alert: `🎉 Reddit karma ≥ 100 — enable Phase B (jobs.json: keyword-monitor-* + reply-pass-* + informative-post-* + subscribe-growth — flip enabled=true)`\n3. Do NOT auto-flip the crons (manual user action — reduces risk of premature B-phase posting)\n\nOnce Phase B is enabled by the user:\n- First week: 1 reply\u002Fday max (not the full 3) — soft ramp\n- Keep karma builder running for 2 more weeks in parallel\n- Once total_karma ≥ 250: disable karma builder, keep only Phase B crons\n\n---\n\n## 16. Stability discipline\n\n- Read the UI before clicking\n- One click → verify with a snapshot\n- Do not stack clicks\n- Close stale tabs at the end of every run\n- Return to the role's default page when done\n- Never silently fake a successful action — always verify via API or UI confirmation\n\n**Better silence than spam. Better a blockage report than a fake success.**\n\n---\n\n## 17. First-run checklist\n\nBefore enabling any cron, run through this checklist:\n\n- [ ] Section 0 placeholders filled in your local copy \u002F agent memory.\n- [ ] Reddit account created with **neutral username** (no brand in the handle).\n- [ ] Profile bio is one short generic line — no firm name, no contact info.\n- [ ] Browser profile launched at `http:\u002F\u002F127.0.0.1:\u003CBROWSER_PORT>` and logged in.\n- [ ] `\u002Fapi\u002Fme.json` returns a non-null `name` (login verified).\n- [ ] `\u003CWORKSPACE_DIR>\u002Fmemory\u002F` directory exists with the 7 memory files (see section 13) — empty is fine, scripts append to them.\n- [ ] Alert channel (Telegram \u002F Slack \u002F Discord) webhook tested with a \"hello\" message.\n- [ ] Phase A confirmed: `total_karma \u003C 100` → only karma-builder + ops crons enabled.\n- [ ] At least 2 weeks of organic activity (subscribes, low-stakes comments) **before** enabling brand-mentioning crons, even if karma ≥ 100.\n\nA bash one-liner to init the memory files:\n\n```bash\nmkdir -p \"\u003CWORKSPACE_DIR>\u002Fmemory\" && cd \"$_\" && touch reddit-recaps.md reddit-post-log.md reddit-reply-log.md reddit-karma-log.md reddit-subs-state.md reddit-ideas.md reddit-learnings.md\n```\n\n(The GitHub repo ships an `init-memory.sh` script that does the same interactively.)\n\n---\n\n## 18. FAQ\n\n**Q: Do I need OpenClaw to use this skill?**\nA: No. OpenClaw browser CLI is the example stack — the doctrine works with Playwright, Puppeteer, Chrome MCP, or any CDP-capable tool. Swap the CLI calls.\n\n**Q: Can I use this skill for multiple Reddit accounts?**\nA: Yes — clone the workspace dir per account. Each account gets its own `memory\u002F` and its own browser profile. Do not cross-link accounts in any reply.\n\n**Q: What if my niche has only one relevant sub and it's strict?**\nA: Run Phase A on adjacent subs (low-stakes, high-volume) to build karma, then start Phase B on the niche sub with the longest possible runway. Some niche subs also require 90+ days of account age regardless of karma.\n\n**Q: Is shadowban detection reliable?**\nA: Partially. The \"comment posted but invisible in incognito after 5 min\" check catches most shadowbans, but Reddit also does **community-specific shadowbans** that don't fire that signal. Track per-sub upvote ratios over time as a backup signal.\n\n**Q: Can I run multiple crons in parallel?**\nA: Yes, but respect the global \"30 min apart\" rule across all crons. A lock file at `\u003CWORKSPACE_DIR>\u002F.lock` is the cleanest way to enforce it.\n\n**Q: What if my account is suspended?**\nA: Stop everything. Do not appeal automatically. Manual review only. Document the suspension in `reddit-learnings.md` with the exact last action before suspension.\n","# Reddit Account Operations\n\nThis skill is the operating doctrine for every Reddit automation run on a brand, professional or personal account.\n\n**The goal is not to comment fast. The goal is to operate Reddit like a careful, helpful human contributor: stable browser, correct context, useful action, no spam, no reputational risk.**\n\nDrop-in for any niche (legal, medical, software, finance, creator, ecommerce). Replace the placeholders in section 0 with your own values.\n\n---\n\n## 0. Configure for your brand\n\nBefore running anything, fill these placeholders in your local copy or your agent's memory:\n\n| Placeholder | Example | Your value |\n|---|---|---|\n| `\u003CBRAND_NAME>` | \"Acme Studio\" | — |\n| `\u003CBRAND_DOMAIN>` | \"acme.studio\" | — |\n| `\u003CREDDIT_USERNAME>` | \"u\u002FAcmeAlex\" | — |\n| `\u003CBROWSER_PROFILE>` | \"reddit-live\" | — |\n| `\u003CBROWSER_PORT>` | \"9223\" | — |\n| `\u003CNICHE_KEYWORDS>` | \"retrait permis OR contester amende\" | — |\n| `\u003CTARGET_SUBS>` | \"r\u002Fconseiljuridique, r\u002FAskFrance\" | — |\n| `\u003CWORKSPACE_DIR>` | \"~\u002F.openclaw\u002Fworkspace\u002Freddit-\u003Cbrand>\" | — |\n\nAll shell snippets below assume an [OpenClaw](https:\u002F\u002Fopenclaw.ai) browser CLI bound by CDP, but the doctrine works with any browser-automation stack (Playwright, Puppeteer, Chrome MCP). Swap the CLI calls for your own.\n\n### Quick config (copy-paste YAML)\n\nIf your agent reads config from YAML, drop this in `\u003CWORKSPACE_DIR>\u002Fconfig.yaml`:\n\n```yaml\nbrand:\n  name: \u003CBRAND_NAME>\n  domain: \u003CBRAND_DOMAIN>\n\nreddit:\n  username: \u003CREDDIT_USERNAME>        # e.g. \"u\u002FAcmeAlex\"\n  browser_profile: \u003CBROWSER_PROFILE> # e.g. \"reddit-live\"\n  browser_port: \u003CBROWSER_PORT>       # e.g. 9223\n\ndiscovery:\n  niche_keywords: \u003CNICHE_KEYWORDS>   # e.g. \"retrait permis OR contester amende\"\n  target_subs:\n    - r\u002F\u003Csub-1>\n    - r\u002F\u003Csub-2>\n\nworkspace:\n  dir: \u003CWORKSPACE_DIR>               # e.g. \"~\u002F.openclaw\u002Fworkspace\u002Freddit-acme\"\n\nalerts:\n  channel: telegram | slack | discord\n  webhook: \u003CYOUR_WEBHOOK_URL>\n```\n\n### Compatibility\n\nThe skill is markdown — it works wherever an agent reads `SKILL.md`:\n\n| Stack | Skill install path |\n|---|---|\n| [Claude Code](https:\u002F\u002Fclaude.ai\u002Fcode) | `~\u002F.claude\u002Fskills\u002Freddit-account-operations\u002F` |\n| [OpenClaw](https:\u002F\u002Fopenclaw.ai) | `~\u002F.openclaw\u002Fskills\u002Freddit-account-operations\u002F` |\n| ClawHub-published | one-click install via [clawhub.ai](https:\u002F\u002Fclawhub.ai\u002Falexbloch-ia\u002Freddit-account-operations) |\n| Cursor \u002F Copilot CLI | drop `SKILL.md` into your project's `.cursorrules` or `AGENTS.md` |\n| Any LLM agent reading markdown rules | concatenate `SKILL.md` into your system prompt |\n\n---\n\n## 1. Browser architecture\n\n### Physical profile\n\nA single browser profile is used per account:\n\n- `\u003CBROWSER_PROFILE>` (CDP direct, attached to `http:\u002F\u002F127.0.0.1:\u003CBROWSER_PORT>`)\n\nUser data dir: `~\u002F.openclaw-browser-profiles\u002F\u003CBROWSER_PROFILE>`.\n\nUse it through the OpenClaw browser CLI:\n\n```bash\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> status\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> tabs\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> navigate https:\u002F\u002Fwww.reddit.com\u002F\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> snapshot --limit 160\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> click \u003Cref>\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> type \u003Cref> \"text\"\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> press Enter\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> evaluate --fn \"\u003Casync function>\"\n```\n\n`evaluate --fn` is the primary API tool: it runs JS in the active tab and returns the function's value as JSON. Use it for `\u002Fapi\u002Fme.json`, `\u002Fapi\u002Fcomment`, `\u002Fapi\u002Fsubmit`, `\u002Fapi\u002Fselectflair`, `\u002Fr\u002F\u003Csub>\u002Frising.json`, `\u002Fsearch.json`.\n\n### Roles (mental separation, single physical profile)\n\n#### Role: `red-post`\n\nAccount cockpit. Use for direct account action.\n\nUse for:\n- original informative posts (text\u002Fself)\n- replies on threads\n- inbox\u002Fnotifications check\n- profile checks\n- karma snapshots\n- flair application\n\nDefault page: `https:\u002F\u002Fwww.reddit.com\u002Fuser\u002F\u003CREDDIT_USERNAME without u\u002F>`\n\nMental model: act as the account. Protect it. Do not clutter it.\n\n#### Role: `red-engage`\n\nSearch and discovery radar. Use to find what deserves action.\n\nUse for:\n- keyword searches across target subs\n- monitoring rising\u002Fnew posts in target subreddits\n- finding qualified candidates for replies\n- competitor observation\n- trend discovery\n\nDefault page:\n`https:\u002F\u002Fwww.reddit.com\u002Fsearch\u002F?q=\u003CNICHE_KEYWORDS_URL_ENCODED>&type=link&t=day&sort=new`\n\nMental model: discover, qualify, decide. Do not post impulsively from discovery.\n\n#### Role: `red-stealth`\n\nQuiet maintenance bay. Use for low-noise maintenance.\n\nUse for:\n- subscribing to relevant subreddits\n- saving posts for later study\n- reading without interacting\n- sub-state observation (flair requirements, karma requirements, mod messages)\n\nDefault page: `https:\u002F\u002Fwww.reddit.com\u002F`\n\nMental model: maintain quietly. No noisy engagement.\n\n### Operational law\n\n- `red-post` = act as the account\n- `red-engage` = discover what to react to\n- `red-stealth` = maintain quietly\n- stability matters more than speed\n- after every run, navigate back to the role's default page (resting state)\n\nNever collapse all workflows into chaotic browsing.\n\n---\n\n## 2. Login verification (run first on every cron)\n\n```bash\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> status\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> evaluate --fn \"async () => { const d = await (await fetch('\u002Fapi\u002Fme.json',{credentials:'include'})).json(); return {name: d.data?.name || null, link_karma: d.data?.link_karma ?? null, comment_karma: d.data?.comment_karma ?? null, total_karma: d.data?.total_karma ?? null, modhash: !!d.data?.modhash}; }\"\n```\n\n- If `status` is `stopped`: report the blockage in your recap channel and stop. Do not attempt to relaunch Chrome from inside a cron — that's a user-side action.\n- If `name` is `null`: login expired. Stop and report.\n\n---\n\n## 3. Phase gating (karma)\n\nReddit's spam filters and most sub auto-mods judge new accounts harshly. Run in two phases:\n\n- **Phase A** (karma \u003C 100): only karma-builder + ops crons run. Any brand-mentioning cron must check karma at start and abort with `\"phase A, karma=X, skip\"` if karma \u003C 100.\n- **Phase B** (karma ≥ 100): all crons authorized.\n\nAlways read `\u003CWORKSPACE_DIR>\u002Fmemory\u002Freddit-karma-log.md` at start (last line = current state) AND verify via `\u002Fapi\u002Fme.json`.\n\nA Daily Metrics Recap cron appends a snapshot every night and pings your alert channel explicitly when karma crosses 100 for the first time.\n\n### Manual override (advanced)\n\nYou can force Phase B before karma ≥ 100 by appending a line `YYYY-MM-DD - karma=X - phase=B (manual override)` to `reddit-karma-log.md`. The override line takes priority over the threshold. Use when:\n\n- You have an established brand and want immediate brand-aware posting despite low karma.\n- You accept the risk of more automod removals on early posts (auto-freeze on 2 removals still applies — see §10).\n\nDocument the decision in `reddit-learnings.md` so future runs know why the threshold was bypassed.\n\n---\n\n## 4. Qualification of a post for reply\n\nA post is repliable only if **all** of:\n\n- Age ≤ 24h (use `created_utc`)\n- Comment count \u003C 200\n- Score positive (≥ 1, accept controversial-but-genuine)\n- Not flagged `removed` or `locked`\n- Question is a real question in your domain (not a vent, not a meme, not a request for free work)\n- No more than 1 expert-like reply already in top 10 comments (check for domain markers in flairs\u002Fbody)\n- Subreddit is not in freeze state (see `reddit-subs-state.md`)\n- Your account has not interacted with this thread before (`reddit-reply-log.md`)\n- Phase A: no domain-expert reply at all — only general helpful Phase A comments in Phase A subs.\n\nIf any check fails: skip. Document why in the recap.\n\n---\n\n## 5. Reply templates\n\n### Phase A (karma builder, NO brand mention)\n\n- 1-3 sentences, conversational, genuinely helpful\n- Match the sub's tone\n- Never expert-grade advice (medical, legal, financial)\n- Never link to anything\n- Never sign with anything that hints at a profession\n\nExample structure:\n```\n[Direct answer or empathy hook]. [One concrete tip from common sense]. [Soft close optional].\n```\n\n### Phase B (brand-aware, expert)\n\nDefault mode = **pedagogical**, not promotional.\n\nStructure:\n```\n[Acknowledge the situation in 1 sentence, neutral tone.]\n\n[General rule \u002F framework in 2-3 sentences. Cite a source only if essential. No promise.]\n\n[Concrete next step the OP can take themselves: deadline, document to gather, official portal, command to run.]\n\n[Optional: if the case is complex, mention that a specialist can review the OP's situation. No brand name in the comment body.]\n```\n\nBrand link policy — **ZERO outgoing links to `\u003CBRAND_DOMAIN>` (or any owned domain) in any reply or post.** Indirect signaling only (mention a profession, never a brand name or URL). Reddit's automod and most subs flag self-promo aggressively — a single brand URL is enough to get a thread removed or trigger a sub ban.\n\n- The username profile is your only allowed brand signal (curious readers click through; no need to push).\n- No link in the comment body, not even in a trailing line.\n- No link in a footer \u002F signature block.\n- No mention of the brand by name.\n\nForbidden in any reply:\n- Any URL on `\u003CBRAND_DOMAIN>` (and all variants: `www.`, subdomains, shorteners).\n- \"Contact me\", \"DM me\", \"check our site\", \"more info here\", phone numbers, email addresses.\n- Brand name in the comment body.\n- Promises (\"you will win\", \"it's certain\", \"guaranteed results\").\n- Quoting specific past client\u002Fcustomer cases.\n- Asking the OP to DM you.\n\n---\n\n## 6. Informative post structure (regular cadence, e.g. Tue + Fri)\n\nTarget sub: pick one from `\u003CTARGET_SUBS>` based on:\n1. Sub karma requirement satisfied\n2. Sub freeze state (skip if frozen)\n3. Topic relevance (consult `reddit-ideas.md` and rotate)\n4. Last 14 days have NOT seen you post in that sub (cross-check `reddit-post-log.md`)\n\nFormat:\n```\nTitle: [Question-form or \"Guide:\" prefix, ≤ 100 chars]\n\nBody (markdown):\n**Context** : [1 paragraph framing the problem people face]\n\n**The rule \u002F framework** : [2-3 paragraphs of plain-language explanation: sources, deadlines, mechanics]\n\n**What to do concretely**:\n1. [Action 1]\n2. [Action 2]\n3. [Action 3]\n\n**Takeaway** : [1 paragraph summary]\n\n---\n*[Generic role tag, e.g. \"Specialist in \u003Cfield>\"]. I don't take case-specific questions in public comments — for a precise situation, a 1:1 review with a qualified professional works better.*\n```\n\n**ZERO brand link** in the body, in the title, or in the closing block. The closing line is an indirect role mention only — no name, no URL, no contact info. Reddit treats brand domains as self-promo; a single URL is usually enough for automod removal in legal\u002Fmedical\u002Ffinancial subs.\n\nApply flair if the sub requires one. If no relevant flair exists, skip the sub.\n\n---\n\n## 7. Quotas (hard limits)\n\n| Action | Limit |\n|--------|-------|\n| Replies \u002F 24h (Phase B) | 3 max |\n| Replies \u002F Reply Pass run | 1-2 max |\n| Informative posts \u002F week | 2 max |\n| Informative posts \u002F day | 1 max |\n| Subscribes \u002F week | 5 max |\n| Actions in same sub | min 6h apart |\n| Actions globally | min 30 min apart |\n| Karma builder comments \u002F run | 1-2 max |\n| Karma builder comments \u002F day | 3 max |\n\nQuota tracking: read `reddit-reply-log.md` and `reddit-post-log.md` at start of every run, count entries with timestamps in the last 24h \u002F 7d, abort early if quotas already met.\n\n---\n\n## 8. Anti-spam triggers (words and patterns to avoid)\n\n### Comment\u002Fpost content\n\n| Avoid | Use instead |\n|-------|-------------|\n| \"DM me\", \"contact me\", \"check our site\", \"more info here\" | (just don't ask, don't link) |\n| `\u003CBRAND_NAME>` in the comment body | (no brand name in body) |\n| \"free consultation\", \"free first call\" | (no marketing) |\n| Phone number, email | (never) |\n| Emojis | (most professional\u002Flegal\u002Fmedical subs are sober) |\n| All caps for emphasis | (use italics\u002Fbold sparingly) |\n| **Any URL on `\u003CBRAND_DOMAIN>`** (and `www.`, subdomains, shorteners) | **never**, in any reply or post |\n| Multiple external links of any kind | max 1 *external* link total per post (never in replies) |\n| bit.ly \u002F tinyurl \u002F shorteners | banned — Reddit flags these as spam directly |\n\n### Behavioral triggers\n\n- Same content cross-posted \u003C 7 days apart → spam detection\n- ≥ 2 links in a single comment → auto-removed\n- New account (karma \u003C 100) posting in large subs → auto-removed\n- Replying within 60s of post creation → looks bot-like, wait ≥ 5 min\n- Same opening phrase across multiple replies → flagged\n- > 3 actions in 30 min → temporary rate limit\n\n---\n\n## 9. Human-like posting flow (anti-CAPTCHA)\n\nReddit's `\u002Fapi\u002Fsubmit` endpoint is gated behind **reCAPTCHA Enterprise Invisible** (sitekey `6LfirrMoAAAAAHZOipvza4kpp_VtTwLNuXVwURNQ` at the time of writing). Posting purely via API will fail silently or get blocked. The reliable path is a **human-like UI flow** through the browser CLI: dwells, slow typing, reading pauses — enough behavioral signal to score above reCAPTCHA's threshold and let the post through.\n\n### Flow\n\n1. **Pre-flight session check** — `\u002Fapi\u002Fme.json` returns a non-null `name`.\n2. **Navigate to the sub feed** — let it load (≥ 1.5 s dwell).\n3. **Human scroll** — scroll the sub feed for 4-7 s to simulate reading.\n4. **Navigate to `\u002Fr\u002F\u003Csub>\u002Fsubmit`** — wait for composer ready.\n5. **Find the title field via UI ref** (the localized label, e.g. \"Title\" \u002F \"Titre\"), **type slowly** (50-120 ms\u002Fkey with jitter), then 0.8-1.5 s pause.\n6. **Find the body field via UI ref** (\"Body\" \u002F \"Champ de texte du corps de la publication\"), type slowly, 0.8-1.5 s pause.\n7. **Review pause** — 3-7 s simulating proof-reading.\n8. **Re-snapshot the UI** — the Publish button transitions `disabled → enabled` once the fields are filled, so its ref **changes**. Always re-snapshot before clicking.\n9. **Click Publish once**, then wait for redirect to `\u002Fcomments\u002F\u003Cid>\u002F` (≤ 30 s).\n\nTotal flow: **~6 minutes per post**. Slower is the point — speed is what trips the captcha.\n\n### Exit codes (recommended convention for your script)\n\n| Code | Meaning | Recap action |\n|------|---------|--------------|\n| 0 | Published, URL on stdout | `status: ok`, log post URL |\n| 1 | Fatal error (UI ref missing, empty body) | `status: error`, attach screenshot |\n| 2 | CAPTCHA visible mid-flow | `status: blocked`, fall back to \"draft to alert channel for manual publish\" |\n| 3 | Session \u002F login KO | `status: blocked`, alert user to re-login |\n\n### Gotchas (real ones, costly to discover)\n\n- **`LC_NUMERIC` trap on macOS**: locales like `fr_FR.UTF-8` format decimals as `0,123` instead of `0.123`. `sleep` and `awk` reject the comma → all dwells fall back to 0 → typing becomes instant → captcha fires immediately. **Force `LC_ALL=C` in any helper that does fractional-second math.** First time this bites you, you'll think your script is correct because no error is raised; the post just gets removed.\n- **Re-snapshot before clicking Publish**: the Publish button's UI ref changes when it transitions from disabled to enabled. Stale refs = wrong click target.\n- **Localize the field labels**: the labels `Title` \u002F `Body` \u002F `Publish` are localized server-side based on the account language. Either pin the account UI to English or maintain a label-map (FR\u002FEN\u002Fetc.) and try both in `find_ref_named`.\n- **Cron timeout**: bump the per-job timeout to **at least 1200 s** for posting crons — a 60-120 s default will kill a successful flow.\n- **Save debug artifacts**: screenshots + page snapshots at each step in a scratch dir (e.g. `\u002Ftmp\u002F\u003Cyour-namespace>\u002Freddit-post\u002F`). They are gold when a post silently fails.\n- **Reply Pass doesn't need this** — replies use a different code path and do not currently trigger reCAPTCHA Enterprise. Only top-level *post* creation is gated.\n\n### When the UI changes\n\nReddit ships UI changes regularly. When `find_ref_named` starts returning null on labels that used to work:\n\n1. Take a manual snapshot via your browser CLI.\n2. Inspect the new label string for Title \u002F Body \u002F Publish.\n3. Update the label map.\n4. Re-test on `r\u002Ftest` (safe, no consequence) before re-enabling the live posting cron.\n\n---\n\n## 10. Sub state management\n\nFile: `\u003CWORKSPACE_DIR>\u002Fmemory\u002Freddit-subs-state.md`\n\nFor each sub, track:\n- Last action timestamp (any reply or post)\n- Last 5 actions and their outcome (live \u002F removed \u002F locked)\n- Karma requirement observed\n- Flair required (yes\u002Fno\u002Flist)\n- Freeze state (yes if 2 last actions were removed → unfreeze date = removal date + 7 days)\n- Mod messages received (any DM from \u002Fr\u002F[sub] mods → flag for human review)\n\nUpdate at the end of every run that touched the sub.\n\n---\n\n## 11. Recovery & blockers\n\n| Issue | Action |\n|-------|--------|\n| `status: stopped` | Report in recap: \"Chrome \u003CBROWSER_PROFILE> stopped, user action required (relaunch Chrome on port \u003CBROWSER_PORT>)\". Stop. |\n| `name: null` from \u002Fapi\u002Fme.json | Report login expired. Stop. |\n| HTTP 429 | Stop the run, report \"rate limited\", wait next scheduled run. |\n| HTTP 403 on POST | Likely modhash expired — re-fetch from \u002Fapi\u002Fme.json once, retry once. If still 403: report and stop. |\n| Captcha \u002F challenge page | Stop. Never attempt to solve. Report for user action. |\n| `result.json.errors` contains `RATELIMIT`, `DOMAIN_BANNED`, `BAD_CAPTCHA`, `SUBREDDIT_NOEXIST`, `USER_BLOCKED` | Translate the error in the recap, do not retry, freeze the sub if it's a sub-level error. |\n| Comment posted but not visible in user profile after 5 min | Possible shadowban. Flag for human verification (open profile in incognito). |\n| Post removed by automod \u003C 30 min after publish | Auto-freeze sub for 7 days. Append to `reddit-learnings.md`. |\n| `evaluate` returns null with no error | Page is not on reddit.com → navigate first, retry once. |\n\n---\n\n## 12. Mandatory recap (alert channel + memory)\n\nAt the end of each cron:\n\n**Alert channel (Telegram \u002F Slack \u002F Discord) — final run message**:\n```\n[Job name] — [status: ok|partial|blocked|skipped]\nPublic actions: [list short OR \"no post\u002Freply\"]\nLinks: [URLs of new comments\u002Fposts]\nKarma: link_karma=X comment_karma=Y total=Z\nBlockers: [text OR \"—\"]\nNext action: [1 line]\n```\n\n**Memory** — append to `\u003CWORKSPACE_DIR>\u002Fmemory\u002Freddit-recaps.md`:\n```\n## YYYY-MM-DD HH:MM TZ — \u003Cjob-id> — status: \u003Cstatus>\n- Job: \u003Cdescription>\n- Phase: A|B\n- Karma: link=X comment=Y total=Z\n- Actions: \u003Clist or \"no action — reason\">\n- Subs touched: \u003Clist>\n- Links: \u003CURLs>\n- Blockers: \u003Ctext or \"—\">\n- Next useful action: \u003C1 line>\n```\n\nIf no action was taken: say so clearly (`no post\u002Freply\u002Ffollow\u002Fsubscribe performed, reason`).\n\n---\n\n## 13. Memory files inventory\n\nLocated at: `\u003CWORKSPACE_DIR>\u002Fmemory\u002F`\n\n| File | Purpose | Update cadence |\n|------|---------|----------------|\n| `reddit-recaps.md` | Per-run logs (mandatory append) | Every cron run |\n| `reddit-post-log.md` | Informative posts (sub, URL, date, score) | Each informative post run |\n| `reddit-reply-log.md` | Replies sent (thread URL, comment URL, sub, date, removed?) | Each reply pass |\n| `reddit-karma-log.md` | Daily karma snapshot + phase | Daily Metrics Recap |\n| `reddit-subs-state.md` | Per-sub freeze, flair, karma req | After any sub-touching action |\n| `reddit-ideas.md` | Content backlog for informative posts | Weekly Planning + ad hoc |\n| `reddit-learnings.md` | Patterns observed (what got upvoted \u002F removed) | Weekly Planning + ad hoc |\n\n---\n\n## 14. Account identity guardrails\n\nThis account exists to be **useful in public** with the brand as a *background* signal.\n\n- The username should be intentionally neutral — do not advertise the brand in the handle\n- Profile bio: a short generic line, no firm name, no contact info\n- Never reply to a DM that asks for expert-grade advice — direct the person to the brand contact page via a standard polite reply\n- Never share private case details, names, or numbers\n- Never reuse strict templates from your CRM \u002F case management as Reddit content\n- Never promise an outcome\n- Never charge or solicit payment via Reddit\n\nIf anyone DMs about hiring you: reply once with a neutral line (`\"the studio takes inquiries via \u003CBRAND_DOMAIN>\u002Fcontact\"`) and stop.\n\n---\n\n## 15. Phase A → Phase B transition\n\nWhen the Daily Metrics Recap detects `total_karma ≥ 100`:\n\n1. Append to `reddit-karma-log.md`: `YYYY-MM-DD - karma=X - PHASE_B_THRESHOLD_REACHED`\n2. Send a distinct alert: `🎉 Reddit karma ≥ 100 — enable Phase B (jobs.json: keyword-monitor-* + reply-pass-* + informative-post-* + subscribe-growth — flip enabled=true)`\n3. Do NOT auto-flip the crons (manual user action — reduces risk of premature B-phase posting)\n\nOnce Phase B is enabled by the user:\n- First week: 1 reply\u002Fday max (not the full 3) — soft ramp\n- Keep karma builder running for 2 more weeks in parallel\n- Once total_karma ≥ 250: disable karma builder, keep only Phase B crons\n\n---\n\n## 16. Stability discipline\n\n- Read the UI before clicking\n- One click → verify with a snapshot\n- Do not stack clicks\n- Close stale tabs at the end of every run\n- Return to the role's default page when done\n- Never silently fake a successful action — always verify via API or UI confirmation\n\n**Better silence than spam. Better a blockage report than a fake success.**\n\n---\n\n## 17. First-run checklist\n\nBefore enabling any cron, run through this checklist:\n\n- [ ] Section 0 placeholders filled in your local copy \u002F agent memory.\n- [ ] Reddit account created with **neutral username** (no brand in the handle).\n- [ ] Profile bio is one short generic line — no firm name, no contact info.\n- [ ] Browser profile launched at `http:\u002F\u002F127.0.0.1:\u003CBROWSER_PORT>` and logged in.\n- [ ] `\u002Fapi\u002Fme.json` returns a non-null `name` (login verified).\n- [ ] `\u003CWORKSPACE_DIR>\u002Fmemory\u002F` directory exists with the 7 memory files (see section 13) — empty is fine, scripts append to them.\n- [ ] Alert channel (Telegram \u002F Slack \u002F Discord) webhook tested with a \"hello\" message.\n- [ ] Phase A confirmed: `total_karma \u003C 100` → only karma-builder + ops crons enabled.\n- [ ] At least 2 weeks of organic activity (subscribes, low-stakes comments) **before** enabling brand-mentioning crons, even if karma ≥ 100.\n\nA bash one-liner to init the memory files:\n\n```bash\nmkdir -p \"\u003CWORKSPACE_DIR>\u002Fmemory\" && cd \"$_\" && touch reddit-recaps.md reddit-post-log.md reddit-reply-log.md reddit-karma-log.md reddit-subs-state.md reddit-ideas.md reddit-learnings.md\n```\n\n(The GitHub repo ships an `init-memory.sh` script that does the same interactively.)\n\n---\n\n## 18. FAQ\n\n**Q: Do I need OpenClaw to use this skill?**\nA: No. OpenClaw browser CLI is the example stack — the doctrine works with Playwright, Puppeteer, Chrome MCP, or any CDP-capable tool. Swap the CLI calls.\n\n**Q: Can I use this skill for multiple Reddit accounts?**\nA: Yes — clone the workspace dir per account. Each account gets its own `memory\u002F` and its own browser profile. Do not cross-link accounts in any reply.\n\n**Q: What if my niche has only one relevant sub and it's strict?**\nA: Run Phase A on adjacent subs (low-stakes, high-volume) to build karma, then start Phase B on the niche sub with the longest possible runway. Some niche subs also require 90+ days of account age regardless of karma.\n\n**Q: Is shadowban detection reliable?**\nA: Partially. The \"comment posted but invisible in incognito after 5 min\" check catches most shadowbans, but Reddit also does **community-specific shadowbans** that don't fire that signal. Track per-sub upvote ratios over time as a backup signal.\n\n**Q: Can I run multiple crons in parallel?**\nA: Yes, but respect the global \"30 min apart\" rule across all crons. A lock file at `\u003CWORKSPACE_DIR>\u002F.lock` is the cleanest way to enforce it.\n\n**Q: What if my account is suspended?**\nA: Stop everything. Do not appeal automatically. Manual review only. Document the suspension in `reddit-learnings.md` with the exact last action before suspension.\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fr\u002Freddit-account-operations",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill reddit-account-operations",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill reddit-account-operations",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill reddit-account-operations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fr\u002Freddit-account-operations\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]