Skip to content

A skill to stop your coding agent from burying the answer. ADHD-friendly output.

skills: require explicit Codex invocation

Ayoub G.dfb0c837570b
diff --git a/.github/install/INSTALL.ja.md b/.github/install/INSTALL.ja.md
index a146e88..d4b714a 100644
--- a/.github/install/INSTALL.ja.md
+++ b/.github/install/INSTALL.ja.md
@@ -117,7 +117,7 @@ codex plugin marketplace add ayghri/i-have-adhd --ref main
codex plugin add i-have-adhd@i-have-adhd
```
-`$i-have-adhd` と入力します。
+`$i-have-adhd` を明示的に入力して有効化します。Codex がこのスキルを自動で呼び出すことはありません。
### 確認
@@ -560,12 +560,12 @@ npx skills remove i-have-adhd -g # グローバルにインストールした
## 有効化の仕組み
-1. **インストール済み、未呼び出し。** Claude Code では何も起きません。`SKILL.md` に `disable-model-invocation: true` が設定されているため、モデルはスキルを認識せず、自動でルールを適用しません。このフラグは Claude Code 固有です。Codex は暗黙的な呼び出しが許可された状態で提供され(README を参照)、オープンな Agent Skills 仕様を実装する環境は起動時に各スキルの説明を読み込み、自動で有効化する場合があります。
-2. **`/i-have-adhd` と入力する。** そのセッションでルールが有効になります。「stop adhd mode」または「normal mode」で無効にできます。
+1. **インストール済み、未呼び出し。** Claude Code、Qwen Code、Codex では、明示的に呼び出すまで何も起きません。Claude Code と Qwen Code は `SKILL.md` の `disable-model-invocation: true` を、Codex は `agents/openai.yaml` の `policy.allow_implicit_invocation: false` を尊重します。その他の環境では、起動時に各スキルの説明を読み込み、自動で有効化する場合があります。
+2. **明示的に呼び出す。** Claude Code と Qwen Code では `/i-have-adhd`、Codex では `$i-have-adhd` を入力します。そのセッションでルールが有効になります。「stop adhd mode」または「normal mode」で無効にできます。
3. **`~/.claude/.i-have-adhd-always` を作成する**(Claude Code)。`SessionStart` フックが、すべてのセッションで最初のメッセージから完全なルールセットを読み込みます。
4. **上記の常時有効スニペットを追加する**(その他の環境)。中核となるルールをエージェントの永続コンテキストに保持します。
-Claude Code では中間状態はありません。有効にしていなければ無効です。
+Claude Code、Qwen Code、Codex では中間状態はありません。有効にしていなければ無効です。
## トラブルシューティング
diff --git a/.github/install/INSTALL.ko.md b/.github/install/INSTALL.ko.md
index e8195a9..be2f8a7 100644
--- a/.github/install/INSTALL.ko.md
+++ b/.github/install/INSTALL.ko.md
@@ -117,7 +117,7 @@ codex plugin marketplace add ayghri/i-have-adhd --ref main
codex plugin add i-have-adhd@i-have-adhd
```
-`$i-have-adhd`를 입력하세요.
+`$i-have-adhd`를 명시적으로 입력해 활성화하세요. Codex는 이 스킬을 자동으로 호출하지 않습니다.
### 확인
@@ -560,12 +560,12 @@ npx skills remove i-have-adhd -g # 전역 설치한 경우
## 활성화 방식
-1. **설치했지만 호출하지 않은 상태.** Claude Code에서는 아무 일도 일어나지 않습니다. `SKILL.md`에 `disable-model-invocation: true`가 설정되어 모델이 스킬을 보지 못하고 규칙을 스스로 적용하지 않습니다. 이 플래그는 Claude Code 전용입니다. Codex는 암시적 호출이 허용되며(README 참고), 공개 Agent Skills 사양을 구현한 실행 환경은 시작 시 각 스킬 설명을 불러와 스스로 활성화할 수 있습니다.
-2. **`/i-have-adhd`를 입력합니다.** 해당 세션에서 규칙이 활성화됩니다. "stop adhd mode" 또는 "normal mode"로 끌 수 있습니다.
+1. **설치했지만 호출하지 않은 상태.** Claude Code, Qwen Code, Codex에서는 명시적으로 호출하기 전까지 아무 일도 일어나지 않습니다. Claude Code와 Qwen Code는 `SKILL.md`의 `disable-model-invocation: true`를 따르고, Codex는 `agents/openai.yaml`의 `policy.allow_implicit_invocation: false`를 따릅니다. 다른 실행 환경은 시작 시 각 스킬 설명을 불러와 스스로 활성화할 수 있습니다.
+2. **명시적으로 호출합니다.** Claude Code와 Qwen Code에서는 `/i-have-adhd`를, Codex에서는 `$i-have-adhd`를 입력합니다. 해당 세션에서 규칙이 활성화됩니다. "stop adhd mode" 또는 "normal mode"로 끌 수 있습니다.
3. **`~/.claude/.i-have-adhd-always`를 만듭니다**(Claude Code). `SessionStart` 훅이 매 세션의 첫 메시지부터 전체 규칙을 불러옵니다.
4. **위의 항상 활성화 코드 조각을 추가합니다**(기타 실행 환경). 핵심 규칙이 에이전트의 영구 컨텍스트에 유지됩니다.
-Claude Code에는 중간 상태가 없습니다. 켜지 않았다면 꺼져 있습니다.
+Claude Code, Qwen Code, Codex에는 중간 상태가 없습니다. 켜지 않았다면 꺼져 있습니다.
## 문제 해결
diff --git a/.github/install/INSTALL.pt-BR.md b/.github/install/INSTALL.pt-BR.md
index 951051f..7cef8ad 100644
--- a/.github/install/INSTALL.pt-BR.md
+++ b/.github/install/INSTALL.pt-BR.md
@@ -117,7 +117,7 @@ codex plugin marketplace add ayghri/i-have-adhd --ref main
codex plugin add i-have-adhd@i-have-adhd
```
-Digite `$i-have-adhd`.
+Ative a skill explicitamente digitando `$i-have-adhd`. O Codex não a invoca automaticamente.
### Verificar
@@ -560,12 +560,12 @@ Exceções: explique por completo quando pedirem. Confirme antes de ações dest
## Como a ativação funciona
-1. **Instalada, mas não invocada.** No Claude Code, nada acontece: `SKILL.md` define `disable-model-invocation: true`, então o modelo não vê a skill nem aplica as regras sozinho. Essa flag é própria do Claude Code; o Codex permite invocação implícita (veja o README), e ambientes que implementam a especificação aberta Agent Skills carregam a descrição de cada skill na inicialização e podem ativá-la por conta própria.
-2. **Você digita `/i-have-adhd`.** As regras ficam ativas nessa sessão. "stop adhd mode" ou "normal mode" as desativa.
+1. **Instalada, mas não invocada.** No Claude Code, Qwen Code e Codex, nada acontece até que você invoque a skill explicitamente. Claude Code e Qwen Code respeitam `disable-model-invocation: true` em `SKILL.md`; o Codex respeita `policy.allow_implicit_invocation: false` em `agents/openai.yaml`. Outros ambientes podem carregar a descrição de cada skill na inicialização e ativá-la por conta própria.
+2. **Você a invoca explicitamente.** Digite `/i-have-adhd` no Claude Code ou Qwen Code, ou `$i-have-adhd` no Codex. As regras ficam ativas nessa sessão. "stop adhd mode" ou "normal mode" as desativa.
3. **Você cria `~/.claude/.i-have-adhd-always`** (Claude Code). Um hook `SessionStart` carrega todas as regras desde a primeira mensagem, em toda sessão.
4. **Você adiciona o trecho sempre ativo acima** (outros ambientes). Isso mantém as regras principais no contexto persistente do agente.
-No Claude Code não há meio-termo: se você não ativou, está desativado.
+No Claude Code, Qwen Code e Codex não há meio-termo: se você não ativou, está desativado.
## Solução de problemas
diff --git a/.github/install/INSTALL.vi.md b/.github/install/INSTALL.vi.md
index 2373e49..b0b17a4 100644
--- a/.github/install/INSTALL.vi.md
+++ b/.github/install/INSTALL.vi.md
@@ -117,7 +117,7 @@ codex plugin marketplace add ayghri/i-have-adhd --ref main
codex plugin add i-have-adhd@i-have-adhd
```
-Gõ `$i-have-adhd`.
+Gọi skill một cách rõ ràng bằng cách gõ `$i-have-adhd`. Codex sẽ không tự động kích hoạt skill.
### Xác minh
@@ -560,12 +560,12 @@ Ngoại lệ: giải thích đầy đủ khi được yêu cầu. Xác nhận tr
## Cơ chế kích hoạt
-1. **Đã cài nhưng chưa gọi.** Trong Claude Code, không có gì xảy ra: `SKILL.md` đặt `disable-model-invocation: true`, nên model không thấy skill và không tự áp dụng quy tắc. Cờ này là riêng của Claude Code; Codex cho phép gọi ngầm (xem README), còn các môi trường triển khai đặc tả Agent Skills mở sẽ tải mô tả của từng skill khi khởi động và có thể tự kích hoạt.
-2. **Bạn gõ `/i-have-adhd`.** Quy tắc bật trong phiên đó. "stop adhd mode" hoặc "normal mode" sẽ tắt chúng.
+1. **Đã cài nhưng chưa gọi.** Trong Claude Code, Qwen Code và Codex, không có gì xảy ra cho đến khi bạn gọi skill một cách rõ ràng. Claude Code và Qwen Code tuân theo `disable-model-invocation: true` trong `SKILL.md`; Codex tuân theo `policy.allow_implicit_invocation: false` trong `agents/openai.yaml`. Các môi trường khác có thể tải mô tả của từng skill khi khởi động và tự kích hoạt.
+2. **Bạn gọi skill một cách rõ ràng.** Gõ `/i-have-adhd` trong Claude Code hoặc Qwen Code, hoặc `$i-have-adhd` trong Codex. Quy tắc bật trong phiên đó. "stop adhd mode" hoặc "normal mode" sẽ tắt chúng.
3. **Bạn tạo `~/.claude/.i-have-adhd-always`** (Claude Code). Hook `SessionStart` tải toàn bộ quy tắc từ tin nhắn đầu tiên trong mọi phiên.
4. **Bạn thêm đoạn luôn bật ở trên** (các môi trường khác). Điều này giữ quy tắc cốt lõi trong ngữ cảnh lâu dài của agent.
-Trong Claude Code không có trạng thái trung gian: nếu bạn chưa bật thì nó đang tắt.
+Trong Claude Code, Qwen Code và Codex không có trạng thái trung gian: nếu bạn chưa bật thì nó đang tắt.
## Khắc phục sự cố
diff --git a/.github/install/INSTALL.zh-CN.md b/.github/install/INSTALL.zh-CN.md
index 48687f1..c294cec 100644
--- a/.github/install/INSTALL.zh-CN.md
+++ b/.github/install/INSTALL.zh-CN.md
@@ -117,7 +117,7 @@ codex plugin marketplace add ayghri/i-have-adhd --ref main
codex plugin add i-have-adhd@i-have-adhd
```
-输入 `$i-have-adhd`。
+明确输入 `$i-have-adhd` 来启用此技能。Codex 不会自动调用它。
### 验证
@@ -560,12 +560,12 @@ npx skills remove i-have-adhd -g # 如果全局安装
## 启用机制
-1. **已安装但未调用。** 在 Claude Code 中不会发生任何变化:`SKILL.md` 设置了 `disable-model-invocation: true`,因此模型看不到技能,也不会自行应用规则。该标志是 Claude Code 专有的;Codex 默认允许隐式调用(见 README),实现开放 Agent Skills 规范的运行环境会在启动时加载每个技能的描述,并可能自行启用技能。
-2. **输入 `/i-have-adhd`。** 规则在该会话中启用。输入“stop adhd mode”或“normal mode”可将其关闭。
+1. **已安装但未调用。** 在 Claude Code、Qwen Code 和 Codex 中,只有明确调用技能后才会发生变化。Claude Code 和 Qwen Code 遵循 `SKILL.md` 中的 `disable-model-invocation: true`;Codex 遵循 `agents/openai.yaml` 中的 `policy.allow_implicit_invocation: false`。其他运行环境可能会在启动时加载每个技能的描述,并自行启用技能。
+2. **明确调用技能。** 在 Claude Code 或 Qwen Code 中输入 `/i-have-adhd`,在 Codex 中输入 `$i-have-adhd`。规则将在该会话中启用。输入“stop adhd mode”或“normal mode”可将其关闭。
3. **创建 `~/.claude/.i-have-adhd-always`**(Claude Code)。`SessionStart` 钩子会在每次会话中从第一条消息起加载完整规则。
4. **添加上面的始终启用片段**(其他运行环境)。这样会将核心规则保留在智能体的持久上下文中。
-在 Claude Code 中没有中间状态:未启用就是关闭。
+在 Claude Code、Qwen Code 和 Codex 中没有中间状态:未启用就是关闭。
## 故障排除
diff --git a/INSTALL.md b/INSTALL.md
index 30281d1..b4d0b93 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -160,7 +160,8 @@ codex plugin marketplace add ayghri/i-have-adhd --ref main
codex plugin add i-have-adhd@i-have-adhd
```
-Type `$i-have-adhd`.
+Invoke the skill explicitly by typing `$i-have-adhd`. Codex will not activate
+it automatically.
### Verify
@@ -608,12 +609,12 @@ Exceptions: explain fully when asked to explain. Confirm before destructive acti
## How activation works
-1. **Installed, not invoked.** In Claude Code and Qwen Code, nothing happens: `SKILL.md` sets `disable-model-invocation: true`, so the model never sees the skill and never applies the rules on its own. Both agents honor that flag. Codex ships with implicit invocation allowed (see the README), and other harnesses may load every skill's description at startup and activate the skill themselves.
-2. **You type `/i-have-adhd`.** Rules on for that session. "stop adhd mode" or "normal mode" turns them off.
+1. **Installed, not invoked.** In Claude Code, Qwen Code, and Codex, nothing happens until you invoke the skill explicitly. Claude Code and Qwen Code honor `disable-model-invocation: true` in `SKILL.md`; Codex honors `policy.allow_implicit_invocation: false` in `agents/openai.yaml`. Other harnesses may load every skill's description at startup and activate the skill themselves.
+2. **You invoke it explicitly.** Type `/i-have-adhd` in Claude Code or Qwen Code, or `$i-have-adhd` in Codex. Rules stay on for that session. "stop adhd mode" or "normal mode" turns them off.
3. **You touch `~/.claude/.i-have-adhd-always`** (Claude Code). A `SessionStart` hook loads the full ruleset from message one, every session.
4. **You add the always-on snippet above** (other harnesses). Keeps the core rules in your agent's persistent context.
-In Claude Code and Qwen Code, no middle ground: if you did not turn it on, it is off.
+In Claude Code, Qwen Code, and Codex, no middle ground: if you did not turn it on, it is off.
## Troubleshooting
diff --git a/skills/i-have-adhd/agents/openai.yaml b/skills/i-have-adhd/agents/openai.yaml
index d16d889..0e8285b 100644
--- a/skills/i-have-adhd/agents/openai.yaml
+++ b/skills/i-have-adhd/agents/openai.yaml
@@ -4,4 +4,4 @@ interface:
default_prompt: "Use $i-have-adhd to make this response action-first and easy to execute."
policy:
- allow_implicit_invocation: true
+ allow_implicit_invocation: false