Token导航 LogoToken导航

Agent Skill · 研究检索

clawhub-publish-conventions(ClawHub publish conventions 搜索)

clawhub-publish-conventions 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

clawhub-publish-conventions 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 35,455。

总安装 2,081周安装 85GitHub Stars 公开资料未说明下载 666核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:clawhub-publish-conventions(ClawHub publish conventions 搜索)
来源仓库:https://github.com/almohalhel1408/clawhub-publish-conventions
安装命令:
openclaw skills install clawhub-publish-conventions
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install clawhub-publish-conventions

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

ClawHub publish conventions 定义了技能发布的标准化规则,涵盖文件包含、元数据与版本控制要求。适用于准备提交新技能或更新现有作品前的合规性自查环节。提供扫描仪误报防御指南,帮助减少因格式偏差导致的审核失败。

安装命令:openclaw skills install clawhub-publish-conventions;主要作为本地检查清单使用。建议结合官方文档交叉验证,确保所有必填字段完整且无冲突声明。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install clawhub-publish-conventions;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

clawhub-publish-conventions 怎么安装?

在终端执行 openclaw skills install clawhub-publish-conventions。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

clawhub-publish-conventions 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

clawhub-publish-conventions 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install clawhub-publish-conventions 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

clawhub-publish-conventions 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

clawhub-publish-conventions 用的人多吗?

公开数据是累计安装 2,081 次,近一周安装 85 次,下载 666 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

clawhub-publish-conventions 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
clawhub-publish-conventions

ClawHub publish conventions 搜索 · 本页

2,081—执行命令MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
clawhub-publish-conventions
description
ClawHub skill publishing conventions — file inclusion rules, metadata requirements, versioning, and scanner false-positive defense. Use when publishing or updating skills on ClawHub.
version
1.1.0
author
Eng. Abdulrahman Jahfali + Sulaiman (Hermes Agent)
license
MIT
metadata
hermes
tags
[clawhub, publishing, packaging, security-scanner]
related_skills
[skill-guard, black-fortress]

ClawHub Publish Conventions

Lessons learned from publishing black-fortress across 9 iterations (v1.1.0 → v1.1.8).

File Inclusion Rules

ClawHub clawhub publish <path> includes only these file types:

PatternIncluded
SKILL.md✅ Always (required)
README.md✅ Always
scripts/*.py✅
scripts/*.json✅
Dockerfile (no extension)❌ Excluded
*.sh scripts❌ Excluded
*.yaml / *.yml❌ Excluded
Root-level non-md files❌ Excluded

Workaround for excluded files: Embed the content directly in SKILL.md as a code block inside a <details> collapsible:

<details>
<summary>📋 Dockerfile (embedded)</summary>

content here

</details>

This ensures users who install the skill can always copy the file, even if ClawHub's publish filter excludes it.

Metadata Requirements

Always declare in SKILL.md frontmatter. Use BOTH field names — the scanner reads required_binaries, Hermes reads required_commands:

version: X.Y.Z
required_commands:            # Hermes runtime reads this
  - docker
  - python3
required_environment_variables: []  # explicit empty if none
required_privileges: non-root (Docker mode)  # scanner reads this
metadata:
  hermes:
    platform: macOS (Docker Desktop), Linux (Docker Engine)
  required_binaries:          # ClawHub scanner reads this
    - docker
    - python3

Critical finding (v1.1.7): ClawHub's GPT-5-mini scanner flagged "required binaries: none" despite required_commands being set. The scanner looks for required_binaries inside the metadata block, not required_commands at the top level. Always declare both.

Also add a visible ## Requirements table in the SKILL.md body — the scanner reads the body text, not just frontmatter. If the frontmatter says "docker" but the body never mentions it, the scanner flags the inconsistency.

Versioning

  • Can't republish an existing version — must bump semver
  • Use clawhub publish <path> --version X.Y.Z
  • Changelog: --changelog "text" is visible in clawhub inspect
  • Tags: --tags "tag1,tag2" — default is "latest"

Scanner False-Positive Defense

When a security scanner flags legitimate security controls (obfuscation, sandboxing, syscall tracing):

Add a "Security Disclaimers & Scanner False Positives" section to both SKILL.md and README.md with:

  1. "What the scanner sees" — acknowledge the flag
  2. "What is actually happening" — explain the legitimate security purpose
  3. Comparison table — scanner flag vs reality
  4. Why it matters — the security argument

Pattern: This protocol exists to provide security — the scanner flags confirm it is working.

The scanner uses GPT-5-mini. It flags behaviors it doesn't understand contextually. Document the context in the skill itself so the scanner (and human reviewers) can read the justification.

Distroless Docker Patterns

When building sandbox images, use gcr.io/distroless/python3-debian12:nonroot:

Key differences from python:3.11-slim

Propertypython:3.11-slimdistroless python3
Shell (/bin/sh)✅ Present❌ Absent
apt / pip✅ Present❌ Absent
curl / wget✅ Present❌ Absent
Python path/usr/local/bin/python3/usr/bin/python3
Python stdlib/usr/local/lib/python3.11//usr/lib/python3.11/
Default userroot (UID 0)nonroot (UID 65532)
OS commandsWorksBlocked (no shell binary)

Multi-stage build pattern

# Stage 1: Builder (has shell, can mkdir)
FROM python:3.11-slim AS builder
RUN mkdir -p /sandbox/source /sandbox/output
RUN touch /sandbox/source/.keep /sandbox/output/.keep

# Stage 2: Runtime (distroless — Python only, no shell)
FROM gcr.io/distroless/python3-debian12:nonroot
COPY --from=builder --chown=nonroot:nonroot /sandbox /sandbox
USER nonroot
ENTRYPOINT ["/usr/bin/python3"]

Critical: Do NOT copy Python from builder — distroless already has its own Python at /usr/bin/python3. Copying builder's Python will fail because libpython3.11.so paths differ.

Verification commands

# Python works
docker run --rm <image> -c "import sys; print(sys.version)"

# Shell doesn't exist (expected failure)
docker run --rm --entrypoint /bin/sh <image>

# Non-root UID
docker run --rm <image> -c "import os; print(os.getuid())"

Publishing Workflow

# 1. Verify files are in the right places
ls <skill_dir>/SKILL.md <skill_dir>/README.md <skill_dir>/scripts/

# 2. Build Docker image if applicable (from embedded or scripts/Dockerfile)
docker build -t <image>:latest -f <skill_dir>/Dockerfile <skill_dir>

# 3. Publish with version and changelog
clawhub publish <skill_dir> --version X.Y.Z --changelog "description"

# 4. Wait for scan (~45s), then verify
sleep 45 && clawhub inspect <slug> --files

# 5. Check verdict: Security should be CLEAN

Subprocess Security Patterns

When a skill spawns subprocesses, the scanner checks for two things. Failing either = DANGEROUS verdict.

1. Environment Scrubbing

Anti-pattern: Copying the full host environment (os.environ.copy()) leaks secrets (AWS keys, API tokens, personal paths) to sub-scripts.

Correct pattern: Define a whitelist-only environment builder and pass it explicitly:

def _build_safe_env() -> dict:
    """Only whitelisted variables pass to subprocesses."""
    ALLOWED = {"PATH", "DOCKER_BIN", "PYTHONPATH", "LANG", "LC_ALL", "LC_CTYPE", "HOME", "TMPDIR", "TERM"}
    safe = {k: v for k in ALLOWED if (v := os.environ.get(k))}
    if "PATH" not in safe:
        safe["PATH"] = "/usr/bin:/bin:/usr/local/bin"
    return safe

# Apply to every subprocess.run, subprocess.Popen, os.exec* call
subprocess.run(cmd, env=_build_safe_env(), ...)

Scope: Apply this to EVERY subprocess invocation in the skill. One missed call = full env leak.

2. Shell Injection Prevention

Anti-pattern: Building shell command strings with f-strings and passing shell=True. If a path contains shell metacharacters, this is an injection vector.

Correct pattern: Use argument lists. No shell interpretation occurs:

# Safe: argument list form
cmd = [DOCKER_BIN, "run", "--rm", "--network=none", "-v", f"{path}:/sandbox:ro", image_name]
subprocess.run(cmd, env=safe_env, timeout=300)

Pre-publish verification

# Verify: no shell=True anywhere in scripts
grep -rn "shell=True" scripts/  # should return nothing

# Verify: all subprocess.run calls pass env=
grep -rn "subprocess.run" scripts/ | grep -v "env="  # should return nothing

Publish-Fix-Republish Loop

When the scanner flags issues, the workflow is:

  1. clawhub publish <dir> --version X.Y.Z → get scan result
  2. clawhub inspect <slug> --files → read scanner verdict + warnings
  3. Fix the code/docs based on specific warnings
  4. Bump version (can't republish same version)
  5. clawhub publish <dir> --version X.Y.(Z+1) → rescan
  6. Repeat until Security verdict is CLEAN

Typical iteration count: 2-4 publishes to reach CLEAN. Budget for this in your workflow.

Common Pitfalls

PitfallFix
Version already existsBump semver, can't overwrite
Dockerfile not in packageEmbed in SKILL.md
Scanner flags obfuscationAdd Security Disclaimers section
Scanner flags privileged opsDocument why root is needed
Distroless Python can't find libsDon't copy Python from builder
--dry-run doesn't existNo preview mode, publish directly
Scanner says "required binaries: none"Add metadata.required_binaries (not just required_commands)
Scanner says "could expose host secrets"Add _build_safe_env() with whitelist, pass env= to all subprocess.run
Scanner says "shell injection"Replace shell=True f-strings with argument lists
Scanner says "truncated/omitted files"Ensure all .py scripts have docstrings the scanner can read
Scanner DANGEROUS on docs with "Bad" examplesWrap insecure examples in <details> or use prose description instead of code blocks

平台分布

OpenClaw

86.68%
按下载量换算577

安全审计

VirusTotal

未展示

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install clawhub-publish-conventions 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills