nowfound

AI · February 27, 2026

Badge that shows how well your codebase fits in an LLM's context window

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…

Badge that shows how well your codebase fits in an LLM's context window launched on February 27, 2026 with 88 votes, #416 of 16,627 launches that month and more than 95% of that year's launches.

Visit github.com ↗Alternativestop 3% of February 2026

In plain words

Repo Tokens is a GitHub Action that measures how many tokens your codebase contains using tiktoken and displays the result as a colored badge in your README. The badge shows green if the codebase fits in under 30% of an LLM's context window, yellow for 50-70%, and red for 70% or more, with the context window size configurable and defaulting to 200,000 tokens. It is designed for developers working with coding agents who benefit from keeping their entire codebase within an LLM's context limits.

written from the facts on this page · September 2026

From the sources

A lightweight alternative to OpenClaw that runs in containers for security. Connects to WhatsApp, Telegram, Slack, Discord, Gmail and other messaging apps,, has memory, scheduled jobs, and runs directly on Anthropic's Agents SDK - nanoclaw/repo-tokens at main · nanocoai/nanoclaw

A GitHub Action that calculates the size of your codebase in terms of tokens and updates a badge in your README. - uses : nanocoai/nanoclaw/repo-tokens@v1 with : include : ' src/**/*.ts ' exclude : ' src/**/*.test.ts ' This counts tokens using tiktoken and writes the result between HTML comment markers in your README: The badge color reflects what percentage of an LLMs context window the codebase fills (context window size is configurable, defaults to 1M which is the size of current Claude models). Green for under 30%, yellow-green for 30%-50%, yellow for 50%-70%, red for 70%+. Small codebases were always a good thing. With coding agents, there's now a huge advantage to having a codebase…from github.com

In the maker’s words, at launch

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…

Does a similar job

all alternatives →
  • Repo PromptJan 2026 · repoprompt.com · ▲280

    Automate assembling the perfect context for your project

  • GitGuessrFeb 2026 · gitguessr.com · ▲98

    I built this game as a playful way to train code reading skills. You're dropped into a random location in a real GitHub repo where some lines code are hidden. The goal is to pick up clues from the surrounding code and fill in the missing lines as quickly as possible. It currently has curated game content for Python, TypeScript, JavaScript (by most metrics the top 3 languages on GitHub). I had the idea when it dawned on me that reviewing and understanding code spat out by an LLM is a key skill for the AI era. (I sincerely hope you're critically reviewing what your favorite LLM is serving…

  • Repo badge to count your repo badges2016 · github.com · ▲19

    badges for your badges. Contribute to defunctzombie/badginator development by creating an account on GitHub.

  • Uithub – Easily Ask Your LLM Coding Questions2024 · uithub.com · ▲6

    I've created uithub, a tool that allows developers to easily get LLM context for their coding questions and perform AI repo analysis at scale. Here's what it does: - Get Context: Simply change the 'g' in github.com to 'u' to access AI-powered insights on any GitHub repo. - Flexible Querying: Fetch entire repos, specific branches/subfolders, or filter by file type and size. - API for Developers: Power the next generation of development tools with our API. Key features: - Customizable token limits - File type filtering - Multiple response formats - Size-based file exclusion I built this…

  • OnboardyJul 2026 · onboardy.dev · ▲19

    Repo context workbench for humans and AI agents

  • Context42 – capture your coding style from across your projects2025 · github.com · ▲10

    Show HN: Context42 - AI-powered style guide generator for your codebase Hey HN, I've been building Context42 to solve a problem that's been bugging me: getting AI to write code like me, and helping disseminate coding best practices. The core insight is simple - your existing code is already your best style guide. Instead of debating tabs vs spaces or where to put your curly braces, Context42 analyzes your actual codebase and generates comprehensive style documentation using Google's Gemini AI. Here's what makes it special: 1. *Language-aware analysis* - It groups files by language and…

More ai this month

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

    AI · 19d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 19d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 21d ago · tej.as

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

    AI · 22d ago · stillwet.art

  • Beam.win▲379

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

    AI · 5d ago · beam.win

  • Route requests to the right LLM for cost, latency & quality

    AI · 23d ago · fastrouter.ai

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, February 2026

the whole month →
  • Rork Max▲1,428

    Best AI for iOS apps. Website that replaces Xcode

    Life & fun · Feb 2026 · rork.com

  • happycapy▲1,365

    The agent-native computer, for the rest of us

    AI · Feb 2026 · happycapy.ai

  • SuperX▲897

    All-in-one growth OS for serious 𝕏 creators

    AI · Feb 2026 · superx.so

  • KiloClaw▲868

    Hosted OpenClaw. No Mac mini required.

    Dev tools · Feb 2026 · kilo.ai

  • Feel closer and have more fun with your partner every day!

    AI · Feb 2026 · lovon.app

  • Hello my name is Ben Ward for the past 3 years I have been remastering the financial game Wall Street Raider created by Michael Jenkins originally on DOS in 1986. It has been a rough journey but I finally see the light at the end of the tunnel. I just recently redid the website and thought maybe the full story of how this project came to be would interest you all. Thank you for reading.

    Work · Feb 2026 · wallstreetraider.com