safe-project-mutation

safe-project-mutation is a skill for Codex from hoatv2211/GameStudio-CodexKIT. It costs 35 tokens per session (1,085 once invoked), scanned A, original, MIT.

A safety process for changing project files or generated data. It separates inspection from editing and requires an exact scope, a backup record, verification and a tested way to restore the previous state.

In plain words
What is it for?
Use it for scripted edits, project scaffolding, configuration rewrites, generated files and asset metadata changes. It does not authorize database writes, publishing, credential changes or destructive cleanup.
Why use it?
It reduces the risk that bulk edits, generated files or configuration changes damage the project or cannot be undone. It also catches unsafe paths and changes outside the approved repository.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; mentions Codex.

Good fit Use it for scripted edits, project scaffolding, configuration rewrites, generated files and asset metadata changes. It does not authorize database writes, publishing, credential changes or destructive cleanup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hoatv2211/gamestudio-codexkit/safe-project-mutation
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 hoatv2211/GameStudio-CodexKIT --skill safe-project-mutation
Clone the repo
git clone --depth 1 https://github.com/hoatv2211/GameStudio-CodexKIT

Made for: 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 safe-project-mutation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hoatv2211/gamestudio-codexkit/safe-project-mutation"><img src="https://agentmods.dev/badge/skills/hoatv2211/gamestudio-codexkit/safe-project-mutation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,085 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.00035 $0.01085
Opus 5.5 $0.00014 $0.00434
Sonnet 5.5 $0.00007 $0.00217
Haiku 4.5 $0.00003 $0.00109

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

Security

Grade A, and why

safe-project-mutation 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/safe_mutation.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/safe-project-mutation/SKILL.md · 89 lines

How it starts

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

Safe Project Mutation

Overview

Separate inspection from mutation. Every applied file change must be scoped, reviewable, restorable, and verified.

When to use

Use for scripted edits, bulk normalization, generated files, project scaffolding, config rewrites, asset metadata operations, or any medium-risk file mutation.

When NOT to use

Do not use this skill as the primary owner for a scaffold or per-project adapter; use studio-project-scaffold and keep mutation safety as its dependency. Do not use it to authorize database writes, service control, publishing, credential changes, destructive cleanup, or edits outside the user-approved repository.

Required inputs and context discovery

Require repository root, exact operations, owned paths, excluded paths, expected before/after state, process/editor locks, reviewer, verification command, backup location, and restore objective.

Safety and risk level

Default to report-only. Reject path traversal, source deletion, out-of-scope writes, unknown generated ownership, active editor/build/server conflicts, missing reviewer, or missing restore information.

Workflow

  1. Normalize every target path and prove it remains inside the approved root. Require a pre-change impact query under code-intelligence-contract before non-trivial code edits; do not expand write scope automatically. Completion criterion: affected paths, source owners, generated authorities, and approved write scope are explicit, or the graph lane is BLOCKED.
  2. If the graph lane is BLOCKED, mutation may proceed only with Decision: REVIEWER_ACKNOWLEDGED_FALLBACK. Record explicit missing graph coverage/blocker, authoritative source owners, known callers/consumers, generated authorities or exact NOT_APPLICABLE, focused test commands, named reviewer, and residual risk. Preserve existing risk, approval, backup, and restore gates; any unresolved generated, cross-repository, or dynamic boundary remains BLOCKED, and graph verdict stays BLOCKED. Completion criterion: fallback fields are complete and approved write scope remains unchanged.
  3. Run report-only mode and calculate proposed changes without writing files. Completion criterion: hashes and diff intent exist while source state is unchanged.
  4. Create backups for existing targets and a manifest for creates, updates, and restore actions. Completion criterion: each operation has a backup or an explicit “created file; remove on restore” action.
  5. Apply only the reviewed manifest. Completion criterion: actual hashes match the manifest’s expected outputs.
  6. Run the declared verification command and capture exit code and artifacts. Completion criterion: success is supported by fresh output or labeled BLOCKED.
  7. Exercise restore in a fixture or provide a verified restore command for the real scope. Completion criterion: the original hashes can be reproduced.

Read the full file on GitHub · 89 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +4 lines 0e75b4416740
  2. 3mo ago First seen · 85 lines · 35 tokens per session scan A 9705ae2dd069

Subscribe to this mod's changes

safe-project-mutation is a skill published in the GitHub repository hoatv2211/GameStudio-CodexKIT (5 stars, last pushed 7d ago), licensed MIT. It adds 35 tokens to every session and 1,085 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

safe-project-mutation compared with skills from other repositories

safe-project-mutation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
safe-project-mutationhoatv2211/GameStudio-CodexKITSkill57d agoMITA35Codex
registry-broker-orchestratorhashgraph-online/registry-broker-codex-pluginSkill13d agoApache-2.0A25Claude Code, Codex
deep-discoveryforsonny/deep-discoverySkill1047mo agoMITA76Claude Code, Codex
prewalkvivekascoder/codex-prewalkSkill13mo agoApache-2.0A33Claude Code
codex-sdd:customizeskyloevil/codex-sddSkill15mo agoMITA30Claude Code, Codex
codex-sdd:archiveskyloevil/codex-sddSkill15mo agoMITA33Claude Code, Codex
codex-sdd:planskyloevil/codex-sddSkill15mo agoMITA31Claude Code, Codex