Skip to content
Back to skills

Large File Writes

ASecurity

Write large files in append chunks to avoid truncated tool-call arguments.

  • 170 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 11, 2026
documentation

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add InternScience/DrClaw --skill large-file-writes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Large File Writes?

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

Security grade badge for Large File Writes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/internscience-large-file-writes/badge)](https://www.skillsdirectory.com/skills/internscience-large-file-writes)

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: large-file-writes
description: Write large files in append chunks to avoid truncated tool-call arguments.
always: false
---

# Append Mode For Large Files

## Rules

1. Do not send very large content in one `write_file` call.
2. For long outputs, split content into small chunks (for example 600-1200 characters per call).
3. Create/overwrite with the first chunk using:
   - `write_file(path=..., content=..., append=false)`
4. Add remaining chunks using:
   - `write_file(path=..., content=..., append=true)`
5. After chunked writes, verify with `read_file` or `list_dir`.

## When To Use

- Reports, markdown docs, generated code, or data dumps that may exceed model output limits.
- Any case where tool arguments risk truncation.

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…