PulseAugur
中
实时 20:36:13
English(EN) What fills Claude Code's first request: 23,207 tokens in an empty folder, 2,664 after two flags

使用特定标志衡量 Claude Code 的初始 token 使用量

本文详细介绍了对 Claude Code 2.1.285 的实验,以了解其在初始请求中的 token 使用量。在空目录中运行时,默认请求消耗 23,207 个 token,但通过使用 --strict-mcp-config 和 --tools "" 等特定标志,可以将其减少到 2,664 个 token。研究发现,用户设置,包括内存插件和从 claude.ai 账户同步的工具,即使在实验室目录中未直接存在,也会显著增加初始 token 计数。 AI

影响 了解像 Claude Code 这样的工具的 token 使用量和配置标志,对于优化 AI 应用程序开发和成本管理至关重要。

排序理由 文章详细介绍了特定软件工具(Claude Code)的技术性能和配置,而不是新的发布或重大的行业事件。

在 dev.to — Claude Code tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

使用特定标志衡量 Claude Code 的初始 token 使用量

本文如何被排名

Signal score
2 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
文章详细介绍了特定软件工具(Claude Code)的技术性能和配置,而不是新的发布或重大的行业事件。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Same-day
Cluster formed today. Ranking reflects the current source set at time of score.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — Claude Code tag TIER_1 English(EN) · Rulestack ·

    Claude Code 的第一个请求填入了什么:空文件夹中的 23,207 个 token,两个标志后的 2,664 个

    <blockquote> <p>18,962 characters of skill listing left Claude Code's first request when we passed <code>--disallowedTools "Skill"</code>, and the request shrank by only 913 tokens, because the Workflow tool's description inlined the reference it normally loads from a skill and g…