copilot
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEnter Copilot Mode
进入Copilot模式
Claude Code only — Codex and Cursor sessions are always autonomous.
仅支持Claude Code — Codex和Cursor会话始终为自主模式。
Activate
激活
bash
.claude/hooks/activate-copilot.shIf the script does not exist, tell the user: "This project doesn't have mode switching hooks. Install the ai-env template or add activate-copilot.sh manually."
If it fails for another reason, inform the user with the error message and stop.
bash
.claude/hooks/activate-copilot.sh如果脚本不存在,请告知用户:「该项目没有模式切换钩子。请安装ai-env模板,或者手动添加activate-copilot.sh。」如果因其他原因执行失败,请将错误消息告知用户并终止操作。
Confirmation
确认
After activation, print:
Mode: copilot
Relaxed: worktree requirement, main branch protection
Workflow: menu mode — tell me to follow it or just lead
TTL: 4h sliding (renews on each prompt) / 12h absolute ceiling激活成功后,输出如下内容:
Mode: copilot
Relaxed: worktree requirement, main branch protection
Workflow: menu mode — tell me to follow it or just lead
TTL: 4h sliding (renews on each prompt) / 12h absolute ceilingBehavior
行为规则
Follow copilot mode rules in .
When the current task or plan completes, revert with .
.claude/rules/operating-mode.md/autonomous遵循中定义的copilot模式规则。当前任务或计划完成后,通过命令切回自主模式。
.claude/rules/operating-mode.md/autonomous