Skip to content

Instantly share code, notes, and snippets.

@YogliB
Last active February 3, 2026 21:48
Show Gist options
  • Select an option

  • Save YogliB/199d1b27e7619f25a7b8d3d132fb4c52 to your computer and use it in GitHub Desktop.

Select an option

Save YogliB/199d1b27e7619f25a7b8d3d132fb4c52 to your computer and use it in GitHub Desktop.
copy-superpowers.sh
#!/bin/bash
# Script to copy skills, commands, and agents from obra/superpowers to .cursor
# Uses npx tiged to download specific directories from GitHub
set -e # Exit on any error
echo "Copying superpowers skills, commands, and agents to .cursor..."
# Copy skills directory
echo "Copying skills..."
npx tiged obra/superpowers/skills .cursor/skills/superpowers --force
# Copy commands directory
echo "Copying commands..."
npx tiged obra/superpowers/commands .cursor/commands/superpowers --force
# Copy agents directory
echo "Copying agents..."
npx tiged obra/superpowers/agents .cursor/agents --force
echo "Successfully copied superpowers assets to .cursor!"
echo "Skills copied to: .cursor/skills/superpowers/"
echo "Commands copied to: .cursor/commands/superpowers/"
echo "Agents copied to: .cursor/agents/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment