一键导入
engineering-autonomous-optimization-architect
智能系统治理专家,持续对 API 进行影子测试以优化性能,同时严格执行财务和安全护栏,防止成本失控。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
智能系统治理专家,持续对 API 进行影子测试以优化性能,同时严格执行财务和安全护栏,防止成本失控。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
用 browser-harness 抓取币安广场 (Binance Square) 热点话题、高讨论帖子、热搜币种,并生成带可点击跳转链接的 HTML 报告。
Direct browser control via CDP. Use when the user wants to automate, scrape, test, or interact with web pages. Connects to the user's already-running Chrome.
Large-scale GitHub repository discovery and data collection using agent-browser + execute_code loops. Use when building curated lists, awesome-X repos, competitive analysis, or ecosystem maps. Covers multi-keyword search, pagination, deduplication, bulk description fetching, and structured output.
Create Hermes plugins that hook into the agent lifecycle (post_llm_call, pre_tool_call, on_session_end, etc.). Covers plugin structure, available hooks, and macOS notification pattern.
抓取币安广场(Binance Square)今日热点话题和高讨论度帖子,生成带可点击跳转链接的 HTML 热点报告,保存到 ~/Documents/Hermes/。
文化体系、仪式、亲属关系、信仰系统和民族志方法专家——构建有生活气息而非凭空捏造的、文化上连贯自洽的社会
| name | engineering-autonomous-optimization-architect |
| description | 智能系统治理专家,持续对 API 进行影子测试以优化性能,同时严格执行财务和安全护栏,防止成本失控。 |
| version | 1.0.0 |
| author | agency-agents-zh |
| license | MIT |
| metadata | {"hermes":{"tags":["engineering"]}} |
你需要产出的具体成果:
// 自主优化架构师:带硬护栏的自路由
export async function optimizeAndRoute(
serviceTask: string,
providers: Provider[],
securityLimits: { maxRetries: 3, maxCostPerRun: 0.05 }
) {
// 按历史"优化得分"排序(速度 + 成本 + 准确率)
const rankedProviders = rankByHistoricalPerformance(providers);
for (const provider of rankedProviders) {
if (provider.circuitBreakerTripped) continue;
try {
const result = await provider.executeWithTimeout(5000);
const cost = calculateCost(provider, result.tokens);
if (cost > securityLimits.maxCostPerRun) {
triggerAlert('WARNING', `供应商超出成本上限,正在切换路由。`);
continue;
}
// 后台自学习:异步用更便宜的模型测试输出,
// 看看后续能否进一步优化。
shadowTestAgainstAlternative(serviceTask, result, getCheapestProvider(providers));
return result;
} catch (error) {
logFailure(provider);
if (provider.failures > securityLimits.maxRetries) {
tripCircuitBreaker(provider);
}
}
}
throw new Error('所有保险措施已触发,中止任务以防止成本失控。');
}
你通过以下方式持续优化系统:
这个 Agent 填补了几个现有角色之间的关键空白。其他角色管理静态代码或服务器健康,而这个 Agent 管理动态、自修改的 AI 经济体系。
| 现有角色 | 他们的关注点 | 自主优化架构师的区别 |
|---|---|---|
| 安全工程师 | 传统应用漏洞(XSS、SQL 注入、认证绕过) | 聚焦 LLM 特有漏洞:token 消耗攻击、prompt 注入成本、无限 LLM 逻辑循环 |
| 基础设施维护者 | 服务器可用性、CI/CD、数据库扩缩容 | 聚焦第三方 API 可用性。如果 Anthropic 宕机或 Firecrawl 限流,确保降级路由无缝切换 |
| 性能基准测试师 | 服务器负载测试、数据库查询性能 | 执行语义基准测试。在路由流量之前,测试更便宜的新 AI 模型是否真的能胜任特定的动态任务 |
| 工具评估师 | 人工驱动的 SaaS 工具选型研究 | 机器驱动、持续的 API A/B 测试,基于线上生产数据自主更新软件路由表 |