From 6d8f8335bc44d54899631f08e7b992c4e237d00d Mon Sep 17 00:00:00 2001 From: gavrielc Date: Fri, 27 Feb 2026 17:19:22 +0200 Subject: [PATCH] docs: add NanoClaw as example in repo-tokens README Co-Authored-By: Claude Opus 4.6 --- repo-tokens/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/repo-tokens/README.md b/repo-tokens/README.md index eea5e54..39e8407 100644 --- a/repo-tokens/README.md +++ b/repo-tokens/README.md @@ -98,6 +98,14 @@ 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.