project-safety

project-safety is a skill for Claude Code from flonat/flonat-research. It costs 57 tokens per session (910 once invoked), scanned A, original, MIT.

A set of rules and folder boundaries for protecting research data, code, results, and paper sources while a project is changed.

In plain words
What is it for?
Use it when starting or restructuring a research project, especially before an agent edits files or runs code.
Why use it?
It reduces the risk of accidental deletion or alteration during file reorganization, automation, or collaborative work.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; $skill-name invocation.

Good fit Use it when starting or restructuring a research project, especially before an agent edits files or runs code.

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

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 project-safety

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/flonat/flonat-research/project-safety"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/project-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 910 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 82
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
How audits are shown
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.00057 $0.00910
Opus 5 $0.00028 $0.00455
Sonnet 5 $0.00011 $0.00182
Haiku 4.5 $0.00006 $0.00091

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

Security

Grade A, and why

project-safety scanned grade A with 1 finding 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 6d 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.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

> "Walk me through your plan for cleaning this data before you run any code."

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/project-safety/SKILL.md · 136 lines

How it starts

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

Project Safety Skill

CRITICAL RULE: Never delete data or code files. Never. Use legacy/ folder for originals. Copy, don't move.

Establish safety rules and structures before Claude makes changes to research projects.

Purpose

Based on Scott Cunningham's workflow: prevent accidental data loss by establishing rules and using legacy folders before Claude reorganizes or modifies project files.

When to Use

  • Starting a new research project folder
  • Before asking Claude to reorganize files
  • When Claude will be running code or modifying data
  • Setting up a project for collaborative work

Safety Rules Template

Add this to any project's CLAUDE.md file:

## Safety Rules

1. **Never delete data files** — No .csv, .dta, .xlsx, .parquet, or any data format
2. **Never delete code files** — No .py, .R, .do, .tex, .md or scripts
3. **Use legacy/ folder** — If reorganizing, move originals to legacy/ first
4. **Copy from legacy, don't move** — Always preserve the original

### If you need to reorganize:
1. Create a legacy/ folder if it doesn't exist
2. Move ALL original files into legacy/
3. Copy (not move) needed files into new structure
4. Never modify anything in legacy/

Directory Structure

After safety setup:

project/
├── CLAUDE.md           ← Safety rules + project context
├── README.md           ← Project documentation
├── legacy/             ← PROTECTED: original files
│   └── [all originals]
├── code/
│   ├── R/
│   ├── python/
│   └── stata/
├── data/
│   ├── raw/            ← Copied from legacy, never modified
│   └── processed/
├── output/
│   ├── figures/
│   └── tables/
├── docs/
│   └── manuscript/
└── log/                ← Progress logs

Dry Run Pattern

Before Claude executes potentially destructive operations, ask for a preview:

"Tell me what commands you would run to reorganize this folder, but don't execute them yet."

"Show me what files would be affected by this change before you make it."

Read the full file on GitHub · 136 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. 6d ago First seen · 136 lines · 57 tokens per session scan A 21ce21b261f4

Subscribe to this mod's changes

project-safety is a skill published in the GitHub repository flonat/flonat-research (132 stars, last pushed 14d ago), licensed MIT. It adds 57 tokens to every session and 910 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories