OpenRuna
Sign in

Anthropic / Claude Code — Write

TOOL

Writes a file to the local filesystem. Usage: - This tool will overwrite the existing file if there is one at the provided path. - If this is an existing file, you MUST use the Read tool first to read the file's contents. This tool will fail if you did not read the file first. - ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required. - NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitl

View on GitHub

Overview

Anthropic / Claude Code — Write: a free, copy-ready tool on OpenRuna. Writes a file to the local filesystem. Usage: - This tool will overwrite the existing file if there is one at the provided path. - If this is an existing file, you MUST

What this tool does

"Anthropic / Claude Code — Write" packages a proven tool so you can skip the trial-and-error of writing one from scratch. Writes a file to the local filesystem. Usage: - This tool will overwrite the existing file if there is one at the provided path. - If this is an existing file, you MUST use the Read tool first to read the file's contents. This tool will fail if you did not read the file first. - ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required. - NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitl OpenRuna cross-links it to related prompts, agents, and tools, which makes assembling a full workflow around it straightforward. Open a new conversation and paste it in, wire it into an agent, or keep it in your team's prompt library.

Use cases

  • Keep it in a shared library as the canonical version of this tool for your organisation.
  • Fork it as a baseline and layer in your own project context, constraints, and examples.
  • Reach for it during planning or review sessions when you want consistent, AI-assisted structure.
  • Combine it with related tools and prompts in the same OpenRuna category to build an end-to-end workflow.

Example output

Ask the model to apply "Anthropic / Claude Code — Write" to your scenario and it returns a structured answer — clear sections, actionable steps, and assumptions stated upfront — ready to paste into docs, tickets, or code comments. Add one example of your own and the output quality jumps noticeably.

Tips by platform

Claude

With Claude, drop this tool into Project knowledge so every chat in the project inherits it. Ask Claude to restate the goal first, then run — it catches edge cases early.

ChatGPT

In ChatGPT, start a fresh chat and paste this tool verbatim, then follow up with "apply this to [your context]." Pick a current GPT model for coding or reasoning tasks.

Cursor

Add this tool to your Cursor rules and invoke it from Agent mode for repeatable results. Link back to its OpenRuna page in the rule so the source stays discoverable.

Frequently asked questions

What is "Anthropic / Claude Code — Write"?
It is a tool listed on OpenRuna — Writes a file to the local filesystem. Usage: - This tool will overwrite the existing file if there is one at the provided path. - If this is an existing file, you MUST use the Read tool first to read the file's contents. This tool will fail if you did not read the file first. - ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required. - NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitl You can copy and adapt it for ChatGPT, Claude, Cursor, or any other AI assistant.
Is "Anthropic / Claude Code — Write" free to use?
Most OpenRuna resources are open or CC0-licensed. Check the license shown on this page before commercial use; premium collections are clearly marked as such.
How do I get the best results from this tool?
Replace any placeholders, add your project context, and ask the model to confirm its assumptions first. Iterate over 2–3 follow-up turns rather than expecting a perfect first response.
Does "Anthropic / Claude Code — Write" work with both Claude and ChatGPT?
Yes — it is model-agnostic text, so it runs on Claude, ChatGPT, Gemini, and Cursor. The tips on this page cover each of those assistants specifically.
Where can I find resources related to "Anthropic / Claude Code — Write"?
Scroll to the Related resources section on this page, or open the matching category hub on OpenRuna to find connected prompts, tools, agents, and datasets in the same topic area.

Related resources