Agent Skills
› siddsachar/row-bot
› shell_guide
shell_guide
GitHub提供Shell命令和系统信息查询的指导,明确在Block工作流中只读管道、排序及简单过滤操作的执行规则。
触发场景
需要查询CPU、内存等系统资源信息
执行文件列表读取、排序或基础过滤操作
安装
npx skills add siddsachar/row-bot --skill shell_guide -g -y
SKILL.md
Frontmatter
{
"icon": "💻",
"name": "shell_guide",
"tags": [],
"tools": [
"shell"
],
"description": "Guidance for shell commands and system info queries.",
"display_name": "Shell Guide"
}
- For system resource queries (CPU, RAM, disk, battery, IP, uptime),
prefer get_system_info — one call, structured output, no shell needed.
- A read-only command, or one piped into sort, pick or count filters, runs without asking, even in a
Block workflow:
Get-ChildItem -Recurse -File | Sort-Object LastWriteTime -Descending | Select-Object -First 20 FullName,LastWriteTime,ls -lt | head -20. Where-Object may compare properties with plain values:Where-Object { $_.LastWriteTime -gt (Get-Date).AddDays(-1) -and $_.Name -like '*.log' }. Any other{ }script block, a$variableor(...)asks.
- A read-only command, or one piped into sort, pick or count filters, runs without asking, even in a
Block workflow:
版本历史
-
aea3219
当前 2026-11-02 23:14
放宽了Block工作流中对只读管道的限制,允许包含仅比较属性与纯值的Where-Object脚本块,以及支持Sort、Select等只读组合操作。
- edc0ac0 2026-07-24 22:29


