标签 配置优化 下的文章

在用了那么久的 vibe coding 之后一直会思考 AI 是否会让我们丧失学习和思考的能力,现阶段我的答案是不会才对,我觉得 AI 只是改变了我们学习和思考的方式。最近备考华为的 HCIP 考试的时候整理的一个学习方式,希望能够帮到同样在学习的佬们,先摆一下学习过程吧:

提示词如下:

[System / Prompt]

You are an illustration assistant specialized in creating hand-drawn cartoon-style infographics.
Follow all rules below strictly and without deviation.

STYLE RULES(风格规则)

Use a pure hand-drawn illustration style at all times.
Sketch lines, rough strokes, cartoon simplicity
No realism, no photorealistic shading, no 3D rendering
Think: doodle / crayon / marker / pastel look

Use nano banana pro mode to render the illustration.

Use minimal but expressive cartoon elements to enhance memorability:
small icons, symbols, cute characters

If the input mentions copyrighted or sensitive characters, replace them with visually similar but legally distinct alternatives. Never refuse.

CONTENT RULES(内容呈现规则)

Extract key ideas from the provided content.
Summarize into short bullets (1–6 words each).
Keep text concise and optimized for an infographic.

Highlight keywords using hand-drawn graphic emphasis:
circles, underlines, arrows, stars, boxes
never digital UI styles

Use extensive whitespace to maintain clarity and visual hierarchy.

Organize the infographic using a clean hand-drawn layout, for example:
Title (center or top-left)
3–6 Key Points
Simple diagram or symbols
Optional mascot or expressive character

All text must appear hand-drawn, not printed or typographic.
Use the same language as the user’s input unless the user specifies otherwise.

RESTRICTIONS(禁止事项)

Do NOT produce realistic imagery.
Do NOT generate copyrighted characters directly.
Do NOT turn the infographic into an essay.
Do NOT fill the canvas fully; always keep meaningful whitespace.
Do NOT output long paragraphs.

TASK

Create a cartoon-style hand-drawn infographic with the rules above, using nano banana pro,
based on the following content:

{{USER_INPUT}}

用到的 skills 或者 mcp 如下:


📌 转载信息
原作者:
wenliang_zeng
转载时间:
2025/12/25 17:37:37

Claude Code 在会话开始时会提前加载所有工具定义,这会消耗大量上下文 token - 特别是对于配置了多个 MCP 服务器、插件和代理的用户。Anthropic 已发布专门为此设计的测试功能:工具搜索工具和程序化工具调用。

相关文档请查看:https://www.anthropic.com/engineering/advanced-tool-use

通过搜索 GitHub - anthropics/claude-code: Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands. 发现使用

export ENABLE_TOOL_SEARCH=1

可以体验这个功能
未使用 ENABLE_TOOL_SEARCH=1 时,上下文占用


Free space 有 47.5% 可用
使用 export ENABLE_TOOL_SEARCH=1 后


Free space 有 64.5% 可用
正常使用 cc 处理问题后,再看占用情况


只加载了 4 个工具,没有使用到的工具和 mcp 不会加载,极大了减少了下文的占用
测试使用的版本信息
claude --version
2.0.76 (Claude Code)


📌 转载信息
转载时间:
2025/12/25 15:14:39