playwright-cli skill makes that one prompt away.
The prompt
What happened
Theplaywright-cli skill gives the model high-level wrappers for the same Playwright primitives a human developer would use: navigate, wait for content, query selectors, extract text, screenshot. Combined with the live browser, the user can watch the agent operate the page in real time.
On this run, the model:
- Opened
https://news.ycombinator.comin the sandbox browser. - Took a full-page screenshot of the front page.
- Extracted the visible post list — title, score, comment count, link, and rank — across the front pages it scanned (the summary mentions “trending across pages 1-3”).
- Filtered the list against the keyword set (
AI,LLMs?,agents?,Claude, case-insensitive). - Ranked the matches by points and picked the top five.
- Wrote a Markdown table with title / points / comments / link columns and a one-line summary at the top.
The output

And the left side gives a quick scan with hand-picked emojis:Hacker News AI/LLM/Agent Top 5 Digest 🤖
Summary: Top AI stories today feature massive DeepSeek updates, Claude criticism, agent collaboration tools, and LLM-powered browser automation tools trending across pages 1-3.
# Title Points Comments 1 DeepSeek v4 … 2,029 1,546 … … … …
- 🐳 DeepSeek v4 launching with 2,029 points (huge community buzz!)
- 😤 I cancelled Claude criticism piece with 933 points
- 🧠 Multiple agent tools trending (Karpathy’s LLM wiki, agent code testing)
- 😔 Public sentiment piece about the AI industry’s reputation
Why it works
This is the cleanest example in the course of the model using a tool, not just describing one:- The
playwright-cliskill gives itnavigate / screenshot / extractprimitives that map directly to the task. - The live browser means the user can step in if something goes wrong — for example, if HN is down and the page doesn’t load, the user sees the same blank page the agent does.
- The terminal lets the model run filtering and ranking in Python after extraction, instead of trying to do it all from the LLM’s working memory.
