skill-safe-commands

skill-safe-commands is a skill for Claude Code, Codex from MatrixFounder/Agentic-development. It costs 24 tokens per session (1,716 once invoked), scanned A, original, Apache-2.0.

A shared list of shell and Git commands that an coding agent may run automatically without asking for approval.

In plain words
What is it for?
It helps agents inspect files and Git history, read file information, and carry out a small set of documented, non-destructive document moves.
Why use it?
It gives other instructions one consistent safety list, reducing duplicated or conflicting command rules.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/matrixfounder/agentic-development/skill-safe-commands
Any agent
npx skills add MatrixFounder/Agentic-development --skill skill-safe-commands
Clone the repo
git clone --depth 1 https://github.com/MatrixFounder/Agentic-development

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 skill-safe-commands

README.md
[![agentmods](https://agentmods.dev/badge/skills/matrixfounder/agentic-development/skill-safe-commands.svg)](https://agentmods.dev/skills/matrixfounder/agentic-development/skill-safe-commands)
Your own site
<a href="https://agentmods.dev/skills/matrixfounder/agentic-development/skill-safe-commands"><img src="https://agentmods.dev/badge/skills/matrixfounder/agentic-development/skill-safe-commands.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,716 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00024 $0.01716
Opus 5 $0.00012 $0.00858
Sonnet 5 $0.00005 $0.00343
Haiku 4.5 $0.00002 $0.00172

Measured 3d ago against content hash c6d03a7c8fef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skill-safe-commands 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 3d 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.

.agent/skills/skill-safe-commands/SKILL.md · 124 lines

How it starts

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

Safe Commands Protocol

This skill defines all commands that are SAFE TO AUTO-RUN without user approval.

[!IMPORTANT] This is the single source of truth for Safe Commands. All other skills and prompts should reference this skill instead of duplicating the list.

Auto-Run Command Categories

Category Commands Reason
Read-only ls, cat, head, tail, find, grep, rg, fd, tree, wc, echo Do not modify state
Symlink-aware find -L, ls -L, rg --follow / rg -L, fd -L Read-only, but follow symlinks into framework dirs (.agent/, .agents/, .cursor/skills/, System/, .agentic-development/). Plain find/ls/rg do not descend into symlinked directories
File info stat, file, du, df Informational only
Git read git status, git log, git diff, git show, git branch, git remote, git tag Read-only git operations
Archiving mv docs/TASK.md docs/tasks/..., mv docs/PLAN.md docs/plans/... Documented, non-destructive moves (TASK/PLAN rotate in lockstep)
Directory mkdir -p docs/tasks, mkdir -p docs/plans, mkdir -p docs/architectures, mkdir -p .agent/skills/* Idempotent operations
Tool calls generate_task_archive_filename, list_directory, read_file Native tools
Framework scripts python3 .agent/skills/skill-session-state/scripts/update_state.py, python3 .agent/tools/task_id_tool.py, python3 .agent/tools/rebase_links.py, python3 .agent/skills/skill-creator/scripts/validate_skill.py, python3 .agent/skills/skill-creator/scripts/init_skill.py, python3 .agent/skills/artifact-formalizer/scripts/scan_register.py, python3 .agent/skills/artifact-formalizer/scripts/selftest_scan.py, python3 System/scripts/doctor.py Framework automation
Testing python -m pytest ..., npm test, npx jest, cargo test Tests don't modify source code

[!IMPORTANT] artifact-formalizer/evals/run_authoring.py is deliberately NOT on this list. The other two eval scripts read files and spawn nothing. run_authoring.py spawns claude -p once per arm per case and spends tokens, so it requires approval on every invocation.

Read the full file on GitHub · 124 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. 3d ago First seen · 124 lines · 24 tokens per session scan A c6d03a7c8fef

Subscribe to this mod's changes

skill-safe-commands is a skill published in the GitHub repository MatrixFounder/Agentic-development (5 stars, last pushed 20d ago), licensed Apache-2.0. It adds 24 tokens to every session and 1,716 once invoked, about $0.0001 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.