Files
nexus/wiki/concepts/YoloMode.md
2026-04-27 08:02:55 +08:00

43 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Yolo Mode"
type: concept
tags: [cursor, ai-agent, safety, risk]
sources: [mcp在cursor中的集成与应用详解]
last_updated: 2026-04-26
---
## Definition
Yolo ModeEnable Yolo Mode是 Cursor Composer 中的一种**高风险自动执行模式**。开启后Cursor 将自动执行 AI 模型发出的所有命令,无需用户逐条确认。
## Risk Profile
⚠️ **高风险设置,官方默认关闭**
潜在风险:
- 误删文件(如 `rm -rf` 等破坏性命令自动执行)
- 系统配置被意外修改
- 不可预期的副作用操作
## Recommended Practice
建议默认关闭 Yolo Mode仅在以下场景谨慎使用
- 确认所有命令已验证无误
- 在隔离的测试环境中
- 操作者充分理解每条命令的潜在影响
## Comparison with Normal Mode
| 特性 | Yolo Mode | Normal Mode |
|------|-----------|-------------|
| 命令执行 | 自动执行 | 需用户手动复制执行 |
| 安全性 | 高风险 | 相对安全 |
| 效率 | 高 | 较低 |
| 适用场景 | 已验证的自动化流程 | 探索性/调试性任务 |
## Connections
- [[Cursor]] ← Yolo Mode 所在产品
- [[Composer]] ← Yolo Mode 配置位置
- [[Mcp在Cursor中的集成与应用详解]] ← 使用场景说明
## See Also
- [[AgentMode]]
- [[ModalContextProtocol]]