秒搜本地文件,精准定位不迷路
简介
本地文件搜索助手,快速定位 PC 上的文档,仅读取元数据不修改文件,安全轻量。
原始描述
Helps locate local files by searching common directories for a specified file name or partial name on Windows, macOS, and Linux.
通过你的 Agent 添加
安装目录:findfilepath/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
---
name: find-local-file
description: Helps users locate local files on a PC by providing a file name
---
Find Local File
This skill helps users find local files on a PC with openclaw installed by searching for a file using its name.
When to Use This Skill
Use this skill when the user:
- Asks to find a file on their computer
- Provides a file name and wants to know where it is stored
- Is unsure whether a file exists locally
- Wants to locate a document without opening it
Supported Platforms
- Windows
- macOS
- Linux
Input Requirements
The user needs to provide:
- A file name (e.g.
report.pdf,notes.txt,config.json)
Optional:
- Partial file name
- File extension
How to Help Users
Step 1: Confirm the File Name
- Extract the file name from the user input
- Ask for clarification if the name is ambiguous
Step 2: Search the Local File System
- Search common directories:
- Home directory
- Desktop
- Documents
- Downloads
- Optionally expand to the entire disk if needed
Step 3: Present Results
- Show a list of matching files
- Display full file paths
- Indicate if multiple matches are found
- Home directory
- Desktop
- Documents
- Downloads
- Show a list of matching files
- Display full file paths
- Indicate if multiple matches are found
Example output:
Found 2 files:
C:\Users\Alice\Documents\report.pdf
C:\Users\Alice\Downloads\report.pdf
Step 4: Ask for Next Action
- Open the file
- Narrow the search
- Search by file type
When No Files Are Found
- Inform the user that no matching files were found
- Suggest checking spelling or file extension
- Offer to search broader locations or by partial name
Safety & Scope
- This skill only reads file metadata (name and path)
- It does not modify or delete files
- It does not upload or share files
- Inform the user that no matching files were found
- Suggest checking spelling or file extension
- Offer to search broader locations or by partial name
Safety & Scope
- This skill only reads file metadata (name and path)
- It does not modify or delete files
- It does not upload or share files
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。