-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathinstall-cursor.sh
More file actions
executable file
·48 lines (43 loc) · 1.77 KB
/
Copy pathinstall-cursor.sh
File metadata and controls
executable file
·48 lines (43 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
#
# Install BioDSA Skills to Cursor IDE
#
# Installs both skill sets:
# - Agent Development Skills (for creating new agents)
# - Agent Execution Skills (for running existing agents)
#
# Usage:
# ./install-cursor.sh # Install to current project
# ./install-cursor.sh --project /path/to/project # Install to specific project
# ./install-cursor.sh --uninstall # Remove installed skills
# ./install-cursor.sh --dry-run # Preview what would be installed
#
# Cursor skills are always project-level (in .cursor/skills/)
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/install-common.sh"
TOOL_NAME="Cursor"
INSTALL_MODE="project"
DEFAULT_SKILLS_BASE="$(pwd)/.cursor/skills"
PROJECT_SKILLS_BASE=".cursor/skills"
print_usage() {
echo "Usage: $0 [OPTIONS]"
echo ""
echo "Install BioDSA Skills to Cursor IDE"
echo ""
echo "Options:"
echo " --project [PATH] Install to a specific project directory (default: current directory)"
echo " --uninstall Remove installed skills from the target project"
echo " --dry-run Preview what would be installed without making changes"
echo " --verbose Show detailed output"
echo " --help Show this help message"
echo ""
echo "Examples:"
echo " $0 # Install to current project"
echo " $0 --project ~/my-project # Install to ~/my-project"
echo " $0 --project ~/my-project --uninstall # Remove from ~/my-project"
}
run_installer "$@"
echo "The skills are now available in Cursor. Ask Cursor to help you create"
echo "new BioDSA agents or run existing ones — it will read these skills."
echo ""
print_try_message