昨天在 X 的英推看到一个很爆火和具有启发性的Codex玩法,中推还没看到有人提。
有人用 Codex 5.5(支持操作电脑的 AI Agent)大幅优化了网络速度,并在帖子里晒出了前后对比。
随后下面这位 @giyu_codes 用户做了件特别聪明的事:
他把整个原帖直接复制粘贴给 Codex,并附上一段自己的提示词:
“Hey my friend says he improved his internet speed and here is what happened. Can you check if there are any improvements we can make for our internet? My provider says they're sending 1.2k gbps and anything I get is a result of hardware. I'm getting 55mbps right now pls fix make no mistakes.”
他把“别人成功优化的真实案例”当作上下文喂给 Codex,让 Codex 参考那个案例,给自己当前的烂网速做针对性诊断和修复。结果就是网速起飞了。
我觉得这种做法的核心价值在于:不是自己凭空写 Prompt,而是把真实世界里已经验证成功的案例作为上下文喂给 AI,让 AI 参考成功经验,针对自己的具体情况进行精准诊断和优化。
感觉这是一种非常高级的靠案例驱动的提示技巧,目前在 Agent 类 AI 的使用上特别有效。
Matt 引用了 John Ousterhout 的《A Philosophy of Software Design》。
坏代码 = 很多浅模块;
好代码 = 少量深模块。
什么是 shallow modules?就是功能很少,但接口很复杂。AI 遇到这种代码,就像在迷宫里乱窜,每个模块都要理解一堆细节,一不小心就改崩。
什么是 deep modules?就是功能很多,但接口极简。复杂性被藏在模块内部,外部只暴露简单、稳定的接口。
AI 最喜欢这种结构。因为它只需要理解接口,就能安全地修改实现。
How to set up Claude Code so it runs like a full dev team:
5 folders. That's the entire system.
1. CLAUDE.md → Memory.
Your repo's constitution. Naming rules, structure, expectations. One global file for all projects, one local file per repo.
2. skills/ → Knowledge.
Reusable workflows Claude auto-invokes by matching the task description. No slash commands. It just knows.
3. hooks/ → Guardrails.
Shell scripts that run before and after every tool call. Block dangerous commands. Auto-lint on save. Ping Slack on deploy. Deterministic. Not AI.
4. subagents/ → Delegation.
Isolated agents with their own context window. A code reviewer that only sees the diff. A test runner with custom permissions. Keeps your main session clean.
5.plugins/ → Distribution.
Bundle the whole system into one install. Every teammate gets the same skills, same hooks, same agents. Aligned from day one.
This is the Agent Development Kit. Five layers, one stack.
To learn how and get the full Claude guide:
1. Go to https://t.co/xViEAXTX7v
2. Subscribe free by just writing your email.
3. Open my welcome email and get the free resources.
Repost ♻️ to help someone in your network.