From 8f91d3be576b830081f2a802e2f2d426b010f8f7 Mon Sep 17 00:00:00 2001 From: gavrielc Date: Fri, 27 Feb 2026 17:20:29 +0200 Subject: [PATCH] docs: move examples section below Why in repo-tokens README Co-Authored-By: Claude Opus 4.6 --- repo-tokens/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/repo-tokens/README.md b/repo-tokens/README.md index 39e8407..bd07f90 100644 --- a/repo-tokens/README.md +++ b/repo-tokens/README.md @@ -28,6 +28,14 @@ Small codebases were always a good thing. With coding agents, there's now a huge This badge gives some indication of how easy it will be to work with an agent on the codebase, and will hopefully be a visual reminder to avoid bloat. +## Examples + +Repos using repo-tokens: + +| Repo | Badge | +|------|-------| +| [NanoClaw](https://github.com/qwibitai/NanoClaw) | ![tokens](https://raw.githubusercontent.com/qwibitai/NanoClaw/main/repo-tokens/badge.svg) | + ### Full workflow example ```yaml @@ -98,14 +106,6 @@ The action replaces everything between the markers with the token count. | `percentage` | Percentage of context window (e.g., `17`) | | `badge` | The formatted text that was inserted (e.g., `34.9k tokens ยท 17% of context window`) | -## Examples - -Repos using repo-tokens: - -| Repo | Badge | -|------|-------| -| [NanoClaw](https://github.com/qwibitai/NanoClaw) | ![tokens](https://raw.githubusercontent.com/qwibitai/NanoClaw/main/repo-tokens/badge.svg) | - ## How it works Composite GitHub Action. Installs tiktoken, runs ~60 lines of inline Python. Takes about 10 seconds.