Skip to content
Back to skills

Always

ASecurity

Create and control a standing Codex project rule such as rebuilding after source changes or testing before a commit. Use for $always and recurring obligations tied to observable tool actions.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentspythonshellbashreactrailstesting

Works with

  • terminal

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add MohammedAtya/guardrail-forge --skill always --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Always?

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

Security grade badge for Always
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mohammedatya-always-guardrail-forge/badge)](https://www.skillsdirectory.com/skills/mohammedatya-always-guardrail-forge)

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: always
description: Create and control a standing Codex project rule such as rebuilding after source changes or testing before a commit. Use for $always and recurring obligations tied to observable tool actions.
---

# Always for Codex

Use the sibling [Forge engine and setup workflow](../forge/SKILL.md) for installation, backtesting, preview, confirmation and adding a rule. Paths in that workflow are relative to the forge skill.

- For creation, identify what makes the task due, what command performs it, how to check completion and when to enforce it. Inspect the project's existing build or test commands. Use the [always-rule schema and fixtures](../forge/reference/rules.md#always-rules). Watch source inputs and exclude generated outputs. Use `Edit|Write|Bash` for file changes.
- Use `Stop` to keep the turn open while work is due, `PreToolUse` for an ordering requirement, or `PostToolUse` for a reminder. Prefer `done_when.newer` for build artifacts. With only `ran`, describe the evidence as observing the command. Codex runs the task through its normal tools. Hook-launched shell checks and conversation triggers using `replying_to` are unsupported.
- Show a short preview with the trigger, task, completion check, deadline, a triggering example, and a near miss before installing it. Explain any weak evidence from the backtest.
- For `$always list`, run `python3 .codex/guardrails/codex_forge.py list --always` in the project. For `$always skip [id]`, `pause [id]`, or `resume [id]`, the UserPromptSubmit hook reads the user's own command. Acknowledge it without writing a synthetic event. Skip clears the current batch, pause lasts for the session, and resume reactivates the rule. For removal, give the user the terminal command in the Forge skill.

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.