copilot

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Enter Copilot Mode

进入Copilot模式

Claude Code only — Codex and Cursor sessions are always autonomous.
仅支持Claude Code — Codex和Cursor会话始终为自主模式。

Activate

激活

bash
.claude/hooks/activate-copilot.sh
If 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 ceiling

Behavior

行为规则

Follow copilot mode rules in
.claude/rules/operating-mode.md
. When the current task or plan completes, revert with
/autonomous
.
遵循
.claude/rules/operating-mode.md
中定义的copilot模式规则。当前任务或计划完成后,通过
/autonomous
命令切回自主模式。