shell-command

在允许工作区内运行非交互式 shell 命令的工具。流程要求首先完整读取 builtin://shell_command/SKILL.md 以获取 skillToken(此次读取无需 skillToken),不得使用正则或部分读取来仅获取令牌。后续调用若未提供正确 skillToken 将失败且需重试。对搜索、发现、广泛清单和文件计数时,优先使用 rg 或 rg --files,而非递归列出,并排除依赖文件夹、VCS 元数据、构建输出、虚拟环境和缓存,如 node_modules、.git、target、dist、build、coverage、.next、.cache、.venv 和 __pycache__。

仓库最近推送
GitHub Stars
159
Forks
48
Issues / PRs
2

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "shell-command":https://skillpi.com/zh/skills/deepskill-205c8f971afb477f0f2b843ab789f0b85cedd23b2279e1e63c3da07efb269512。安装前核对上游来源和版本:https://github.com/aiguicai/MCP-Gateway。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在允许工作区内运行非交互式 shell 命令的工具。流程要求首先完整读取 builtin://shell_command/SKILL.md 以获取 skillToken(此次读取无需 skillToken),不得使用正则或部分读取来仅获取令牌。后续调用若未提供正确 skillToken 将失败且需重试。对搜索、发现、广泛清单和文件计数时,优先使用 rg 或 rg --files,而非递归列出,并排除依赖文件夹、VCS 元数据、构建输出、虚拟环境和缓存,如 node_modules、.git、target、dist、build、coverage、.next、.cache、.venv 和 __pycache__。

0 下载

介绍来源: third_party · aiguicai · 0.0.1 参考来源

SkillPi 解读

输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: shell_command
description: >-
  Run non-interactive shell commands inside an allowed workspace. First read the
  complete builtin://shell_command/SKILL.md to get skillToken; this SKILL.md
  read does not require skillToken. Do not use regex or partial reads to fetch
  only the token. Later calls without the correct skillToken will fail and must
  be retried, so get the token before running real commands. For search,
  discovery, broad inventories, and file counts, prefer rg or rg --files before
  recursive shell listings, and exclude dependency folders, VCS metadata,
  generated outputs, virtual environments, and caches such as node_modules,
  .git, target, dist, build, coverage, .next, .cache, .venv, and __pycache__.
metadata:
  bundled: true
  tool: shell_command
  category: terminal

Shell Command

Use this bundled skill when the task is best handled by a terminal command: listing files, searching text, reading files, checking Git state, running builds/tests/formatters, starting a local dev server, or executing a project script.

This skill is intentionally a small terminal orchestration layer. It follows the same practical pattern used by coding agents such as Codex: keep commands non-interactive, keep the working directory explicit, prefer fast search/read tools, stream output back to the model, and let policy decide whether sensitive commands are allowed, denied, or require user confirmation.

Global Search And Discovery Priority

  • Treat rg as the default first tool for all project exploration and narrowing work, including project structure, file discovery, code navigation, symbol lookup, call-site discovery, config lookup, workflow tracing, tests, routes, error messages, broad inventories, and "where is this implemented?" questions.
  • Use rg to locate candidate files and line numbers before reading file contents. Do not read many whole files to discover where something lives.
  • Use rg --files first for project structure, file discovery, broad inventories, and file counts.
  • Use rg -n "pattern" path first for text/code search, workflow tracing, symbol references, config keys, routes, CLI commands, and error strings.
  • Use rg -n -m 20 "pattern" path when the initial result could be large.
  • Use rg --files | rg "name-or-extension" for fast filename narrowing.
  • Use git ls-files for "tracked files only" counts or inventories.
  • Use Get-ChildItem only for simple, shallow Windows directory listings, for example Get-ChildItem -Name or Get-ChildItem -Name -Filter *.rs.
  • Do not use Get-ChildItem -Recurse, find . -type f, dir /s, ls -R, or du for repository-wide discovery, search, inventories, or counts unless the command includes explicit exclusions and rg is unavailable.
  • Never treat dependency folders, VCS metadata, generated outputs, virtual environments, or caches as meaningful project files in broad counts.

If rg is not found, use git ls-files for tracked-file discovery before falling back to platform recursive listings. When falling back to recursive listings, include explicit exclusions for dependency folders, VCS metadata, generated outputs, virtual environments, and caches.

Project And Workflow Navigation With Ripgrep

Use rg as the main project navigation tool, not just as a project-structure tool and not only as a code-search tool. The normal investigation loop is:

  1. Start with rg --files when you need the project shape, likely directories, file names, or extension distribution.
  2. Search names, strings, routes, config keys, error text, workflow steps, CLI commands, tests, or public API shapes with rg -n.
  3. Narrow by directory, extension, or file name when the result is broad.
  4. Read only the few matching files or line ranges after the likely location is known.
  5. Repeat with nearby identifiers from those results until the implementation path is clear.

Prefer this pattern over opening many files and scanning them manually. Reading file contents is for understanding confirmed candidates; rg is for finding those candidates.

Useful patterns:

  • Find symbol references: rg -n "SkillConfirmation|handle_builtin_shell_command" crates
  • Find routes, commands, or config keys: rg -n "tools/call|skillToken|allowedDirs" .
  • Find likely files first, then search inside them: rg --files | rg "skill|tool|config"
  • Limit noisy searches: rg -n -m 20 "pattern" path
  • Search specific file types: rg -n "pattern" -g "*.rs" -g "*.ts" .

Operating Model

  • Always set cwd to the concrete directory where the command should run.
  • cwd must be inside one configured allowed directory.
  • If more than one allowed directory is configured and the user did not specify the target workspace, ask which directory should be used before running a command.
  • Use one command string in exec; the gateway runs it through the platform shell. Do not include a shell executable prefix unless you intentionally need a nested shell.
  • On Windows, commands are run through powershell -NoProfile -ExecutionPolicy Bypass -Command ... with UTF-8 handling. Write the exec string as PowerShell code by default; do not prefix normal commands with powershell.
  • On Unix-like systems, commands are run through sh -lc .... Write the exec string as POSIX shell code by default.
  • Commands are non-interactive. Do not launch editors, pagers, REPLs, curses/full-screen UIs, or prompts that wait for input.
  • Use timeoutMs when a command may take longer than the configured default. Keep it bounded.
  • Treat shell commands as the wrong default for manual file edits. When the task is to create, edit, delete, move, or rewrite source/config/docs files by hand, prefer the bundled multi_edit_file skill first.

Windows PowerShell Style

On Windows, treat PowerShell as the primary shell. The gateway already launches the exec text through PowerShell and configures UTF-8 input/output before running the requested command. This means exec should usually be Get-ChildItem -Name, not powershell Get-ChildItem -Name. The UTF-8 handling covers terminal text encoding; it does not make cmd.exe-specific syntax valid inside PowerShell.

External programs are still called directly from PowerShell:

  • git status --short
  • cargo test
  • npm run lint
  • rg -n "pattern" src

Prefer native PowerShell cmdlets and parameters for shallow filesystem operations. For codebase navigation, search, discovery, feature tracing, broad inventories, and counts, use rg first.

  • List files: Get-ChildItem -Name, Get-ChildItem -Name -Filter *.js
  • List a specific directory: Get-ChildItem -LiteralPath "D:\path with spaces" -Name
  • Read a file: Get-Content -LiteralPath file.txt -TotalCount 200
  • Test a path: Test-Path -LiteralPath "D:\path"
  • Remove a file only when clearly requested and allowed: Remove-Item -LiteralPath file.txt
  • Set an environment variable for later commands in the same exec: $env:NAME = 'value'; npm test
  • Run a command only if the previous external command succeeded: cargo fmt --check; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }; cargo test

Assume Windows PowerShell compatibility unless the environment explicitly says pwsh is used. Avoid PowerShell 7-only operators such as && and || for control flow in Windows examples.

Avoid cmd.exe built-ins and switches unless you explicitly invoke cmd.exe as a fallback. In PowerShell, commands such as dir /b, copy, del, type, set NAME=value, and %VAR% expansion do not behave like they do in cmd.exe. For example, dir /b is wrong in PowerShell because /b is parsed as a path; use Get-ChildItem -Name instead.

Use cmd.exe only for compatibility with a command that genuinely requires cmd.exe syntax:

  • cmd.exe /d /c dir /b *.js
  • cmd.exe /d /c some-legacy-script.bat

Keep the cwd argument set to the target workspace even when using cmd.exe as a fallback. Do not switch directories inside the command unless a project script requires it.

Unix-Like Shell Style

On Unix-like systems, the gateway runs exec through sh -lc. Prefer POSIX-compatible shell syntax in examples unless the task explicitly requires Bash, Zsh, Fish, or another shell.

  • List files: ls -1
  • Read a file chunk: sed -n '1,200p' file.txt
  • Set an environment variable for one command: NAME=value npm test
  • Chain commands on success: cargo fmt --check && cargo test
  • Invoke Bash only when needed: bash -lc 'source scripts/env.sh && ./scripts/test.sh'

Use forward-slash paths and quote paths with spaces. Keep cwd set to the workspace instead of relying on cd where possible.

Good Uses

  • Discover files: rg --files
  • Search code/text: rg "pattern" path
  • Search with line numbers: rg -n "functionName|StructName|configKey" src
  • Find definitions and call sites before reading files: rg -n "handleFoo|FooConfig|foo_enabled" src
  • Locate likely files by name: rg --files | rg "skills|gateway|config"
  • Count project files: (rg --files <exclusions> | Measure-Object).Count
  • List files on Windows: Get-ChildItem -Name -Filter *.js
  • Read files on Windows: Get-Content -LiteralPath path -TotalCount 200
  • Read files on Unix-like systems: sed -n '1,200p' path
  • Inspect Git: git status --short, git diff -- path, git log --oneline -n 20
  • Run project checks: cargo test, cargo fmt --check, npm test, npm run lint
  • Start a project-owned dev server only when the user needs a running app and the server is expected to stay alive.

Prefer rg and rg --files for discovery because they are fast and respect ignore files. Packaged gateway builds may provide a bundled rg on PATH; if rg is unavailable, use git ls-files for repository counts or the platform's normal alternative with explicit exclusions.

Counting Files And Broad Inventories

When the user asks for file counts, repository size, broad file inventories, or similar numeric summaries, do not count dependency folders, VCS metadata, generated outputs, virtual environments, or caches as meaningful project files. These directories can dominate the result and make the answer misleading. This is a hard requirement, not a preference.

Use commands that respect .gitignore and exclude high-volume irrelevant directories before counting:

  • Tracked files only: git ls-files | Measure-Object on Windows, or git ls-files | wc -l on Unix-like systems.
  • All non-ignored files with ripgrep on Windows: (rg --files -g '!node_modules/**' -g '!.git/**' -g '!target/**' -g '!dist/**' -g '!build/**' -g '!coverage/**' -g '!.next/**' -g '!.nuxt/**' -g '!.turbo/**' -g '!.cache/**' -g '!__pycache__/**' -g '!.pytest_cache/**' -g '!.mypy_cache/**' -g '!.ruff_cache/**' -g '!.venv/**' -g '!venv/**' -g '!env/**' -g '!.tox/**' | Measure-Object).Count
  • All non-ignored files with ripgrep on Unix-like systems: rg --files -g '!node_modules/**' -g '!.git/**' -g '!target/**' -g '!dist/**' -g '!build/**' -g '!coverage/**' -g '!.next/**' -g '!.nuxt/**' -g '!.turbo/**' -g '!.cache/**' -g '!__pycache__/**' -g '!.pytest_cache/**' -g '!.mypy_cache/**' -g '!.ruff_cache/**' -g '!.venv/**' -g '!venv/**' -g '!env/**' -g '!.tox/**' | wc -l

Common directories to exclude from broad counts and inventories include:

  • Version control metadata: .git, .svn, .hg
  • JavaScript and frontend dependencies/caches: node_modules, .pnpm-store, .yarn, .next, .nuxt, .turbo, .parcel-cache, bower_components
  • Build and coverage output: target, dist, build, out, coverage, .coverage, htmlcov
  • Python environments and caches: .venv, venv, env, .tox, __pycache__, .pytest_cache, .mypy_cache, .ruff_cache, .nox
  • General tool caches: .cache, .gradle, .idea, .vscode, tmp, temp

Do not use broad recursive commands such as Get-ChildItem -Recurse, find . -type f, dir /s, ls -R, or du at the repository root for counts or inventories unless they include explicit exclusions or the workspace is already known to be small. If rg is unavailable, prefer git ls-files for repository counts. For untracked non-ignored files without rg, use the platform's recursive listing only with exclusion filters.

File Reading

Use the bundled read_file skill as the default way to read text files. It returns stable line-numbered output, enforces allowed-directory boundaries before reading, rejects binary files, and limits large reads. Use terminal reads only when read_file is disabled, unavailable, or clearly unsuitable for the target file type.

Use terminal commands for directory listings, search, generated command output, test/build output, and project-owned tools. Do not use cat, Get-Content, type, sed, head, or tail for ordinary source/config file reads when read_file can do the job.

File Editing

Use bundled editing skills as the default way to create, modify, or rewrite files by hand. Use multi_edit_file for exact replacements, multi-file edits, file creation, deletion, and moves.

Prefer these editing skills because they give the gateway a clear set of affected paths before files are changed, produce reviewable deltas, and avoid fragile shell redirection or quoting problems.

Use shell-based writes only as a fallback after the bundled editing skills are clearly unsuitable or have failed repeatedly, or when an external tool is the correct owner of the output. Valid examples include:

  • Running a formatter that rewrites files.
  • Running a code generator, scaffold command, package manager, or project script.
  • Producing binary files or very large mechanical outputs that cannot reasonably be expressed as structured file operations.
  • Applying an upstream patch file with git apply or a dedicated patch tool.
  • Performing a large, repetitive, structure-preserving migration that is safer as a small script than as a huge hand-written edit request.

Avoid ad hoc terminal writes such as echo ... > file, here-documents, Set-Content, Out-File, or scripts that manually rewrite source files when multi_edit_file can express the change. If shell-based writing is used as a fallback, explain why the bundled editing skill was not sufficient and keep the command narrowly scoped.

For batch edits to structured files, use structured APIs where practical. Use a JSON parser for JSON instead of regex. For code files, prefer narrow block-aware transformations, generated code followed by the project formatter, or project-owned tooling. Avoid broad regex replacements over Rust, JSON, YAML, TOML, or source files unless the pattern is tightly scoped, verified against current content, and followed by targeted validation.

After any shell-based write, inspect the resulting changes before reporting success:

  • Use git diff -- path for focused edits.
  • Use git diff --stat for multi-file edits.
  • Run the smallest meaningful formatter, parser, build, or test command for the touched files.
  • If the diff includes unrelated changes, stop and report the discrepancy instead of continuing blindly.

Coding Change Discipline

When the terminal is being used to investigate or change code, do not treat "the patch applied" as the finish line. The reliable workflow is to understand the system's intent, make the smallest useful change, and verify the behavior that motivated the change.

  • Reconstruct the behavior path before changing code. Identify the inputs, transformations, persistence boundary, output, and any tests or callers that define the contract.
  • Prefer evidence from the current codebase over naming guesses. Use search to locate definitions, call sites, adapters, serializers, renderers, configuration, and tests before deciding where the problem lives.
  • Separate model, transport, storage, and presentation concerns. A correct fix usually preserves the layer contract rather than converting one layer's representation into another's.
  • Preserve stable identifiers, metadata, schema fields, ordering, user-authored values, and compatibility behavior unless the requested change specifically requires altering them.
  • Keep edits scoped to the smallest surface that closes the behavior gap. Avoid broad rewrites, new abstractions, or configuration churn when a local contract fix is enough.
  • Before editing, check git status --short and inspect files you will touch. Work with existing user changes and do not revert unrelated modifications.
  • When changing conversion, normalization, form, parser, serializer, or migration code, explicitly check round-trip behavior and optional fields.
  • After editing, inspect the focused diff and confirm that the diff expresses the intended behavior. A passing command does not replace reading the diff.
  • Run the smallest meaningful verification command for the touched area: targeted unit tests, typecheck, parser check, formatter check, or build. If no verification is practical, report that and state the residual risk.
  • For bug fixes, add or update a focused test when the project already has a nearby test setup and the behavior is easy to express.
  • If validation reveals a new issue, continue the loop until the change is correct or a real blocker is found. Do not report completion after only the first edit.
  • Be decisive when evidence is sufficient. Ask the user only when required context cannot be inferred safely, when multiple product behaviors are plausible, or when the next action is destructive or externally risky.

Safety And Policy

The gateway evaluates commands against the configured skill policy.

  • A command can be allowed immediately.
  • A command can be denied with a policy reason.
  • A command can require user confirmation.
  • The path guard can block commands that try to operate outside allowed directories.

Treat destructive commands as high risk: recursive deletes, force moves, permission changes, process kills, package publishing, credential operations, and networked deployment commands should only run when the user clearly asked for them and policy allows them.

On Windows, do not compose destructive file operations by piping paths into another shell. Prefer native PowerShell cmdlets end to end, use -LiteralPath, and verify resolved absolute paths before recursive delete or move operations.

Output Handling

The gateway captures stdout and stderr and returns them to the caller. Markdown file reads are allowed to return larger output so a model can progressively load SKILL.md files and other instructions. Other command output may be truncated according to the configured limit.

For real command execution, the gateway also records lightweight tool events that admin clients can poll at /api/v2/admin/skills/events?after=<seq>. Shell commands emit started, stdoutDelta, stderrDelta, and finished events. These events are for UI/progress display; the final tool result remains the authoritative command result.

Keep terminal output intentionally small. Terminal commands can produce unexpectedly large output, and sending that output back to the model wastes context and tokens.

  • Prefer reading in bounded chunks, then continue only if more context is needed.
  • For normal file reads, prefer read_file with offset and limit. Start around 120-200 lines when inspecting a known region rather than reading the whole file.
  • On Windows, prefer Get-Content -LiteralPath path -TotalCount 200 for the start of a file, or Get-Content -LiteralPath path | Select-Object -Skip 200 -First 200 for the next chunk.
  • On Unix-like systems, prefer sed -n '1,200p' path, then sed -n '201,400p' path if needed.
  • Avoid Get-Content -Raw, cat large-file, broad git diff, recursive directory listings, and commands with unbounded logs unless the file or output is already known to be small.
  • For search, narrow by path and use limits when possible: rg -n "pattern" path, rg -n -m 20 "pattern" path, or rg --files path.
  • For Git inspection, prefer scoped and bounded commands such as git diff -- path, git diff --stat, git log --oneline -n 20, and git show --stat.
  • When command output is still too broad, rerun with a narrower path, pattern, line range, or summary flag instead of asking for all output.

If a command fails, use the exit code and stderr/stdout to decide the next step. Do not blindly rerun a failing command with broader scope.

Recommended Workflow

  1. Establish the workspace with cwd.
  2. Inspect before changing: git status --short, then use rg/rg --files to locate relevant files, symbols, call sites, config keys, and line numbers.
  3. Use read_file to read only the targeted files or line ranges that rg identified. Avoid reading broad file contents as a discovery strategy.
  4. Use the narrowest command that answers the question.
  5. Prefer multi_edit_file for manual source edits.
  6. For large mechanical migrations, use a narrowly scoped script only after reading the current target content; prefer structured parsers over regex.
  7. Inspect the relevant diff with git diff -- path or git diff --stat.
  8. Run the smallest meaningful verification command after changes.
  9. Report what changed and what verification passed or could not be run.

版本历史

  1. v0.1.9 GitHub ↗
    原版更新说明

    ## Commits since v0.1.8 - feat: expand codegraph and officecli builtin tools with new commands, docs, and output improvements ([`9cfc330`](https://github.com/aiguicai/MCP-Gateway/commit/9cfc3307bf2acd6ab5ff223a804f66ec93dfe73c)) **Full Changelog:** https://github.com/aiguicai/MCP-Gateway/compare/v0.1.8...v0.1.9

  2. v0.1.8 GitHub ↗
    原版更新说明

    ## Commits since v0.1.7 - feat: require self-read for builtin skill tokens ([`c289d10`](https://github.com/aiguicai/MCP-Gateway/commit/c289d1034b91fba6eb5b21514441b5701eefb7de)) - feat(codegraph): add built-in CodeGraph skill and UI support ([`11233c3`](https://github.com/aiguicai/MCP-Gateway/commit/11233c3d338d9f0e41cd7c7f86a0667429a3d73a)) **Full Changelog:** https://github.com/aiguicai/MCP-Gateway/compare/v0.1.7...v0.1.8

  3. v0.1.7 GitHub ↗
    原版更新说明

    ## Commits since v0.1.6 - chore: bump version to 0.1.7 and update README screenshots ([`c3bc742`](https://github.com/aiguicai/MCP-Gateway/commit/c3bc742add394e165440f3942452749cf539cbef)) - refactor: deduplicate backend auth, routing, SSE, and heartbeat helpers ([`bf94241`](https://github.com/aiguicai/MCP-Gateway/commit/bf94241ee70d84fdbf1e27b4ba75aafbbe8c29a1)) **Full Changelog:** https://github.com/aiguicai/MCP-Gateway/compare/v0.1.6...v0.1.7

  4. v0.1.6 GitHub ↗
    原版更新说明

    ## Commits since v0.1.5 - fix: resolve clippy warnings in AI adapter code ([`fa658a6`](https://github.com/aiguicai/MCP-Gateway/commit/fa658a65f9977b1a725c669f6dcf9515d7fd393b)) - style: apply cargo fmt to all Rust source files ([`8d1a95b`](https://github.com/aiguicai/MCP-Gateway/commit/8d1a95b90ce544683012e55df1974a6b6f3994b0)) - feat: add AI adapter for BYOK-style external AI tool integration ([`63c4cc4`](https://github.com/aiguicai/MCP-Gateway/commit/63c4cc4b0729d5a82234530faca68e7b3a05ee0b)) - feat: add system tray with minimize-to-tray and quit support ([`396fc9f`](https://github.com/aiguicai/MCP-Gateway/commit/396fc9f2700d2e0d725b8c0760f65ce595fcde7c)) **Full Changelog:** https://github.com/aiguicai/MCP-Gateway/compare/v0.1.5...v0.1.6

  5. v0.1.5 GitHub ↗
    原版更新说明

    ## Commits since v0.1.4 - fix(skills): prevent false path-guard triggers from rg glob patterns and relative path resolution ([`719638e`](https://github.com/aiguicai/MCP-Gateway/commit/719638e15e3171797cba5570a23ed03b71e8f06b)) - feat: plans viewer modal and planningId in structured content ([`8092f83`](https://github.com/aiguicai/MCP-Gateway/commit/8092f83be24e99b5ce7c46c92948d462f894079d)) - fix: optimize the text output for timeout returns ([`94b9a4e`](https://github.com/aiguicai/MCP-Gateway/commit/94b9a4e882cc8e687a1aa057fd1af224b50681d0)) - feat: add skill groups with per-group endpoints and copy feedback fix ([`57d921e`](https://github.com/aiguicai/MCP-Gateway/commit/57d921e98fe8e75d7dca5f825011ef5046ea8fdf)) **Full Changelog:** https://github.com/aiguicai/MCP-Gateway/compare/v0.1.4...v0.1.5

此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 提供在允许工作区内运行非交互式 shell 命令的能力,覆盖文件搜索、项目导航、Git 操作、构建测试等高频刚需场景
  • 强调使用 rg 和 git ls-files 等高效工具进行项目探索,并明确排除依赖文件夹、VCS 元数据等无关目录,提升执行效率与结果准确性
触发精准95/100

亮点

  • description 明确描述了技能用途、前置条件(读取 SKILL.md 获取 skillToken)、工具偏好及排除目录,触发词完整且边界清晰
结构规范96/100

待提升项

  • 文档较长 原报告严重程度:轻微

    SKILL.md 内容约 480 行,信息密度高但篇幅较长

    改进建议:建议适当拆分章节或增加目录导航以提升可读性

亮点

  • 文档结构清晰,分多个实用章节,步骤明确,含大量端到端示例,frontmatter 完整
执行可靠94/100

亮点

  • 工具来源明确,参数正确,覆盖主要异常,对破坏性操作有安全提示,不可逆操作建议确认
证据可验 (前四项均值)94/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 读取本地文件

    限定到你选择的文件或项目目录;避免读取无关的个人资料、密钥和配置文件。

    主文档提及 · 第 87, 125, 157, 224, 226 行
  • 保存或修改文件

    先确认输出目录和同名文件是否会被覆盖;重要文件保留备份,优先写入新的输出目录。

    主文档提及 · 第 173 行
  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 210 行
  • 管理员或提升权限

    确认确有必要再提升权限;不要关闭防护、绕过证书验证或扩大整个系统的访问权限。

    主文档提及 · 第 66 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。