用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mturac/everything-openai-codex --skill hookify-rules命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use this skill to monitor and verify a deployed URL or public OSS launch surface after releases — checks HTTP endpoints, SSE streams, static assets, console errors, performance regressions, PR queue health, maintainer feedback, and listing-review blockers after deploys, merges, submissions, or dependency upgrades. Smoke / canary / post-deploy / PR-watch verification.
Build reputation-safe open-source marketing from verifiable project evidence, not hype, spam, or repeated public pings. Use for launch copy, directory targeting, community posts, proof packets, and maintainer-facing positioning.
Turn public launch, directory, community, or list rejections into repo fixes and better proof without arguing, spamming, or resubmitting blindly. Use after Hacker News, Product Hunt, GitHub list PR, marketplace, or community rejection.
正在显示 SKILL.md
基于 SOC 职业分类
| name | hookify-rules |
| description | 当用户要求创建hookify规则、编写hook规则、配置hookify、添加hookify规则或需要关于hookify规则语法和模式的指导时,应使用此技能。 |
Hookify 规则是带有 YAML 前置元数据的 Markdown 文件,用于定义要监控的模式以及匹配时显示的消息。规则存储在 .codex/hookify.{rule-name}.local.md 文件中。
---
name: rule-identifier
enabled: true
event: bash|file|stop|prompt|all
pattern: regex-pattern-here
---
当此规则触发时向 Codex 显示的消息。
可包含 Markdown 格式、警告、建议等内容。
| 字段 | 必填 | 值 | 描述 |
|---|---|---|---|
| name | 是 | kebab-case 字符串 | 唯一标识符(动词优先:warn-、block-、require-*) |
| enabled | 是 | true/false | 无需删除即可切换 |
| event | 是 | bash/file/stop/prompt/all | 触发规则的钩子事件 |
| action | 否 | warn/block | warn(默认)显示消息;block 阻止操作 |
| pattern | 是* | 正则表达式字符串 | 要匹配的模式(*或使用 conditions 实现复杂规则) |
---
name: warn-env-api-keys
enabled: true
event: file
conditions:
- field: file_path
operator: regex_match
pattern: \.env$
- field: new_text
operator: contains
pattern: API_KEY
---
你正在向 .env 文件中添加 API 密钥。请确保该文件已包含在 .gitignore 中!
按事件划分的条件字段:
commandfile_path、new_text、old_text、contentuser_prompt运算符: regex_match、contains、equals、not_contains、starts_with、ends_with
所有条件必须同时满足才能触发规则。
匹配 Bash 命令模式:
rm\s+-rf、dd\s+if=、mkfssudo\s+、su\s+chmod\s+777匹配编辑/写入/多重编辑操作:
console\.log\(、debuggereval\(、innerHTML\s*=\.env$、credentials、\.pem$完成检查与提醒。模式 .* 始终匹配。
匹配用户提示内容以强制执行工作流程。
. 转义为 \.,( 转义为 \(\s 空白字符,\d 数字,\w 单词字符+ 一个或多个,* 零个或多个,? 可选| 或运算符log 会匹配 "login"、"dialog"——请使用 console\.log\(rm -rf /tmp——请使用 rm\s+-rf\\spython3 -c "import re; print(re.search(r'your_pattern', 'test text'))"
.codex/ 目录.codex/hookify.{descriptive-name}.local.md.codex/*.local.md 添加到 .gitignore/hookify [description] - 创建新规则(无参数时自动分析对话)/hookify-list - 以表格形式查看所有规则/hookify-configure - 交互式切换规则开关/hookify-help - 完整文档最小可行规则:
---
name: my-rule
enabled: true
event: bash
pattern: dangerous_command
---
此处显示警告信息