safety

safety is a skill for Claude Code from princeofscale/bloxforge. It costs 21 tokens per session (634 once invoked), scanned A, original, MIT.

A code map for bloxforge's safety checks, including code that handles Luau strings, comments, protected paths, and script backups. Luau is the programming language used by Roblox.

In plain words
What is it for?
Use it to understand or modify safety assessment, protected-path checks, Luau parsing helpers, safety-tool output, and backup behavior.
Why use it?
It helps you find the code that decides whether a file or script change is safe, including cases where strings and comments could confuse the check.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to understand or modify safety assessment, protected-path checks, Luau parsing helpers, safety-tool output, and backup behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/princeofscale/bloxforge/safety
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 princeofscale/bloxforge --skill safety
Clone the repo
git clone --depth 1 https://github.com/princeofscale/bloxforge

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/princeofscale/bloxforge/safety/github.svg)](https://agentmods.dev/skills/princeofscale/bloxforge/safety)
Your own site
<a href="https://agentmods.dev/skills/princeofscale/bloxforge/safety"><img src="https://agentmods.dev/badge/skills/princeofscale/bloxforge/safety/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/princeofscale/bloxforge/safety"><img src="https://agentmods.dev/badge/skills/princeofscale/bloxforge/safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 634 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.00021 $0.00634
Opus 5.5 $0.00008 $0.00254
Sonnet 5.5 $0.00004 $0.00127
Haiku 4.5 $0.00002 $0.00063

Measured 3mo ago against content hash a833230f83f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

safety 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 3mo 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.

.claude/skills/generated/safety/SKILL.md · 54 lines

How it starts

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

Safety

10 symbols | 2 files | Cohesion: 100%

When to Use

  • Working with code in packages/
  • Understanding how stripLuauStringsAndComments, longBracketLevel, skipLongBracket work
  • Modifying safety-related functionality

Key Files

File Symbols
packages/core/src/safety/safety-manager.ts stripLuauStringsAndComments, longBracketLevel, skipLongBracket, assess, isProtectedPath (+1)
packages/core/src/tools/index.ts isProtectedPath, _safetyGate, _formatSafety, backupScript

Entry Points

Start here when exploring this area:

  • stripLuauStringsAndComments (Function) — packages/core/src/safety/safety-manager.ts:103
  • longBracketLevel (Function) — packages/core/src/safety/safety-manager.ts:108
  • skipLongBracket (Function) — packages/core/src/safety/safety-manager.ts:116
  • isProtectedPath (Function) — packages/core/src/tools/index.ts:331
  • backupScript (Function) — packages/core/src/tools/index.ts:324

Key Symbols

Symbol Type File Line
stripLuauStringsAndComments Function packages/core/src/safety/safety-manager.ts 103
longBracketLevel Function packages/core/src/safety/safety-manager.ts 108
skipLongBracket Function packages/core/src/safety/safety-manager.ts 116
isProtectedPath Function packages/core/src/tools/index.ts 331
backupScript Function packages/core/src/tools/index.ts 324
assess Method packages/core/src/safety/safety-manager.ts 232
isProtectedPath Method packages/core/src/safety/safety-manager.ts 307
_safetyGate Method packages/core/src/tools/index.ts 537
_formatSafety Method packages/core/src/tools/index.ts 555
backupScript Method packages/core/src/safety/safety-manager.ts 324

How to Explore

  1. context({name: "stripLuauStringsAndComments"}) — see callers and callees
  2. query({search_query: "safety"}) — find related execution flows
  3. Read key files listed above for implementation details
  4. explain({target: "<file or symbol>"}) — persisted taint findings (source→sink data flows), when indexed with --pdg

Read the full file on GitHub · 54 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. 3mo ago First seen · 54 lines · 21 tokens per session scan A a833230f83f6

Subscribe to this mod's changes

safety is a skill published in the GitHub repository princeofscale/bloxforge (8 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 634 once invoked, about $0.0001 per session on Opus 5.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

safety compared with skills from other repositories

safety next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
safetyprinceofscale/bloxforgeSkill81mo agoMITA21Claude Code
x-tweet-by-conversationbrowser-act/skillsSkill6.5k27d agoMITA218Claude Code, Codex
oma-scholarfirst-fluke/oh-my-agentSkill1.5ktodayMITA30Claude Code
monorepo-managementwshobson/agentsSkill43kyesterdayMITC54Claude Code
render-3d-product-showcasegooseworks-ai/goose-skillsSkill1.4k3d agoMITA159Claude Code, Codex
render-airdrop-carouselgooseworks-ai/goose-skillsSkill1.4k3d agoMITA207Claude Code, Codex
email-lifecycle-flow-writergooseworks-ai/goose-skillsSkill1.4k3d agoMITA50Claude Code, Codex