AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Chunked File Writer

skill-beizi6-anti-aigc-zh-chunked-file-writer · by BeiZi6

|

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add skill-beizi6-anti-aigc-zh-chunked-file-writer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-beizi6-anti-aigc-zh-chunked-file-writer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
5mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Chunked File Writer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Chunked File Writer — 大文件安全写入策略

为什么需要这个 skill

单次响应有输出 token 上限。当 Write 工具的 content 参数过长时,内容会被静默截断——文件看起来写入成功了,但实际只有开头片段。更危险的是,重复调用 Write 会得到完全相同的截断结果,陷入无效循环。

这个问题在以下场景尤其常见:

  • 含大量 LaTeX 公式的学术笔记(公式 token 密度极高)
  • 长篇 Markdown 文档(课本总结、技术文档)
  • 包含多个表格或代码块的文件

核心规则

1. 写入前必须估算内容量

在调用任何写入工具之前,先估算待写入内容的 token 量:

  • 中文文本:约 1.5 token/字
  • LaTeX 公式:约 3-5 token/字符(比纯文本密度高 2-3 倍)
  • 表格、代码块:约 2 token/字符

粗略判断标准:

  • "文件名.md" 4000 tokens ──→ 优先 Agent 子进程

写入后验证 │ ├─ 内容完整 ──→ 完成 │ └─ 内容截断 ──→ 立即切换策略(禁止原样重试)


## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [BeiZi6](https://github.com/BeiZi6)
- **Source:** [BeiZi6/anti-aigc-zh](https://github.com/BeiZi6/anti-aigc-zh)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.