← Back to Skills Marketplace
careytian-ai

content-batch-processor(批量内容处理工具,支持文本格式化、摘要生成、关键词提取、文件格式转换等批处理操作,提升内容工作效率。)

by careytian · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
154
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install content-batch-processor
Description
批量内容处理工具,支持文本格式化、摘要生成、关键词提取、多语言翻译等批量操作。
README (SKILL.md)

批量内容处理工具 v1.0.0

高效处理大量文本内容,支持多种批处理操作。

功能特性

1. 文本格式化

  • Markdown 格式转换
  • HTML 清理
  • 统一换行符
  • 移除多余空格

2. 内容摘要

  • 单文档摘要
  • 多文档合并摘要
  • 可定制摘要长度

3. 关键词提取

  • 自动提取关键词
  • 词频分析
  • 主题识别

4. 批量转换

  • 文件格式转换(TXT ↔ MD ↔ HTML)
  • 编码转换
  • 批量重命名

5. 内容分析

  • 字数统计
  • 可读性评分
  • 语言检测

快速使用示例

// 批量格式化多个文件
const files = ['doc1.md', 'doc2.md', 'doc3.md']
files.forEach(f => {
  const content = read({path: f})
  const formatted = formatMarkdown(content)
  write({path: f, content: formatted})
})

// 批量生成摘要
const documents = ['report1.pdf', 'report2.pdf', 'report3.pdf']
const summaries = documents.map(doc => 
  pdf({pdf: doc, prompt: "生成 200 字摘要"})
)

// 批量提取关键词
const articles = readDirectory('./articles')
articles.forEach(article => {
  const keywords = extractKeywords(article.content, 10)
  console.log(`${article.name}: ${keywords.join(', ')}`)
})

// 批量翻译
const texts = ['文本 1', '文本 2', '文本 3']
const translated = texts.map(text => 
  translate(text, {from: 'zh', to: 'en'})
)

// 批量重命名文件
const files = getFiles('./downloads')
files.forEach((file, index) => {
  const newName = `document_${String(index+1).padStart(3, '0')}.md`
  rename(file.path, `./organized/${newName}`)
})

批处理模式

模式 1:顺序处理

// 适合小批量任务
const results = []
for (const item of items) {
  results.push(process(item))
}

模式 2:并行处理

// 适合大批量任务
const results = await Promise.all(
  items.map(item => process(item))
)

模式 3:流式处理

// 适合超大文件
const stream = createReadStream('large-file.txt')
stream.on('data', chunk => {
  process(chunk)
})

使用场景

  1. 内容创作 - 批量格式化文章、生成摘要
  2. 研究分析 - 批量处理论文、提取关键词
  3. 数据清洗 - 批量清理文本数据
  4. 文档管理 - 批量重命名、分类整理
  5. 多语言处理 - 批量翻译文档

性能优化建议

  • 小批量(\x3C10 个文件):顺序处理
  • 中批量(10-100 个文件):并行处理(5-10 并发)
  • 大批量(>100 个文件):分批处理 + 进度保存

相关文件

  • CHANGELOG.md - 版本历史
  • examples/ - 使用示例
  • templates/ - 处理模板

许可证

MIT-0 - 自由使用、修改和分发

Usage Guidance
This skill appears to implement expected batch text operations, but there are a few red flags: (1) metadata lists an 'exec' capability that isn't declared in requires.bins or shown in examples—ask the author why 'exec' is needed. (2) The skill will read and write arbitrary filesystem paths (readDirectory/getFiles/rename); only enable it with non-sensitive test directories or restrict its access. (3) Translation and PDF helper calls may use external services; confirm whether data leaves your environment and whether any API keys/endpoints are used. If you need to trust this skill, request its source or a homepage, or run it in a sandbox and test with dummy data first.
Capability Analysis
Type: OpenClaw Skill Name: content-batch-processor Version: 1.0.0 The skill bundle requests the high-risk 'exec' capability in config.json, which allows for arbitrary shell command execution. While the stated purpose is batch content processing, the documentation in SKILL.md does not explicitly demonstrate or justify the need for shell access, creating an unnecessary attack surface for potential Remote Code Execution (RCE). No explicit malicious payloads or exfiltration attempts were found, but the broad permission set without clear justification warrants a suspicious classification.
Capability Assessment
Purpose & Capability
The stated features (formatting, summarization, keywords, translation, file conversion) align with needing read/write/pdf/image capabilities. However config.json also lists 'exec' and 'edit' in capabilities while the SKILL.md's declared required bins list does not include 'exec' or 'edit'—this mismatch could either be sloppy metadata or indicate the skill expects broader privileges than documented.
Instruction Scope
SKILL.md examples explicitly instruct reading directories, opening files/streams, renaming files, and writing output. Those actions match a batch processor, but they allow arbitrary file path access (read/write/rename) with no limiting scope. The instructions also assume helper functions (translate, pdf(..., prompt: ...), extractKeywords, createReadStream) whose network or external-service behavior is not documented—so data could be processed locally or routed externally depending on platform implementation.
Install Mechanism
Instruction-only skill with no install spec and no code files. Nothing will be downloaded or written at install time according to the provided metadata.
Credentials
No environment variables or external API keys are requested, which is proportionate for local batch processing. That said, the skill's runtime examples call functions (e.g., translate, pdf) that might use network services—no endpoints or keys are declared.
Persistence & Privilege
always:false and user-invocable:true (normal). The skill does not request permanent or automatic inclusion; it does not declare modifying other skills or global agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install content-batch-processor
  3. After installation, invoke the skill by name or use /content-batch-processor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
content-batch-processor v1.0.0 初始发布 - 提供批量文本处理工具,支持格式化、摘要生成、关键词提取和多语言翻译等功能 - 支持多种处理模式:顺序、并行和流式处理 - 支持 Markdown/HTML 格式转换、编码转换和文件重命名 - 内置内容分析功能,包括字数统计、可读性评分和语言检测 - 提供详细的使用示例和性能优化建议
Metadata
Slug content-batch-processor
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is content-batch-processor(批量内容处理工具,支持文本格式化、摘要生成、关键词提取、文件格式转换等批处理操作,提升内容工作效率。)?

批量内容处理工具,支持文本格式化、摘要生成、关键词提取、多语言翻译等批量操作。 It is an AI Agent Skill for Claude Code / OpenClaw, with 154 downloads so far.

How do I install content-batch-processor(批量内容处理工具,支持文本格式化、摘要生成、关键词提取、文件格式转换等批处理操作,提升内容工作效率。)?

Run "/install content-batch-processor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is content-batch-processor(批量内容处理工具,支持文本格式化、摘要生成、关键词提取、文件格式转换等批处理操作,提升内容工作效率。) free?

Yes, content-batch-processor(批量内容处理工具,支持文本格式化、摘要生成、关键词提取、文件格式转换等批处理操作,提升内容工作效率。) is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does content-batch-processor(批量内容处理工具,支持文本格式化、摘要生成、关键词提取、文件格式转换等批处理操作,提升内容工作效率。) support?

content-batch-processor(批量内容处理工具,支持文本格式化、摘要生成、关键词提取、文件格式转换等批处理操作,提升内容工作效率。) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created content-batch-processor(批量内容处理工具,支持文本格式化、摘要生成、关键词提取、文件格式转换等批处理操作,提升内容工作效率。)?

It is built and maintained by careytian (@careytian-ai); the current version is v1.0.0.

💬 Comments