Security Policy Generator 标志

Security Policy Generator

社区
v0lka
security-policy-generator

Analyze a project repository and build a project-specific threat model, then derive from it the secure coding rules that go into SECURITY.md — covering both classical security and the OWASP Top 10 for Agentic Applications 2026 (ASI01–ASI10). Use when the user asks to create a security policy, generate a threat model, or establish secure coding rules for a repository.

概览

发布者v0lka
代码仓库skills
技能名称security-policy-generator
星标数
28
复刻数
1
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 2 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/v0lka/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/security/security-policy-generator .claude/skills/security-policy-generator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Security Policy Generator。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Security Policy Generator

Generate a project-specific SECURITY.md by analyzing the codebase, dependencies, configuration, and architecture. The output covers: supported versions, vulnerability reporting, threat model, security architecture, secure coding rules, and AI agent constraints.

⛔ Scope Boundary — read before doing anything

This skill does exactly two things and nothing more:

  1. Build an adequate threat model for this specific project — its assets, attack surface, trust boundaries, and the threats that apply given its real architecture and stack.
  2. Derive secure coding rules from that threat model, for both human contributors and coding agents.

This skill does NOT audit the project for compliance with the policy it builds, and it does NOT record any such audit results in SECURITY.md. Specifically, the agent MUST NOT:

  • Check whether the existing codebase already satisfies the rules it just wrote, or grade the project against the OWASP/ASI categories ("control present / gap / not applicable").
  • Populate SECURITY.md with findings about what is missing, broken, misconfigured, or non-compliant in the current code (e.g., "input validation absent on endpoint X", "rate limiting missing", "ASI01: no mitigation found").
  • Turn SECURITY.md into a code-review or penetration-test report.

A threat describes what could go wrong given the architecture (forward-looking): "because this service exposes a public API, injection is a relevant threat → therefore the coding rules require parameterized queries and input validation at all boundaries." A compliance finding describes what the code currently lacks — that belongs in a review report, an audit, or the issue tracker, never in SECURITY.md.

The codebase is studied only to understand the architecture well enough to model threats accurately and to tailor the coding rules to the real stack — never to score the project against the policy.

This skill produces a policy that covers two complementary risk domains:

  1. Classical application security — the OWASP Top 10 (Web/Cloud), injection, auth, crypto, supply chain, etc. Always applicable.
  2. Agentic application security — the OWASP Top 10 for Agentic Applications (2026), identifiers ASI01–ASI10. Applies whenever the project builds AI agents that plan, act, call tools, remember across sessions, or communicate with other agents on behalf of users.

The agentic section is conditional: a pure chatbot or RAG setup with no tool use and no multi-agent coordination needs only classical controls (and, where relevant, the OWASP Top 10 for LLM Applications). The moment the system takes actions on behalf of a user, the agentic threat model becomes mandatory. The reconnaissance script (scripts/recon.sh) auto-detects agentic indicators (LLM/agent SDKs, MCP, vector stores, prompt files, tool-calling patterns) and flags whether the agentic section should be generated.

Workflow

Copy this checklist and track progress:

Task Progress:
- [ ] Step 1: Project reconnaissance (incl. agentic indicators)
- [ ] Step 2: Identify assets and data flows (incl. agent assets)
- [ ] Step 3: Map attack surface (incl. agentic entry points)
- [ ] Step 4: Assess dependencies and supply chain
- [ ] Step 5: Identify security-relevant architecture (what domains apply)
- [ ] Step 6: Identify relevant agentic threats — OWASP ASI01–ASI10
- [ ] Step 7: Derive secure coding rules
- [ ] Step 8: Generate SECURITY.md
- [ ] Step 9: Register SECURITY.md in AGENTS.md
- [ ] Step 10: Validate completeness

Step 1: Project Reconnaissance

Gather foundational information about the project.

Automated discovery — run the reconnaissance script first, then supplement with manual checks:

bash
# Run the bundled reconnaissance script from the skill directory
bash scripts/recon.sh

This script automatically detects:

  • Language & framework (package files, source extensions)
  • Build tools & deployment indicators
  • Security configuration files
  • Dependency counts
  • Web frameworks, ORMs, auth libraries
  • Template engines, serialization libraries, HTTP clients
  • GraphQL libraries, cloud SDKs, CMS frameworks
  • Test frameworks
  • Dangerous code patterns (command execution, eval, deserialization, XXE)
  • Version/release information

Supplement the script output by checking:

What to findWhere to look
API surfaceOpenAPI specs, route definitions, gRPC proto files, GraphQL schemas
Auth mechanismAuth middleware, OAuth config, JWT libraries, session stores
Data storesDB drivers, ORM config, migration files, cache clients (Redis, Memcached)
Agent instructionsAGENTS.md, .github/copilot-instructions.md, .cursorrules, CLAUDE.md
Agentic componentsLLM/inference SDKs, agent frameworks (LangChain/LangGraph, CrewAI, AutoGen), MCP servers/config, vector stores, tool/function-calling definitions, system-prompt files

The reconnaissance script reports an "Agentic AI Indicators" section with a summary flag. If AGENTIC PROJECT DETECTED appears, the OWASP Top 10 for Agentic Applications (ASI01–ASI10) section MUST be generated; otherwise it may be omitted (classical controls suffice). Verify the flag manually against the "Agentic components" row above.

Key questions to clarify with user (use AskUserQuestion if available):

  1. What type of application is this? (web service / CLI tool / library / mobile app / desktop app)
  2. What deployment environment? (cloud provider, on-prem, hybrid)
  3. Who are the users? (internal employees / external customers / developers / public)
  4. Is there an existing security contact or process?
  5. Does the application include AI agents that take actions on behalf of users (call tools, write to systems, make decisions autonomously)? If yes, the agentic threat model (ASI01–ASI10) is required.

Step 2: Identify Assets and Data Flows

Determine what the project stores, processes, and transmits.

Look for:

  • Database models / schemas / migrations → identify PII, credentials, financial data
  • Environment variables and config files → identify secrets and sensitive config
  • File upload handlers → identify user-supplied content
  • API response shapes → identify what data leaves the system
  • Logging statements → identify what might be inadvertently logged
  • Cache keys → identify what's stored in shared memory

When agentic components are present, also look for:

  • System / role prompts → identify embedded guardrails and business logic (extraction reveals the agent's rules)
  • Agent credentials & tool secrets → the API keys/OAuth tokens the agent holds; their combined scope equals the blast radius (ASI03)
  • Agent memory stores & vector DBs → long-term memory and conversation history that persist across sessions (ASI06)
  • Tool & MCP definitions → schemas, descriptions, and permission mappings the agent trusts (ASI04)
  • Agent-generated artifacts → code, plans, and API calls produced at runtime (ASI05)
  • Training / embedding data → fine-tune datasets and embeddings (poisoning vectors)

Classify assets by sensitivity:

SensitivityExamples
CriticalSigning keys, DB master credentials, encryption keys, payment tokens
HighUser PII, session tokens, API keys, access logs with user context
MediumApplication config, internal IPs, non-sensitive business data
LowPublic content, marketing copy, open-source dependency list

Step 3: Map Attack Surface

Identify every point where untrusted input enters the system.

Checklist:

  • HTTP/gRPC/WebSocket endpoints (list all public routes)
  • Authentication endpoints (login, register, password reset, OAuth callbacks)
  • File upload endpoints
  • Webhook receivers
  • Message queue consumers
  • CLI arguments and stdin
  • Environment variables read at runtime
  • DNS/network exposure (ports, protocols)
  • CI/CD triggers (workflow_dispatch, PR events from forks)
  • Admin/debug endpoints (check if properly gated)

When agentic components are present, add these entry points:

  • Agent prompt inputs — user messages, RAG-retrieved documents, web pages, and tool outputs entering the model context (ASI01 indirect-injection vectors)
  • Agent tool / function-calling surface — every tool the agent may invoke, especially side-effecting operations (ASI02)
  • External tool & MCP registries — dynamically integrated tools, plugins, and schemas whose descriptions/permissions may be forged (ASI04)
  • Agent-generated code / shell execution — sandboxed or unsandboxed environments running model output (ASI05)
  • Agent memory stores — vector DBs, long-term memory, and conversation logs writable by the agent (ASI06)
  • Inter-agent message channels — orchestration buses, delegation protocols between agents (ASI07)
  • Human approval / HITL gates — review steps vulnerable to prompt-injection or approval-fatigue (ASI09)

For each entry point, note:

  • Input validation present? (type, length, format)
  • Authentication required?
  • Authorization granularity?
  • Rate limiting in place?

Step 4: Assess Dependencies and Supply Chain

Automated checks:

bash
# Node.js
npm audit --json 2>/dev/null || true
cat package-lock.json | python3 -c "
import json, sys
data = json.load(sys.stdin)
pkgs = data.get('packages', {})
print(f'Total packages: {len(pkgs)}')
direct = [k for k in pkgs if k.count('/node_modules/') == 1]
print(f'Direct dependencies: {len(direct)}')
"

# Go
go list -m all 2>/dev/null | wc -l
govulncheck ./... 2>/dev/null || true

# Python
pip-audit 2>/dev/null || safety check 2>/dev/null || true

# Rust
cargo audit 2>/dev/null || true

Assess:

  • Total dependency count (direct + transitive)
  • Known vulnerabilities (critical/high/medium)
  • Dependency freshness (last update dates of key deps)
  • Pinning strategy (lockfile present? hash verification?)
  • Whether security-critical functions use well-known libraries vs custom code
  • Agentic supply chain (ASI04): third-party tools, MCP servers, and plugin packages — are they pinned, vetted, provenance-verified? Are tool descriptions reviewed for deceptive language? Is dynamic tool discovery allowed?

Step 5: Identify Security-Relevant Architecture

The goal here is not to audit whether the codebase's existing controls are correct or complete — that is out of scope (see Scope Boundary). The goal is to recognize which security domains this architecture actually involves, so the threat model (Step 3) and the coding rules (Step 7) cover the right ground and stay relevant to the real stack rather than listing every generic control.

Scan the codebase to answer one question per domain: "Is this domain relevant to how this system is built?" Use the categories below as a checklist of domains to consider:

CategoryWhat "relevant" means here
AuthNThe system authenticates anyone (users, services) — middleware, tokens, sessions
AuthZThe system distinguishes permissions — roles, guards, policy engines
Input validationThe system accepts external input — API params, CLI args, file uploads, webhooks
CSRF protectionThe system has browser-facing state-changing endpoints
Rate limitingThe system exposes public or shared endpoints
EncryptionThe system stores or transmits sensitive data
Secret managementThe system handles secrets — API keys, DB credentials, signing keys
Logging & auditThe system produces security-relevant events worth recording
Security headersThe system serves HTML/web content to browsers
Container securityThe system ships as a container image
Agent guardrails (agentic)The system builds agents that consume untrusted content in-context (ASI01)
Tool-call governance (agentic)The system's agents invoke side-effecting tools (ASI02)
Code-exec sandboxing (agentic)The system runs agent-generated code or shell commands (ASI05)
Memory protection (agentic)The system persists agent memory/vector stores across sessions (ASI06)
Inter-agent security (agentic)The system coordinates multiple agents over a message channel (ASI07)
Resilience (agentic)The system chains agents/tools whose failures could cascade (ASI08)

For each domain you mark relevant, note only enough to inform the threat model and rules:

  • Why it's relevant — the architectural reason (e.g., "public REST API with session cookies → CSRF domain applies")
  • What the rules must address — the concrete concerns the coding rules will need to cover for this domain

Do not record implementation locations, coverage gaps, or "what's missing" — those are review findings, not policy inputs.


Step 6: Identify Relevant Agentic Threats — OWASP Top 10 for Agentic Applications (ASI01–ASI10)

Conditional step. Skip entirely if Step 1 did not detect agentic components (the recon script prints No strong agentic indicators). For a pure chatbot / RAG system with no tool use and no multi-agent coordination, classical controls and the OWASP Top 10 for LLM Applications suffice. The moment the system takes actions on behalf of a user, this step is required.

Not an audit. As with Step 5, the goal is not to score the current codebase ("does it pass ASI02?"). It is to determine, per category, whether the threat applies to how this system is built, and if so, what the coding rules (Step 7) and the threat-model entries must require. Do not record "control present / gap / not applicable" verdicts against the existing code, and do not push anything into Known Risks based on what the code currently lacks.

The unifying principle is least agency — grant an agent only the minimum autonomy required for a safe, bounded task. Ask, for every agent: what is its reach (least privilege) AND what is its latitude within that reach (least agency)?

For each category, answer two questions only: (a) Is this threat relevant given the architecture? (b) If yes, what must the rules require? Skip any category the architecture provably doesn't involve, noting why.

  • ASI01 — Agent Goal Hijacking. Relevant when agents ingest untrusted content (user input, tool outputs, retrieved docs, web pages) into context. If so, the rules must require instruction/data separation, input/output filtering, privilege separation between instructions and data, and treating all retrieved/tool-produced text as data.
  • ASI02 — Tool Misuse and Exploitation. Relevant when agents can call tools, especially side-effecting ones. If so, the rules must require per-tool least privilege, validated parameter schemas, restriction of dangerous operations regardless of agent request, a tool-call allowlist, budget/loop caps, and approval gates for irreversible actions.
  • ASI03 — Agent Identity and Privilege Abuse. Relevant when agents act under delegated or inherited credentials. If so, the rules must require per-agent verified identities, scoped/rotated credentials, confused-deputy prevention, and action logging with the verified principal.
  • ASI04 — Agentic Supply Chain Compromise. Relevant when third-party tools, MCP servers, or plugins are integrated (especially dynamically). If so, the rules must require pinning/vetting, description review, provenance verification, and sandboxing of new tools.
  • ASI05 — Unexpected Code Execution. Relevant when agent-generated code or shell commands run. If so, the rules must require sandbox isolation (restricted FS/network), approval gates for high-risk execution, argument scanning, ephemeral cleanup, and resource limits.
  • ASI06 — Memory and Context Poisoning. Relevant when agent memory/vector stores persist across sessions. If so, the rules must require write/read validation, poisoning-pattern scanning, purge capability, session isolation, and retention/TTL.
  • ASI07 — Insecure Inter-Agent Communication. Relevant when agents exchange messages over a bus or delegation protocol. If so, the rules must require authenticated/integrity-protected messages, delegation-depth limits, impersonation resistance, defined cross-agent permissions, and transport security.
  • ASI08 — Cascading Agent Failures. Relevant when agents/tools are chained such that one failure propagates. If so, the rules must require circuit breakers, fail-closed behavior, bulkheads, per-dependency fallback, and cascade monitoring.
  • ASI09 — Human-Agent Trust Exploitation. Relevant when human approval/HITL gates exist. If so, the rules must require showing raw intent (not agent summaries), approval rate-limiting, AI-generated labeling, and policy-engine-generated justifications.
  • ASI10 — Rogue Agents. Relevant when agents operate with any autonomy (drift, collusion, runaway). If so, the rules must require behavioral-drift monitoring, an auditable receipt chain, a kill-switch/circuit-breaker, periodic alignment checks, and autonomy bounds (max steps, time-boxed sessions).

Step 7: Derive Secure Coding Rules

Based on the discovered tech stack, generate project-specific coding rules.

Language-specific rule selection:

StackKey rules to emphasize
Node.js/TypeScriptPrototype pollution, ReDoS, event loop blocking, npm supply chain
GoInteger overflow, goroutine leaks, unsafe package usage, TOCTOU in file ops
PythonPickle deserialization, SSTI, subprocess injection, yaml.safe_load
Rustunsafe block justification, FFI boundary validation
Java/KotlinDeserialization (Jackson/Gson config), JNDI injection, XML external entities
React/FrontendXSS via dangerouslySetInnerHTML, open redirects, token storage in localStorage

Framework-specific rules:

  • ORM: N+1 queries as DoS vector, mass assignment protection
  • GraphQL: query depth/complexity limits, introspection in prod
  • gRPC: message size limits, deadline propagation
  • WebSocket: origin validation, message rate limiting

Agentic-specific rules (when ASI01–ASI10 apply):

  • Prompt construction: strict instruction/data separation with delimiters; treat retrieved/tool-produced text as adversarial (ASI01)
  • Tool integration: per-tool least privilege, validated parameter schemas, allowlist, budget/loop caps, irreversible-action gates (ASI02)
  • Code execution: sandbox with restricted FS/network, ephemeral cleanup, argument scanning (ASI05)
  • Memory: validate before write/read, scan for poisoning, isolate per session, enforce TTL (ASI06)
  • Inter-agent messaging: authenticate and sign messages, limit delegation depth, fail-closed (ASI07)

Step 8: Generate SECURITY.md

Use the template from template.md and fill in each section with discovered data.

Section-by-section guidance:

SectionSource
Supported VersionsGit tags, CHANGELOG, CI release config
Reporting a VulnerabilityUser input (or infer from existing SECURITY.md / CONTRIBUTING.md)
AssetsStep 2 output
Threat ActorsStandard list, adjusted to project's exposure level
Attack SurfaceStep 3 output
Trust BoundariesInfer from architecture (edge → app → data layer); add agent trust boundaries if agentic
Known RisksInherent architectural risks the design knowingly accepts (e.g., "MVP uses a single shared DB user") — never a list of what the current code is missing vs. the policy; compliance findings do not go here
Security ArchitectureStep 5 output — which security domains apply to this architecture and what the policy requires of each
Agentic Application SecurityStep 6 output (ASI01–ASI10) — include only if agentic indicators detected
Secure Coding GuidelinesStep 7 output
Rules for AI Coding AgentsDerived from stack + project-specific patterns + agentic constraints (ASI09/ASI10)
Security-Related Config FilesFiles found in Step 1

Writing rules:

  • Remove {{ }} placeholder markers from filled sections
  • Keep {{ }} only for sections that could not be filled (note why)
  • Be specific: reference actual file paths, library names, config values
  • Include concrete examples from the codebase where helpful
  • Mark assumptions explicitly: "Assumed based on [evidence]"

Step 9: Register SECURITY.md in AGENTS.md

Ensure that AI coding agents working on the repository are aware of the security policy. Add or update a reference to SECURITY.md in the project's AGENTS.md file.

If AGENTS.md exists — add a section (or append to an existing "Security" / "Guidelines" section):

markdown
## Security Policy

This project maintains a security policy in [SECURITY.md](./SECURITY.md).
All AI coding agents MUST read and follow SECURITY.md before making changes.
It contains:

- Threat model and trust boundaries
- Secure coding guidelines specific to this project's stack
- Hard constraints and forbidden patterns for AI agents
- Vulnerability reporting procedures
- Agentic security controls (OWASP Top 10 for Agentic Applications ASI01–ASI10), where applicable

Any code contribution that violates the rules in SECURITY.md will be rejected.

If AGENTS.md does not exist — create it with at minimum the security reference above, plus a brief header:

markdown
# Agent Guidelines

Instructions for AI coding agents (GitHub Copilot, Cursor, Qoder, etc.)
working on this repository.

## Security Policy

This project maintains a security policy in [SECURITY.md](./SECURITY.md).
All AI coding agents MUST read and follow SECURITY.md before making changes.
It contains:

- Threat model and trust boundaries
- Secure coding guidelines specific to this project's stack
- Hard constraints and forbidden patterns for AI agents
- Vulnerability reporting procedures
- Agentic security controls (OWASP Top 10 for Agentic Applications ASI01–ASI10), where applicable

Any code contribution that violates the rules in SECURITY.md will be rejected.

Important: Do not duplicate the full security rules in AGENTS.md — reference SECURITY.md as the single source of truth. AGENTS.md should only contain a pointer and a brief summary of what agents will find there.


Step 10: Validate Completeness

After generating, verify:

  • Every section either filled or marked with reason for incompleteness
  • No placeholder text left unmarked
  • Asset sensitivity ratings are justified
  • Attack surface entries match actual routes in codebase
  • Dependency counts match actual lockfile
  • Secure coding rules match the actual tech stack (no irrelevant rules)
  • AI agent rules reference patterns actually present in the project
  • No secrets or sensitive internal details exposed in the document
  • Revision history has today's date
  • AGENTS.md exists and references SECURITY.md
  • AGENTS.md does NOT duplicate security rules (only references them)
  • If agentic indicators were detected: ASI01–ASI10 section present, with each applicable category stating what the rules require (non-applicable categories justified and skipped)
  • If no agentic indicators: the Agentic Application Security section is explicitly omitted with a one-line note (no stale placeholders)
  • No audit findings in the document — SECURITY.md contains no statements grading the current code against the policy (e.g., "missing rate limiting on /api/x", "ASI02: no mitigation found", "input validation absent"). Known Risks lists only inherent architectural trade-offs the design knowingly accepts, never code-compliance gaps.

Output Location

Save the generated SECURITY.md to the project root directory. If one already exists, back it up first and present both versions for comparison.

Tone and Audience

The document will be read by:

  • Security researchers evaluating the project
  • New contributors learning project security standards
  • AI coding agents operating on the codebase
  • Auditors reviewing the security policy

Write in clear, imperative, technical language. Avoid marketing fluff. Prefer concrete over abstract.

附带文件

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

常见问题

Security Policy Generator AI 技能有什么作用?

Analyze a project repository and build a project-specific threat model, then derive from it the secure coding rules that go into SECURITY.md — covering both classical security and the OWASP Top 10 for Agentic Applications 2026 (ASI01–ASI10). Use when the user asks to create a security policy, generate a threat model, or establish secure coding rules for a repository.

为什么在 TypingMind 中使用 Security Policy Generator?

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

如何在 TypingMind 中安装 Security Policy Generator?

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

哪些 AI 模型可以使用 Security Policy Generator?

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

Security Policy Generator 可以搭配多少个 AI 模型使用?

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

Security Policy Generator AI 技能免费吗?

是的。v0lka 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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