Ask a chatbot what people think of a new tool and you get a confident summary with no proof. An AI research agent can do better: gather what people actually said this month, open each source in a real browser, and hand you a brief where every claim comes with a receipt. Three open-source projects make that possible today: the last30days skill, Microsoft’s Playwright MCP server and OpenAI’s Codex CLI.
Each piece does one job. The skill finds the conversation, the browser checks it, and the agent writes it up. If agent skills and MCP servers still feel abstract, building this AI research agent is one of the clearest ways to see how they fit together.
Watch the 2-minute version
Key takeaways
- The last30days skill searches Reddit, Hacker News, Polymarket and GitHub with no API keys and ranks what people engaged with.
- Playwright MCP gives your AI research agent a real browser that reads pages through the accessibility tree, so it can open sources and save screenshots.
- Codex CLI runs the whole job from your terminal. It needs ChatGPT Plus or a higher plan, or an API key.
- Keep the browser isolated, keep approvals on, and treat every page the agent reads as untrusted text.
79.4k
GitHub stars on the last30days skill on December 2, 2026, five days after version 4.8.0 added a new keyless source.
Why an AI Research Agent Needs Receipts
Summaries are cheap. Checking them is the slow part. A plain chatbot answer about what developers think of a tool mixes fresh posts, old posts and guesses, and you can’t tell which is which. An AI research agent that saves the page behind each claim turns that summary into something you can audit in a minute.
It’s also a habit worth building early: an agent’s claim should arrive with the evidence it used. That matters for a marketer tracking a launch, a student mapping a debate or a reporter checking a trend before writing about it.

Step 1: The last30days Skill Finds the Conversation
last30days is an MIT-licensed agent skill by Matt Van Horn. Give it a topic and it searches recent posts in parallel, scores them by signals like upvotes, comments and prediction-market odds, and writes a grounded summary. Its README says Reddit, Hacker News, Polymarket and GitHub work with zero configuration. YouTube needs the free yt-dlp tool, and X needs your own token or a logged-in browser.
Version 4.8.0, released November 27, added Juejin, a Chinese developer platform, as a free opt-in source, and 4.8.1 followed a day later. Version 4.9.0 arrived on December 2 with a news feed source that’s on by default. Install it for Codex with the Agent Skills installer:
npx skills add mvanhorn/last30days-skill -g -a codexClaude Code users can add it from the plugin marketplace instead.
Read the audits before you confirm. When we ran that command on December 2 to build our own AI research agent, the installer showed three automated security audits from December 1: Gen Agent Trust Hub rated the skill a critical risk, Snyk rated it a high risk, and Socket raised 3 alerts. The flags mostly cover optional browser-cookie reading, agent hooks and links marked as phishing.
Run the skill’s scripts/last30days.py --preflight first to see what a run would read and write, and keep cookie access off. On Codex, the skill’s hook goes in only if you run its setup with --install-hooks. The Claude Code plugin adds a post-turn hook by default that saves a local copy of every brief your AI research agent finishes; set LAST30DAYS_AUTO_CAPTURE=off to turn it off.
One Result’s short explainer shows the skill at work:
Step 2: Playwright MCP Opens Every Source
The Playwright MCP server gives an AI research agent a real browser. It works from the page’s accessibility tree rather than pixels, so the agent clicks and reads with structure instead of guessing from screenshots. It needs Node.js 20 or newer, and its npm package logged more than 9.3 million downloads in the week to December 1.
Add it to Codex with the command from the README:
codex mcp add playwright npx "@playwright/mcp@latest"To keep the browser headless and its profile in memory, put it in the config.toml file in your .codex folder instead, with two extra flags:
[mcp_servers.playwright]
command = "npx"
args = ["@playwright/mcp@latest", "--headless", "--isolated"]Microsoft’s own Playwright channel shows an agent exploring a site with the server (a vendor video):
Step 3: Codex Turns It Into a Brief
Codex CLI is OpenAI’s open-source coding agent for the terminal. Install it with npm install -g @openai/codex (or Homebrew on a Mac), run codex and sign in. The README recommends a ChatGPT Plus, Pro, Business, Edu or Enterprise plan, and an API key works with some extra setup.
Then give your AI research agent one prompt:
Use last30days to research "MCP security" over the last 30 days,
using Reddit, Hacker News and GitHub. Then use the Playwright tools
to open the three most-discussed sources, save a screenshot of each
to ./receipts, and write brief.md with one line and one link per source.Swap in your own topic. The brief is only as good as the sources behind it, so open the receipts folder before you trust a line. Codex runs commands inside its sandbox and asks before riskier steps, which is exactly what you want here.
Guardrails for Your AI Research Agent
- Keep the browser isolated. The
--isolatedflag keeps the profile in memory, so the agent never touches your everyday logins. - Treat pages as untrusted. A web page can hide instructions aimed at your agent, so let it read and screenshot, not act on what it reads.
- Don’t lean on origin lists. Playwright’s README says
--allowed-originsis not a security boundary. - Leave cookie access off. last30days reads browser cookies only after you consent during setup, and this recipe doesn’t need them.
- Read the skill and its audits first. Give any skill the two-minute check you’d give code before it runs on your machine.
Quick Questions, Answered
Is this AI research agent free? The skill and the MCP server are free and open source. The Codex CLI needs ChatGPT Plus or a higher plan (or API credits), and sources like X or TikTok need your own keys.
Can I use Claude Code instead of Codex? Yes. last30days installs from the Claude Code plugin marketplace, and the Playwright MCP README lists a claude mcp add command.
Why MCP and not Playwright’s CLI? The Playwright MCP README itself says coding agents may save tokens with its CLI and skills. MCP is the simplest place to start, and MCP servers can now ship skills of their own.
Final Thoughts: Ask Your AI Research Agent for Receipts
The best part of this AI research agent isn’t the speed. It’s the folder of screenshots at the end, which turns “the internet says” into claims you can check. Start with a topic you know well, compare the brief with your own read, and widen from there. If you’d rather give your agent a different browser, agent-browser is another open-source option worth a look.



