[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QMPS8HRAR1ANYEC6PKHRZA":3,"skill-same:01M6QMPS8HRAR1ANYEC6PKHRZA":79},{"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":26,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":14,"repositoryHtmlUrl":59,"repositoryHomepageUrl":60,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":63,"updatedAt":64,"install":65,"resources":78},"01M6QMPS8HRAR1ANYEC6PKHRZA","pulse",null,"Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","Tashima-Tarsh\u002FDisha6.6","Tashima-Tarsh","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269906498?v=4","01M6PBH98X03XERH0HFT4PFB1P","NITISH KUMAR","01M6PBH9DA0M6KM3Z12P848F0K",0,"MIT","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpulse\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[5,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],"take","hacker","for","about","trending","platform","time","cross-platform","news","conversation","research","use","user","Rules","tool","open","discovery","Citations","sentiment analysis","2026-11-10 10:12:30",false,"---\nname: pulse\ndescription: \"Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.\"\nlicense: MIT\nmetadata:\n  source_spec: \"megaprompts\u002F01-pulse-megaprompt.md\"\n  build_pattern: \"Path B (direct conversion)\"\n  research_pack_convention: \"Agent Integrity Rules block preserved verbatim per PR #657 audit\"\n  version: 1.0.0\n---\n\n# Pulse — Multi-Source Recency Research\n\n> **Portability:** Works in Claude Code CLI and Claude.ai. Phase 4 accepts a local X\u002FTwitter search export before trying a live interface.\n\nA recency-oriented research skill that synthesizes what people are saying about a topic across Reddit, Hacker News, the open web, and (optionally) X\u002FTwitter — within a configurable time window. Output is a single coherent briefing with citations, engagement signals, and cross-platform pattern analysis. The skill captures the **current conversation**, not the canonical reference.\n\n## Invocation\n\n**Explicit trigger phrases:**\n- \"pulse on [topic]\"\n- \"what's happening with [topic]\"\n- \"what are people saying about [topic]\"\n- \"current conversation about [topic]\"\n- \"take the pulse of [topic]\"\n- \"trending: [topic]\"\n- \"find me info on [topic]\"\n\nAlso covers: competitor research with recency flavor, trend discovery, tool comparisons, audience sentiment analysis.\n\n## Agent Integrity Rules (Research-Pack Convention)\n\nThe following rules apply throughout the run. They are inherited from the research-pack convention and locked down by PR #657's cross-skill consistency audit.\n\n- **Execution discipline.** Phases 1–3 run in parallel (Reddit + HN + Web are independent). Within each phase, sequential calls only. **1 q\u002Fsec rate limit per platform.** Confirm response received before next call within the same phase.\n- **Source discipline.** Cite only sources returned by **this session's tool calls.** Training knowledge is labeled `[Background — not from search]` and excluded from primary findings count.\n- **Three-count tracking.** Queries sent \u002F sources received (shown) \u002F sources cited. Surfaced in the audit log inline in the synthesis section. Use `scripts\u002Fcitation_tracker.py` for the deterministic count.\n- **Retry policy.** On failure → wait 3s → retry once → log. After **3 consecutive failures across all sources:** stop, alert user, share what was collected. Never deliver an empty file.\n- **Plan-tier detection.** Reddit + HN are unauthenticated public JSON APIs (rate-limited per IP, not per plan). Surface rate-limit signals from response headers when available; degrade gracefully otherwise.\n\nSee `references\u002Fresearch_pack_conventions.md` for the canon and `references\u002Fparallel_execution_discipline.md` for the rate-limit rationale.\n\n## Phase 0: Grill-Me Intake (2–4 forcing questions, one at a time)\n\nDependency-ordered. Each question carries explicit \"why I'm asking\". Stop condition: max 4.\n\n### Q1 (root) — Topic Specificity\n\n> **What's the topic? State it in 1–2 sentences — be specific. \"AI\" or \"tech\" will get you a vague survey; \"self-hosted LLM deployment for small teams\" or \"Claude Code adoption among enterprise engineering orgs\" will get you a useful answer.**\n>\n> *Why I'm asking:* Specificity dictates search quality. Vague topics produce vague briefings. If your topic is broad, I'd rather narrow it now than spend a search budget on noise.\n\n**Refuse mush.** If the user says \"AI\", push back once: \"What about AI — adoption, safety, capability, regulation, or comparison? Pick an angle.\" If the user still won't narrow after one push-back, deliver with the explicit \"vague topic — survey level, not depth\" caveat.\n\n### Q2 (depends on Q1) — Angle\n\n> **What angle matters most? Pick one:**\n>\n> 1. **Trend** — what's accelerating or decelerating\n> 2. **Sentiment** — what people feel about it\n> 3. **Problems** — pain points and complaints\n> 4. **Opportunities** — gaps and unmet needs\n> 5. **Comparison** — how it stacks up against alternatives\n>\n> *Why I'm asking:* The angle dictates which sources weight more (Reddit for sentiment, HN for technical critique, Web for trend coverage) and how I rank the synthesis.\n\nForcing choice. **Recommended default:** trend, unless the topic obviously calls for a different angle.\n\n### Q3 (always) — Time Window\n\n> **Time window: 7 \u002F 14 \u002F 30 \u002F 60 \u002F 90 days? Default is 30.**\n>\n> *Why I'm asking:* 7 days catches breaking conversation; 90 days catches sustained narrative shift. Pick based on how recent the news matters.\n\nForcing choice with default.\n\n### Q4 (depends on Q1) — Platform Scope\n\n> **Any platform to skip? By default I'll cover Reddit + Hacker News + open web, plus X\u002FTwitter if browser automation is available. Skip any you don't care about.**\n>\n> *Why I'm asking:* Skipping a platform saves search budget. Reddit dominates sentiment; HN dominates technical critique; Web dominates breadth; X dominates breaking conversation. Skip what doesn't fit your angle.\n\nAsked only if Q1 + Q2 suggest some platforms are clearly off-target (e.g., consumer sentiment topic → HN less useful). Otherwise default to \"all platforms\".\n\n**Stop condition:** After Q4 (or earlier with dependency skips), commit and start Phase 1. Max 4 questions, never bundle.\n\n## Pre-flight\n\nBefore any phase fires:\n\n1. **Compute the time window** with `scripts\u002Ftime_window_calculator.py --window \u003CNd>`. Get back the Unix timestamp for `created_at_i>` (HN) and the `t=` parameter (`hour|day|week|month|year|all`) for Reddit.\n2. **Generate the output slug** with `scripts\u002Ftopic_slug_generator.py --topic \"\u003Ctopic>\" --date $(date +%Y-%m-%d)`. Detect if `${RESEARCH_DIR}\u002Fpulse\u002F\u003Cslug>-\u003Cdate>.md` already exists; if yes, append `-v2` suffix or warn user.\n3. **Start the three-count audit log** with `scripts\u002Fcitation_tracker.py --action start --session pulse-\u003Cdate>-\u003Cslug>`. This file at `~\u002F.pulse_sessions\u002F\u003Csession>.json` persists across the run.\n\n## Phase 1: Reddit (parallel with HN + Web)\n\n**API:** `reddit.com\u002Fsearch.json` (unauthenticated, public JSON).\n\n**Queries (sequential within Reddit, 1 q\u002Fsec):**\n1. `sort=top&t=\u003Cwindow>&q=\u003Ctopic>` — top posts in window\n2. `sort=new&t=\u003Cwindow>&q=\u003Ctopic>` — new posts in window (catches breaking signal)\n3. For each of the top 3–5 posts by score: fetch the comments JSON (`\u003Cpost-url>.json?limit=top`) for the top 10–20 comments.\n\n**Headers \u002F rate limits.** Reddit rate-limits by IP, not plan. Throttle to 1 q\u002Fsec. If response has `X-Ratelimit-Remaining: 0` or returns 429, wait 3s, retry once. If still failing, fall back to subreddit-restricted search (`r\u002F\u003Ctopic-subreddit>\u002Fsearch.json`) or `?raw_json=1`.\n\n**Record each query:** `citation_tracker.py --action record_sent --session NAME --query \"...\"`.\n**Record received counts:** `citation_tracker.py --action record_received --session NAME --count N`.\n\n## Phase 2: Hacker News (parallel with Reddit + Web)\n\n**API:** Algolia HN search (`hn.algolia.com\u002Fapi\u002Fv1\u002F`).\n\n**Queries (sequential within HN, 1 q\u002Fsec):**\n1. `search?query=\u003Ctopic>&numericFilters=created_at_i>\u003Ctimestamp>&tags=story` — stories in window\n2. `search?query=\u003Ctopic>&numericFilters=created_at_i>\u003Ctimestamp>&tags=comment` — comments in window (catches discussion signal)\n\n**Failure handling.** If HN returns empty: broaden the query (remove uncommon nouns); if still empty, drop the timestamp filter as last resort and label results \"outside window\".\n\n**HN bias note.** HN skews technical \u002F builder. Surface this in synthesis: \"HN's voice is implementation-oriented; consumer sentiment will be under-represented here.\"\n\n## Phase 3: Web Search (parallel with Reddit + HN)\n\n**Tools:** Available web search + fetch (e.g., `WebSearch` + `WebFetch`).\n\n**Query strategy (sequential within Web, 1 q\u002Fsec):**\n1. **Trusted publishers** — `\"\u003Ctopic>\" site:nytimes.com OR site:wsj.com OR site:wired.com OR site:theverge.com OR site:techcrunch.com after:\u003Cdate>`\n2. **Recent reviews** — `\"\u003Ctopic>\" review \u003Cyear>` or `\"\u003Ctopic>\" \"honest review\" after:\u003Cdate>`\n3. **Honest-opinion sources** — `\"\u003Ctopic>\" problems OR complaints OR \"worth it\" after:\u003Cdate>`\n\nFetch the top 3–5 URLs per query. Truncate at the body, skip cookie\u002Fnav markup.\n\n**Citation discipline.** Every claim in the Web section must trace to a fetched URL. Do NOT cite from snippets alone; fetch first.\n\n## Phase 4: X\u002FTwitter (sequential, optional)\n\nRun last. Reasons:\n- Most likely to fail \u002F require browser automation\n- X content overlaps significantly with Reddit\u002FHN — so it adds delta, not primary signal\n\n**Interface (in priority order):**\n1. **User-provided JSON export.** Import it before any live request:\n   ```bash\n   python3 scripts\u002Fcitation_tracker.py \\\n     --action import_sources \\\n     --session NAME \\\n     --input \u002Fpath\u002Fto\u002Fx-search.json \\\n     --platform x \\\n     --since 2026-07-01T00:00:00Z \\\n     --until 2026-08-01T00:00:00Z\n   ```\n   The importer accepts Xquik Tweet Search, X API v2, and generic JSON exports.\n   It normalizes legacy and snake-case fields, joins X API `includes.users`,\n   filters the requested window, and deduplicates by Tweet ID. It makes no\n   network calls and requires no API key. The audit stores the filename and\n   SHA-256 digest, not the user's absolute path.\n2. **Grok** if available in the harness.\n3. **X API** if authenticated.\n4. **Browser automation** if the harness supports it.\n5. **Skip with note** if none of the above are available.\n\n**Documented behavior:**\n> If Phase 4 is skipped: include the section header `## X\u002FTwitter` with body `Skipped — [reason: no browser automation \u002F no Grok \u002F no X API]`. Do NOT pretend to have data.\n\n## Synthesis (Cross-Platform Patterns)\n\nAfter Phases 1–4 complete (or Phase 4 skipped), produce the synthesis:\n\n1. **Consensus signals** — points where 3+ platforms agree (highest confidence). Tag each with cited source URLs.\n2. **Controversy signals** — points where platforms disagree. Note who says what.\n3. **Pain points** — recurring complaints across sources (esp. Reddit + Web).\n4. **Excitement signals** — recurring enthusiasm (esp. HN + X if available).\n5. **Emerging trends** — first-time mentions in newest posts but absent from older ones (compare `sort=new` vs `sort=top`).\n6. **Gaps** — what's notably absent that you'd expect to find.\n\nFor each pattern, **cite the source URLs** that support it. Use `citation_tracker.py --action record_cited --session NAME --url \"...\"` per citation.\n\nSee `references\u002Fcross_platform_synthesis.md` for detection heuristics.\n\n## Output\n\nSave to file AND paste in chat:\n\n**File:** `${RESEARCH_DIR}\u002Fpulse\u002F\u003Ctopic-slug>-\u003CYYYY-MM-DD>.md` (path from `topic_slug_generator.py`).\n\n**Format:**\n\n```markdown\n# [TOPIC] — Pulse (Last [N] Days)\n*Generated: [DATE] | Angle: [Q2 choice]*\n\n## TL;DR\n[2-3 sentences max]\n\n## Reddit\n### Top Posts\n- **[Title]** (r\u002Fsub) — [score, comments] — [summary] — [URL]\n### What Reddit Is Saying\n[Narrative paragraph]\n\n## Hacker News\n### Notable Stories\n- **[Title]** — [points, comments] — [summary] — [URL]\n### What HN Is Saying\n[Narrative paragraph; note HN's technical\u002Fbuilder bias]\n\n## Web\n### Key Sources\n- **[Title]** ([Publication]) — [takeaway] — [URL]\n### What the Web Is Saying\n[Narrative paragraph]\n\n## X\u002FTwitter (if available)\n[Cleaned response, with handles\u002Freferences preserved]\n[Or: \"Skipped — [reason]\"]\n\n## Cross-Platform Patterns\n[Highest-confidence signals across sources]\n\n## Key Takeaways\n- [3-5 bullets]\n\n## Content Angles (if applicable)\n[2-3 specific angles supported by the data]\n\n---\n*Audit:* Queries sent: N (Reddit: a, HN: b, Web: c, X: d|skipped).\nSources received: M. Sources cited: K. Training knowledge: 0 ([Background] excluded from count).\n```\n\n## Error Handling\n\n| Failure | Behavior |\n|---|---|\n| Topic is too vague (Q1) | Refuse to start. Re-ask Q1 once with examples. After 1 push-back, deliver with \"vague topic\" caveat. |\n| Reddit blocks \u002F rate-limits | Try `?raw_json=1` or fall back to subreddit-restricted search. Honor 3s-retry. |\n| HN returns empty | Broaden query, drop timestamp filter as last resort, label results \"outside window\". |\n| Web search returns nothing useful | Note in output; don't fabricate sources. |\n| Browser automation unavailable | Import a supplied export. Otherwise skip Phase 4 with a note. |\n| Local X export is invalid | Stop Phase 4. Report the parse error. Do not guess missing records. |\n| WebFetch times out | Use what loaded, mark the source as \"truncated\". |\n| 3 consecutive failures across sources | Stop. Return what was collected with explicit \"stopped early\" note. Do NOT deliver empty file. |\n| All sources fail | Return error with diagnostic info. Do NOT deliver empty file. |\n\n## Tooling\n\n| Script | Role |\n|---|---|\n| `scripts\u002Ftime_window_calculator.py` | Compute Unix timestamps + Reddit `t=` parameter from window string (`30d`, `7d`, etc.). Deterministic from `datetime.now()`. |\n| `scripts\u002Fcitation_tracker.py` | Three-count audit log plus local X export normalization and deduplication. |\n| `scripts\u002Ftopic_slug_generator.py` | Filesystem-safe slug + duplicate-date detection for output paths. |\n\n## References\n\n- `references\u002Fresearch_pack_conventions.md` — Agent Integrity Rules canon (7+ sources: Google SRE, Reddit API docs, Algolia HN docs, exponential-backoff literature, citation discipline)\n- `references\u002Fcross_platform_synthesis.md` — consensus \u002F controversy \u002F pain detection across platforms (7+ sources)\n- `references\u002Fparallel_execution_discipline.md` — 1 q\u002Fsec rationale + plan-tier signals (7+ sources)\n\n## Anti-Patterns To Reject\n\n- Starting any search before the user commits to topic specificity (Q1)\n- Batching intake questions instead of one at a time\n- Hardcoded URLs that won't survive API changes (note format, explain may evolve)\n- Irrelevant person or brand references in the skill body\n- Tight coupling to one X\u002FTwitter interface\n- Counting duplicate Tweet IDs or repeated citation URLs as separate sources\n- Missing fallback behavior on source failure\n- \"Just use [specific tool]\" without explaining what the tool does\n- Citing training knowledge in the cited count\n- Fabricating sources to fill out a section\n\n---\n\n**Version:** 1.0.0\n**Source spec:** `megaprompts\u002F01-pulse-megaprompt.md` (maintainer-local draft spec — gitignored, not present in the public repository)\n**Build pattern:** Path B (direct conversion). Re-grill with `\u002Fcs:grill-with-docs` if drift between spec and implementation surfaces.\n","# Pulse — Multi-Source Recency Research\n\n> **Portability:** Works in Claude Code CLI and Claude.ai. Phase 4 accepts a local X\u002FTwitter search export before trying a live interface.\n\nA recency-oriented research skill that synthesizes what people are saying about a topic across Reddit, Hacker News, the open web, and (optionally) X\u002FTwitter — within a configurable time window. Output is a single coherent briefing with citations, engagement signals, and cross-platform pattern analysis. The skill captures the **current conversation**, not the canonical reference.\n\n## Invocation\n\n**Explicit trigger phrases:**\n- \"pulse on [topic]\"\n- \"what's happening with [topic]\"\n- \"what are people saying about [topic]\"\n- \"current conversation about [topic]\"\n- \"take the pulse of [topic]\"\n- \"trending: [topic]\"\n- \"find me info on [topic]\"\n\nAlso covers: competitor research with recency flavor, trend discovery, tool comparisons, audience sentiment analysis.\n\n## Agent Integrity Rules (Research-Pack Convention)\n\nThe following rules apply throughout the run. They are inherited from the research-pack convention and locked down by PR #657's cross-skill consistency audit.\n\n- **Execution discipline.** Phases 1–3 run in parallel (Reddit + HN + Web are independent). Within each phase, sequential calls only. **1 q\u002Fsec rate limit per platform.** Confirm response received before next call within the same phase.\n- **Source discipline.** Cite only sources returned by **this session's tool calls.** Training knowledge is labeled `[Background — not from search]` and excluded from primary findings count.\n- **Three-count tracking.** Queries sent \u002F sources received (shown) \u002F sources cited. Surfaced in the audit log inline in the synthesis section. Use `scripts\u002Fcitation_tracker.py` for the deterministic count.\n- **Retry policy.** On failure → wait 3s → retry once → log. After **3 consecutive failures across all sources:** stop, alert user, share what was collected. Never deliver an empty file.\n- **Plan-tier detection.** Reddit + HN are unauthenticated public JSON APIs (rate-limited per IP, not per plan). Surface rate-limit signals from response headers when available; degrade gracefully otherwise.\n\nSee `references\u002Fresearch_pack_conventions.md` for the canon and `references\u002Fparallel_execution_discipline.md` for the rate-limit rationale.\n\n## Phase 0: Grill-Me Intake (2–4 forcing questions, one at a time)\n\nDependency-ordered. Each question carries explicit \"why I'm asking\". Stop condition: max 4.\n\n### Q1 (root) — Topic Specificity\n\n> **What's the topic? State it in 1–2 sentences — be specific. \"AI\" or \"tech\" will get you a vague survey; \"self-hosted LLM deployment for small teams\" or \"Claude Code adoption among enterprise engineering orgs\" will get you a useful answer.**\n>\n> *Why I'm asking:* Specificity dictates search quality. Vague topics produce vague briefings. If your topic is broad, I'd rather narrow it now than spend a search budget on noise.\n\n**Refuse mush.** If the user says \"AI\", push back once: \"What about AI — adoption, safety, capability, regulation, or comparison? Pick an angle.\" If the user still won't narrow after one push-back, deliver with the explicit \"vague topic — survey level, not depth\" caveat.\n\n### Q2 (depends on Q1) — Angle\n\n> **What angle matters most? Pick one:**\n>\n> 1. **Trend** — what's accelerating or decelerating\n> 2. **Sentiment** — what people feel about it\n> 3. **Problems** — pain points and complaints\n> 4. **Opportunities** — gaps and unmet needs\n> 5. **Comparison** — how it stacks up against alternatives\n>\n> *Why I'm asking:* The angle dictates which sources weight more (Reddit for sentiment, HN for technical critique, Web for trend coverage) and how I rank the synthesis.\n\nForcing choice. **Recommended default:** trend, unless the topic obviously calls for a different angle.\n\n### Q3 (always) — Time Window\n\n> **Time window: 7 \u002F 14 \u002F 30 \u002F 60 \u002F 90 days? Default is 30.**\n>\n> *Why I'm asking:* 7 days catches breaking conversation; 90 days catches sustained narrative shift. Pick based on how recent the news matters.\n\nForcing choice with default.\n\n### Q4 (depends on Q1) — Platform Scope\n\n> **Any platform to skip? By default I'll cover Reddit + Hacker News + open web, plus X\u002FTwitter if browser automation is available. Skip any you don't care about.**\n>\n> *Why I'm asking:* Skipping a platform saves search budget. Reddit dominates sentiment; HN dominates technical critique; Web dominates breadth; X dominates breaking conversation. Skip what doesn't fit your angle.\n\nAsked only if Q1 + Q2 suggest some platforms are clearly off-target (e.g., consumer sentiment topic → HN less useful). Otherwise default to \"all platforms\".\n\n**Stop condition:** After Q4 (or earlier with dependency skips), commit and start Phase 1. Max 4 questions, never bundle.\n\n## Pre-flight\n\nBefore any phase fires:\n\n1. **Compute the time window** with `scripts\u002Ftime_window_calculator.py --window \u003CNd>`. Get back the Unix timestamp for `created_at_i>` (HN) and the `t=` parameter (`hour|day|week|month|year|all`) for Reddit.\n2. **Generate the output slug** with `scripts\u002Ftopic_slug_generator.py --topic \"\u003Ctopic>\" --date $(date +%Y-%m-%d)`. Detect if `${RESEARCH_DIR}\u002Fpulse\u002F\u003Cslug>-\u003Cdate>.md` already exists; if yes, append `-v2` suffix or warn user.\n3. **Start the three-count audit log** with `scripts\u002Fcitation_tracker.py --action start --session pulse-\u003Cdate>-\u003Cslug>`. This file at `~\u002F.pulse_sessions\u002F\u003Csession>.json` persists across the run.\n\n## Phase 1: Reddit (parallel with HN + Web)\n\n**API:** `reddit.com\u002Fsearch.json` (unauthenticated, public JSON).\n\n**Queries (sequential within Reddit, 1 q\u002Fsec):**\n1. `sort=top&t=\u003Cwindow>&q=\u003Ctopic>` — top posts in window\n2. `sort=new&t=\u003Cwindow>&q=\u003Ctopic>` — new posts in window (catches breaking signal)\n3. For each of the top 3–5 posts by score: fetch the comments JSON (`\u003Cpost-url>.json?limit=top`) for the top 10–20 comments.\n\n**Headers \u002F rate limits.** Reddit rate-limits by IP, not plan. Throttle to 1 q\u002Fsec. If response has `X-Ratelimit-Remaining: 0` or returns 429, wait 3s, retry once. If still failing, fall back to subreddit-restricted search (`r\u002F\u003Ctopic-subreddit>\u002Fsearch.json`) or `?raw_json=1`.\n\n**Record each query:** `citation_tracker.py --action record_sent --session NAME --query \"...\"`.\n**Record received counts:** `citation_tracker.py --action record_received --session NAME --count N`.\n\n## Phase 2: Hacker News (parallel with Reddit + Web)\n\n**API:** Algolia HN search (`hn.algolia.com\u002Fapi\u002Fv1\u002F`).\n\n**Queries (sequential within HN, 1 q\u002Fsec):**\n1. `search?query=\u003Ctopic>&numericFilters=created_at_i>\u003Ctimestamp>&tags=story` — stories in window\n2. `search?query=\u003Ctopic>&numericFilters=created_at_i>\u003Ctimestamp>&tags=comment` — comments in window (catches discussion signal)\n\n**Failure handling.** If HN returns empty: broaden the query (remove uncommon nouns); if still empty, drop the timestamp filter as last resort and label results \"outside window\".\n\n**HN bias note.** HN skews technical \u002F builder. Surface this in synthesis: \"HN's voice is implementation-oriented; consumer sentiment will be under-represented here.\"\n\n## Phase 3: Web Search (parallel with Reddit + HN)\n\n**Tools:** Available web search + fetch (e.g., `WebSearch` + `WebFetch`).\n\n**Query strategy (sequential within Web, 1 q\u002Fsec):**\n1. **Trusted publishers** — `\"\u003Ctopic>\" site:nytimes.com OR site:wsj.com OR site:wired.com OR site:theverge.com OR site:techcrunch.com after:\u003Cdate>`\n2. **Recent reviews** — `\"\u003Ctopic>\" review \u003Cyear>` or `\"\u003Ctopic>\" \"honest review\" after:\u003Cdate>`\n3. **Honest-opinion sources** — `\"\u003Ctopic>\" problems OR complaints OR \"worth it\" after:\u003Cdate>`\n\nFetch the top 3–5 URLs per query. Truncate at the body, skip cookie\u002Fnav markup.\n\n**Citation discipline.** Every claim in the Web section must trace to a fetched URL. Do NOT cite from snippets alone; fetch first.\n\n## Phase 4: X\u002FTwitter (sequential, optional)\n\nRun last. Reasons:\n- Most likely to fail \u002F require browser automation\n- X content overlaps significantly with Reddit\u002FHN — so it adds delta, not primary signal\n\n**Interface (in priority order):**\n1. **User-provided JSON export.** Import it before any live request:\n   ```bash\n   python3 scripts\u002Fcitation_tracker.py \\\n     --action import_sources \\\n     --session NAME \\\n     --input \u002Fpath\u002Fto\u002Fx-search.json \\\n     --platform x \\\n     --since 2026-07-01T00:00:00Z \\\n     --until 2026-08-01T00:00:00Z\n   ```\n   The importer accepts Xquik Tweet Search, X API v2, and generic JSON exports.\n   It normalizes legacy and snake-case fields, joins X API `includes.users`,\n   filters the requested window, and deduplicates by Tweet ID. It makes no\n   network calls and requires no API key. The audit stores the filename and\n   SHA-256 digest, not the user's absolute path.\n2. **Grok** if available in the harness.\n3. **X API** if authenticated.\n4. **Browser automation** if the harness supports it.\n5. **Skip with note** if none of the above are available.\n\n**Documented behavior:**\n> If Phase 4 is skipped: include the section header `## X\u002FTwitter` with body `Skipped — [reason: no browser automation \u002F no Grok \u002F no X API]`. Do NOT pretend to have data.\n\n## Synthesis (Cross-Platform Patterns)\n\nAfter Phases 1–4 complete (or Phase 4 skipped), produce the synthesis:\n\n1. **Consensus signals** — points where 3+ platforms agree (highest confidence). Tag each with cited source URLs.\n2. **Controversy signals** — points where platforms disagree. Note who says what.\n3. **Pain points** — recurring complaints across sources (esp. Reddit + Web).\n4. **Excitement signals** — recurring enthusiasm (esp. HN + X if available).\n5. **Emerging trends** — first-time mentions in newest posts but absent from older ones (compare `sort=new` vs `sort=top`).\n6. **Gaps** — what's notably absent that you'd expect to find.\n\nFor each pattern, **cite the source URLs** that support it. Use `citation_tracker.py --action record_cited --session NAME --url \"...\"` per citation.\n\nSee `references\u002Fcross_platform_synthesis.md` for detection heuristics.\n\n## Output\n\nSave to file AND paste in chat:\n\n**File:** `${RESEARCH_DIR}\u002Fpulse\u002F\u003Ctopic-slug>-\u003CYYYY-MM-DD>.md` (path from `topic_slug_generator.py`).\n\n**Format:**\n\n```markdown\n# [TOPIC] — Pulse (Last [N] Days)\n*Generated: [DATE] | Angle: [Q2 choice]*\n\n## TL;DR\n[2-3 sentences max]\n\n## Reddit\n### Top Posts\n- **[Title]** (r\u002Fsub) — [score, comments] — [summary] — [URL]\n### What Reddit Is Saying\n[Narrative paragraph]\n\n## Hacker News\n### Notable Stories\n- **[Title]** — [points, comments] — [summary] — [URL]\n### What HN Is Saying\n[Narrative paragraph; note HN's technical\u002Fbuilder bias]\n\n## Web\n### Key Sources\n- **[Title]** ([Publication]) — [takeaway] — [URL]\n### What the Web Is Saying\n[Narrative paragraph]\n\n## X\u002FTwitter (if available)\n[Cleaned response, with handles\u002Freferences preserved]\n[Or: \"Skipped — [reason]\"]\n\n## Cross-Platform Patterns\n[Highest-confidence signals across sources]\n\n## Key Takeaways\n- [3-5 bullets]\n\n## Content Angles (if applicable)\n[2-3 specific angles supported by the data]\n\n---\n*Audit:* Queries sent: N (Reddit: a, HN: b, Web: c, X: d|skipped).\nSources received: M. Sources cited: K. Training knowledge: 0 ([Background] excluded from count).\n```\n\n## Error Handling\n\n| Failure | Behavior |\n|---|---|\n| Topic is too vague (Q1) | Refuse to start. Re-ask Q1 once with examples. After 1 push-back, deliver with \"vague topic\" caveat. |\n| Reddit blocks \u002F rate-limits | Try `?raw_json=1` or fall back to subreddit-restricted search. Honor 3s-retry. |\n| HN returns empty | Broaden query, drop timestamp filter as last resort, label results \"outside window\". |\n| Web search returns nothing useful | Note in output; don't fabricate sources. |\n| Browser automation unavailable | Import a supplied export. Otherwise skip Phase 4 with a note. |\n| Local X export is invalid | Stop Phase 4. Report the parse error. Do not guess missing records. |\n| WebFetch times out | Use what loaded, mark the source as \"truncated\". |\n| 3 consecutive failures across sources | Stop. Return what was collected with explicit \"stopped early\" note. Do NOT deliver empty file. |\n| All sources fail | Return error with diagnostic info. Do NOT deliver empty file. |\n\n## Tooling\n\n| Script | Role |\n|---|---|\n| `scripts\u002Ftime_window_calculator.py` | Compute Unix timestamps + Reddit `t=` parameter from window string (`30d`, `7d`, etc.). Deterministic from `datetime.now()`. |\n| `scripts\u002Fcitation_tracker.py` | Three-count audit log plus local X export normalization and deduplication. |\n| `scripts\u002Ftopic_slug_generator.py` | Filesystem-safe slug + duplicate-date detection for output paths. |\n\n## References\n\n- `references\u002Fresearch_pack_conventions.md` — Agent Integrity Rules canon (7+ sources: Google SRE, Reddit API docs, Algolia HN docs, exponential-backoff literature, citation discipline)\n- `references\u002Fcross_platform_synthesis.md` — consensus \u002F controversy \u002F pain detection across platforms (7+ sources)\n- `references\u002Fparallel_execution_discipline.md` — 1 q\u002Fsec rationale + plan-tier signals (7+ sources)\n\n## Anti-Patterns To Reject\n\n- Starting any search before the user commits to topic specificity (Q1)\n- Batching intake questions instead of one at a time\n- Hardcoded URLs that won't survive API changes (note format, explain may evolve)\n- Irrelevant person or brand references in the skill body\n- Tight coupling to one X\u002FTwitter interface\n- Counting duplicate Tweet IDs or repeated citation URLs as separate sources\n- Missing fallback behavior on source failure\n- \"Just use [specific tool]\" without explaining what the tool does\n- Citing training knowledge in the cited count\n- Fabricating sources to fill out a section\n\n---\n\n**Version:** 1.0.0\n**Source spec:** `megaprompts\u002F01-pulse-megaprompt.md` (maintainer-local draft spec — gitignored, not present in the public repository)\n**Build pattern:** Path B (direct conversion). Re-grill with `\u002Fcs:grill-with-docs` if drift between spec and implementation surfaces.\n",{"name":5,"license":15,"metadata":51,"description":7},{"version":52,"source_spec":53,"build_pattern":54,"research_pack_convention":55},"1.0.0","megaprompts\u002F01-pulse-megaprompt.md","Path B (direct conversion)","Agent Integrity Rules block preserved verbatim per PR #657 audit","main","0da4485785ee599388900be50db1635489d53056",".agents\u002Fskills\u002Fpulse","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6","https:\u002F\u002Fdisha6.6.thenitishkr.in\u002F","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh","www.thenitishkr","thenitishkr | AI • Cyber-security • Research\r\n","2026-11-08 03:33:25",{"source":8,"skillName":5,"commands":66,"prompt":76,"zipAvailable":77},[67,70,73],{"tool":68,"command":69},"npx","npx skills add Tashima-Tarsh\u002FDisha6.6 --skill pulse",{"tool":71,"command":72},"bunx","bunx skills add Tashima-Tarsh\u002FDisha6.6 --skill pulse",{"tool":74,"command":75},"pnpm","pnpm dlx skills add Tashima-Tarsh\u002FDisha6.6 --skill pulse","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpulse\u002FSKILL.md",true,[],[80,109,131,156,181,205],{"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":89,"publishedAt":46},"01M6QRD07D4TGNDK6VJ4EHF8BV","youtube-full","Use when the user needs YouTube transcripts, video search, channel browsing, playlist extraction, or content monitoring. Trigger phrases: 'get the transcript for', 'search YouTube for', 'what are the latest videos on', 'list this playlist', 'monitor this channel', or any request involving a YouTube URL, video ID, or @handle. Do NOT use for downloading video or audio files, YouTube engagement data (likes, comments), or private\u002Fage-restricted videos.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fyoutube-full\u002FSKILL.md",[86],{"categoryNo":87,"categoryName":88,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",[90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,29,106,107,108],"youtube full","youtube","full","transcript","search","monitoring","data","Video","Audio","list","files","do","get","age","trigger","URL","browsing","request","youtube transcripts",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":46},"01M6QRCJ3112VYPA97YG7KGMC2","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[116,117,118,37,94,119,120,121,122,123,124,125,126,127,38,32,128,129,130,29],"twitter","x twitter growth","growth","content","engineering","plan","web search","competitors","analyze","engine","write","strategy","grow","posting","competitive",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":138,"publishedAt":46},"01M6QRBN3EHQNJY42RERP7A149","write-a-skill","Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, build, or author a new skill.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrite-a-skill\u002FSKILL.md",[137],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[139,126,140,141,142,143,144,145,38,146,147,56,148,149,150,151,152,153,154,155],"write a skill","github","create","https","productivity","matt pocock","direct","example","build","new skill","structure","new agent","resources","with","tree","progressive disclosure","author",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":46},"01M6QRB6G8P33PNGAF9Y69EJ9T","wrap-up","Close out a launched Claude Managed Agent — recap every primitive the founder now owns, regenerate the single-file overview page, and suggest the next 1-2 upgrades. Use when the user says \"wrap up\", \"close this out\", \"what do I own now\", \"give me the summary\", \"recap the agent\", or when the orchestrator routes phase=wrap-up. primitives_inventory.py tables everything owned (agent, environment, session, memory, outcome, deployment); overview_page.py regenerates a self-contained .\u002Fmy-agent\u002Fagent-overview.html; upgrade_suggester.py ranks the next moves from recorded deferrals plus standing hardening steps. Companion to run-without-you; the last stop before phase=done.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwrap-up\u002FSKILL.md",[],[163,164,165,166,167,168,169,170,171,38,172,101,173,174,175,176,177,178,179,180],"wrap up","up","wrap","gemini","deployment","run","file","hardening","closeout","stop","upgrade","founder","close","companion","you","tables","directions","phase",{"skillNo":182,"name":183,"nameZh":6,"description":184,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":185,"categories":186,"keywords":188,"publishedAt":46},"01M6QRA5AYC1RBFZ39GTWGS3N8","workflow-builder","Design and write deterministic multi-agent workflow scripts (.js files in .claude\u002Fworkflows\u002F) for Claude Code's Workflow tool. Use when a user wants to build, create, author, scaffold, or run a custom Claude Code workflow, orchestrate sub-agents (fan-out, pipeline, loop, judge-panel), or automate a repeatable multi-step task across fresh-context agents.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworkflow-builder\u002FSKILL.md",[187],{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[189,190,191,192,193,141,168,194,195,196,197,198,126,199,100,200,201,202,203,204],"workflow","workflow builder","builder","design","workflows","code","orchestrate","pipeline","loop","multi-agent","context","across","fresh","scripts","judge","claude code workflow",{"skillNo":206,"name":207,"nameZh":6,"description":208,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":209,"categories":210,"keywords":211,"publishedAt":46},"01M6QR7QMCZESKQA0ERW1E657M","weekly-review","Use when someone wants to run a weekly review, close open loops, audit stalled projects and commitments, get their system back to trusted, restart a lapsed review habit, or says \"\u002Fcs:weekly-review\". Walks David Allen's three-phase loop — GET CLEAR, GET CURRENT, GET CREATIVE — with deterministic scripts that inventory open loops, gate the checklist with named gaps, and score commitment health 0-100.","https:\u002F\u002Fgithub.com\u002FTashima-Tarsh\u002FDisha6.6\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[212,213,214,215,216,217,218,42,219,197,220,221,222,36,223,224,102,225,226,180],"review","weekly review","weekly","deterministic scripts","reflect","feeds","inventory","team","projects","project-management","scanner","back","project","sprint","cadence"]