指南

通过 Claude Code、Cursor 或 Codex 运行 Senaste

您的编程代理可从一条提示启动面板、等待报告并修复代码中的问题。以下是该提示及前置设置说明。

2026年11月5日。3分钟阅读。

准备工作

  • 在 Senaste 中已验证域名的网站及一组 persona。
  • 在账户的 API keys 下创建的 API 密钥,以 uxp_ 开头。 查看 API 密钥
  • 余额中的 Credits:每个 persona 最多 20 步消耗一个。
  • 能执行 shell 命令或发送 HTTP 请求的代理,如 Claude Code、Cursor 或 Codex。

将密钥保留在代码之外

将密钥放入环境变量(如 SENASTE_API_KEY),位于 shell 或代理的密钥设置中。不要将其粘贴到提示中或提交:拥有密钥的人可消耗您的 Credits。您可在同一页面随时撤销密钥。

提示词

将此粘贴到代理中,并将 example.com 替换为您的域名。它在消耗 Credits 前会请求确认,并将每条笔记视为需核查的线索而非既定事实。提示词为英文,如需其他语言的报告可另行要求。

Test my live site with Senaste and fix what stops people.

API: https://senaste.ai/api/v1. The key is in the environment variable SENASTE_API_KEY; send it as the header "Authorization: Bearer $SENASTE_API_KEY". Never print the key or write it to a file.

1. GET /sites and find the site with the domain example.com. If it is missing or "verified" is false, stop and tell me.
2. Count the personas in its "panel" with "enabled": true. The run costs that many credits (one per persona, up to 20 steps). Tell me the number and wait for my yes.
3. POST /runs with {"site": "<the site id>", "steps": 20} and keep the "id" from the reply.
4. GET /runs/<id> once a minute until "status" is done, failed, interrupted or cancelled.
5. Read results[].outcome and results[].notes. The notes are written by an AI model and some are wrong, so treat each blocker and major note as a lead: find the page in this codebase, confirm the problem is real, and fix it. Change nothing you cannot confirm.
6. Report back: each note you acted on and the file you changed, then the notes you skipped and why.

返回内容

针对每个 persona,代理会返回结果(到达目标、放弃、停在表单处、步数耗尽)、打开的页面及其笔记(含严重程度:阻断、主要、次要或表扬)、页面及 persona 所见内容。包含每步截图的完整报告保留在您的 dashboard 中。

测试已部署的内容

Senaste 通过互联网访问您的网站,因此测试的是线上版本或您已验证的测试主机(如 staging.example.com)版本。仅存在于您本地电脑上的修复尚未被测试。请先部署,然后要求代理再次运行同一面板;dashboard 会将新运行与上一次运行进行对比。

值得了解的限制

  • 笔记由模型生成,部分可能不准确。因此提示词要求代理先在代码中确认每条笔记。
  • 整个服务的运行是逐个进行的,因此您的运行可能在开始之前需要排队等待。
  • API 每分钟允许 60 次请求。每分钟检查一次运行已绰绰有余。
  • 在真实网站上表单不会发送,因此注册和支付会测试到最后一个步骤。

API 文档

更多指南

在您自己的网站上试用。