Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

process-file过程文件

Agent Skill

process-file 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

245

周安装

10

GitHub Stars

5

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:process-file(过程文件)
来源仓库:https://github.com/legacybridge-tech/claude-plugins
仓库路径:skills/process-file
安装命令:
npx skills add https://github.com/legacybridge-tech/claude-plugins --skill process-file
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/legacybridge-tech/claude-plugins --skill process-file

简介

用于查找、检索和筛选相关信息,适合根据关键词快速定位候选结果。

  • 适用于在 Codex、Claude、Cursor、Gemini CLI 中需要线索化搜索的任务场景。
  • 可结合来源仓库和原始 README 进一步核验具体用法和功能边界。
  • 安装前建议确认权限范围、维护状态及是否触发联网或文件读写操作。
  • 安装方式:通过 GitHub 仓库安装,支持 Codex、Claude、Cursor、Gemini CLI。

SKILL.md

Process File Skill

Generic file processing Skill supporting multiple file formats for parsing and intelligent archiving, fully integrated with the AkashicRecords governance system.

When to use this Skill

  • User says "read", "process"
  • User says "archive", "import"
  • User provides file path for processing
  • User wants to integrate external files into knowledge base
  • User provides email, PDF, Office documents, images, etc.

Workflow

1. Initialization - Read Preferences

Check claude.md:

  1. Read current project's claude.md
  2. Look for file-handling-preferences related record
  3. If path found, read preferences file

If no preferences file exists:

  1. Ask user: "This is the first time using process-file skill in this project. Where would you like to create the file handling preferences?"
  2. Suggest default location: file-handling-preferences.md in project root
  3. After user confirmation, create file and record location in claude.md

Preferences file structure:

  • Processing pattern records (by file type and content category)
  • Auto processing settings (whether to allow saving without confirmation)
  • Historical processing records

2. File Type Detection

Detect file type: Determine processing method based on file extension:

TypeExtensionProcessing Tool
Email.emlmu view <filepath>
PDF.pdfmarkitdown <filepath>
Word.docxmarkitdown <filepath>
PowerPoint.pptxmarkitdown <filepath>
Excel.xlsxmarkitdown <filepath>
Image.jpg,.png,.gif,.webp,.bmpRead tool (language model direct read)
Audio.mp3,.wav,.m4a,.aac,.oggAsk user
Video.mp4,.mov,.avi,.webmAsk user

Tool availability check:

  • Check if required tools are installed before execution
  • If mu not installed: Prompt Please install maildir-utils: sudo apt install maildir-utils
  • If markitdown not installed: Prompt Please install markitdown: pip install markitdown

3. Content Extraction

Email (.eml):

mu view <filepath>

Extract: sender, recipient, subject, date, body

PDF/Office documents:

markitdown <filepath>

Convert to markdown format

Images: Use Read tool to directly read image, let language model analyze content:

  • Identify image subject
  • Extract text (if any)
  • Describe image content

Audio/Video:

  1. Ask user for suggested processing method
  2. Possible options:

- Record file metadata only - Use external tool for transcription - Record manual summary

  1. Record user's chosen processing method in project claude.md

4. Content Analysis

Analyze content:

  • Identify topics and keywords
  • Determine content type (technical, personal, work, academic, etc.)
  • Extract important information (dates, people, places, events)

Infer user intent:

  • Archive for storage (long-term preservation)
  • Project update (related to existing project)
  • Record memo (personal notes)
  • Data organization (batch processing)

Match against preferences:

  • Check if preferences file has matching patterns
  • If historical records exist, prioritize suggesting same processing method

5. Directory Discovery

Use akashicrecords mechanism:

  1. Based on content analysis results, build search query
  2. Scan knowledge base directory structure
  3. Read each directory's RULE.md to understand purpose
  4. Evaluate content-to-directory purpose match

Suggestion logic:

  • Technical document + directory purpose "research" → high match
  • Email + directory purpose "communications" → high match
  • Personal photo + directory purpose "personal life" → high match
  • No clear match → suggest Miscellaneous or ask user

6. User Confirmation

Present analysis results:

## File Analysis Results

**File**: [filename]
**Type**: [file type]
**Content Summary**: [brief summary]

**Inferred Intent**: [archive/update/record]

**Suggested Location**: [target directory path]
**Reason**: [why this location was chosen]

**Planned Operation**:
- Call add-content skill
- Format: [according to RULE.md]
- Filename: [suggested filename]

Do you approve this operation?

Wait for confirmation:

  • Default requires user approval
  • If auto_save: true in preferences, can skip confirmation
  • User can modify suggested location or cancel

7. Execute

Call corresponding akashicrecords skill:

  • Add new content → add-content skill
  • Update existing → update-content skill

Format according to target RULE.md:

  • Read target directory's RULE.md
  • Follow naming conventions
  • Apply frontmatter format (if required)

8. Update Preferences

Record this processing experience:

### [Date] [File Type]
- Content characteristics: [key features]
- Target location: [actual storage location]
- Processing method: [skill used]

Learning pattern:

  • Accumulate user preferences
  • Prioritize suggesting same method for similar content next time

Multi-File Processing

When user provides multiple files:

Parallel Analysis

  1. Launch a subagent for each file
  2. Each subagent independently executes Phase 2-5
  3. Wait for all subagents to complete

Consolidated Presentation

## Multi-File Processing Analysis Results

| # | Filename | Type | Content Summary | Suggested Location | Operation |
|---|----------|------|-----------------|-------------------|-----------|
| 1 | file1.pdf | PDF | [summary] | Research/ | add-content |
| 2 | photo.jpg | Image | [summary] | Personal/ | add-content |
| 3 | email.eml | Email | [summary] | Work/ | add-content |

Please choose:
- Approve all
- Confirm individually
- Cancel

Batch Execution

  • After user approves all, execute sequentially
  • When user confirms individually, confirm each file separately

Error Handling

Tool Not Installed

Warning: Cannot process .eml file: mu tool not installed
Please run: sudo apt install maildir-utils

Unsupported File Format

Warning: Unsupported file format: .xyz
How would you like to proceed?
1. Try reading as plain text
2. Record file metadata only
3. Skip this file

Parse Failure

Warning: Unable to parse file content
Error: [error message]
How would you like to proceed?
1. Retry
2. Enter summary manually
3. Skip this file

Integration with Governance

Before operation:

  • Read preferences file
  • Confirm akashicrecords governance structure exists

During operation:

  • Use akashicrecords skills for actual operations
  • Follow target directory's RULE.md

After operation:

  • Update preferences file
  • akashicrecords skills automatically handle README.md updates

Examples

Example 1: Process PDF Paper

User: "Read ~/Downloads/transformer-paper.pdf"

Workflow:

  1. Check preferences → Find historical record "technical paper → Research/Papers/"
  2. Detect.pdf → Use markitdown
  3. Execute markitdown ~/Downloads/transformer-paper.pdf
  4. Analyze content → AI/machine learning topic
  5. Match preferences → Matches "technical paper" pattern
  6. Suggest Research/Papers/AI/
  7. User confirms
  8. Call add-content skill
  9. Update preferences file

Example 2: Batch Process Emails

User: "Archive these emails: email1.eml email2.eml email3.eml"

Workflow:

  1. Detect multiple files → Launch 3 subagents
  2. Each subagent processes in parallel:

- Parse using mu view - Analyze sender, subject, content - Suggest target location

  1. Consolidate results into list
  2. User selects "Approve all"
  3. Execute add-content sequentially
  4. Update preferences

Example 3: Process Image

User: "Process this photo ~/Photos/vacation.jpg"

Workflow:

  1. Detect.jpg → Use Read tool
  2. Language model analyzes image content → "Beach vacation photo"
  3. Check preferences → Find "travel photos → Personal/Travel/"
  4. Suggest Personal/Travel/2025/
  5. User confirms
  6. Call add-content (convert to descriptive markdown)
  7. Update preferences

Best Practices

  1. Always check preferences first - Prioritize historical processing patterns
  2. Confirm before saving - Default requires user approval
  3. Update preferences after success - Accumulate learning user preferences
  4. Use parallel processing - Leverage subagents for multiple files
  5. Handle errors gracefully - Provide alternatives
  6. Integrate with akashicrecords - Use existing skills for operations

Notes

  • Preferences file path is recorded in project claude.md
  • Each project can have different preferences
  • Audio/video processing methods are recorded in claude.md
  • This Skill does not modify files directly, operates through akashicrecords skills

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.27%
按下载量换算26

Claude

29.68%
按下载量换算23

Cursor

19.98%
按下载量换算16

Gemini CLI

8.39%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills