Skip to main content
Back

Claude Rebuilds Your Chrome Homepage Every Morning for $0.75

A viral open-source project turns your Claude Max API credits into a daily AI-generated Chrome new tab page built from your browser history.

Pro

Repo, Full Access
  • ai-newtab generates a daily Chrome new tab page from your browser history using Claude.
  • Built on Claude Managed Agents with Sonnet, each daily run costs about $0.75.
  • Showcases Anthropic's new monthly API credits: $100 on Max 5x, $200 on Max 20x.
  • Credits cover the API, Managed Agents, and Agent SDK, but not interactive Claude Code.
  • Repo hit 500+ stars and 2,700+ likes on X within days of launch.
  • MIT licensed TypeScript project, easy to fork for your own personal AI tools.

Thariq Shihipar has released ai-newtab, an MIT-licensed Chrome experiment that replaces the default new-tab page with a homepage Claude regenerates each day from recent browsing history. The ai-newtab repository passed 500 GitHub stars within days of its launch.

The project combines Anthropic’s hosted agent runtime with monthly API credits now included in Claude Max and Team subscriptions. Shihipar estimates that each daily generation costs about $0.75, making the experiment practical for subscribers who already have unused credits.

One run, five steps

A scheduled daily run converts recent browser activity into an HTML and JavaScript artifact that Chrome loads as its new-tab page. The workflow has five stages:

  1. Collect: The project gathers recent browsing-history data for the agent.
  2. Analyze: Claude identifies recurring topics, sites, and potential widgets.
  3. Generate: The agent writes the page layout and supporting code.
  4. Verify: Scripts and tool calls check the generated files inside a sandbox.
  5. Display: Chrome renders the finished artifact when the user opens a new tab.

The resulting page can contain paper lists, market data, frequently visited communities, or other elements inferred from browsing patterns. Its contents remain fixed between scheduled runs unless the generated client-side code fetches current data.

Reasoning outside the sandbox

Claude Managed Agents provides the hosted infrastructure for the long-running workflow. It separates model orchestration from code execution, reducing the amount of sandboxing, recovery, credential, and tracing infrastructure that the project must implement itself.

Component Responsibility Developer benefit
Orchestration harness Calls Claude and tools, manages context, and handles retries Keeps the agent loop outside application code
Cloud sandbox Runs scripts, shell commands, file writes, and output checks Isolates generated code from the host system
Session log Records model calls, tool calls, and results in append-only form Supports tracing, recovery, and run reconstruction
Environment configuration Defines available tools, credentials, and permissions Limits what each run can access

For ai-newtab, Sonnet can analyze the submitted history, write Python or JavaScript helpers, generate the page, and inspect the result within one managed session. The reported $0.75 cost is an estimate; actual usage depends on history size, generated output, tool calls, and retries.

Credits change the daily cost

Claude Max and Team subscribers can link an eligible subscription to a Claude Console organization and receive recurring API credits without adding a payment method to Claude Platform. The account must remain on an eligible plan in good standing for at least seven days before the grant appears.

Plan Monthly credits
Max 5x $100
Max 20x $200
Team Up to $500 pooled
  • Covered: Claude API Messages, Message Batches, the Playground, Claude Managed Agents, and the Claude Agent SDK.
  • Excluded: Interactive Claude Code in terminals, IDEs, desktop apps, and the web; extra usage in Claude apps; and Claude through Bedrock, Vertex AI, or Foundry.
  • Expiration: Unused credits expire at the end of each billing cycle.

At the author’s estimate, 31 daily runs would cost about $23.25. That would consume less than one-quarter of a Max 5x monthly grant and about 12 percent of a Max 20x grant.

What a fork needs

A working fork needs Chrome code that can read the permitted history fields and replace the new-tab page, along with a configured Console organization and Managed Agents workload. Developers evaluating the project should check these areas before running it:

  • Review the requested Chrome permissions and restrict history access to the minimum required scope.
  • Link an eligible Claude plan to the intended Console organization or configure separate API funding.
  • Set the model, tools, environment permissions, and daily schedule.
  • Keep API credentials outside generated HTML and JavaScript.
  • Inspect generated output and network requests before granting broader browser permissions.

The repository README contains the current setup commands and configuration details, which may change as the project and hosted runtime evolve.

Privacy and trust boundaries

Any browsing-history fields submitted to the hosted agent leave the local machine for processing on Anthropic’s infrastructure. That data can reveal interests, work projects, health research, financial activity, and internal URLs, so deployments need an explicit retention policy and a clear account of which fields are transmitted.

  • Noisy input: Accidental visits and short research tangents can distort the generated page.
  • Prompt injection: Page titles and URLs are untrusted input. Tool permissions and agent instructions should prevent them from redirecting the workflow.
  • Generated code: AI-written HTML and JavaScript can make unexpected requests or render unsafe content. Content Security Policy, network destinations, and extension permissions require review.
  • Limited freshness: Scheduled generation produces a static page between runs unless its client-side code retrieves live data.
  • Scaling cost: A sub-dollar run is manageable for one user but grows quickly across frequent runs or a large team.

The reusable pattern

ai-newtab demonstrates a broader design for personal agents: collect private context, generate an artifact on a schedule, and deliver that artifact through an existing interface. The same structure could support research digests, project dashboards, reading queues, or other single-user tools that do not justify dedicated infrastructure.

Included API credits lower the operating cost, and Managed Agents supplies execution, sessions, and recovery. Developers retain responsibility for data minimization, tool scope, generated-code review, and predictable spending. The project’s MIT license makes its implementation available for forks that apply those controls to a different homepage or recurring workflow.