Set up shell aliases to automatically use Atlas with autopilot enabled.

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.zip

Installs 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
Beginner

Key capabilities

  • Find the copilot binary path
  • Detect the user's shell profile (.zshrc, .bashrc, .bash_profile)
  • Check if the profile is already configured for oh-my-copilot
  • Append atlas wrapper aliases to the shell profile
  • Configure `copilot`, `atlas`, and `cop` commands to launch with --agent oh-my-copilot:atlas --autopilot

How it works

This skill detects the user's shell profile, finds the copilot binary, and injects aliases to ensure copilot, atlas, and cop commands always launch with specific agent and autopilot settings.

Inputs & outputs

You give it
user's shell environment
You get back
updated shell profile with aliases for copilot, atlas, and cop commands

When to use setup

  • Configure shell aliases
  • Update shell profile
  • Enable atlas as default
  • Automate agent launch

About this skill

oh-my-copilot Setup

Configure the user's shell profile to always launch Copilot CLI as Atlas with autopilot enabled.

Steps

  1. Find the real copilot path 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"
  1. 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"
  1. 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
  1. Verify by reloading the profile and confirming aliases:
source "$PROFILE"
type atlas cop 2>/dev/null

After setup

  • copilot → Atlas + autopilot
  • atlas → Atlas + autopilot
  • cop → Atlas + autopilot

To undo, remove the # oh-my-copilot: block from $PROFILE.

When not to use it

  • When oh-my-copilot is not installed
  • When the shell profile is already configured as desired

Limitations

  • Only supports .zshrc, .bashrc, and .bash_profile
  • Relies on npm for finding the copilot binary
  • Requires manual `source` command or new terminal for changes to take effect

How it compares

This skill automates the configuration of shell aliases for Copilot CLI, providing consistent launch behavior without manual shell profile editing.

Compared to similar skills

setup side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
setup (this skill)02moReviewBeginner
setup121moNo flagsBeginner
tmux202moReviewIntermediate
macos-cleaner162moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry