Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/group_by_name
按文件名的规则将文件分组整理到不同目录。当用户提到按名称分组文件、整理文件、自动归类时使用。
Passed 21 of 22 test cases with the skill, and 7 of 22 without it.
and 22 more in the full report
15 fixed6 passed either way0 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 15 test cases the skill fixed. Same model, same prompt, with and without the skill.
Please sort the files inside `./archive_data` into folders according to their filename naming patterns, and delete the original unsorted files once they are grouped.
| Checked | Without skill | With skill |
|---|---|---|
| The script calls group_by_name from skills.file. | Missed | Passed |
| The call sets path='./archive_data'. | Missed | Passed |
| The call sets del_old_file=True. | Missed | Passed |
The instructions your model reads when the skill loads.
按名称分组整理文件
按文件名的前缀或规则,将文件分组整理到不同目录中。
⚠️ TODO: 该功能为历史功能,行为待测试。
office/skills/file/group_by_name/
from skills.file import group_by_name
group_by_name(
path='./data',
output_path=None,
del_old_file=None
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
path | str | 是 | - | 路径 |
output_path | str | 否 | None | 输出路径 |
del_old_file | bool | 否 | None | 是否删除旧文件 |
None
test cases passed, vs 7 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.