[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CZ2RNZD380MX4RF5WC9FFW":3,"skill-same:01M6CZ2RNZD380MX4RF5WC9FFW":54},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":26,"linkOnly":27,"markdownContent":28,"markdownBody":29,"frontMatter":30,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":36,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M6CZ2RNZD380MX4RF5WC9FFW","social-monitor",null,"aeonfun\u002Faeon","aeonfun","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F287715280?v=4","01M6CZ23C6MXGMF4N0V1DZ1247","aeon","01M6CZ23GMZP1BR424J8Y8K3DG",793,"MIT","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fdocs\u002Fexamples\u002Fskill-templates\u002Fsocial-monitor\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24,25],"monitor","social","social monitor","2026-11-10 10:12:30",false,"---\nname: [REPLACE: SKILL_NAME]\ndescription: Mention\u002Fkeyword sweep on social platforms for [REPLACE: KEYWORDS] — trends, sentiment, top posts\nmetadata:\n  category: productivity\n  var: \"\"\n  tags:\n    - social\n  requires:\n    - XAI_API_KEY?\n---\n\n> **${var}** — Optional. Pass alternative keywords (comma-separated) to override the default. If empty, monitors `[REPLACE: KEYWORDS]`.\n\nToday is ${today}. Monitor social mentions of **[REPLACE: KEYWORDS]** and produce a summary.\n\n## Steps\n\n1. **Resolve keywords** - use `${var}` if set, else `[REPLACE: KEYWORDS]`. Split on commas, trim each, lower-case. Each token becomes its own search query, written into its own calls literally (the `\u003CKEYWORD>` below; `\u003CN>` is its position in the list).\n\n2. **Search X** — for each keyword, use the X \u002F xAI search path (project's standard pattern):\n\n   Key check: read the \"Keys set for this run\" line in your run notes, never a shell test (those are refused and cost a turn). With `XAI_API_KEY` on that line, build the body with a literal `jq -n` filter and pipe it straight into `.\u002Fsecretcurl` (set the Bash tool `timeout` to at least 180000; the live X search takes 30-120s):\n\n   ```bash\n   jq -n '{model:\"grok-4.7\", input:[{role:\"user\",content:\"Search X for posts from the last 24 hours about: \u003CKEYWORD>. Language: [REPLACE: LANGUAGE]. For each post include @handle, the full text, date posted, exact like, repost and reply counts, and the direct link (https:\u002F\u002Fx.com\u002Fhandle\u002Fstatus\u002FID). Return as a numbered list.\"}], tools:[{type:\"x_search\"}]}' \\\n     | .\u002Fsecretcurl -s -o \u002Ftmp\u002Fsocial-x-\u003CN>.json -w 'xai http=%{http_code}\\n' --max-time 150 -X POST \"https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fresponses\" \\\n     -H \"Content-Type: application\u002Fjson\" \\\n     -H \"Authorization: Bearer {XAI_API_KEY}\" \\\n     --data-binary @-\n   ```\n\n   On `http=200`, read the text with `jq -r '.output[] | select(.type == \"message\") | .content[] | select(.type == \"output_text\") | .text' \u002Ftmp\u002Fsocial-x-\u003CN>.json`. Without the key, or on a non-2xx code, an empty reply or a timeout, fall back to WebFetch (or a Nitter mirror) and log the true reason.\n\n   Restrict to language `[REPLACE: LANGUAGE]` (e.g. `en`, `fr`, `any`). Drop posts with fewer than `[REPLACE: MIN_LIKES]` likes — that filter is what protects the channel from low-signal noise.\n\n3. **Search Reddit** — for each keyword:\n\n   ```bash\n   curl -s -o \u002Ftmp\u002Fsocial-reddit-\u003CN>.json -w 'reddit http=%{http_code}\\n' -H \"User-Agent: aeon\u002F1.0\" -G \"https:\u002F\u002Fwww.reddit.com\u002Fsearch.json\" --data-urlencode \"q=\u003CKEYWORD>\" -d t=day -d restrict_sr=0\n   ```\n\n   Reddit's JSON endpoint is keyless. On a non-2xx code (often 429), make a second call with WebFetch on `https:\u002F\u002Fwww.reddit.com\u002Fsearch.json?q=\u003CKEYWORD>&t=day`.\n\n4. **Score and pick top 5 per platform** — score on engagement (likes, comments, score) × recency (last 24h gets full marks). Drop reposts and obvious bot accounts (handles like `*_bot`, account age \u003C 7 days with > 100 posts).\n\n5. **Tag sentiment** — for the top 10 posts overall, label each `positive` \u002F `neutral` \u002F `negative` based on tone of the post text. Keep this lightweight — one-token classification, no nested reasoning.\n\n6. **Write `output\u002Farticles\u002F[REPLACE: SKILL_NAME]-${today}.md`**:\n   ```markdown\n   # [REPLACE: KEYWORDS] — ${today}\n\n   ## Volume\n   - X: N posts (vs 7d avg M)\n   - Reddit: N posts (vs 7d avg M)\n\n   ## Sentiment\n   positive: X · neutral: Y · negative: Z\n\n   ## Top posts\n   1. [Author · platform · timestamp]\n      \"Excerpt or paraphrase.\"\n      → URL\n\n   2. ...\n   ```\n\n7. **Notify** via `.\u002Fnotify` with a 2-3 line summary: `*[REPLACE: KEYWORDS] — ${today}* · N posts · sentiment skews positive\u002Fnegative · top: \u003Cone-line title>. Full digest: \u003Curl>`. Silent on quiet days (volume \u003C 25% of 7d average AND no negative-sentiment spike).\n\n8. **Log** to `memory\u002Flogs\u002F${today}.md`:\n   ```\n   ## [REPLACE: SKILL_NAME]\n   - **Volume**: x_posts=N, reddit_posts=N, vs_7d_avg=Δ%\n   - **Sentiment**: pos=X, neu=Y, neg=Z\n   - **Status**: SOCIAL_OK | SOCIAL_QUIET | SOCIAL_SPIKE (vol > 2x avg) | SOCIAL_DEGRADED\n   ```\n\n## Network note\n\nX \u002F xAI requires `XAI_API_KEY`; a bare `$XAI_API_KEY` on a `curl` line is refused by the Bash analyzer, so call `.\u002Fsecretcurl` with the `{XAI_API_KEY}` placeholder (the key is injected via `requires:`). Reddit's JSON endpoint is keyless but rate-limited per IP — `WebFetch` is the fallback when `curl` returns 429.\n\n**Shell shape.** Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (`KEYWORDS=...`), uses `if` \u002F `for`, tests a key, joins commands with `;`, `&&` or `||`, redirects into a file (`> .reddit-cache.json`), or puts a shell variable on a `.\u002Fsecretcurl` line (`-d \"$PAYLOAD\"`, `$KEYWORD`), and each refusal costs a model turn. So make one call per keyword with the keyword written in literally, pipe each request body into `.\u002Fsecretcurl ... --data-binary @-`, save replies with `-o \u002Ftmp\u002F\u003Cfile>`, and write the article and the log with Write\u002FEdit.\n\n## Constraints\n\n- **Bot filter** is critical. New accounts with high posting velocity dominate any keyword and are almost always inauthentic. Strict drop.\n- **Volume is more honest than sentiment**. A `SPIKE` (volume > 2x 7d avg) is a real signal; sentiment shifts within normal volume often aren't.\n- **Engagement filters scale**. `MIN_LIKES = [REPLACE: MIN_LIKES]` is a starting threshold — raise it as the topic gains attention so noise stays out.\n","> **${var}** — Optional. Pass alternative keywords (comma-separated) to override the default. If empty, monitors `[REPLACE: KEYWORDS]`.\n\nToday is ${today}. Monitor social mentions of **[REPLACE: KEYWORDS]** and produce a summary.\n\n## Steps\n\n1. **Resolve keywords** - use `${var}` if set, else `[REPLACE: KEYWORDS]`. Split on commas, trim each, lower-case. Each token becomes its own search query, written into its own calls literally (the `\u003CKEYWORD>` below; `\u003CN>` is its position in the list).\n\n2. **Search X** — for each keyword, use the X \u002F xAI search path (project's standard pattern):\n\n   Key check: read the \"Keys set for this run\" line in your run notes, never a shell test (those are refused and cost a turn). With `XAI_API_KEY` on that line, build the body with a literal `jq -n` filter and pipe it straight into `.\u002Fsecretcurl` (set the Bash tool `timeout` to at least 180000; the live X search takes 30-120s):\n\n   ```bash\n   jq -n '{model:\"grok-4.7\", input:[{role:\"user\",content:\"Search X for posts from the last 24 hours about: \u003CKEYWORD>. Language: [REPLACE: LANGUAGE]. For each post include @handle, the full text, date posted, exact like, repost and reply counts, and the direct link (https:\u002F\u002Fx.com\u002Fhandle\u002Fstatus\u002FID). Return as a numbered list.\"}], tools:[{type:\"x_search\"}]}' \\\n     | .\u002Fsecretcurl -s -o \u002Ftmp\u002Fsocial-x-\u003CN>.json -w 'xai http=%{http_code}\\n' --max-time 150 -X POST \"https:\u002F\u002Fapi.x.ai\u002Fv1\u002Fresponses\" \\\n     -H \"Content-Type: application\u002Fjson\" \\\n     -H \"Authorization: Bearer {XAI_API_KEY}\" \\\n     --data-binary @-\n   ```\n\n   On `http=200`, read the text with `jq -r '.output[] | select(.type == \"message\") | .content[] | select(.type == \"output_text\") | .text' \u002Ftmp\u002Fsocial-x-\u003CN>.json`. Without the key, or on a non-2xx code, an empty reply or a timeout, fall back to WebFetch (or a Nitter mirror) and log the true reason.\n\n   Restrict to language `[REPLACE: LANGUAGE]` (e.g. `en`, `fr`, `any`). Drop posts with fewer than `[REPLACE: MIN_LIKES]` likes — that filter is what protects the channel from low-signal noise.\n\n3. **Search Reddit** — for each keyword:\n\n   ```bash\n   curl -s -o \u002Ftmp\u002Fsocial-reddit-\u003CN>.json -w 'reddit http=%{http_code}\\n' -H \"User-Agent: aeon\u002F1.0\" -G \"https:\u002F\u002Fwww.reddit.com\u002Fsearch.json\" --data-urlencode \"q=\u003CKEYWORD>\" -d t=day -d restrict_sr=0\n   ```\n\n   Reddit's JSON endpoint is keyless. On a non-2xx code (often 429), make a second call with WebFetch on `https:\u002F\u002Fwww.reddit.com\u002Fsearch.json?q=\u003CKEYWORD>&t=day`.\n\n4. **Score and pick top 5 per platform** — score on engagement (likes, comments, score) × recency (last 24h gets full marks). Drop reposts and obvious bot accounts (handles like `*_bot`, account age \u003C 7 days with > 100 posts).\n\n5. **Tag sentiment** — for the top 10 posts overall, label each `positive` \u002F `neutral` \u002F `negative` based on tone of the post text. Keep this lightweight — one-token classification, no nested reasoning.\n\n6. **Write `output\u002Farticles\u002F[REPLACE: SKILL_NAME]-${today}.md`**:\n   ```markdown\n   # [REPLACE: KEYWORDS] — ${today}\n\n   ## Volume\n   - X: N posts (vs 7d avg M)\n   - Reddit: N posts (vs 7d avg M)\n\n   ## Sentiment\n   positive: X · neutral: Y · negative: Z\n\n   ## Top posts\n   1. [Author · platform · timestamp]\n      \"Excerpt or paraphrase.\"\n      → URL\n\n   2. ...\n   ```\n\n7. **Notify** via `.\u002Fnotify` with a 2-3 line summary: `*[REPLACE: KEYWORDS] — ${today}* · N posts · sentiment skews positive\u002Fnegative · top: \u003Cone-line title>. Full digest: \u003Curl>`. Silent on quiet days (volume \u003C 25% of 7d average AND no negative-sentiment spike).\n\n8. **Log** to `memory\u002Flogs\u002F${today}.md`:\n   ```\n   ## [REPLACE: SKILL_NAME]\n   - **Volume**: x_posts=N, reddit_posts=N, vs_7d_avg=Δ%\n   - **Sentiment**: pos=X, neu=Y, neg=Z\n   - **Status**: SOCIAL_OK | SOCIAL_QUIET | SOCIAL_SPIKE (vol > 2x avg) | SOCIAL_DEGRADED\n   ```\n\n## Network note\n\nX \u002F xAI requires `XAI_API_KEY`; a bare `$XAI_API_KEY` on a `curl` line is refused by the Bash analyzer, so call `.\u002Fsecretcurl` with the `{XAI_API_KEY}` placeholder (the key is injected via `requires:`). Reddit's JSON endpoint is keyless but rate-limited per IP — `WebFetch` is the fallback when `curl` returns 429.\n\n**Shell shape.** Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (`KEYWORDS=...`), uses `if` \u002F `for`, tests a key, joins commands with `;`, `&&` or `||`, redirects into a file (`> .reddit-cache.json`), or puts a shell variable on a `.\u002Fsecretcurl` line (`-d \"$PAYLOAD\"`, `$KEYWORD`), and each refusal costs a model turn. So make one call per keyword with the keyword written in literally, pipe each request body into `.\u002Fsecretcurl ... --data-binary @-`, save replies with `-o \u002Ftmp\u002F\u003Cfile>`, and write the article and the log with Write\u002FEdit.\n\n## Constraints\n\n- **Bot filter** is critical. New accounts with high posting velocity dominate any keyword and are almost always inauthentic. Strict drop.\n- **Volume is more honest than sentiment**. A `SPIKE` (volume > 2x 7d avg) is a real signal; sentiment shifts within normal volume often aren't.\n- **Engagement filters scale**. `MIN_LIKES = [REPLACE: MIN_LIKES]` is a starting threshold — raise it as the topic gains attention so noise stays out.\n",{},"main","fddec052c66754287c08582d49ae5fe6a3657221","docs\u002Fexamples\u002Fskill-templates\u002Fsocial-monitor",308,"https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon","https:\u002F\u002Fwww.aeon.fun\u002F","https:\u002F\u002Fgithub.com\u002Faeonfun","The most autonomous agent framework.","2026-11-15 03:40:18",{"source":7,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add aeonfun\u002Faeon --skill social-monitor",{"tool":46,"command":47},"bunx","bunx skills add aeonfun\u002Faeon --skill social-monitor",{"tool":49,"command":50},"pnpm","pnpm dlx skills add aeonfun\u002Faeon --skill social-monitor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fdocs\u002Fexamples\u002Fskill-templates\u002Fsocial-monitor\u002FSKILL.md",true,[],[55,62,68,74,80,86],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":61},"01M7DSM3QWBJ44FKRMDDRAGNET","Warn Mixed Script","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fwarn-mixed-script\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":61},"01M7DSM0496DRYYW5A4NAAHZDX","Warn Hidden CSS","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fwarn-hidden-css\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":61},"01M7DSKWCGDVYZSDJM31YHS2JB","Malicious Injection Uppercase","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-uppercase\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":61},"01M7DSKRV2RRA1V0HK13KYWJXD","Malicious Injection Homoglyph","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-homoglyph\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":61},"01M7DSKMXJKY0167YHVCKF7B49","Malicious Injection Disregard Prior","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fmalicious-injection-disregard-prior\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":61},"01M7DSKGFQ5V2VNSA4K97CVFMB","Benign Greek Math","https:\u002F\u002Fgithub.com\u002Faeonfun\u002Faeon\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fskill-scan-fixtures\u002Fbenign-greek-math\u002FSKILL.md",[],[]]