Knock 发布:为 Claude Code 建立代码库记忆以减少重复读取
📊 核心数据与事实(2026-11-02):
开发者 HasanGilani 发布开源工具 Knock,通过 MCP 接入 Claude Code,把代码库索引成本地 SQLite 笔记,让 agent 先查 map 再只读相关行。
• 原文实测切片:knock was never tuned on it): Approach Found the needed facts Characters read Tool calls 🐢 grep + read 3 files 9 / 12 1,215,570 72 🐇 targeted grep + read snippets 7 / 12 328,206 60 🚪 knock 10 / 12 88,962 17 More numbers, and the fine print…
• 原文实测切片:Latest version (adds edit mode and "skip knock for easy edits" guidance), over the full investigate-then-edit scenario: Saleor's median two-day cost fell from $0.70 to $0.43 (−39%) .
• 原文实测切片:Variance check (8 runs per side on the Saleor investigation): median cost $0.42 → $0.25 (−40%) , 8/8 correct answers on both sides, and about half the spread.
💡 对独立开发者的启发:
1/ 供给端造工具的门槛已被 AI 和开源抹平,独立开发者真正的护城河是「找准垂直业务场景 + 做好分发」。
2/ 面对新模型或开源组件先看三件事:许可证是否商用安全、API/推理边际成本降了多少、能不能直接嵌进现有变现工作流。
3/ 别去卷通用开发者轮子,把底层新能力包装成面向具体行业人群(电商、创作者、中小商家)傻瓜式交付结果的产品。
📅 日期:2026-11-02(北京时间)
📰 信息源出处:Hacker News Show HN · HasanGilani(github.com)
🔗 原文:https://github.com/HasanGilani/knock
📡 归档:https://billionare.me/items/srs2frz3t7ok7ga76sq4bah7o
社媒成稿工作台 · 一键复制
飞书同步推送 · 含数据/日期/出处/启发