用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/RunnerQuan/SAFE-Agent --skill extra-apps命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | extra-apps |
| description | Instructions for finding and managing extra/external applications like CAD and Public Transportation. |
The AutomateLinux ecosystem integrates several external applications stored directly in the extraApps/ directory.
| App ID | Display Name | Has Server | Dev Path | Prod Path |
|---|---|---|---|---|
cad | CAD Application | No | /opt/automateLinux/extraApps/cad | /opt/prod/cad |
pt | Public Transportation | No | /opt/automateLinux/extraApps/publicTransportation | /opt/prod/publicTransportation |
d listApps # List all registered apps
d appStatus # Show status of all apps
d appStatus --app cad # Show status of specific app
d startApp --app <name> --mode <prod|dev> # Start app services
d stopApp --app <name> --mode <prod|dev|all> # Stop app services
d restartApp --app <name> --mode <prod|dev> # Restart app services
d enableApp --app <name> --mode <prod|dev> # Enable services at boot (systemctl enable)
d disableApp --app <name> --mode <prod|dev|all> # Disable services from boot
# Build C++ server components (cmake && make)
d buildApp --app cad --mode prod
# Install npm dependencies
d installAppDeps --app cad --mode dev # Install all components
d installAppDeps --app cad --mode dev --component client # Client only
App ports are managed centrally by the daemon.
| App | Mode | Port | Description |
|---|---|---|---|
| CAD | Prod | 3000 | CAD frontend production |
| CAD | Dev | 3001 | CAD frontend development |
| PT | Prod | 3002 | Public Transportation production |
| PT | Dev | 3003 | Public Transportation development |
d setPort --key pt-dev --value 3005 # Update port assignment
d getPort --key cad-dev # Query current port
d listPorts # List all port mappings
Production deployments are git worktrees located at /opt/prod/<appName>/:
ls /opt/prod/
# cad/ publicTransportation/
To update a production deployment:
cd /opt/prod/cad
git fetch origin
git checkout <commit-or-tag>
d buildApp --app cad --mode prod # Rebuild server
d installAppDeps --app cad --mode prod # Reinstall deps
d restartApp --app cad --mode prod # Restart services
/opt/automateLinux/extraApps/cad/open_app.sh
This starts the dev server on the daemon-registered port and opens Chrome in app mode.
d publicTransportationOpenApp # Opens in browser
When multiple machines are connected via WireGuard VPN, the daemon tracks which peer is actively working on each extraApp to prevent git conflicts.
Use gita instead of git add when working in an extraApp directory:
cd /opt/automateLinux/extraApps/cad
gita . # Claims app, then runs git add
The gita function automatically:
d claimApp --app <name> to register ownershipd claimApp --app cad # Claim exclusive work on cad
d releaseApp --app cad # Release when done
d getAppOwner --app cad # Check who owns an app