Skip to content
Back to skills

Anti Hall Activate

BSecurity

Idempotent Codex setup for anti-hall. Use when the user asks to activate anti-hall, set it up for Codex, or install the Codex hooks.

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 2, 2026
ai-agentsshellbashgitapi

Works with

  • claude code
  • cli
  • api

Security analysis

B88/100
  • criticalPipes output to a shell interpreter

Pro shows the line behind each finding and how to fix it

Scanned November 9, 2026

npx -y skills add talas9/anti-hall --skill anti-hall-activate --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Anti Hall Activate?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Anti Hall Activate
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/talas9-anti-hall-activate/badge)](https://www.skillsdirectory.com/skills/talas9-anti-hall-activate)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: anti-hall-activate
description: Idempotent Codex setup for anti-hall. Use when the user asks to activate anti-hall, set it up for Codex, or install the Codex hooks.
---

# anti-hall activate for Codex

## When to use

Idempotent Codex setup for anti-hall. Use when the user asks to activate anti-hall, set it up for Codex, or install the Codex hooks.

Activation for Codex installs the supported Codex hook subset and writes an advisory sentinel. It does not touch Claude Code settings.

## Resolve the plugin root

Codex does not expand `${PLUGIN_ROOT}` inside a skill's own instructions — that
variable is only set for plugin-bundled hook commands (see
`https://github.com/talas9/anti-hall/blob/main/docs/KB-codex-platform-hooks-plugins.md`). Codex does show you this skill's own
file path when it selects the skill ("Codex starts with each skill's name,
description, and file path" — official Codex Skills doc). Resolve the plugin
root from that path before running anything below:

```bash
# SKILL_FILE = the absolute path Codex showed you for this SKILL.md.
ANTI_HALL_ROOT="$(cd "$(dirname "$SKILL_FILE")/../../.." && pwd)"
test -d "$ANTI_HALL_ROOT/.codex-plugin" || { echo "anti-hall plugin root not found relative to $SKILL_FILE — aborting" >&2; exit 1; }
```

0. Install the thin client and the engine if `~/.anti-hall/ah-engine/bin/ah-hook` is missing (nothing is downloaded on its own:
   `engine.bootstrap` defaults to false; ask the user first). The plugin's one shell file does it, checked against the sha256
   pinned in `ah-engine.lock`:

```bash
test -x "$HOME/.anti-hall/ah-engine/bin/ah-hook" || sh "$ANTI_HALL_ROOT/hooks/install.sh" --download -v
```

1. Install project-local Codex hooks:

```bash
"$HOME/.anti-hall/ah-engine/bin/ah-engine" install-codex
```

2. For global Codex hooks instead:

```bash
"$HOME/.anti-hall/ah-engine/bin/ah-engine" install-codex --global
```

3. Verify:

```bash
~/.anti-hall/ah-engine/bin/ah-engine doctor
codex features list
test -f .codex/hooks.json && sed -n '1,220p' .codex/hooks.json
```

4. Write sentinel:

```bash
~/.anti-hall/ah-engine/bin/ah-engine codex-activate
```

Codex limitations after activation:

- shell guards are hard hooks
- session/prompt/stop nudges are hooks
- edit-time `edit-guard`, `api-guard` and `ship-it-guard` (existence gate) are hard hooks on `apply_patch` edits (Codex 0.134+) and on shell writes whose target is literal in the command; a target in a variable, a glob or a script is not seen
- subagent lifecycle hooks are not available in Codex today

Use `anti-hall-doctor` to inspect the active state.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.