<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Claude Code 检测到 git commit 含 HERMES.md 字符串即将请求改计 API 费用，用户被烧 200 美元]]></title><description><![CDATA[<p dir="auto">Reddit 用户在 r/ClaudeAI 发帖披露并经多个独立 GitHub Issue 复现：当 Claude Code 工作目录的 git 提交记录中包含大小写敏感的字符串 “<a href="http://HERMES.md" target="_blank" rel="noopener noreferrer nofollow ugc">HERMES.md</a>” 时，请求会被静默路由到"额外用量（extra usage）"按 API 费率扣费的计费通道，而非用户已购的 Max/Pro 套餐配额。一名 Max 20x 用户因此在套餐周用量仍剩 86% 的情况下被消耗 200.98 美元额外用量额度，多个项目在额外用量耗尽后完全无法使用，错误信息却显示 “You’re out of extra usage”，未给出与字符串内容相关的任何提示。Issue 提交者通过逐 commit 二分定位、最终精确到该字符串本身——<code>hermes.md</code>（小写）不会触发，只有大小写完全匹配 <code>HERMES.md</code> 才会被命中。</p>
<p dir="auto"><code>HERMES.md</code> 是 Nous Research 旗下开源 AI Agent 项目 hermes-agent 在 GitHub 上的标识性文件名，普遍认为 Anthropic 服务端用此字符串作为反向代理与第三方 Agent 的指纹检测特征，但实现上把"内容过滤拒绝"误分类为"配额耗尽"错误。复现路径极简：<code>git init</code> → <code>git commit -m "HERMES.md"</code> → 调用 Claude Code 即可触发 400 错误；删除 <code>.git/</code> 目录或用 <code>git filter-repo</code> 改写历史 commit message 中的该字符串可立即解除。两个相关 Issue（#53171、#53262）均已在仓库内被官方标记为"has repro"状态，内含详细复现步骤，但截至 4 月 27 日尚未发布修复，受影响用户的退款请求据中文社区报道遭官方拒绝。Issue 提交者呼吁 Anthropic 至少应当返回独立的 <code>content_filter_rejected</code> 错误类型，而非错误地将其归为账单问题。</p>
<p dir="auto"><a href="https://github.com/anthropics/claude-code/issues/53171" target="_blank" rel="noopener noreferrer nofollow ugc">GitHub Issue #53171</a> | <a href="https://github.com/anthropics/claude-code/issues/53262" target="_blank" rel="noopener noreferrer nofollow ugc">GitHub Issue #53262</a></p>
<p dir="auto"></p><div class="card col-md-9 col-lg-6 position-relative link-preview p-0">



<a href="https://github.com/anthropics/claude-code/issues/53171" title="[BUG] Literal ">
<img src="https://opengraph.githubassets.com/40a2b236ea003ad3c03029240930027a049ca85662f27b79b5793735152b0e37/anthropics/claude-code/issues/53171" class="card-img-top not-responsive" style="max-height:15rem" alt="Link Preview Image" />
</a>



<div class="card-body">
<h5 class="card-title">
<a class="text-decoration-none" href="https://github.com/anthropics/claude-code/issues/53171">
[BUG] Literal "HERMES.md" in git commit messages triggers 400 "out of extra usage" on Max OAuth (content filter false-positive misclassified as quota error) · Issue #53171 · anthropics/claude-code
</a>
</h5>
<p class="card-text line-clamp-3">Summary A literal HERMES.md string (uppercase + dot + md, case-sensitive) appearing anywhere in git log of the current working directory causes Claude Code on a Claude Max OAuth plan to return: API Error: 400 {"type":"error","error":{"ty...</p>
</div>
<a href="https://github.com/anthropics/claude-code/issues/53171" class="card-footer text-body-secondary small d-flex gap-2 align-items-center lh-2">



<img src="https://github.githubassets.com/favicons/favicon.svg" alt="favicon" class="not-responsive overflow-hiddden" style="max-width:21px;max-height:21px" />



<p class="d-inline-block text-truncate mb-0">GitHub <span class="text-secondary">(github.com)</span></p>
</a>
</div><p></p>
<p dir="auto"></p><div class="card col-md-9 col-lg-6 position-relative link-preview p-0">



<a href="https://github.com/anthropics/claude-code/issues/53262" title="HERMES.md in git commit messages causes requests to route to extra usage billing instead of plan quota · Issue #53262 · anthropics/claude-code">
<img src="https://opengraph.githubassets.com/f9875d25e278b956d4bdc218f0202f1b527642aedc05313d8e00511ebaba7354/anthropics/claude-code/issues/53262" class="card-img-top not-responsive" style="max-height:15rem" alt="Link Preview Image" />
</a>



<div class="card-body">
<h5 class="card-title">
<a class="text-decoration-none" href="https://github.com/anthropics/claude-code/issues/53262">
HERMES.md in git commit messages causes requests to route to extra usage billing instead of plan quota · Issue #53262 · anthropics/claude-code
</a>
</h5>
<p class="card-text line-clamp-3">Summary When a git repository's recent commit history contains the case-sensitive string HERMES.md, Claude Code routes API requests to "extra usage" billing instead of the included Max plan quota. This silently burned through $200 in ext...</p>
</div>
<a href="https://github.com/anthropics/claude-code/issues/53262" class="card-footer text-body-secondary small d-flex gap-2 align-items-center lh-2">



<img src="https://github.githubassets.com/favicons/favicon.svg" alt="favicon" class="not-responsive overflow-hiddden" style="max-width:21px;max-height:21px" />



<p class="d-inline-block text-truncate mb-0">GitHub <span class="text-secondary">(github.com)</span></p>
</a>
</div><p></p>
]]></description><link>https://welinux.com//topic/82/claude-code-检测到-git-commit-含-hermes.md-字符串即将请求改计-api-费用-用户被烧-200-美元</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 20:54:19 GMT</lastBuildDate><atom:link href="https://welinux.com//topic/82.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Apr 2026 06:11:55 GMT</pubDate><ttl>60</ttl></channel></rss>