Xpersona
安

安全执行

CLAWHUB · Unverified

Safely run project-local build, test, lint, format, type-check, and install commands with strict restrictions to prevent destructive or system-wide effects. Skill: 安全执行 Owner: sf0799 Summary: Safely run project-local build, test, lint, format, type-check, and install commands with strict restrictions to prevent destructive or system-wide effects. Tags: latest:0.1.0 Version history: v0.1.0 | 2026-04-06T08:20:51.618Z | user initial release Archive index: Archive v0.1.0: 4 files, 2955 bytes Files: agents/openai.yaml (296b), skill-card.md (2179b), SKILL.md (1482b), _meta.jso

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s175a2gydqwpmq0pqjcykvhnq584b17r:shell-safe-exec
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sf0799-shell-safe-exec/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

3,922 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: shell-safe-exec
description: Run non-destructive repo-local commands with explicit safety rules. Use when the user asks to build, test, lint, format, inspect status, or install project dependencies in the current workspace, and the task can be completed without risky system operations. Do not use for long-running services, background process management, or generic command execution frameworks. Chinese triggers: 执行命令、运行测试、构建项目、安装依赖、跑 lint、跑 format,但要求安全执行.
---

# 安全执行

只执行与项目相关、且明确安全的命令。

## 允许执行

- build、test、lint、format、type-check、health-check
- 使用项目默认包管理器安装依赖
- 验证改动所需的状态和检查命令

## 禁止执行

- 递归删除或其他大范围破坏性文件操作
- 磁盘、分区、内核、服务或系统配置修改
- 提权操作
- 网络扫描、远程执行、端口转发
- 读取与项目无关的系统敏感信息

## 工作流

1. 优先使用仓库已经定义好的命令,不临时拼复杂管道。
2. 把用户提供的路径和参数当作不可信输入,按字面值传递,避免命令注入。
3. 只运行完成当前验证所需的最小命令。
4. 一旦失败立即停止,直接返回真实错误,不做危险重试。
5. 所有命令都限定在项目工作区内。

## 输出

- 执行了什么命令
- 成功或失败
- 如果失败,返回关键错误信息

_meta.json

{
  "ownerId": "kn7f0wf6cndbzd2czy2c3ftj8s82nhb6",
  "slug": "shell-safe-exec",
  "version": "0.1.0",
  "publishedAt": 1775463651618
}

skill-card.md

## Description:

Safely run project-local build, test, lint, format, type-check, and dependency-install commands with strict restrictions to prevent destructive or system-wide effects.

This skill is ready for commercial/non-commercial use.

## Publisher:

[sf0799](https://clawhub.ai/user/sf0799)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to let an agent run repo-local verification, formatting, build, dependency installation, and status commands while avoiding destructive or privileged operations.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill helps an agent run limited project-local commands, including dependency installation and workspace-modifying checks.

Mitigation: Review commands before execution, especially when they install dependencies or modify the workspace.

Risk: Unsafe shell input handling can turn user-provided paths or parameters into command injection risk.

Mitigation: Pass user-provided paths and parameters literally and prefer existing repository commands over ad hoc shell pipelines.

Risk: Unexpected retries or broader follow-up commands could exceed the skill's intended safety boundary after a failure.

Mitigation: Stop on first failure and return the real error instead of attempting privileged, destructive, or system-wide recovery commands.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/sf0799/skills/shell-safe-exec)

## Skill Output:

**Output Type(s):** [text, markdown, shell commands, guidance]

**Output Format:** [Markdown or plain text status summaries with shell commands and key error output.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Outputs should state the command run, whether it succeeded or failed, and the key error information when a command fails.]

## Skill Version(s):

0.1.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

agents/openai.yaml

interface:
  display_name: "安全执行"
  short_description: "仅执行安全、非破坏性的构建、测试、检查与依赖安装命令。"
  default_prompt: "使用 $shell-safe-exec 执行需要的安全命令,并在失败时立即停止。"

policy:
  allow_implicit_invocation: false

Sponsored

Ads related to 安全执行 and adjacent AI workflows.