据 AlphaMoat 统计,截至 2026-09,PLS Agent Tools 累计下载 3,680 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 2,937 位,在「开发编程」分类(577 个)中排名第 380 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 113 | 3,561 | - | - |
| SkillHub ↗ | 153 | 3,680 | - | — |
各平台的计数口径不同,统计时间不一致。
主文涵盖文件操作、JSON/YAML/TOML 处理、正则转换及常用系统工具。示例命令可能删除或原地编辑文件、停止进程、同步目录或发起网络请求;执行前应审阅命令,并明确文件路径、端口和 URL。 示例需对应工具(如 jq、yq、trash),应核对实际系统语法。先预览重命名冲突、优先可恢复删除,并审阅文件写入、停止进程及联网影响。
资料发布于 2026-10-27
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,680 | — | - |
| 2026-08 | 3,447 | +4.7% | - |
| 2026-07 | 3,291 | +10.8% | - |
| 2026-06 | 2,969 | +6.0% | - |
| 2026-05 | 2,802 | — | - |
| 2026-03 | 2,072 | — | - |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- name: agent-tools description: Digital Swiss Army knife for everyday labor that standard models can't handle out of the box. Use when: (1) Need to manipulate files (rename, move, copy, delete), (2) Working with JSON/YAML/TOML configs, (3) Running system commands safely, (4) Processing text with regex or transformations, (5) Need utility functions for common operations. --- # Agent Tools - Universal Utility Belt A collection of practical utilities for everyday agent operations. ## File Operations
### Safe File Manipulation
Always use `trash` instead of `rm` when possible:
```bash
trash /path/to/file # Safer deletion (recoverable)
```
### Bulk File Operations
```bash
# Rename files with pattern
for f in *.txt; do mv "$f" "${f/.txt/.md}"; done
# Find and delete files older than 7 days
find . -name "*.log" -mtime +7 -exec trash {} \;
# Copy with progress
rsync -av --progress src/ dest/
```
## JSON/YAML Processing
### JSON Operations (jq)
```bash
# Pretty print
jq '.' file.json
# Extract field
jq '.field' file.json
# Update field
jq '.field = "new_value"' file.json > tmp && mv tmp file.json
# Merge JSON files
jq -s 'add' file1.json file2.json
```
### YAML Operations (yq)
```bash
# Read value
yq '.key' file.yaml
# Update value
yq '.key = "value"' -i file.yaml
# Convert YAML to JSON
yq -o=json '.' file.yaml
```
## Text Processing
### Common Patterns
```bash
# Search and replace in files
sed -i '' 's/old/new/g' file.txt
# Extract matches
grep -oP 'pattern' file.txt
# Count occurrences
grep -c 'pattern' file.txt
# Remove duplicate lines
sort file.txt | uniq > deduplicated.txt
# Extract column
awk '{print $2}' file.txt
```
## System Utilities
### Process Management
```bash
# Find process by name
ps aux | grep process_name
# Kill by port
lsof -ti:3000 | xargs kill -9
# Monitor resource usage
htop
```
### Network Operations
```bash
# Check port availability
lsof -i :PORT
# Download with retry
curl --retry 3 -O URL
# Test endpoint
curl -X POST -H "Content-Type: application/json" -d '{"key":"value"}' URL
```
## Encoding/Decoding
```bash
# Base64 encode/decode
echo "text" | base64
echo "dGV4dAo=" | base64 -d
# URL encode/decode
python3 -c "import urllib.parse; print(urllib.parse.quote('text'))"
python3 -c "import urllib.parse; print(urllib.parse.unquote('text%20here'))"
# JSON escape/unescape
jq -R . <<< 'string to escape'
jq -r . <<< '"escaped string"'
```
## Date/Time Utilities
```bash
# Current timestamp
date +%s
# ISO format
date -u +"%Y-%m-%dT%H:%M:%SZ"
# Convert timestamp
date -r 1234567890
# Timezone conversion
TZ="America/Chicago" date
```
## Validation Helpers
```bash
# Validate JSON
jq empty file.json && echo "Valid JSON"
# Validate YAML
python3 -c "import yaml; yaml.safe_load(open('file.yaml'))" && echo "Valid YAML"
# Check JSON schema
check-jsonschema --schemafile schema.json document.json
```
## Quick Reference
| Task | Command |
|------|---------|
| Safe delete | `trash file` |
| Find files | `find . -name "*.ext"` |
| Search in files | `grep -r "pattern" .` |
| Replace text | `sed -i '' 's/old/new/g'` |
| JSON pretty | `jq '.'` |
| YAML read | `yq '.key'` |
| Port check | `lsof -i :PORT` |
| Base64 decode | `base64 -d` |
用 gh 命令行工具查看 GitHub 上的 PR 检查、工作流运行与 API 查询的技能。
聚合 16 个搜索引擎、无需 API Key 的检索技能。
用命令行直接列出、配置、授权并调用 MCP 服务与工具。
生成有效的 Mermaid 图表,如流程图、时序图、思维导图、ER 图、用户旅程等。
用受管 OAuth 访问 YouTube Data API,检索视频并管理频道内容。
通过受管的 OAuth 连接访问 GitHub REST API。
覆盖规划、实现、验证与测试的编码工作流技能。
整理 Docker 常用命令与容器工作流的技能。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。