safety-check

safety-check is a skill for Claude Code, Codex from adonai-labs/agent-runway. It costs 59 tokens per session (589 once invoked), scanned A, original, MIT.

A short risk check for fast code changes, especially when they touch APIs, stored data, security, deployment, or many files.

In plain words
What is it for?
Use it before continuing with changes to contracts, data, authentication, secrets, deployment, or infrastructure, or when a change affects many files.
Why use it?
It helps catch visible reasons to slow down before a change causes wider problems. It also makes clear which checks have and have not been run.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before continuing with changes to contracts, data, authentication, secrets, deployment, or infrastructure, or when a change affects many files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adonai-labs/agent-runway/safety-check
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add adonai-labs/agent-runway --skill safety-check
Clone the repo
git clone --depth 1 https://github.com/adonai-labs/agent-runway

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for safety-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/adonai-labs/agent-runway/safety-check/github.svg)](https://agentmods.dev/skills/adonai-labs/agent-runway/safety-check)
Your own site
<a href="https://agentmods.dev/skills/adonai-labs/agent-runway/safety-check"><img src="https://agentmods.dev/badge/skills/adonai-labs/agent-runway/safety-check/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for safety-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/adonai-labs/agent-runway/safety-check"><img src="https://agentmods.dev/badge/skills/adonai-labs/agent-runway/safety-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 589 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.00589
Opus 5 $0.00030 $0.00295
Sonnet 5 $0.00012 $0.00118
Haiku 4.5 $0.00006 $0.00059

Measured 11d ago against content hash 883922553ef4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

safety-check scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/core/skills/safety-check/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Safety Check

Invoke Skill

@safety-check [optional scope]

Examples:

  • @safety-check
  • @safety-check before publishing
  • @safety-check auth changes

What this skill does

Runs a short risk check before continuing. It is not a full review, not a spec, and not an ADR.

Use it to keep fast work fast while catching obvious reasons to slow down.


Workflow

1. Inspect observable state

Use the available project context:

  • current changed files
  • recent git diff, if available
  • stated task intent
  • files touching public contracts, auth, data, secrets, deployment, or infrastructure
  • tests or validation already run

Do not invent validation. If tests were not run, say so.

2. Classify risk signals

Flag only signals that are actually present.

Signal Examples
Contract API shape, event schema, shared DTO, exported package surface
Data migration, persistence format, irreversible transformation
Security auth, permissions, secrets, input validation, sensitive data
Deployment config, CI/CD, infra, rollout order, runtime compatibility
Blast radius many files, multiple services, cross-layer changes
Unknowns unclear intent, missing acceptance criteria, unverified assumptions

3. Return a verdict

Use exactly one:

  • Go: low risk, reversible, validation path is clear
  • Go with caution: risk exists, but a focused check can manage it
  • Stop: likely to break users/data/security or the task needs design clarity first

4. Output format

# Safety Check

Verdict: Go | Go with caution | Stop

## Risk Signals

- <Signal>: <specific evidence>

## Must Check Before Continuing

- <Command, file, scenario, or manual check>

## Suggested Path

<Continue in Lite, run @checkpoint, or upgrade to Structured.>

Routing

  • If verdict is Go, continue with the current fast path.
  • If verdict is Go with caution, run the listed checks before continuing.
  • If verdict is Stop, recommend upgrading to Structured and using the relevant skill:
    • @architect for design uncertainty
    • @lead for multi-layer implementation
    • @code-review for completed risky changes

Read the full file on GitHub · 97 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 97 lines · 59 tokens per session scan A 883922553ef4

Subscribe to this mod's changes

safety-check is a skill published in the GitHub repository adonai-labs/agent-runway (2 stars, last pushed 21d ago), licensed MIT. It adds 59 tokens to every session and 589 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories