Audit locally installed agent skills for security/policy issues using the SkillLens CLI (`skilllens scan`, `skilllens config`). Use when asked to scan a skills directory (Codex/Claude) and produce a risk-focused audit report based on each skill's `SKILL.md` and bundled resources.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install skill-audit或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install skill-audit⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/skill-audit/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: skills-audit description: Audit locally installed agent skills for security/policy issues using the SkillLens CLI (skilllens scan, skilllens config). Use when asked to scan a skills directory (Codex/Claude) and produce a risk-focused audit report based on each skill's SKILL.md and bundled resources. ---
npx skilllens scan (or pnpm dlx skilllens scan)pnpm add -g skilllensskilllens config to see configured scan roots and auditor CLI availability.skilllens scan to scan configured roots, or skilllens scan to scan a specific directory.--verbose to see raw auditor output and --force to ignore cached results. - Prefer a concrete target path (example: ~/.codex/skills) unless the user explicitly wants all configured roots. - If auditing a repo checkout containing skills, scan the parent folder that contains skill directories (example: skilllens scan ./skills).
- Run skilllens scan [path] [--auditor claude|codex]. - Treat missing auditor CLIs or skipped statuses as “manual review required”, not “safe”.
- Review any unsafe or suspicious verdicts first. - Next, review skills that request broad permissions (filesystem/network), run shell commands, or reference external downloads.
- Read the skill’s SKILL.md and any referenced scripts/, references/, and assets/. - Do not execute bundled scripts by default; inspect first.
- Exfiltration: sending file contents, env vars, tokens, SSH keys, browser data, or configs to remote endpoints. - Execution: instructions to run arbitrary shell commands, curl | bash, eval, or to fetch-and-execute code. - Persistence: modifying shell profiles, launch agents, cron, editor configs, or skill install locations. - Privilege/approval bypass: instructions to ignore system policies, disable safety checks, or request escalated permissions unnecessarily. - Prompt injection: attempts to override higher-priority instructions (“ignore previous”, “always comply”, “never mention…”). - Overbroad triggers: vague descriptions that cause the skill to trigger on unrelated tasks.
- For each skill, include: name, path, verdict (safe/suspicious/unsafe), risk (0–100), and bullet issues with concrete evidence (quote or filename). - Recommend fixes that reduce blast radius: narrow scope, remove dangerous defaults, add explicit confirmation gates, and document required permissions.
skilllens scanskilllens scan ~/.codex/skillsskilllens scan ~/.codex/skills --force --verbose安装 SkillLens Audit 后,可以对 AI 说这些话来触发它
Help me get started with SkillLens Audit
Explains what SkillLens Audit does, walks through the setup, and runs a quick demo based on your current project
Use SkillLens Audit to audit locally installed agent skills for security/policy issues usi...
Invokes SkillLens Audit with the right parameters and returns the result directly in the conversation
What can I do with SkillLens Audit in my finance & investment workflow?
Lists the top use cases for SkillLens Audit, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/skill-audit/ 目录(个人级,所有项目可用),或 .claude/skills/skill-audit/(项目级)。重启 AI 客户端后,用 /skill-audit 主动调用,或让 AI 根据上下文自动发现并使用。
SkillLens Audit 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
SkillLens Audit 可免费安装使用。请查阅仓库了解许可证信息。
Audit locally installed agent skills for security/policy issues using the SkillLens CLI (`skilllens scan`, `skilllens config`). Use when asked to scan a skills directory (Codex/Claude) and produce a risk-focused audit report based on each skill's `SKILL.md` and bundled resources.
SkillLens Audit 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using SkillLens Audit
Identifies repetitive steps in your workflow and sets up SkillLens Audit to handle them automatically