检查1Password命令行工具的安装和认证,将已保存的密码或API密钥传入命令及配置。支持桌面应用集成、服务账号和交互式登录,并先验证访问权限。
- 安装1Password命令行工具
- 将API密钥传入命令
- 在CI中使用服务账号认证
通过操作次数与实测数据排查OpenClaw启动、聊天和界面显示缓慢的原因,优先减少不必要的处理,并支持性能改进PR的编写与审查。
Performance work in OpenClaw: a slow or heavy flow (latency, CPU, memory, SQL, RPC, renders), writing or reviewing a perf PR, or adding a cache. Count the work, delete waste first, cache last.
排查OpenClaw启动、聊天和界面显示缓慢的原因,并支持性能改进的实施与PR审查。除了耗时,还会统计SQL执行次数、文件读取次数和界面渲染次数,将不必要的操作追溯到触发它们的代码。改进时依次考虑删除多余操作、复用结果、合并批量处理,最后才考虑缓存。
适合启动耗时较长、同一信息被反复读取,或每次更新都会重新渲染整个界面的情况。也可用于整理性能改进PR所需的前后对比表和验收标准,让审查有实测依据。
需要使用OpenClaw现有的基准测试和测量脚本。测量应经过实际通信路径,区分首次运行与重复运行,并交替测量修改前后版本,每个版本至少五次。如果影响用户的指标变差,必须由负责人在PR中明确接受。
本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。
AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。
总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月19日 评估。仅供参考,安装前请同时查看原文。
安装前可以查看交给 AI 代理的指令内容。
Waste is work a request does not need. Big speedups come from deleting waste, not from doing the same work faster. A cache is the last resort: it hides waste until its key, invalidation or hit rate breaks, and the waste returns.
Write the acceptance rule in the PR before the first run: flow, workload, metric, cold or warm, samples, and the change that counts as a win or a regression.
| Flow | Committed workload |
|---|---|
| CLI startup | pnpm test:startup:bench (:check holds the budget) |
| Gateway startup / restart | scripts/bench-gateway-startup.ts, scripts/bench-gateway-restart.ts, scripts/perf/post-restart-burst-measure.ts |
| Chat turn, frames per turn | scripts/bench-channel-turn.mts, scripts/perf/transcript-broadcast-measure.ts |
| Control UI cold load | scripts/bench-control-ui-cold-load.ts, pnpm ui:check-performance (:base compares) |
| Session list, multi-agent shape | scripts/perf/team-shape-fixture.ts, src/gateway/session-list-viewers.perf.test.ts |
| Concurrency, SQLite state | scripts/bench-gateway-concurrency.ts, pnpm test:sqlite:perf |
node --cpu-prof per thread, or a browser performance trace, on the hot path.Done when the flow has a committed workload, a baseline table and a written rule.
Ask of every counted operation: does this request need it? Recurring OpenClaw waste:
structuredClone per turn (#172940, 1.685 MiB → 0); per-value boundary wrapping (#163818, 11,571 → 500 ns/event).Done when each dominant count traces to the code that issues it, with a yes or no on "needed".
A worker move or a deferral relocates cost; count main-thread and total work both.
Done when the waste is gone from the counts, or the PR says which step stopped and why.
Done when the table meets the rule written in step 1.
Test-suite speed: openclaw-test-performance. Test heap growth: openclaw-test-heap-leaks. CI capacity: openclaw-ci-limits.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
检查1Password命令行工具的安装和认证,将已保存的密码或API密钥传入命令及配置。支持桌面应用集成、服务账号和交互式登录,并先验证访问权限。
将提交给OpenClaw的自然语言请求转交给Claude Code等外部编程智能体,通过ACP或acpx启动、继续会话,并保留对话上下文。
为OpenClaw添加模型服务商,并通过实际回复验证连接。凭据以环境变量或文件引用的形式配置,同时验证设置并报告测试结果。
将AI代理的工作日志整理为可附在GitHub拉取请求或议题中的记录,筛选相关内容、移除敏感信息,并支持预览及经单独授权后的发布。
通过代理管理macOS上的Apple Notes笔记,支持创建、查看、搜索、编辑和删除,在文件夹之间移动笔记,并将选定笔记导出为HTML或Markdown。
通过Mac查看、添加和编辑Apple Reminders中带截止时间的待办事项,管理列表并完成或删除任务,整理在iPhone或iPad上查看的个人任务。