-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquick-install.bat
More file actions
50 lines (40 loc) · 1.29 KB
/
Copy pathquick-install.bat
File metadata and controls
50 lines (40 loc) · 1.29 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
49
50
@echo off
REM Quick Install Script for cycleuser/Skills (Windows)
REM Usage: curl -sSL https://raw.githubusercontent.com/cycleuser/Skills/main/quick-install.bat | cmd
setlocal enabledelayedexpansion
set REPO_URL=https://github.com/cycleuser/Skills
set INSTALL_DIR=%USERPROFILE%\.opencode\skills
echo ========================================
echo Skills Installer
echo ========================================
echo.
REM Check Python
where python >nul 2>nul
if %ERRORLEVEL% neq 0 (
echo Error: Python is required but not installed.
exit /b 1
)
REM Create installation directory
echo Creating installation directory: %INSTALL_DIR%
if not exist "%INSTALL_DIR%" mkdir "%INSTALL_DIR%"
REM Download installer
echo Downloading installer...
curl -sSL "%REPO_URL%/raw/main/install.py" -o %TEMP%\skills_install.py
REM Run installer
echo Running installer...
python %TEMP%\skills_install.py install
REM Cleanup
del /f %TEMP%\skills_install.py 2>nul
echo.
echo ========================================
echo Installation Complete!
echo ========================================
echo.
echo Skills installed to: %INSTALL_DIR%
echo.
echo Quick Start:
echo /skills - List all skills
echo /skill ^<name^> - Load a skill
echo.
echo For more info: https://github.com/cycleuser/Skills
endlocal