# Safe execution edho ferdian

> Safe execution edho ferdian is an open-source agent skill for developer tools. Adds mechanical gates that make an agent inspect before editing, guard destructive. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/edhoferdian/EEF/tree/main/.agents/skills/safe-execution-edho-ferdian
- **Repository:** https://github.com/edhoferdian/eef
- **GitHub stars:** 22
- **License:** MIT
- **Skill name:** safe-execution-edho-ferdian
- **Collection:** https://github.com/edhoferdian/EEF
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill sets up pre-action and post-session checks for AI coding agents. Before the first edit to an existing or new file, the agent must gather facts such as importers, affected public names, data shapes and the user's instruction quoted verbatim. The depth of that check scales with what the edit touches, so cosmetic changes pass straight through while changes to public surfaces or data formats face a fuller requirement.

The skill also watches for destructive shell commands such as recursive deletes, forced git operations and database drops. Each hit requires listing the affected targets and a rollback step before running. Recursive searches from filesystem roots are refused outright. A freeze mode can restrict writes to a named subtree, which suits unattended or parallel agents, and a stop check blocks declaring work done when project memory files were not updated during a substantial session.

The guidance is written so it can be followed by hand in any harness. A Node hook script with no dependencies is included for Claude Code, which turns watched commands into permission prompts. The skill references a companion skill for git operations and deployments, and a worked-examples reference file.

## When your agent uses it

> Mechanical gates for agent runs: investigate before the first edit, guard destructive commands, freeze write scope for autonomous or parallel agents, block "done" until memory is updated. Use for autonomous or production work, or "jangan sampai kehapus", "agent-nya nulis di luar scope", "pastiin dia ngecek dulu".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript scripts](https://github.com/edhoferdian/EEF/tree/HEAD/.agents/skills/safe-execution-edho-ferdian)
- [Network calls found in its scripts](https://github.com/edhoferdian/EEF/tree/HEAD/.agents/skills/safe-execution-edho-ferdian)
- [License: MIT](https://github.com/edhoferdian/EEF/tree/HEAD/.agents/skills/safe-execution-edho-ferdian)

## Features

- **Pre-edit fact gate:** Requires the agent to gather importers, affected public names and data shapes before touching a file, scaled to the change.
- **Destructive command guard:** Flags commands like recursive deletes, forced git pushes and database drops, asking for targets and a rollback first.
- **Root search refusal:** Blocks recursive filesystem-wide searches that can run for hours and leave orphaned processes behind.
- **Write scope freeze:** Limits writes to an assigned subtree for unattended or parallel agents, with reads left open.
- **Memory update stop check:** Blocks completion in substantial sessions when project memory files have not been updated.
- **Claude Code hook:** Includes a dependency-free Node hook that turns watched commands into permission prompts.

## Good for

- Make the agent check importers before refactoring a shared module
- Stop an autonomous agent from running destructive git or shell commands unchecked
- Keep parallel agents from writing outside their assigned folders
- Prevent an agent from claiming a task is finished before notes are saved
- Install a guard hook that prompts before risky commands in Claude Code

## Install

### Claude Code

This skill ships in the `ekosistem-edho-ferdian` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add edhoferdian/EEF
/plugin install ekosistem-edho-ferdian@eef-marketplace
```

Or copy only this skill to `~/.claude/skills/safe-execution-edho-ferdian`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/safe-execution-edho-ferdian &&
cp -R "$tmp/.agents/skills/safe-execution-edho-ferdian" ~/.claude/skills/safe-execution-edho-ferdian &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/safe-execution-edho-ferdian` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/safe-execution-edho-ferdian` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/safe-execution-edho-ferdian &&
cp -R "$tmp/.agents/skills/safe-execution-edho-ferdian" ~/.agents/skills/safe-execution-edho-ferdian &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/safe-execution-edho-ferdian` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/safe-execution-edho-ferdian` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/safe-execution-edho-ferdian &&
cp -R "$tmp/.agents/skills/safe-execution-edho-ferdian" ~/.cursor/skills/safe-execution-edho-ferdian &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/safe-execution-edho-ferdian` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/edhoferdian/EEF.git --path .agents/skills/safe-execution-edho-ferdian
```

Or copy the folder to `~/.gemini/skills/safe-execution-edho-ferdian` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/safe-execution-edho-ferdian`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/edhoferdian/EEF.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/safe-execution-edho-ferdian &&
cp -R "$tmp/.agents/skills/safe-execution-edho-ferdian" ~/.copilot/skills/safe-execution-edho-ferdian &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/safe-execution-edho-ferdian` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/edhoferdian/EEF.git
```

Then copy `EEF/.agents/skills/safe-execution-edho-ferdian` into your agent's skills folder as `safe-execution-edho-ferdian`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

The guidance works by hand in any harness. The optional Claude Code hook is Node with no dependencies and is installed through the eef-install command.

### Does Safe execution edho ferdian change how the agent edits files?

Before the first edit to a file, the agent must produce facts such as importers, affected public functions and data shapes, and quote the user's instruction. Later edits to the same file proceed freely.

### Which commands does the destructive guard watch?

It lists rm -rf, git reset --hard, git push --force, git checkout ., git clean -fd, DROP TABLE, docker system prune, kubectl delete, chmod 777, sudo rm, npm publish and any use of --no-verify, plus PowerShell equivalents.

### Does the hook block commands outright?

Watched destructive commands raise an ask prompt rather than being silently allowed or denied. Root-level recursive searches are denied outright, and the hook fails open on input it cannot parse.

### How do I install Safe execution edho ferdian in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/safe-execution-edho-ferdian to use it in all your projects, or to .claude/skills/safe-execution-edho-ferdian in one project. Or install the ekosistem-edho-ferdian plugin, which includes it: /plugin marketplace add edhoferdian/EEF, then /plugin install ekosistem-edho-ferdian@eef-marketplace.

### Does Safe execution edho ferdian run scripts?

Yes. It runs JavaScript scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Safe execution edho ferdian?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Safe execution edho ferdian?

The closest alternatives to Safe execution edho ferdian are Session hardening, Guardrail tester, Speclock guardrails, Rules to guards and Codebase comprehension.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Session hardening](https://ai-powered.com/skills/session-hardening): Session hardening is an open-source agent skill for developer tools.
- [Guardrail tester](https://ai-powered.com/skills/guardrail-tester): Guardrail tester is an open-source agent skill for security.
- [Speclock guardrails](https://ai-powered.com/skills/speclock-guardrails-sgroy10): Speclock guardrails is an open-source agent skill for security.
- [Rules to guards](https://ai-powered.com/skills/rules-to-guards): Rules to guards is an open-source agent skill for developer tools.
- [Codebase comprehension](https://ai-powered.com/skills/codebase-comprehension): Codebase comprehension is an open-source agent skill for developer tools.
- [Ecc workflow](https://ai-powered.com/skills/ecc-workflow): Ecc workflow is an open-source agent skill for developer tools.
- [Principle build the lever](https://ai-powered.com/skills/principle-build-the-lever): Principle build the lever is an open-source agent skill for developer tools.
- [Principle never block on the human](https://ai-powered.com/skills/principle-never-block-on-the-human): Principle never block on the human is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/safe-execution-edho-ferdian
