batch-file-processing-assistant

Batch File Processing Assistant: Automates repetitive tasks on large numbers of files such as summarization, initial screening, and extraction. Suitable for scenarios that require processing entire directories (e.g., organizing meeting notes, analyzing reports, or filtering materials). Produces success/failure statistics to help locate problematic files for reprocessing and improve work efficiency.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "batch-file-processing-assistant" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b95c9f1299bdeca957aad08be1fcd08fef61277a11af1855aaa8ac9ffc3abc54. Verify the upstream source and version against https://skillhub.cn/skills/user_c5d41a7d/batch-file-processing-assistant before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Batch File Processing Assistant: Automates repetitive tasks on large numbers of files such as summarization, initial screening, and extraction. Suitable for scenarios that require processing entire directories (e.g., organizing meeting notes, analyzing reports, or filtering materials). Produces success/failure statistics to help locate problematic files for reprocessing and improve work efficiency.

0 Downloads

Introduction source: third_party · user_c5d41a7d · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "batch-file-processing-assistant"
description: "批量文件处理助手"

批量文件处理助手

适用场景

  • 把大量文件摘要、初筛、提取这类重复工作自动化。
  • 自动产出处理统计,便于定位失败项重跑。

功能说明

对目录中的文件逐个调用 AI 自动化平台处理,并输出成功/失败统计。

这个 Skill 能帮你做什么

  • 把大量文件摘要、初筛、提取这类重复工作自动化。
  • 一次运行处理整目录,避免手工逐条发送提示词。
  • 自动产出处理统计,便于定位失败项重跑。

需要的工具/依赖

类型 工具/能力 用途 说明
内置 AI 自动化平台消息调用能力 逐文件执行处理提示词 内置能力
内置 Shell + 文件系统 目录遍历与结果写入 系统命令

快速体验版(先跑一轮)

你是我的文件处理助手。
请先对 ~/Documents/ToProcess 中前 3 个文件做摘要,
把输出写到 ~/Documents/Processed/,并返回成功/失败统计。

稳定自动版(可长期运行)

批处理脚本(参考流程)

#!/bin/bash

SOURCE_DIR="$HOME/Documents/ToProcess"
OUTPUT_DIR="$HOME/Documents/Processed"
AI_WORKFLOW_BIN="ai-workflow"

mkdir -p "$OUTPUT_DIR"

TOTAL=0
SUCCESS=0
FAILED=0

echo "开始批量处理文件..."
echo "源目录:$SOURCE_DIR"
echo "输出目录:$OUTPUT_DIR"
echo "---"

for file in "$SOURCE_DIR"/*; do
    if [ -f "$file" ]; then
        TOTAL=$((TOTAL + 1))
        filename=$(basename "$file")

        echo "处理文件 $TOTAL: $filename"

        # 使用AI 自动化平台处理文件
        # 示例:提取文件摘要
        PROMPT="请分析这个文件并生成摘要:$file"

        if $AI_WORKFLOW_BIN message send --message "$PROMPT" > "$OUTPUT_DIR/${filename}.summary.txt"; then
            SUCCESS=$((SUCCESS + 1))
            echo "✅ 成功"
        else
            FAILED=$((FAILED + 1))
            echo "❌ 失败"
        fi
    fi
done

echo "---"
echo "处理完成!"
echo "总计:$TOTAL 个文件"
echo "成功:$SUCCESS 个"
echo "失败:$FAILED 个"

落地配置建议

  • 先把“批量文件处理助手”拆成一次性试跑和长期自动化两种模式。
  • 先接入一个任务或消息系统做闭环,再扩展到更多工具。
  • 建议保留运行日志、输入样例和最终输出,方便后续复盘和交付验收。

验收口径

  • 能用真实或模拟数据完整跑通一次。
  • 输出结果结构清晰,包含下一步动作或明确结论。
  • 连续运行 3 天,输出稳定且能被用户直接执行。

注意事项

  • 正式接入账号、数据源或自动操作前,先确认权限边界。
  • 涉及联系人、会议和个人数据时,需要最小权限和人工确认。
  • 高风险动作建议默认只生成建议或草稿,不直接执行。

质量等级

  • 难度:入门
  • 风险:中
  • 自动化程度:半自动
  • 适用对象:团队

成功标准

  • 批量任务可稳定跑完并生成统计。
  • 每个输入文件都产生可追溯输出文件。
  • 失败项可单独定位并重跑。

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 批量文件自动化处理功能实用,能有效解决用户重复性任务痛点
  • 提供快速体验版和稳定自动版两种模式,满足不同使用场景
Trigger Precision85/100

Highlights

  • 触发词描述清晰完整,覆盖批量文件处理的核心场景
Structure and Standards72/100

Areas to improve

  • 缺少端到端完整示例 Reported severity: Minor

    文档缺少一个完整的端到端执行示例,用户可能难以理解完整流程

    Recommendation: 建议补充一个包含输入文件、处理过程和输出结果的完整示例

Highlights

  • 文档结构较为完整,包含适用场景、功能说明、配置建议等多个章节
Execution Reliability58/100

Areas to improve

  • 工具来源不明 Reported severity: Major

    脚本中使用了 AI_WORKFLOW_BIN 工具但未说明其来源、安装方式或替代方案

    Recommendation: 建议明确说明该工具的获取方式,或提供替代实现方案

Highlights

  • 脚本包含基本的错误处理和统计功能
  • 提供了详细的处理日志输出
Evidence Verifiability (mean of the first four)73/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.