hn-sentiment-analysis
Analyze Hacker News thread sentiment from a provided HN thread URL.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Analyze Hacker News thread sentiment from a provided HN thread URL.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Write clean, readable Pythonic code. Use this skill any time you write or change a Python file.
Use this when working in a project with devenv.nix, or when devenv.sh development environment setup, services, dependencies, or Nix packages are relevant.
Builds Python components using the compone framework for type-safe HTML/XML/RSS generation. Use when working with compone, creating Python components, generating markup in Python, or building framework-agnostic component libraries.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Basado en la clasificación ocupacional SOC
| name | hn-sentiment-analysis |
| description | Analyze Hacker News thread sentiment from a provided HN thread URL. |
| allowed-tools | Fetch, Bash, Read |
| disable-model-invocation | true |
Analyze a Hacker News thread URL provided through /skill:hn-sentiment-analysis.
thread.json, comments.jsonl, or every chunks/comments-*.md file into context. Large HN threads will overflow the model context.Prepare the HN thread artifacts with the provided pipeline:
python skills/hn-sentiment-analysis/scripts/prepare_hn_sentiment_analysis.py 'https://news.ycombinator.com/item?id=12345678'
The script parses the HN item id, downloads the full nested thread JSON from Algolia, saves it, flattens comments, creates targeted lookup chunks, and generates a bounded review-pack.md for analysis.
Read the generated analysis-brief.md first. Follow its reading order.
Read story.md, fetch the article URL with the fetch tool, and write a very short article summary. If there is no article URL, summarize the HN story text.
Read review-pack.md. This is the primary bounded evidence pack for sentiment analysis.
Read sentiment-worksheet.md as the quality checklist.
Only if needed, read targeted detail files:
top-subthreads.md for more detail on engaged subthreads.key-person-candidates.md for possible insiders/authors/maintainers/executives.author-index.md to avoid over-counting prolific authors.chunk-index.md to choose one specific chunks/comments-*.md file for a targeted lookup.A good sentiment analysis must:
Keep the final answer concise and structured:
scripts/prepare_hn_sentiment_analysis.py is the main pipeline. It downloads or loads a thread, writes raw Algolia JSON, and prepares bounded analysis artifacts.scripts/download_hn_thread.py only downloads the complete nested Algolia item JSON for a Hacker News thread URL or item id. Use it directly only when the user specifically asks for the raw JSON.