Files
OneOS-V2/.cursor/rules/token-budget.mdc
2026-07-29 16:04:39 +08:00

32 lines
1.3 KiB
Plaintext
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.
---
description: OneOS 会话用量预算:短会话、窄检索、少并行、默认便宜模型
alwaysApply: true
---
# Token 预算(强制偏好)
本仓库近期用量偏高。默认按「省用量」执行,除非用户明确要求高耗模式(如「确认高耗」「继续本会话」)。
## 会话
- 优先短会话、单任务;跨主题先总结再建议用户新开聊天。
- 同一会话已多轮(约 ≥15 次有效往返)且任务可收口时:先给可复制摘要,再明确建议新开会话,不要无必要继续长聊。
- 不要为了「顺便」扩大范围。
## 检索与阅读
- 禁止默认全仓扫描。先用路径/文件名定位,再读必要文件。
- 已有 `.cursorignore`:勿主动翻二进制、截图包、`node_modules`、`.axhub/make`。
- 需要图片/zip/pptx 时,等用户 `@` 精确路径再读。
## 模型与子代理
- 日常改原型/文案/样式:默认 Auto/Composer 即可,不要主动升级到 High/Grok High。
- 禁止默认开启并行多 Agent / Best-of-N仅当用户明确要求时再开。
- 能单 Agent 完成的,不要拆多个 explore/generalPurpose。
## 回复
- 先做后说;少复述大段上下文。
- 工具调用失败时先读错误再重试,避免盲目循环。