跳到正文
Skillpedia
安全8.3k · #12467

deepsec-docs

它能做什么

这项技能帮助你通过指向官方文档,来设置和使用 AI 安全扫描器 deepsec。适合希望获得关于配置和设置的准确答案的开发者。

适用场景

  • ✓当你想安装 deepsec 或第一次开始扫描的时候。
  • ✓当你需要修改 deepsec 的配置文件或选择模型时。
  • ✓当你想为 deepsec 编写自己的匹配器或插件的时候。

技能链接

https://github.com/vercel-labs/deepsec/blob/main/packages/deepsec/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/vercel-labs/deepsec/blob/main/packages/deepsec/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我如何在项目中设置 deepsec,并选择它使用哪个 AI 模型?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体在回答之前会阅读 deepsec 文档中的相关指南。这样回答会基于当前的文档,而不是记忆。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

deepsec

deepsec is an AI-powered vulnerability scanner. The one-shot initializer installs this skill at .deepsec/node_modules/deepsec/SKILL.md. From inside the isolated workspace the same path is node_modules/deepsec/SKILL.md. In a Deepsec source clone, use the repository's docs/ directory instead.

When the user asks how to use, configure, or extend deepsec, read the relevant doc before answering — the docs are the source of truth, not your training data.

Where the docs are

From the target repository, .deepsec/node_modules/deepsec/dist/docs/; from inside .deepsec, node_modules/deepsec/dist/docs/; or from a Deepsec source clone, <deepsec-clone>/docs/:

  • getting-started.md — one-shot initialization and resume walkthrough
  • configuration.md — full deepsec.config.ts reference
  • plugins.md — plugin slots (matchers, notifiers, ownership, people, executor)
  • writing-matchers.md — generated declarative vs hand-authored matchers
  • models.md — model selection, defaults, refusals, future models
  • vercel-setup.md — exact project link, Sandbox scope, Gateway/BYOK/custom routes
  • architecture.md — pipeline internals
  • data-layout.md — data/ schemas (FileRecord, RunMeta, …)
  • faq.md — cost, model choice, sandbox mode, FP rate

How to answer common questions

  • "How do I install/init deepsec?" → getting-started.md; default to npx deepsec init, not a manual install/scan recipe.
  • "Setup stopped; how do I resume?" → getting-started.md + data-layout.md; re-run init or deepsec setup.
  • "How do I run another scan?" → getting-started.md after noting the first scan/process already ran during setup.
  • "What goes in deepsec.config.ts?" → configuration.md + samples/webapp/deepsec.config.ts.
  • "Why did setup generate a matcher?" → writing-matchers.md + the project's generated-matchers.ts.
  • "How do I add a richer matcher?" → writing-matchers.md + samples/webapp/matchers/*.ts.
  • "How do I write a plugin?" → plugins.md + samples/webapp/deepsec.config.ts (inline plugin pattern).
  • "What does deepsec actually do?" → architecture.md.
  • "What's in data/<id>/files/foo.json?" → data-layout.md.
  • "Which model / agent should I use?" → models.md.
  • "How do project linking, Sandbox, or my own credentials work?" → vercel-setup.md.

Read the doc before paraphrasing. The CLI flag set, defaults, and plugin-contract field names change — quote the doc, don't recall.

Agent-native initialization

When you are asked to initialize Deepsec from a non-TTY agent session, first inspect the read-only plan:

npx deepsec init --plan --output json

Then run the requested policy, normally:

npx deepsec init --yes --model-profile value --output jsonl

Parse every output line as JSON. On needs_input, show the supplied message and actions to the user rather than inventing remediation. In particular, VERCEL_AUTH_REQUIRED normally asks the user to run npx vercel login; after they do, follow the returned link action from inside .deepsec. Use npx vercel link when the user needs to choose, or the returned parameterized --yes --team <team-slug> --project <project-name> form for a known existing project. Then rerun the same Deepsec command. Exit code 2 means input is needed and exit code 3 means a requested cost/duration boundary stopped the resumable run. Never expose credential values, bypass --yes, or launch an interactive login yourself.

常见问题

文档涵盖哪些主题?

设置、配置、插件、模型选择、Vercel 设置、内部设计以及常见问题。

为什么要阅读文档,而不是凭记忆回答?

因为工具细节可能会变化,文档被视为权威来源。

它涵盖费用问题吗?

涵盖。文档中包含一个常见问题页面,其中有关于费用的内容。

详情

作者的原始描述

Use deepsec (an AI-powered vulnerability scanner) — one-shot initialization, resumable setup, project/model credentials, scans, generated or hand-authored matchers, and plugins. Activates when the user asks how to initialize, scan, configure, resume, or extend deepsec.

repo: vercel-labs/deepsec

热度

GitHub 星标
8.3k
排名
#12467
许可证
Apache-2.0
更新时间
2026/9/29

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能