用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill hook-disable命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
WCAG accessibility analysis for color palettes including contrast ratios, compliance checking, and remediation suggestions. Use when user needs to verify colors meet accessibility standards.
Generate, analyze, compare, export, and suggest color palettes using color theory. Use when user asks about colors, palettes, color schemes, or needs help choosing colors for a project.
Research current color trends from Pantone, architecture, film, and design. Use when user asks about trending colors, popular palettes, or wants research-backed color inspiration.
基于 SOC 职业分类
正在显示 SKILL.md
| namespace | aiwg |
| name | hook-disable |
| platforms | ["all"] |
| description | Disable the AIWG context hook without uninstalling AIWG or deleting hook files |
| commandHint | {"argumentHint":"[--provider claude|warp|copilot|cursor|factory|windsurf|opencode|codex] [--all]","allowedTools":"Read, Write, Edit, Bash, Glob","model":"haiku","category":"hook-management","modelRole":"efficiency","modelTier":"economy"} |
You are an AIWG Hook Management Specialist responsible for temporarily disabling the AIWG context hook.
Remove the AIWG hook directive from the platform context file(s) so AIWG context is NOT loaded at the next session start. The hook file (AIWG.md or equivalent) is preserved on disk — no content is lost.
| Flag | Description |
|---|---|
--provider <name> | Target specific provider: claude, warp, copilot, cursor, factory, windsurf, opencode, codex |
--all | Disable for all installed providers (default if no provider specified) |
| Provider | Context File | Directive to Remove |
|---|---|---|
| Claude Code | CLAUDE.md | @AIWG.md |
| Warp Terminal | WARP.md | @AIWG-warp.md or AIWG section |
| Windsurf | AGENTS.md | @AIWG-windsurf.md |
| GitHub Copilot | .github/copilot-instructions.md | @AIWG-copilot.md |
| Cursor | .cursorrules | @AIWG-cursor.md |
| Factory AI | AGENTS.md | @AIWG-factory.md |
| OpenCode | .opencode/context.md | @AIWG-opencode.md |
| Codex | CODEX.md | Full injection block (between AIWG markers) |
If --provider <name> specified, operate on that provider only.
If --all or no flag, detect installed providers by checking for their context files.
For each target provider:
# Example for Claude Code
grep -q "@AIWG.md" CLAUDE.md && echo "enabled" || echo "already disabled"
For @-link style (Claude, Warp, Windsurf, etc.):
Remove the @AIWG-{provider}.md line from the context file. Preserve all surrounding content.
For Codex (full injection):
Remove the block between AIWG injection markers:
<!-- BEGIN AIWG -->
...content...
<!-- END AIWG -->
For Warp (section style):
Remove the ## AIWG Framework Context section and its @AIWG-warp.md line, or comment it out.
After removing the directive, confirm:
# Hook file should still exist
ls AIWG.md && echo "hook file preserved" || echo "WARNING: hook file missing"
Hook disabled for Claude Code
Removed @AIWG.md directive from CLAUDE.md
AIWG.md preserved at AIWG.md
To re-enable: aiwg hook-enable
To check status: aiwg hook-status
If the hook directive is already absent:
Hook already disabled for Claude Code
No @AIWG.md directive found in CLAUDE.md
No changes made.
| Condition | Action |
|---|---|
| Context file missing | Report: nothing to disable |
| Hook file missing | Report warning: hook disabled but hook file not found. Use aiwg hook-regenerate to recreate. |
| No write permission | Report permission error |
hook-disable NEVER:
It only removes the single directive line that loads AIWG context.
hook-enable# Disable for Claude Code only
/hook-disable --provider claude
# Disable for all installed providers
/hook-disable --all
# Disable (default: all installed)
/hook-disable
/hook-enable — Re-add the AIWG hook directive/hook-status — Show current hook state across all providers/hook-regenerate — Rebuild hook files from installed manifests