smithery.ai

readonly-mode

Enable read-only mode for safety enforcement. Use when the agent or user wants to protect the project from modifications.

First seen Apr 19, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 977 B
  • docs SUMMARY.md 102 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Read-only mode

GOAL: Activate read-only mode by creating the .gemini_readonly marker file.

WHEN: Invoke this skill when you need to ensure no further write operations occur in the current session or when explicitly requested by the user.

NOTE: This skill creates a file that whitelisted hooks use to block write-capable tools.

Efficiency directives

  • Optimize all operations for agent, token, and context efficiency
  • Target only relevant files
  • Don't use your task management system for this skill
  • Don't perform a vibe check for this skill

Workflow

  • Execute scripts/enable-readonly-mode.sh
  • DONE

Output

Files created/modified:

  • .gemini_readonly - Marker file to enable read-only mode.

Status communication: Report status of script operation.