guard
星标11
分支2
更新时间2026年3月26日 20:23
Show active sandbox guard status
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Show active sandbox guard status
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | guard |
| description | Show active sandbox guard status |
Report the following sandbox guard status to the user. Do not editorialize or suggest changes — just display the information clearly.
echo "${AGS_SANDBOX:-<not set>}"if [ "${AGS_SANDBOX}" = "1" ]; then echo "ON (AGS_SANDBOX=1)"; elif [ -n "${AGS_GUARD_READ_ROOTS_JSON}" ] || [ -n "${AGS_GUARD_WRITE_ROOTS_JSON}" ]; then echo "ON (guard roots present)"; else echo "OFF (no sandbox markers)"; fiecho "${AGS_GUARD_READ_ROOTS_JSON:-<not set>}"echo "${AGS_GUARD_WRITE_ROOTS_JSON:-<not set>}"pwdecho "$HOME"if [ -x "/home/dev/.config/ags/hooks/guard.sh" ]; then echo "installed"; else echo "NOT FOUND"; fi