Skillward Audit 标志

Skillward Audit

组织
Fangcun-AI
skillward-audit

Security-audit a third-party skill bundle (folder with SKILL.md, or .zip / .tar.gz archive) before installing it, using the SkillWard cloud scanner. Trigger on any natural safety question about an external skill — "is this skill safe?", "audit / scan / review this skill", "should I install this?", "trustworthy?", "any malware?", "is it sketchy?" — even when the user doesn't name SkillWard explicitly. Do NOT trigger when the user is authoring their own skill, asking for a code review of code they wrote, or pointing at a built-in / first-party skill.

概览

发布者Fangcun-AI
代码仓库SkillWard
技能名称skillward-audit
星标数
144
复刻数
7
附带文件
1
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Fangcun-AI 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Skillward Audit AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Fangcun-AI/SkillWard/tree/main/skillward-audit-skill
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Fangcun-AI/SkillWard.git /tmp/SkillWard
mkdir -p .claude/skills
cp -r /tmp/SkillWard/skillward-audit-skill .claude/skills/skillward-audit
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Skillward Audit,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Skillward Audit。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Skillward Audit 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

SkillWard Audit

Thin client for the SkillWard public scanning service at https://skillward.fangcunleap.com. Given a local skill bundle (folder with SKILL.md, or a .zip / .tar.gz archive), this skill packages it, uploads it to the remote service, streams scan progress, and reports the verdict.

When to use

  • Explicit invocation — user asks to "audit", "scan", "review", or "check the safety of" a skill bundle.
  • Natural safety question about an external skill — even without the words "audit" or "SkillWard", treat any of these as an invocation request when a skill path / archive is in scope:
    • "Is this skill safe?" / "Is it safe to install?"
    • "Should I install this?" / "Should I trust this?"
    • "Any malware / backdoors / suspicious behavior in here?"
    • "Is this trustworthy?" / "Does this look sketchy?"
    • "Anything I should know before I install this?"
  • User references a skill bundle path — a folder containing SKILL.md, or a .zip / .tar.gz / .tgz archive — in a safety-adjacent context.
  • Pre-install safety check — user is about to install a third-party / downloaded skill and wants a security pass first.
  • Source mentioned — user mentions ClawHub, OpenClaw, GitHub, or another third-party source for a skill bundle in a safety context.

When NOT to use

  • The user is authoring their own skill and asking for code review, feedback, or "does this look right?" on something they just wrote in this session. Do a normal code review instead — SkillWard is for vetting external code the user did not write.
  • The user just edited the skill in this session — what they want is review of their own changes, not a third-party scanner.
  • Built-in / first-party skills — Claude's own bundled skills don't need third-party scanning.
  • Non-skill inputs — a regular codebase, Python package, generic repo, or arbitrary file that isn't shaped like a skill bundle. Decline and explain.
  • General malware scanning of arbitrary files — decline; this tool only understands skill bundles.

Gathering input

  1. User gave a path — verify it exists. If it's a folder, confirm it contains SKILL.md (or a nested folder that does). If it's an archive, accept .zip / .tar.gz / .tgz.
  2. User said "this skill" / "the skill" without a path — ask one clarifying question: "Which folder or archive should I scan? Please give me a path (e.g. C:\path\to\skill-folder or ./foo.zip)."
  3. User gave a URL or GitHub link — v1 does not support remote fetching. Reply: "I can't fetch URLs directly for auditing. Please git clone the repo or download the release zip first, then point me at the local path."

Choosing language

Inspect the user's most recent 2–3 messages. If any contain CJK (Chinese / Japanese / Korean) characters — Unicode range U+4E00–U+9FFF — pass --lang zh. Otherwise pass --lang en. Default to en when ambiguous.

The report JSON always contains both text (Chinese) and text_en (English) in warnings[]; use whichever matches --lang when summarizing back to the user.

Choosing scan depth

Default: --depth sandbox (static + LLM + server-side Docker sandbox, no after-tool inspection). Override only when the user signals otherwise:

  • "quick" / "fast" / "just static" / "快速" / "只要静态" → --depth static (seconds; skips sandbox)
  • "deep" / "thorough" / "after-tool" / "深度" / "彻底" → --depth deep (3-15 min; full pipeline incl. after-tool capability check)

When running deep, warn the user upfront: "Deep mode runs the Docker sandbox plus after-tool capability analysis — this typically takes 3–10 minutes. Starting now."

How to invoke

⚠️ Required — set the tool timeout explicitly in every call

Do not rely on your exec / bash tool's default timeout. Defaults vary across harnesses and installations (Claude Code default is 120 s; OpenClaw default is 1800 s but some deployments override it down to 300 s or less). A too-short default will SIGKILL scan.py mid-scan, the SSE stream is cut before the server emits the final report event, and nothing gets saved.

Pass the timeout explicitly on every invocation. Match the depth you're running:

DepthClaude Code (timeout, ms)OpenClaw (timeoutSec, s)Typical duration
static60000605–15 s
sandbox90000090060 s – 10 min
deep120000012003 min – 15 min

Concrete examples:

  • Claude Code — invoke the Bash tool with timeout: 900000 (for sandbox) or timeout: 1200000 (for deep).
  • OpenClaw — invoke the exec tool with timeoutSec: 900 (for sandbox) or timeoutSec: 1200 (for deep).
  • Other harnesses — pass the equivalent per-call timeout parameter; the values above are the minimum that lets the server-side sandbox finish.

If your harness's exec/bash tool does not accept a per-call timeout override, and you cannot globally raise its default to at least 900 s, do not silently proceed with --depth sandbox / --depth deep. Fall back to --depth static and tell the user that the sandbox stage could not be run because the current tool harness would kill the scan before completion.

While the scan runs, stdout stays empty until the final summary line; all heartbeat / progress output goes to stderr. Do not interpret "no stdout yet" as "stuck" — wait for the subprocess to exit.

The scan script lives at scripts/scan.py inside this skill's own directory. Substitute <skill_dir> with the absolute path to the directory that contains this SKILL.md:

bash
python <skill_dir>/scripts/scan.py \
  "<input-path>" \
  --lang <zh|en> \
  --depth <static|sandbox|deep> \
  --out "<input-dirname>/skillward-report.json"
  • <input-path> — the folder or archive. Quote it if it contains spaces or non-ASCII characters.
  • --out — where to save the full JSON report. Default is ./skillward-report.json in the current directory; prefer placing it alongside the input so the user can find it easily.

The script writes progress messages to stderr and exactly one summary line to stdout on success. Read the JSON file for details.

Override the service URL (rare)

If the user is self-hosting SkillWard or you need to point at a staging endpoint, prefix the command with SKILLWARD_API_BASE=<url>. Otherwise omit.

Interpreting the report

The stdout summary line looks like:

VERDICT: SAFE | <skill_name> | <latency>s | <N> warning(s)

Verdict values (case may vary depending on server version — handle all):

VerdictUser-facing summary
SAFE / SafeSafe to install. Static analysis, LLM review, and sandbox all clean. Note the latency.
MEDIUM RISK / Medium Risk / WARNINGCaution. There are <N> warnings. Surface the top 2-3 from warnings[] (prefer text_en for English users). Advise the user to review before installing.
HIGH RISK / High Risk / DANGERDo NOT install. Lead with the top warning, then enumerate all level: "critical" items and any recommendations.

When summarizing warnings, prefer items with level in ("critical", "warning") over "info". For English output use text_en and source_en; for Chinese use text and source.

Always tell the user where the full JSON report was saved — scan.py prints the path on its final stderr line ([done] report saved to ...) — so they can open it for details. If they ask a follow-up question about a specific finding, read the report file to answer precisely.

Exit codes

CodeMeaningAction
0Success — report savedSummarize the verdict
2Stream ended with no reportTell user scan didn't complete; suggest retry
3No SKILL.md in inputAsk user to confirm path — this isn't a skill bundle
4Service unreachableCheck user's network; mention SKILLWARD_API_BASE override if relevant
5Server error (5xx)Report the HTTP error; suggest retry later
6Scan timeoutSuggest --depth static for a faster check

Examples

In each example, substitute <skill_dir> with the absolute path of the directory that contains this SKILL.md. --out is omitted because scan.py defaults to placing the report alongside the input.

Example 1 — user: "Can you audit /home/alice/Downloads/cool-skill/ before I install it?"

Folder input, default sandbox depth:

bash
python <skill_dir>/scripts/scan.py \
  "/home/alice/Downloads/cool-skill/" \
  --lang en --depth sandbox

Summarize the verdict in English, surfacing the top 2–3 warnings[].text_en items (prefer level: critical / warning over info). Tell the user where the report JSON was saved.

Example 2 — user: "Is this bundle safe? /tmp/untrusted-skill.zip"

Archive input:

bash
python <skill_dir>/scripts/scan.py \
  "/tmp/untrusted-skill.zip" \
  --lang en --depth sandbox

Example 3 — user: "Quick safety check on ./vendor-skill/?"

Quick / static signal — skip the sandbox stage to return in seconds:

bash
python <skill_dir>/scripts/scan.py \
  "./vendor-skill/" \
  --lang en --depth static

Static depth runs static analysis + LLM review only (typically 5–15 s) and sets stages.runtime.status to "SKIPPED" in the report — that's expected for this depth, not an error. Real-world fast-path SAFE scans on the public service return in ~4–7 s.

Example 4 — user: "Do a deep audit on C:/Users/alice/skills/my-skill/ before I install it."

First warn the user: "Deep mode runs the sandbox plus after-tool capability analysis — usually 3–10 minutes. Starting now." Then:

bash
python <skill_dir>/scripts/scan.py \
  "C:/Users/alice/skills/my-skill/" \
  --lang en --depth deep

Forward-slashes work on Windows and sidestep shell escaping of backslashes.

Example 5 — user: "Audit https://github.com/foo/cool-skill before I install."

URL input — remote fetching is not supported. Do not run scan.py. Reply:

I can't fetch URLs directly for auditing. Please git clone the repo or download the release zip first, then point me at the local path.

Troubleshooting notes

  • The server may skip the Docker sandbox automatically when its LLM classifier has very high confidence (≥ 0.9) that the skill is safe. In this case stages.runtime.status will be "SKIPPED" — that's expected, not an error.
  • The skill_name in the report comes from the skill's own SKILL.md frontmatter, not the folder name.
  • Windows users: quote paths containing Chinese characters with double quotes.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Skillward Audit AI 技能有什么作用?

Security-audit a third-party skill bundle (folder with SKILL.md, or .zip / .tar.gz archive) before installing it, using the SkillWard cloud scanner. Trigger on any natural safety question about an external skill — "is this skill safe?", "audit / scan / review this skill", "should I install this?", "trustworthy?", "any malware?", "is it sketchy?" — even when the user doesn't name SkillWard explicitly. Do NOT trigger when the user is authoring their own skill, asking for a code review of code they wrote, or pointing at a built-in / first-party skill.

为什么在 TypingMind 中使用 Skillward Audit?

因为您只需安装一次,就能搭配任何模型使用。Skillward Audit 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Skillward Audit?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Fangcun-AI/SkillWard/tree/main/skillward-audit-skill。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Skillward Audit?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Skillward Audit 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Skillward Audit 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Skillward Audit AI 技能免费吗?

Fangcun-AI 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇