nowfound

AI · June 16, 2026

prtokens

See how much your PR costs in LLM tokens (agent usage).

prtokens launched on June 16, 2026 with 3 votes, #6,658 of 22,647 launches that month and more than 50% of that year's launches.

What it does

I built prtokens to attribute Claude Code, Codex, and OpenCode token usage to the GitHub PR that shipped it. It reads local agent transcripts, maps usage to commits on your PR branch, and posts/updates one GitHub comment with estimated cost, token counts, sessions, models, agents, and a per-commit breakdown. Transcripts stay local; only aggregate numbers go into the PR comment.

See how much your PR costs in LLM tokens (agent usage) - SamuelZ12/prtokens

Attribute coding-agent token usage to the GitHub pull request that shipped it. prtokens reads your local Claude Code, Codex, and OpenCode transcripts, attributes token usage to the commits on your PR branch, and posts a single estimated-cost comment. Only aggregate numbers leave your machine. npx prtokens prtokens finds the open PR, reads your local transcripts, and posts or updates the comment. Run it again anytime to refresh. A single comment showing total estimated cost, token and session counts, models used, agent costs, and a collapsible per-commit table. The same comment is updated in place on later runs; multiple contributors each get their own labeled section. Sessions counts…from github.com

Does a similar job

all alternatives →
  • The New WaydevApr 2026 · waydev.co · ▲299

    Measure the full AI SDLC. From token to production.

  • ReplicasJun 2026 · replicas.dev · ▲239

    Hey HN! I'm Connor, creator of Replicas. I'm a heavy Codex/Claude Code user, and I wanted to hand off tasks to agents like I would to an engineer - kick something off before work, let it scaffold while I'm at lunch, even come back to a ready PR. The problem: existing alternatives use workspace VMs that are black boxes. I have no access to any of them - they can't run tests, read logs, or use tools like the Playwright MCP (which I use to verify agents actually fixed what they claim to fix). Replicas gives agents real cloud workspaces where they can: - Run your test suite and read the…

  • CodeBurn – Analyze Claude Code token usage by taskApr 2026 · github.com · ▲112

    Built this after realizing I was spending ~$1400/week on Claude Code with almost no visibility into what was actually consuming tokens. Tools like ccusage give a cost breakdown per model and per day, but I wanted to understand usage at the task level. CodeBurn reads the JSONL session transcripts that Claude Code stores locally (~/.claude/projects/) and classifies each turn into 13 categories based on tool usage patterns (no LLM calls involved). One surprising result: about 56% of my spend was on conversation turns with no tool usage. Actual coding (edits/writes) was…

  • Dashboard tracking all GitHub PRs and analyzing Code Agent activity2025 · github.com · ▲10

    Hi HN, We are researchers from ETH Zurich interested in the real-world adoption and impact of Code Agents. To measure this, we built a dashboard, scraping all public PRs on GitHub, analyzing which are created by different code agents (Codex, Jules, Copilot, Devin, etc.), and measuring their merge rates, sliced by various repository and PR characteristics. https://insights.logicstar.ai Since mid-May, we've analyzed over 10 million PRs and already found some interesting trends: Usage is high, but shallow. Agents submit ~7% of all PRs overall, but only ~1–2% on popular repos. Most…

  • Badge that shows how well your codebase fits in an LLM's context windowFeb 2026 · github.com · ▲88

    Small codebases were always a good thing. With coding agents, there's now a huge advantage to having a codebase small enough that an agent can hold the full thing in context. Repo Tokens is a GitHub Action that counts your codebase's size in tokens (using tiktoken) and updates a badge in your README. The badge color reflects what percentage of an LLM's context window the codebase fills: green for under 30%, yellow for 50-70%, red for 70%+. Context window size is configurable and defaults to 200k (size of Claude models). It's a composite action. Installs tiktoken, runs ~60 lines of inline…

  • CCClubFeb 2026 · ccclub.dev · ▲2

    My friends and I have been using Claude Code a lot. Someone joked about wanting to see who's the biggest whale, so I built this. Run `npx ccclub init`, get a 6-letter code, share it — done. It only uploads token counts and cost, no prompts or code ever leave your machine. Source: https://github.com/mazzzystar/ccclub

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 18d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 18d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 20d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 21d ago · stillwet.art

  • A real-time world model you can explore and change

    AI · 30d ago · world.pixverse.video

  • Beam.win▲378

    Run AI agents on one Mac and use its windows on another

    AI · 4d ago · beam.win

Source: Product Hunt launch ↗

Launched alongside, June 2026

the whole month →
  • Fundraisly▲1,537

    AI fundraising agent that finds investors and books meetings

    AI · Jun 2026 · fundraisly.com

  • Today, I’m proud to announce Homebrew 6.0.0. The most significant changes since 5.1.0 are a new tap trust security mechanism, the new faster, smaller, default internal Homebrew JSON API, sandboxing on Linux, better defaults informed by our user survey, many brew bundle improvements, improved performance and initial support for macOS 27 (Golden Gate). Happy to discuss any questions here!

    Dev tools · Jun 2026 · brew.sh

  • Hi HN! I was super frustrated at apps like tiktok and wechat preventing me from saving or downloading the animated gifs, so I made a little tool to turn a screen recording into a slack-sized emoji. Hope you get some value from this!

    Life & fun · Jun 2026 · vorpus.github.io

  • Upstream▲976

    The inbox designed for humans and agents

    AI · Jun 2026 · upstream.do

  • Goldfish▲958

    Press Option. It knows your work and replies like you

    AI · Jun 2026 · goldfish.sh

  • Search 18 years of Hacker News and chart how any topic, tool, or person trended. Overlay terms to compare their rise and fall across 45M posts and comments.

    Life & fun · Jun 2026 · hackernewstrends.com