# Prompt Simulator

> Dry-run any third-party skill or prompt in a clone of your real files first, review exactly what would change as a diff, and only then decide whether it runs for real. Production files are never touched during the simulation.

Prompt Simulator is a paid AI agent skill on Agensi by 三瓶和寿, in Business & Operations. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [三瓶和寿](https://www.agensi.io/creators/creator-1636)
- Category: [Business & Operations](https://www.agensi.io/skills/business-operations)
- Version: 1.0
- Last updated: 2026-12-05
- Security: scan passed (2026-12-05); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/prompt-simulator
- Tags: project-management, automation, productivity, file-management, security

## What it does

- Clone in-scope production files into an isolated run directory before anything runs
- Generates a change report showing exactly which files will be added or removed
- Flags any attempt by an AI skill to change files outside the area you allowed
- Forces a full backup of your data immediately before any real changes are made
- Provides a step by step recovery plan if you need to undo a production run

## Who it's for

- **Business owners installing new AI tools:** Safely test a new AI skill on a copy of your files before letting it touch your real business data. Try: "I want to try this new lead-gen skill. Simulate it on a clone of my customer folder first."
- **Content creators reorganizing large archives:** See exactly which files will be moved or deleted before you commit to a major library cleanup. Try: "Simulate the cleanup skill on my 2023 archives and show me the diff."
- **Founders managing sensitive ledgers:** Protect your financial or memory files by reviewing AI-driven changes in a virtual sandbox. Try: "Test this accounting prompt in a clone of my ledgers and show me the impact."

## About this skill

Third-party skills and prompts are useful, but running one blind can leave your files, notes, or agent memory changed in ways you did not expect. prompt-simulator is a working procedure, plus three small shell scripts, that adds a rehearsal step before anything runs against your real data.

How it works:
1. Declare the scope. Before anything runs, the target skill's own documentation is used to fix the exact list of files and folders it is allowed to touch. If the scope cannot be enumerated, the run does not happen.
2. Make a clone. make_clone.sh copies the in-scope production files into an isolated run directory (a before/ snapshot, a clone/ working copy, and a manifest mapping clone paths back to production paths). Production is only read, never written.
3. Run once, inside the clone only. The target skill executes against the clone. If it tries to reference a production path, the run stops and is reported.
4. Review the diff. diff_report.sh produces a full report of what changed, was added, or was deleted in the clone, including a complete patch file. Deletions are called out explicitly, with the skill's stated reason.
5. Decide. The diff report is presented as a virtual result — clearly labelled as not yet applied — and the owner decides whether to proceed.
6. Back up, then run. Only after approval, make_backup.sh takes a backup of the production files, and the skill runs for real, following the same scope and steps that were rehearsed. Afterwards the real result is diffed against the backup and compared with the simulation.
7. Restore if needed. If something goes wrong, the backup can be restored following the manifest, with the restore plan shown and confirmed before anything is written back.

Safety rules built into the procedure:
- A simulation never writes to production; all writes stay inside the run directory.
- Simulation results are never recorded as if they had actually happened.
- Deletions are never finalised — in simulation reports or in production — without the owner's explicit confirmation.
- No production run without a backup taken immediately beforehand.
- The helper scripts only read, copy, and diff. They contain no code that writes to or restores production files; restoring is a manual, confirmed procedure.

What's included:
- SKILL.md — the skill definition and operating procedure (step-by-step).
- scripts/make_clone.sh, scripts/diff_report.sh, scripts/make_backup.sh — the helper scripts (bash; they use standard tools such as cp, diff, and find).
- docs/ — the full design and procedure document, plus a written record of the first real application (a memory-curation skill tested against agent memory files), with personal data removed.
- README.md and the MIT LICENSE.

Requirements and notes:
- A bash environment (developed and used on Linux). The scripts operate on local files and need no network access and no API keys.
- The workflow assumes an agent that can read a SKILL.md-style procedure and run shell commands, and a human (or owner agent) who reviews the diff report before approving the real run.
- The skill documentation, design document, and run record are included in English.

## Known limitations

Only simulates changes to local files. Cannot simulate actions on live websites or external APIs. Requires enough disk space to clone the target files.

## Technical details

The skill uses a set of Bash scripts (make_clone.sh, diff_report.sh, make_backup.sh) to manage a versioned workspace. It maintains a manifest.tsv to map virtual paths to production absolute paths. It generates standard .patch files for full diff reviews and enforces a strict 'sandbox-first' workflow before allowing writes to the primary workspace. All simulation data is stored in a structured directory under ~/workspace/prompt-simulator/.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Prompt Simulator skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How does this skill keep my files from getting messed up?

This skill acts as a safety buffer by running new tasks or commands in a virtual workspace first. It prevents you from accidentally losing data or having your folders disorganized by a poorly written prompt or an external tool you have not used before.

### What kind of report will I see after a simulation?

When you ask the skill to test something, it generates a report showing every file that would be changed, added, or deleted. You also get a full comparison file so you can see the exact text changes before they happen for real.

### How do I tell my AI agent to start a simulation?

You can tell your AI agent to simulate a task, try a specific skill in a clone first, or show you the impact before moving to production. It is especially helpful to ask for this when you want to reorganize notes or use a tool you found on social media.

### Are there any things this skill cannot test?

This skill is designed for local files your agent can access and will not work for external websites or cloud applications that do not sync to your local machine. It also requires you to clearly state which folders or files the tool is allowed to touch before the test begins.

### What happens if I approve the changes but then change my mind?

The skill follows a strict rule of taking a full backup immediately before any real changes are applied to your production files. If something goes wrong during the final run, the agent can use that backup to restore your files to their original state after you confirm the plan.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
