SE
setup
Configure shell profile so that `copilot`, `atlas`, and `cop` commands always launch with --agent oh-my-copilot:atlas --autopilot. Run this once after installing oh-my-copilot.
Install
mkdir -p .claude/skills/setup-lee-sihyeon && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14289" && unzip -o skill.zip -d .claude/skills/setup-lee-sihyeon && rm skill.zipInstalls to .claude/skills/setup-lee-sihyeon
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Configure shell profile so that `copilot`, `atlas`, and `cop` commands always launch with --agent oh-my-copilot:atlas --autopilot. Run this once after installing oh-my-copilot.176 charsno explicit “when” trigger
About this skill
oh-my-copilot Setup
Configure the user's shell profile to always launch Copilot CLI as Atlas with autopilot enabled.
Steps
- Find the real
copilotpath in npm bin:
COPILOT_BIN="$(npm root -g 2>/dev/null | xargs -I{} dirname {})/copilot"
if [ ! -x "$COPILOT_BIN" ]; then
COPILOT_BIN="$(command -v copilot 2>/dev/null)"
fi
echo "Found copilot at: $COPILOT_BIN"
- Detect and check the shell profile:
if [ -f "$HOME/.zshrc" ]; then
PROFILE="$HOME/.zshrc"
elif [ -f "$HOME/.bashrc" ]; then
PROFILE="$HOME/.bashrc"
else
PROFILE="$HOME/.bash_profile"
fi
ALREADY_CONFIGURED=$(grep -l "oh-my-copilot:atlas" "$PROFILE" 2>/dev/null)
echo "Profile: $PROFILE"
- If not already configured, append the atlas wrapper to the profile:
if [ -z "$ALREADY_CONFIGURED" ]; then
cat >> "$PROFILE" << 'ENDOFBLOCK'
# oh-my-copilot: always launch Copilot CLI as Atlas with autopilot
_COPILOT_BIN="$(npm root -g 2>/dev/null | xargs -I{} dirname {})/copilot"
[ -x "$_COPILOT_BIN" ] || _COPILOT_BIN="$(command -v copilot)"
copilot() { "$_COPILOT_BIN" --agent oh-my-copilot:atlas --autopilot "$@"; }
alias cop=copilot
alias atlas=copilot
ENDOFBLOCK
echo "✅ Profile updated. Run 'source $PROFILE' or open a new terminal."
else
echo "✅ Already configured. 'copilot', 'atlas', and 'cop' already run as Atlas."
fi
- Verify by reloading the profile and confirming aliases:
source "$PROFILE"
type atlas cop 2>/dev/null
After setup
copilot→ Atlas + autopilotatlas→ Atlas + autopilotcop→ Atlas + autopilot
To undo, remove the # oh-my-copilot: block from $PROFILE.