[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F3X3VCSYVM30XVPEB6D1N9":3,"skill-same:01M7F3X3VCSYVM30XVPEB6D1N9":46},{"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":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F3X3VCSYVM30XVPEB6D1N9","reddit-fetch",null,"Fetch content from Reddit using Gemini CLI or curl JSON API fallback. Use when accessing Reddit URLs, researching topics on Reddit, or when Reddit returns 403\u002Fblocked errors.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Freddit-fetch\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: reddit-fetch\ndescription: Fetch content from Reddit using Gemini CLI or curl JSON API fallback. Use when accessing Reddit URLs, researching topics on Reddit, or when Reddit returns 403\u002Fblocked errors.\n---\n\n# Reddit Fetch\n\n## Method 1: Gemini CLI (Try First)\n\nUse Gemini CLI via tmux. It can browse, summarize, and answer complex questions about Reddit content.\n\nPick a unique session name (e.g., `gemini_abc123`) and use it consistently throughout.\n\n### Setup\n\n```bash\ntmux new-session -d -s \u003Csession_name> -x 200 -y 50\ntmux send-keys -t \u003Csession_name> 'gemini -m gemini-3-pro-preview' Enter\nsleep 3  # wait for Gemini CLI to load\n```\n\n### Send query and capture output\n\n```bash\ntmux send-keys -t \u003Csession_name> 'Your Reddit query here' Enter\nsleep 30  # wait for response (adjust as needed, up to 90s for complex searches)\ntmux capture-pane -t \u003Csession_name> -p -S -500  # capture output\n```\n\nIf the captured output shows an API error (e.g., quota exceeded, model unavailable), kill the session and retry without the `-m` flag (just `gemini` with no model argument). This falls back to the default model.\n\n### How to tell if Enter was sent\n\nLook for YOUR QUERY TEXT specifically. Is it inside or outside the bordered box?\n\n**Enter NOT sent** - your query is INSIDE the box:\n```\n╭─────────────────────────────────────╮\n│ > Your actual query text here       │\n╰─────────────────────────────────────╯\n```\n\n**Enter WAS sent** - your query is OUTSIDE the box, followed by activity:\n```\n> Your actual query text here\n\n⠋ Our hamsters are working... (processing)\n\n╭────────────────────────────────────────────╮\n│ >   Type your message or @path\u002Fto\u002Ffile     │\n╰────────────────────────────────────────────╯\n```\n\nNote: The empty prompt `Type your message or @path\u002Fto\u002Ffile` always appears in the box - that's normal. What matters is whether YOUR query text is inside or outside the box.\n\nIf your query is inside the box, run `tmux send-keys -t \u003Csession_name> Enter` to submit.\n\n### Cleanup when done\n\n```bash\ntmux kill-session -t \u003Csession_name>\n```\n\n### If Gemini fails completely\n\nIf retrying without `-m` also fails, fall back to Method 2 below.\n\n---\n\n## Method 2: curl with Reddit JSON API (Fallback)\n\nReddit's public JSON API works by appending `.json` to any Reddit URL. Use this when Gemini is unavailable (quota exhausted, API errors, etc.).\n\n### Listing hot\u002Fnew\u002Ftop posts\n\n```bash\ncurl -s -L -H \"User-Agent: Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36\" \\\n  \"https:\u002F\u002Fold.reddit.com\u002Fr\u002FSUBREDDIT\u002Fhot.json?limit=15\"\n```\n\nReplace `hot` with `new`, `top`, or `rising` as needed. For `top`, add `&t=day` (or `week`, `month`, `year`, `all`).\n\n### Fetching a specific post + comments\n\n```bash\ncurl -s -L -H \"User-Agent: Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36\" \\\n  \"https:\u002F\u002Fold.reddit.com\u002Fr\u002FSUBREDDIT\u002Fcomments\u002FPOST_ID.json?limit=20\"\n```\n\nThe response is a JSON array: `[0]` is the post, `[1]` is the comment tree.\n\n### Searching within a subreddit\n\n```bash\ncurl -s -L -H \"User-Agent: Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36\" \\\n  \"https:\u002F\u002Fold.reddit.com\u002Fr\u002FSUBREDDIT\u002Fsearch.json?q=QUERY&restrict_sr=on&sort=new&limit=15\"\n```\n\n### Parsing the JSON\n\nUse jq to extract what you need:\n\n```bash\n# List posts\ncurl -s -L -o \u002Ftmp\u002Freddit_result.txt -w \"%{http_code}\" \\\n  -H \"User-Agent: Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36\" \\\n  'https:\u002F\u002Fold.reddit.com\u002Fr\u002FSUBREDDIT\u002Fhot.json?limit=15'\n\njq -r '.data.children[] | .data | \"\\(.title)\\n   \\(.score) pts | \\(.num_comments) comments | u\u002F\\(.author) | id: \\(.id)\\n\"' \u002Ftmp\u002Freddit_result.txt\n\n# List comments from a specific post (the [1] element has comments)\njq -r '.[1].data.children[] | select(.kind == \"t1\") | .data | \"u\u002F\\(.author) (\\(.score) pts):\\n  \\(.body[:300])\\n\"' \u002Ftmp\u002Freddit_thread.txt\n```\n\nKey details:\n- Fetch to temp file first, then parse - avoids pipe-related encoding issues\n- `-o \u002Ftmp\u002Ffile` and `-w \"%{http_code}\"` saves the response and prints the HTTP status (useful for debugging empty responses)\n- `-L` follows redirects (old.reddit.com sometimes redirects)\n- Single-quoted URL avoids shell interpretation of `&` in query strings\n- `.body[:300]` truncates long comment bodies (jq 1.7+)\n\n### Rate limiting\n\nReddit's JSON API rate-limits aggressively:\n\n- **Don't fire parallel requests.** Make them sequentially with `sleep 2` or `sleep 3` between each.\n- If a request returns empty (0 bytes), wait 3-5 seconds and retry.\n- If you get HTTP 429, back off for 10-15 seconds.\n- A good pattern: fetch one search result listing, parse it, then fetch individual threads one at a time with delays.\n","# Reddit Fetch\n\n## Method 1: Gemini CLI (Try First)\n\nUse Gemini CLI via tmux. It can browse, summarize, and answer complex questions about Reddit content.\n\nPick a unique session name (e.g., `gemini_abc123`) and use it consistently throughout.\n\n### Setup\n\n```bash\ntmux new-session -d -s \u003Csession_name> -x 200 -y 50\ntmux send-keys -t \u003Csession_name> 'gemini -m gemini-3-pro-preview' Enter\nsleep 3  # wait for Gemini CLI to load\n```\n\n### Send query and capture output\n\n```bash\ntmux send-keys -t \u003Csession_name> 'Your Reddit query here' Enter\nsleep 30  # wait for response (adjust as needed, up to 90s for complex searches)\ntmux capture-pane -t \u003Csession_name> -p -S -500  # capture output\n```\n\nIf the captured output shows an API error (e.g., quota exceeded, model unavailable), kill the session and retry without the `-m` flag (just `gemini` with no model argument). This falls back to the default model.\n\n### How to tell if Enter was sent\n\nLook for YOUR QUERY TEXT specifically. Is it inside or outside the bordered box?\n\n**Enter NOT sent** - your query is INSIDE the box:\n```\n╭─────────────────────────────────────╮\n│ > Your actual query text here       │\n╰─────────────────────────────────────╯\n```\n\n**Enter WAS sent** - your query is OUTSIDE the box, followed by activity:\n```\n> Your actual query text here\n\n⠋ Our hamsters are working... (processing)\n\n╭────────────────────────────────────────────╮\n│ >   Type your message or @path\u002Fto\u002Ffile     │\n╰────────────────────────────────────────────╯\n```\n\nNote: The empty prompt `Type your message or @path\u002Fto\u002Ffile` always appears in the box - that's normal. What matters is whether YOUR query text is inside or outside the box.\n\nIf your query is inside the box, run `tmux send-keys -t \u003Csession_name> Enter` to submit.\n\n### Cleanup when done\n\n```bash\ntmux kill-session -t \u003Csession_name>\n```\n\n### If Gemini fails completely\n\nIf retrying without `-m` also fails, fall back to Method 2 below.\n\n---\n\n## Method 2: curl with Reddit JSON API (Fallback)\n\nReddit's public JSON API works by appending `.json` to any Reddit URL. Use this when Gemini is unavailable (quota exhausted, API errors, etc.).\n\n### Listing hot\u002Fnew\u002Ftop posts\n\n```bash\ncurl -s -L -H \"User-Agent: Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36\" \\\n  \"https:\u002F\u002Fold.reddit.com\u002Fr\u002FSUBREDDIT\u002Fhot.json?limit=15\"\n```\n\nReplace `hot` with `new`, `top`, or `rising` as needed. For `top`, add `&t=day` (or `week`, `month`, `year`, `all`).\n\n### Fetching a specific post + comments\n\n```bash\ncurl -s -L -H \"User-Agent: Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36\" \\\n  \"https:\u002F\u002Fold.reddit.com\u002Fr\u002FSUBREDDIT\u002Fcomments\u002FPOST_ID.json?limit=20\"\n```\n\nThe response is a JSON array: `[0]` is the post, `[1]` is the comment tree.\n\n### Searching within a subreddit\n\n```bash\ncurl -s -L -H \"User-Agent: Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36\" \\\n  \"https:\u002F\u002Fold.reddit.com\u002Fr\u002FSUBREDDIT\u002Fsearch.json?q=QUERY&restrict_sr=on&sort=new&limit=15\"\n```\n\n### Parsing the JSON\n\nUse jq to extract what you need:\n\n```bash\n# List posts\ncurl -s -L -o \u002Ftmp\u002Freddit_result.txt -w \"%{http_code}\" \\\n  -H \"User-Agent: Mozilla\u002F5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\u002F537.36 (KHTML, like Gecko) Chrome\u002F120.0.0.0 Safari\u002F537.36\" \\\n  'https:\u002F\u002Fold.reddit.com\u002Fr\u002FSUBREDDIT\u002Fhot.json?limit=15'\n\njq -r '.data.children[] | .data | \"\\(.title)\\n   \\(.score) pts | \\(.num_comments) comments | u\u002F\\(.author) | id: \\(.id)\\n\"' \u002Ftmp\u002Freddit_result.txt\n\n# List comments from a specific post (the [1] element has comments)\njq -r '.[1].data.children[] | select(.kind == \"t1\") | .data | \"u\u002F\\(.author) (\\(.score) pts):\\n  \\(.body[:300])\\n\"' \u002Ftmp\u002Freddit_thread.txt\n```\n\nKey details:\n- Fetch to temp file first, then parse - avoids pipe-related encoding issues\n- `-o \u002Ftmp\u002Ffile` and `-w \"%{http_code}\"` saves the response and prints the HTTP status (useful for debugging empty responses)\n- `-L` follows redirects (old.reddit.com sometimes redirects)\n- Single-quoted URL avoids shell interpretation of `&` in query strings\n- `.body[:300]` truncates long comment bodies (jq 1.7+)\n\n### Rate limiting\n\nReddit's JSON API rate-limits aggressively:\n\n- **Don't fire parallel requests.** Make them sequentially with `sleep 2` or `sleep 3` between each.\n- If a request returns empty (0 bytes), wait 3-5 seconds and retry.\n- If you get HTTP 429, back off for 10-15 seconds.\n- A good pattern: fetch one search result listing, parse it, then fetch individual threads one at a time with delays.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Freddit-fetch",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill reddit-fetch",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill reddit-fetch",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill reddit-fetch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Freddit-fetch\u002FSKILL.md",true,[],[47,54,59,66,73,80],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":55,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]