Posts by vansharora0821

@vansharora0821

Vansh Arora

Developing tools help the devs
Jaipur, India t.co/BRmkFprjYq Joined July 2026
1.9k Points • 58 Badges • 16 Connections • 15 Followers • 17 Following

Posts by vansharora0821

vansharora0821 • • in Articles • 1 min read
Moving an older TokenCap setup over, per repository: npm install -g tokencap tokencap make --migrate tokencap make Old commands moved under the seven core verbs: tokencap impact is tokencap ask impact tokencap health is tokencap analyze health ...
vansharora0821 • • in Articles • 1 min read
What the TokenCap MCP server does for your agent: Answers initialize at once and builds in the background. No host timeouts on a first run. Tools return status: "building" until ready. Stale responses name the index state behind, dirty, incomplete,...
vansharora0821 • • in Articles • 1 min read
Project Memory for AI Coding Agents: Decisions Linked to the Code They Cover AI coding agents lose your team's decisions at the end of every chat. TokenCap now keeps them as project memory records, stored in your repository and linked to the files ...
vansharora0821 • • in Articles • 1 min read
A TokenCap bug story. On Node 20, only Rust parsed. JS, TS, Python, Go and Java silently fell back to text heuristics for function boundaries. Cause: a warm-up loaded every Tree-sitter grammar in parallel. On Node 20, web-tree-sitter 0.24 linked th...
vansharora0821 • • in Articles • 1 min read
TokenCap v3.1 changed redaction in both directions. Catches more: DBPASSWORD, GITHUBTOKEN, export KEY=value "password" in JSON and YAML the password in postgres://app:pass@host user and host stay readable Basic auth headers and curl -u user:pass...
vansharora0821 • • in Articles • 1 min read
How TokenCap v3.1 fills a token budget: 1. Render each file, then charge the tokens it actually produced. No up-front estimates. 2. Large files ship the lines around the task's rarest terms, weighted by how rare each term is inside that file. 3. A m...
vansharora0821 • • in Articles • 1 min read
tokencap ask "" --adaptive re-ranks TokenCap's candidate files using your explicit feedback. The guardrails: Only feedback from tasks with the same subject counts. Words like "fix" and "bug" are ignored. The boost per file is capped at 2. It only...
vansharora0821 • • in Articles • 1 min read
TokenCap v3.1 has a learning ledger. It stores only what you explicitly record: tokencap analyze --learning --outcome helped --task "invoice rounding" --files src/billing/invoice.js Each record: a task label of up to 300 characters, workspace-rela...
vansharora0821 • • in Articles • 1 min read
TokenCap v3.0 stores team rules, decisions and approvals as files in your repo. No server. No account. tokencap analyze team rule --author "Ava" --text "Changes to auth require review." tokencap analyze team approve-rule --id --author "Ben" What ...
vansharora0821 • • in Articles • 1 min read
TokenCap 3 plugins are local JS files listed under tokencapPlugins in your package.json. Two hooks: afterBuild gets the build's output path, file count and token estimate beforeRedact can rewrite content before core redaction runs Plus named tool...
vansharora0821 • • in Articles • 1 min read
TokenCap 3.0, "Platform", is about one idea: a single local build that every tool reads. tokencap make writes .tokencap/. From there: Agents start at .tokencap/agent/STARTHERE.md MCP hosts run tokencap serve --mcp set up with tokencap serve --mcp ...
vansharora0821 • • in Articles • 1 min read
How do you benchmark a context tool without grading it on its own terms? TokenCap's benchmarks/fair/ uses 100 real commits from nine repos hoppscotch, flask, httpx, gin, cobra, ripgrep, gson and others. Task = commit subject. Answer key = the non-te...
vansharora0821 • • in Articles • 1 min read
TokenCap's v1.6 claim, "12.2× fewer tokens, same answer", is retracted. Here is why: No model was called, so "same answer" was never checked. The naive baseline included TokenCap's own TOKENCAP.md output. A Windows temp path C:\Users\... made one ...
vansharora0821 • • in Articles • 1 min read
Top-down file truncation is why coding agents hallucinate exports on large files. If you have an 800-line controller and clip at line 300, the model never sees lines 301 to 800 where the route handlers and export maps live. We wrote evenSpan.js in ...
vansharora0821 • • in Articles • 1 min read
Dumping 150,000 tokens into an AI prompt every time an agent runs is expensive and sloppy. We benchmarked TokenCap on full-repo tasks and brought payload size from 152,000 tokens down to 12,450 tokens. That is a 12.2x reduction. How it works: Inste...
vansharora0821 • • in Articles • 6 min read
We Spent Months Teaching AI to Read Our Codebases. We Forgot to Teach It How to Remember. Every developer has had this session: You spend three hours pair-programming with Claude, Cursor, or Codex. Together, you untangle a gnarly race condition in ...
post-cover-27760
vansharora0821 • • in Articles • 1 min read
This release is about something I think AI coding tools are missing: a safe floor. For months, I kept seeing the same failure mode. You give an AI agent a refactoring task. It renames a function.-->Breaks 11 files.-->Ships the change. You spend...
post-cover-25868
vansharora0821 • • in Articles • 1 min read
This release is focused on one idea: Give AI coding agents better context, while reducing the amount of unnecessary context they need. When working across Claude Code, Cursor, Windsurf, Copilot, Cline, Antigravity, and other coding agents, a lot of...
vansharora0821 • • in Articles • 1 min read
v1.9.0 proved that local-first repository intelligence can scale, crossing 2,000 downloads and establishing the performance foundation: bounded graph builds, sharded caching, workspace federation, and compression. v2.0.0 builds on that foundation w...
post-cover-24452
vansharora0821 • • in Articles • 1 min read
After months of building, iterating, breaking things, and shipping, I’m excited to finally launch TokenCap on Product Hunt. TokenCap helps AI coding agents work with codebases more efficiently by generating graph-ranked, token-budgeted context so...
post-cover-24398
chevron_left