with one click
search-experience
检索本地经验库,获取历史 Agent 解决过的报错方案和配置经验。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
检索本地经验库,获取历史 Agent 解决过的报错方案和配置经验。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
赋予 Agent 作为集群指挥官(Leader)的能力,通过去中心化任务队列将子任务派发给 Worker 节点并发执行。
Captures learnings, errors, and corrections to .learnings/ directory for continuous improvement.
【系统级后备工具】仅用于网络诊断、进程管理等基础任务。代码搜索/数据分析等应使用专用 skill。
用于管理长耗时、异步任务的工具集。当任务预计执行时间超过 10 秒(如模型训练、大型构建、批量数据处理)时,必须使用此工具,而不是 bash。
编程化工具调用指南。允许 Agent 编写并执行 Python 代码,从而能够在一个沙箱环境中动态调用其他工具,实现循环、批处理和复杂逻辑。
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
| name | search_experience |
| description | 检索本地经验库,获取历史 Agent 解决过的报错方案和配置经验。 |
此技能让你拥有访问【本地集体智慧库】的能力。
这个库由 agent_experiences/ 目录驱动,自动收录了历史 Agent 在执行任务时踩过的坑和经过验证的解决方案。通过分层索引检索,可以在几毫秒内找到最相关的历史经验。
search_experience(query)使用原则:遇到报错必须第一时间调用,不要先尝试靠猜测修复。
| 参数 | 说明 |
|---|---|
query | 完整的报错信息,或问题描述。越精确越好。 |
返回值结构:
search_experience("SSL certificate problem: unable to get local issuer certificate") 比 search_experience("git 报错") 好 10 倍L0 索引层 (< 1ms)
index_manifest.json <-- 只有 KB 级别,常驻检索
|
+-- 报错特征精确匹配 权重 100
+-- 标题语义相似 权重 50
+-- 关键词交集 权重 10/个
命中 & 置信度 >= 15?
|
YES --> L2 懒加载层
直接读取 agent_experiences/{category}/{gene_id}.json
返回完整解决方案
|
NO --> 返回"未找到"提示,自行分析
场景:执行脚本报错 [ERROR] 命令执行超时(超过 60 秒)
search_experience("[ERROR] 命令执行超时(超过 60 秒)")
预期输出:
[search_exp] 已匹配到历史经验 (置信度: 100)
分类: python | 时间: 2026-02-22 | ID: gene_b03d793e
...
【已验证的解决方案】:
["python script.py arg1", "python script.py arg2"]
【原理分析】: 一开始使用 echo 管道输入交互模式,但 input() 无法处理
管道输入导致超时。后来改为命令行参数调用绕过了交互模式。
场景:不确定当前环境 git 代理如何配置
search_experience("git proxy 配置 内网 ssl error")