跳到主内容
@wquguru
精选82VoxAI 产品与模型

Claude Code 处理 Hacker News 评论并生成网站

Claude Code went through 𝟰𝟯 𝗺𝗶𝗹𝗹𝗶𝗼𝗻 𝗛𝗮𝗰𝗸𝗲𝗿 𝗡𝗲𝘄𝘀 𝗰𝗼𝗺𝗺𝗲𝗻𝘁𝘀 from the last 20 years…

原文
发到 X
推荐理由

提供了清晰的大模型与代码结合的工作流示例,结构完整且包含可复用的提示词逻辑,对创作者有实操参考价值。

Claude Code went through 𝟰𝟯 𝗺𝗶𝗹𝗹𝗶𝗼𝗻 𝗛𝗮𝗰𝗸𝗲𝗿 𝗡𝗲𝘄𝘀 𝗰𝗼𝗺𝗺𝗲𝗻𝘁𝘀 from the last 20 years 𝗶𝗻 𝟮 𝗵𝗼𝘂𝗿𝘀, pulled out the 6,454 videos people kept recommending, and built a website for them on the side. All on a regular subscription.

Claude Code 在 2 小时内处理了来自过去 20 年的 4300 万条 Hacker News 评论,提取出了人们反复推荐的 6,454 个视频,并顺便为它们搭建了一个网站。这一切都是在普通订阅套餐下完成的。

It cut most of the pile 𝘄𝗶𝘁𝗵 𝗽𝗹𝗮𝗶𝗻 𝗰𝗼𝗱𝗲 𝗳𝗶𝗿𝘀𝘁, and only sent what was left to Sonnet to read in parallel. Hundreds of thousands of log lines or user feedback entries, or a repo with thousands of files, can all be filtered the same way. Send this prompt to Claude Code 👇

它首先使用纯代码过滤掉了大部分内容,仅将剩余部分发送给 Sonnet 进行并行阅读。数十万行日志或用户反馈条目,或者包含数千个文件的仓库,都可以用同样的方式进行过滤。将此提示词发送给 Claude Code 👇

"Use a workflow to process <file or folder>: 1. First write plain code to filter it down: grep, regex, dedupe, drop junk and anything clearly irrelevant. Don't call a model for this step. Tell me how much is left. 2. Split what's left into small batches and send them to Sonnet to read in parallel. Each agent keeps only <what you're looking for>. 3. Merge what was kept into one list, combine duplicates, and note how many times each one showed up. After the filter, test on one small batch first. Work out how many agents the full run needs and roughly how many tokens it will take, and wait for my OK before the full run."

"使用工作流处理 <文件或文件夹>: 1. 首先编写纯代码进行筛选:使用 grep、正则表达式、去重、剔除垃圾数据和任何明显无关的内容。此步骤不要调用模型。告诉我还剩多少。 2. 将剩余内容拆分为小批次,并发送给 Sonnet 进行并行阅读。每个代理只保留 <你正在寻找的内容>。 3. 将保留下来的内容合并为一个列表,合并重复项,并记录每项出现的次数。 筛选后,先在一个小批次上进行测试。估算完整运行需要多少个代理以及大致需要多少 token,并在获得我的许可后再进行完整运行。"

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

关联讨论

同一事件的更多信源

相似阅读

关联信息,但可能不是同一事件