Skip to content
Back to skills

Text Editor Oversized Tool Write

ASecurity

Use before calling text_editor in a context that previously failed (oversized_tool_write). A text_editor:write was blocked because the content exceeds the ~5000-char JSON payload limit and would truncate, breaking the tool call.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
ai-agentspython

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add Stranglehold/Exocortex --skill text-editor-oversized-tool-write --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Text Editor Oversized Tool Write?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Text Editor Oversized Tool Write
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/stranglehold-text-editor-oversized-tool-write/badge)](https://www.skillsdirectory.com/skills/stranglehold-text-editor-oversized-tool-write)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: text-editor-oversized-tool-write
description: "Use before calling text_editor in a context that previously failed (oversized_tool_write). A text_editor:write was blocked because the content exceeds the ~5000-char JSON payload limit and would truncate, breaking the tool call."
triggers: ["oversized write", "text_editor", "text_editor write", "write large file", "write long content", "write wiki page"]
success_criterion: "Agent uses code_execution with Python open() for writes >5000 chars instead of text_editor"
confidence: probable
---

# Failure lesson: text_editor — oversized_tool_write

Captured automatically from a recurring error (Cycle-to-Skill Pipeline, Path A, handle_exception). Check this before repeating the operation.

## What happens
A text_editor:write was blocked because the content exceeds the ~5000-char JSON payload limit and would truncate, breaking the tool call.

Observed error: `[MetaGate-SIZE] text_editor:write blocked — content is 7,103 chars, exceeds the ~5000 char JSON payload limit and will truncate. Use code_execution_tool with Python open() instead:`

## Avoid
- Do NOT retry text_editor:write with the same oversized content — it will be blocked again

## Do instead
- Use code_execution_tool with Python open()/write for large content
- Or write in append-mode chunks, each under ~5000 chars

Files in this skill

  • .memory.md4.3 KB
  • SKILL.md1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.