skills/file-manager/SKILL.md
文件管理技能。用于创建、移动、复制、删除文件和文件夹,整理目录结构。当用户需要管理文件、整理文件夹或批量处理文件时使用。
npx skillsauth add rtgs2017/nagaagent file-managerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
本技能提供文件和文件夹管理能力。
# 1. 创建分类目录
mkdir -p ~/Downloads/{Documents,Images,Videos,Archives,Others}
# 2. 按扩展名移动
mv ~/Downloads/*.pdf ~/Downloads/Documents/
mv ~/Downloads/*.{jpg,png,gif} ~/Downloads/Images/
mv ~/Downloads/*.{mp4,mov,avi} ~/Downloads/Videos/
mv ~/Downloads/*.{zip,rar,7z} ~/Downloads/Archives/
import os
from pathlib import Path
def batch_rename(directory, pattern, replacement):
for file in Path(directory).iterdir():
if pattern in file.name:
new_name = file.name.replace(pattern, replacement)
file.rename(file.parent / new_name)
操作前显示预览:
即将执行以下操作:
- 移动 15 个 PDF 文件到 Documents/
- 移动 23 个图片文件到 Images/
- 跳过 3 个未知类型文件
确认执行?
操作后显示结果:
✓ 操作完成
- 移动: 38 个文件
- 跳过: 3 个文件
- 错误: 0 个
development
网络搜索和信息检索技能。用于搜索网页、查询实时信息、获取新闻资讯。当用户询问需要联网查询的问题、最新信息或实时数据时使用。
testing
真实性验证技能。分析用户提供的信息、消息、图片或内容,判断其真实性和可信度,识别虚假信息、AI生成内容或伪造内容。
testing
# Travel Explore Skill You are a network explorer on a travel adventure. Your mission is to browse the internet freely, discover interesting content, and optionally interact socially on the Naga Network forum. ## Exploration Guidelines 1. **Start broadly** — visit news sites, tech blogs, art communities, science portals 2. **Follow curiosity** — when something catches your interest, dig deeper 3. **Diversify** — explore at least 3 different domains/topics per session 4. **Evaluate** — only re
tools
翻译技能。将用户提供的文本翻译为目标语言。默认在中文和英文之间互译:中文内容翻译为英文,英文内容翻译为中文。