llm-safe-writeSafely write large files or files with CJK/special characters using incremental Edit strategy instead of direct Write. Use when: writing a file longer than 5...
Install via ClawdBot CLI:
clawdbot install thinkdonk/llm-safe-writeGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/ThinkDonk/llm-safe-write.gitAudited Jun 5, 2026 · audit v1.0
Generated Oct 6, 2026
A developer is building an OCR + LLM pipeline that embeds Mandarin prompt strings and Chinese comments throughout a 200-line Python file. Direct Write repeatedly fails with 'Unterminated string' errors, so they use a skeleton plus Edit to insert each localized string safely.
A technical writer needs to produce long Markdown docs containing Japanese headings and tables. Because CJK characters cross buffer boundaries during Write serialization, they scaffold an ASCII skeleton and fill in each Japanese section via Edit.
A data engineer writes a data pipeline that includes Korean regex patterns and stopword lists. The file exceeds 50 lines, so they use placeholder constants and Edit calls to inject the CJK-heavy dictionaries without corrupting the source.
A frontend team writes a React/TS module exporting many components with embedded Simplified Chinese labels. Direct Write triggers JSON truncation, so they generate an ASCII skeleton and replace PLACEHOLDER_* anchors one component at a time.
An agent automating code generation in CI hits intermittent Write failures when producing large files. It uses this skill to detect the failure, switch immediately to skeleton + Edit, and avoid retrying the same failing Write call.
Package the skill as a plugin or middleware layer that wraps the Write/Edit tools of an AI coding agent, automatically routing long or CJK-heavy writes through the skeleton-plus-Edit strategy. It reduces failed writes and wasted tokens in agent pipelines.
Offer a managed service that ingests source templates and returns localized, correctly serialized source files with CJK strings intact. Target teams shipping multilingual software who use AI agents to generate code.
License the skill's safe-write logic to enterprise agent platform vendors who need to guarantee file-writing reliability for large and non-ASCII files in regulated or production environments.
💬 Integration Tip
Wire this skill into the agent's routing layer so it intercepts Write calls when a file exceeds ~50 lines or contains non-ASCII characters, and configure a hard rule to never retry a failed Write with identical content.
Scored Oct 6, 2026
Meta-skill for AI agent self-improvement. Analyzes runtime logs to detect error patterns, regressions, and inefficiencies, then generates structured improvem...
Stop waiting for prompts. Keep working.
Turn OpenClaw into a learning-loop agent with seeded workspace rules, skill promotion, reflective memory, and proactive maintenance.
Meta-agent skill for orchestrating complex tasks through autonomous sub-agents. Decomposes macro tasks into subtasks, spawns specialized sub-agents with dynamically generated SKILL.md files, coordinates file-based communication, consolidates results, and dissolves agents upon completion. MANDATORY TRIGGERS: orchestrate, multi-agent, decompose task, spawn agents, sub-agents, parallel agents, agent coordination, task breakdown, meta-agent, agent factory, delegate tasks
Complete toolkit for creating autonomous AI agents and managing Discord channels for OpenClaw. Use when setting up multi-agent systems, creating new agents, or managing Discord channel organization.
Billions decentralized identity for agents. Link agents to human identities using Billions ERC-8004 and Attestation Registries. Verify and generate authentic...