
Copilot
- 565 installs
- 1 repo stars
- Updated May 26, 2026
- camacho/ai-skills
Copilot is a Claude Code skill that switches the agent from autonomous mode to human-led copilot mode with relaxed worktree and main-branch commit rules for paired coding sessions.
About
Copilot is a user-invocable skill from camacho/ai-skills that sets mode=copilot through a shared mode controller currently owned by the autonomous skill. In copilot mode, the human drives decisions while Claude assists, relaxing worktree enforcement and allowing commits on the main branch. The skill is an alias over the shared controller with explicit values autonomous and copilot, and is documented as Claude Code enforcement only since Codex and Cursor default to autonomous unless a future adapter uses the controller. Developers invoke Copilot when they want paired programming with an agent that does not autonomously enforce isolated worktrees or block main-branch commits.
- Sets shared mode to copilot via set-mode.sh (alias of the autonomous skill controller)
- Relaxes worktree requirement and main-branch protection for human-driven sessions
- Claude Code enforcement only; Codex and Cursor stay autonomous unless an adapter uses this controller
- Sliding 4h TTL with 12h absolute ceiling; reverts with /autonomous when the task or plan completes
- Prints confirmation block and follows .claude/rules/operating-mode.md copilot rules
Copilot by the numbers
- 565 all-time installs (skills.sh)
- Ranked #1,638 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/camacho/ai-skills --skill copilotAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 565 |
|---|---|
| repo stars | ★ 1 |
| Security audit | 2 / 3 scanners passed |
| Last updated | May 26, 2026 |
| Repository | camacho/ai-skills ↗ |
How do you disable autonomous agent mode in Claude Code?
Switch Claude Code from autonomous agent behavior to human-led copilot mode with relaxed worktree and main-branch rules for paired sessions.
Who is it for?
Developers using Claude Code who want human-led paired sessions without autonomous worktree isolation or main-branch commit blocks.
Skip if: Codex or Cursor users expecting built-in copilot enforcement, or teams that require strict worktree isolation during every session.
When should I use this skill?
A developer asks to enter copilot mode, pair with Claude instead of autonomous agent behavior, or relax worktree and main-branch rules.
What you get
Copilot mode activation, relaxed worktree enforcement, and enabled main-branch commits via the shared mode controller.
- Copilot mode session configuration
Files
Enter Copilot Mode
Claude Code enforcement only — Codex and Cursor default to autonomous unless a future adapter uses this shared controller.
Alias for setting mode=copilot through the shared mode controller.Shared Controller
Mode is a setting with explicit values: autonomous and copilot.
This skill is an alias over the controller currently owned by /autonomous; keep behavior in one place unless this repo grows a neutral /mode skill later.
Activate
REPO_ROOT="$(git rev-parse --show-toplevel)"
"$REPO_ROOT/.agents/skills/autonomous/scripts/set-mode.sh" copilotIf the script does not exist, tell the user: "This project doesn't have mode switching scripts. Install the ai-env template or add set-mode.sh manually." If it fails for another reason, inform the user with the error message and stop.
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 ceilingBehavior
Follow copilot mode rules in .claude/rules/operating-mode.md. When the current task or plan completes, revert with /autonomous.
Related skills
FAQ
What does Copilot mode change in Claude Code?
Copilot mode sets mode=copilot through the shared mode controller, making the human drive decisions while Claude assists. Copilot relaxes worktree enforcement and allows commits on the main branch, unlike autonomous mode.
Does Copilot work in Cursor or Codex?
Copilot is documented as Claude Code enforcement only. Codex and Cursor default to autonomous behavior unless a future adapter implements the shared mode controller from camacho/ai-skills.
Is Copilot safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.