用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/laicluse/agent-fieldkit --skill enable-discipline命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | enable-discipline |
| user-invocable | true |
| description | Explicit /git-discipline:enable-discipline: re-enable the git-discipline guards for this session. |
| disable-model-invocation | true |
| argument-hint |
Re-enable the git-discipline PreToolUse:Bash guards for the current session.
Removes the session sentinel that /git-discipline:disable-discipline created.
Has no effect when the guards are already active.
A separate global sentinel (git-discipline-disabled-global) affects every
session and is not removed by this command; the hook reports when it finds one
still in place.
The plugin's UserPromptExpansion hook handles this command at the keystroke
itself: it removes the session sentinel, reports the result, and blocks the
expansion, so this file's content never reaches the model.
Reading this text means the hook did not run. Report that instead of removing
the sentinel: the sentinel-protect guard denies agent-driven removal in any
case, with no escape. Likely causes are a plugin installed without its hooks,
or a host that does not implement UserPromptExpansion.
Use /git-discipline:discipline-status to see which sentinels are active and
what the current guard state is.