meta-safety

meta-safety is a skill for Claude Code from gitkb/meta. It costs 38 tokens per session (2,110 once invoked), scanned C, original, MIT.

Guidance for safely working across multiple code repositories, including checking dependencies between them.

In plain words
What is it for?
It supports careful multi-repository development and more efficient repository operations.
Why use it?
It helps prevent changes in one repository from breaking or conflicting with related repositories.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the meta plugin — 6 skills, 1 MCP server shipped together

Good fit It supports careful multi-repository development and more efficient repository operations.

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

Made for: Claude Code.

Or install meta, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gitkb/meta/meta-safety"><img src="https://agentmods.dev/badge/skills/gitkb/meta/meta-safety.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,110 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00038 $0.02110
Opus 5.5 $0.00015 $0.00844
Sonnet 5.5 $0.00008 $0.00422
Haiku 4.5 $0.00004 $0.00211

Measured 12d ago against content hash 06e77953927c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

meta-safety scanned grade C 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 12d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

2. **Preview with --dry-run**: `meta --dry-run exec -- rm -rf node_modules`
claude-plugin/skills/meta-safety/SKILL.md · 151 lines

How it starts

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

Meta Safety Skill

Multi-repo workspaces are powerful but require awareness. Meta gives you precision tools to operate on only what you need, saving turns and avoiding unintended changes. A destructive command reaches every repo meta selects, so the primary checkout is pull-only: change things, and run anything below, inside a worktree set (the meta-worktree skill).

In the commands below, <repo> is a repo's .meta.yaml name or its path from the nearest .meta.yaml (with -r or -A, from the workspace root: a repo of a nested meta repo needs one of them), and <tag> one of its tags; meta -A --json project list lists both. Other names (api, legacy) are examples.

Session Start

  1. meta -A --json project list — the whole workspace map, nested meta repos included, from wherever you are, in one call
  2. meta git status — see state of every repo at once (meta -r git status: the meta repos nested below here too; meta -A git status: the whole workspace)
  3. Note which repos provide shared dependencies (check .meta.yaml for provides/depends_on)

Precision Operations

Instead of cd-ing into repos one by one, use meta flags to target what you need. Include/exclude take whole repos (a .meta.yaml name or the path from the nearest .meta.yaml, with -r or -A from the workspace root), never part of a path, and a value that names no repo is an error; --tag selects only the tagged repos, never the meta root (--include . adds it):

# Target specific repos
meta --include <repo>,<repo> exec -- <command>

# Target by tag (-r: the tags of nested meta repos' projects too)
meta -r --tag <tag> exec -- cargo test

# Exclude repos
meta --exclude <repo> exec -- npm update

# Combine: tagged repos, excluding one, one at a time
meta -r --tag <tag> --exclude <repo> --sequential exec -- make deploy

Before Destructive Operations

  1. Commit first, inside your set:
    meta git status
    meta git add -A && meta git commit -m "wip: before refactor"
    
    meta git commit commits only what is staged. Commit rather than stash: every worktree of a repo shares one stash, so another session's git stash pop can take yours. A backup branch (git branch backup/<name>) keeps only commits, not uncommitted changes.
  2. Preview with --dry-run: meta --dry-run exec -- rm -rf node_modules
  3. Target precisely, not every repo: meta --include <repo> exec -- cargo clean
  4. Know what can't be undone:
    • Push with --force-with-lease, not --force: it refuses to overwrite commits your last fetch didn't bring. A background fetch can defeat that, so look at the remote branch first.
    • Commit before git reset --hard: it discards uncommitted work for good.
    • git clean -fd removes untracked files for good; git clean -nd previews it.

Read the full file on GitHub · 151 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. 12d ago Changed · +18 tokens per session 06e77953927c
  2. 15d ago First seen · 151 lines · 20 tokens per session scan C b7aaeddcd645

Subscribe to this mod's changes

meta-safety is a skill published in the GitHub repository gitkb/meta (20 stars, last pushed 8d ago), licensed MIT. It adds 38 tokens to every session and 2,110 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

meta-safety compared with skills from other repositories

meta-safety next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
meta-safetygitkb/metaSkill208d agoMITC38Claude Code
merge-batchdiegosouzapw/OmniRouteSkill91kyesterdayMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15k3d agoApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.7ktodayMITA20Claude Code, Codex
comet-githubrpamis/cometSkill3.3kyesterdayMITA72Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1k4d agoMITA51Claude Code
codex-autoresearchleo-lilinxiao/codex-autoresearchSkill3.3k11d agoMITA39Codex