Logo Threat Modeling

Threat Modeling

Cộng đồng
fr33d3m0n
threat-modeling

Lập mô hình mối đe dọa, kiểm tra bảo mật, tìm lỗ hổng, kiểm tra bảo mật ứng dụng, đánh giá rủi ro, chuẩn bị kiểm thử xâm nhập, phân tích bề mặt tấn công, tìm hiểu kẻ tấn công có thể khai thác điểm nào. Hãy dùng kỹ năng này bất cứ khi nào người dùng muốn phân tích bảo mật toàn diện cho codebase, ứng dụng hoặc dự án. BẮT BUỘC gọi kỹ năng này thay vì tự phân tích bảo mật — kỹ năng chạy quy trình STRIDE chuyên biệt gồm 8 giai đoạn và tạo ra các tài liệu chuyên nghiệp mà bạn không thể tự tạo: báo cáo đánh giá rủi ro, sơ đồ DFD, danh mục mối đe dọa, xác thực đường tấn công, kế hoạch giảm thiểu rủi ro và kế hoạch pentest. Kích hoạt khi người dùng nói: 威胁建模, 安全评估, 渗透测试, 安全分析, 安全审计, 安全检查, 风险评估. KHÔNG dùng cho: sửa một lỗi cụ thể, thêm một tính năng bảo mật (giới hạn tốc độ, CORS), viết kiểm thử, thiết lập CI/CD hoặc gỡ lỗi.

Tổng quan

Nhà phát hànhfr33d3m0n
Kho mãthreat-modeling
Tên kỹ năngthreat-modeling
Sao
356
Bản fork
48
Tệp đi kèm
159
Giấy phépBSD-3-Clause
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 159 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được fr33d3m0n công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Threat Modeling trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/fr33d3m0n/threat-modeling/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fr33d3m0n/threat-modeling.git \
  .claude/skills/threat-modeling
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Threat Modeling trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Threat Modeling ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Threat Modeling với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Threat Modeling Skill v3.3.0 (20261130b)

AI-native automated software risk analysis skill. LLM-driven, Code-First approach for comprehensive security risk assessment, threat modeling, security testing, penetration testing, and compliance checking.

Paths: commands below use ${CLAUDE_SKILL_DIR} (expanded at load time by Claude Code). On Codex, Antigravity CLI (agy), in referenced files, and after compaction, resolve ${CLAUDE_SKILL_DIR} to the directory containing this loaded SKILL.md; "Bash" means the host shell. Only the skill-loading read of SKILL.md precedes S-Init; read this file and each reference (WORKFLOW.md, phases/P1..P8R.md, assets/contracts/data-model.yaml) to its end (agy caps single reads at 46,080 bytes; phases/P2-DFD-ANALYSIS.md and assets/contracts/data-model.yaml exceed that limit).

After a compaction: Read Risk_Assessment_Report/.phase_working/{SESSION_ID}/task_queue.yaml, _session.yaml, and Risk_Assessment_Report/.phase_working/_session_meta.yaml first, re-read this SKILL.md in full so paths, gates, and mirror rules stay in context, reconcile the host task list if mirrored, and resume from the saved TESM + workflow phase (S1..S4, P1..P8).

Version Banner

━━━ 🛡️ Threat Modeling Skill v3.3.0 (20261130b) ━━━

Command Line Flags

FlagDescriptionDefault
--debugPublish internal YAML data files, KB queries, coverage validation, and evaluation reportOFF
--lang=xxSet output language (en, zh, ja, ko, es, fr, de, pt, ru)Auto-detect
--detailedAuto-trigger P8R (detailed per-VR analysis reports) after P8 completesOFF

Usage: /threat-model @my-project [--debug] [--lang=zh] [--detailed]


S-Init

  • S-Init a (Session + Queue): Run python3 "${CLAUDE_SKILL_DIR}/scripts/phase_data.py" --init --project <PROJECT> --path . [--detailed] --root . (creates Risk_Assessment_Report/.phase_working/{SESSION_ID}/ and auto-seeds task_queue.yaml with T-01..T-08, or T-01..T-09 with --detailed).
  • S-Init b (Verify State): Run python3 "${CLAUDE_SKILL_DIR}/scripts/task_state.py" --state "Risk_Assessment_Report/.phase_working/{SESSION_ID}/task_queue.yaml" --summary to confirm active queue and DAG dependencies.
  • S-Init c (Conditional Host Mirror): Follow Task Surface Sync below only if your current tool definitions include a complete host task-list interface.

Task Surface Sync (TESM ↔ Host Task UI)

task_state.py YAML is the single source of truth; a host task list is a view of it, kept only where the host offers one (WORKFLOW.md "Host task list"; read it before mirroring).

  • Capability: mirror only when the tool definitions in your current context include a task-list interface with every tool its procedure needs (TaskCreate + TaskUpdate + TaskList; or TodoWrite; or Codex's update_plan; or agy's update_steps; manage_task and TaskStop are not task lists). A tool the host lists by name as deferred, with its schema not yet loaded, counts as offered: load its schema with the host's tool-search call (Claude Code: ToolSearch with select:TaskCreate,TaskUpdate,TaskList) before its first call, and never call it unloaded. Loading a schema is not a probe. Never call an absent tool to find out. A call answered "no such tool", "disabled" or a permission refusal ends the mirror: do not retry it for later tasks or through a subagent. After a resume or a compaction, look at the tool definitions again.
  • Ownership: a TaskCreate carries the subject T-NN [<session-id>] <description>, TESM: <abs task_queue.yaml> on line 1 of description and an activeForm (e.g. S3 executing: Analyzing P2 data flows); change or delete only an entry you can show is this session's (subject and TESM path); leave any other alone.
  • When: once a transition is saved (exit 0, or phase_state saved), mirror it (start → in_progress, complete → completed or update_steps's done; also after S-Init c, --set-phase, pause, block, unblock and skip). Update-before-dispatch: when mirroring, mark the ACTIVE task in_progress before long-running work (a subagent, a Skill, Bash > 5s). Reconcile (with the Task tools: a lone TaskList call first, then create what is missing but never a SKIPPED task, and correct each status) after S-Init c, after a resume or compaction, and before the final report.
  • No usable tool: TESM alone is the record; at the final summary say once, with the reason, that the host task list was not kept in step (if it stopped midway: earlier entries may be stale).
  • Single writer: only the Lead runs task_state.py / phase_data.py and the mirror; parallel sub-agents (e.g. P2 traversal workers, P4 reviewers) return results to the Lead, which records them. Each command that writes locks its state file, so concurrent writes are serialized instead of lost; read-only queries (--summary, --next, --query, --verify) take no write lock. The order of transitions is still the Lead's to decide.

⚠️ CRITICAL: Data vs Report Separation

PRINCIPLE: Markdown is for reports (human-readable), YAML is for data (machine-readable). Writing reports AFTER YAML is MANDATORY!

Output LayerFormat & OrderPurposePath
1. DATA (PRIMARY).yaml written FIRSTStructured machine-readable phase input (FORBIDDEN: scraping .md prose/tables as YAML; fenced ```yaml:{block} extraction via --phase-end supported)Risk_Assessment_Report/.phase_working/{SESSION_ID}/data/P{N}_*.yaml
2. REPORT (SECONDARY).md written AFTER .yamlHuman-readable review & deliverables (illustrative YAML or fenced ```yaml:{block} blocks only)Risk_Assessment_Report/.phase_working/{SESSION_ID}/reports/P{N}-*.md

§1 Execution Model

Mode: Full Assessment Only — P1→P8 executed sequentially, synchronized with TESM step FSM (S1-THINKING → S2-PLANNING → S3-EXECUTING → S4-REFLECTING) per phase.

Phase Gate Protocol:

text
FOR N in [1..8] (and P8R if --detailed):
  1. Task start: task_state.py --start --id T-0N --state .../task_queue.yaml (+ --set-phase S1-THINKING -> S2-PLANNING -> S3-EXECUTING)
  2. Read: ${CLAUDE_SKILL_DIR}/phases/P{N}-*.md (read to end!) + previous YAML data/P{N-1}_*.yaml
  3. Write PRIMARY:  Risk_Assessment_Report/.phase_working/{SESSION_ID}/data/P{N}_*.yaml
  4. Write SECONDARY: Risk_Assessment_Report/.phase_working/{SESSION_ID}/reports/P{N}-*.md
  5. Gate: python3 ${CLAUDE_SKILL_DIR}/scripts/phase_data.py --phase-end --phase N --session-id {SESSION_ID} --root .
  6. IF exit != 0: keep phase cursor fixed, resolve blocking issues, re-run --phase-end (use task_state.py --reopen --phase N when replaying changed DONE phases; phase_data.py --p8r-open for late P8R)
  7. IF exit == 0: task_state.py --set-phase S4-REFLECTING -> --complete --id T-0N (mirror if enabled), advance to N+1

§2 Output Convention

Output Modes

ModePublished DeliverablesInternal Data (Risk_Assessment_Report/.phase_working/)
Default4 required reports (RISK-ASSESSMENT, RISK-INVENTORY, MITIGATION-MEASURES, PENETRATION-TEST-PLAN) + 7 phase reports (P1..P7-*.md)Kept internal (_session.yaml, task_queue.yaml, data/*.yaml, reports/*.md)
--debugAll 8 reports (+ ARCHITECTURE-ANALYSIS, DFD-DIAGRAM, COMPLIANCE-REPORT, ATTACK-PATH-VALIDATION) + 7 phase reports + EVALUATION-REPORT.mdPublished with data/*.yaml, P5_knowledge_base_queries.yaml, P8_coverage_validation.yaml

Directory Structure

text
{PROJECT_ROOT}/Risk_Assessment_Report/
├── {PROJECT}-RISK-ASSESSMENT-REPORT.md       ← Required (P8); DEBUG adds ARCHITECTURE-ANALYSIS, DFD-DIAGRAM,
├── {PROJECT}-RISK-INVENTORY.md               ← Required (P6)     COMPLIANCE-REPORT, ATTACK-PATH-VALIDATION
├── {PROJECT}-MITIGATION-MEASURES.md          ← Required (P7)
├── {PROJECT}-PENETRATION-TEST-PLAN.md        ← Required (P6)
├── P1-PROJECT-UNDERSTANDING.md .. P7-MITIGATION-PLAN.md  ← Published phase reports
├── [--detailed] detailed/VR-001-{slug}.md    ← Per-VR detailed reports (P8R)
├── [--debug] EVALUATION-REPORT.md            ← Internal evaluation summary
├── html/{index.html, *.html, detailed/}      ← HTML batch output (report_generator.py)
└── .phase_working/                           ← Internal state (published only with --debug)
    ├── _session_meta.yaml                    ← Global active/completed session index
    └── {SESSION_ID}/
        ├── {_session.yaml, task_queue.yaml}
        ├── data/P{1..8,P8R}_*.yaml           ← PRIMARY machine-readable phase artifacts (+ P5/P8 aux YAMLs)
        └── reports/P{1..8}-*.md              ← Working phase reports before final publish

Naming Convention

  • PROJECT: Uppercase, max 30 chars, format: ^[A-Z][A-Z0-9-]{0,29}$
  • Example: OPEN-WEBUI, MY-PROJECT, STRIDE-DEMO

Session ID Format

  • SESSION_ID: {PROJECT_NAME}_{YYYYMMDD_HHMMSS}
  • Example: OPEN-WEBUI_20260130_143022

Session Metadata

yaml
# File: Risk_Assessment_Report/.phase_working/{SESSION_ID}/_session.yaml
# Global index: Risk_Assessment_Report/.phase_working/_session_meta.yaml
schema_version: "3.3.0"
session_id: "OPEN-WEBUI_20260130_143022"
project_name: "OPEN-WEBUI"
project_path: "/path/to/project"
skill_version: "3.3.0 (20261130b)"
current_phase: 1
phases_completed: []

§3 Core Data Model

See @assets/contracts/data-model.yaml for complete schema definitions.

Entity Types

EntityID FormatPhaseDescription
ModuleM-{Seq:03d}P1Code modules/components
FindingF-P{N}-{Seq:03d}P1-P3Security observations (factual)
GapGAP-{Seq:03d}P4Security control deficiencies
ThreatT-{STRIDE}-{Element}-{Seq}P5STRIDE threats
ValidatedRiskVR-{Seq:03d}P6Verified risks
MitigationMIT-{Seq:03d}P7Remediation measures
POCPOC-{Seq:03d}P6Proof of concept
AttackPathAP-{Seq:03d}P6Attack vectors (single path)
AttackChainAC-{Seq:03d}P6Multi-step attack sequences
TestCaseTC-{Seq:03d}P8Penetration test cases
DetailedRiskRpt(uses VR-{Seq:03d})P8RPer-VR analysis report

Finding vs Gap Semantic Boundary

  • Finding (F-P{N}-xxx): A factual observation from phases 1-3 that MAY have security implications. Findings are objective facts about architecture, data flows, or boundaries. Example: "API endpoint uses HTTP instead of HTTPS"

  • Gap (GAP-xxx): A security control deficiency identified in P4 after analyzing findings against security domains. Gaps represent missing or inadequate controls. Example: "Missing TLS enforcement (NETWORK domain)"

Transition Rule: Findings from P1-P3 feed into P4 analysis. P4 evaluates findings against 16 security domains and produces Gaps where controls are deficient.

DFD Element IDs

Element TypePrefixFormatExample
External InteractorEIEI-{NNN}EI-001
ProcessPP-{NNN}P-001
Data StoreDSDS-{NNN}DS-001
Data FlowDFDF-{NNN}DF-001
Trust BoundaryTBTB-{NNN}TB-001

Count Conservation (P5→P6 Threat Accounting)

P5.threat_count = P6.verified + P6.theoretical + P6.pending + P6.excluded

All threats from P5 must be accounted for in P6 (no threat loss).

Semantic Distinction:

  • Count Conservation: P5→P6 threat accounting (threats flow from P5 to P6 dispositions)
  • Element Coverage Verification: P2→P5 element coverage (every DFD element has STRIDE analysis)

§4 Security Knowledge Architecture

See @knowledge/ for complete reference materials (~11 MB, 113 files).

  1. Security Control Set (What to do): 16 Security Domains (AUTHN, AUTHZ, INPUT, ...), Control Sets (18 files, 107 controls), OWASP (74 items), Compliance (14 frameworks).
  2. Threat Pattern Set (What to know): CWE (974), CAPEC (615), ATT&CK (835), CVE/KEV (323K+).
  3. Verification Set (How to test): WSTG (109), MASTG (92), ASVS (345).
  • 11 Security Principles: DID (Defense in Depth), LP (Least Privilege), ZT (Zero Trust), FS (Fail Secure), SOD (Separation of Duties), SBD (Secure by Default), CM (Complete Mediation), EOM (Economy of Mechanism), OD (Open Design), IV (Input Validation), LA (Least Agency — limit AI agent autonomy).

STRIDE Categories

STRIDENameCWEsCAPEC
SSpoofingCWE-287, 290, 307CAPEC-151, 194, 600
TTamperingCWE-20, 77, 78, 89CAPEC-66, 88, 248
RRepudiationCWE-117, 223, 778CAPEC-93
IInformation DisclosureCWE-200, 209, 311CAPEC-116, 157
DDenial of ServiceCWE-400, 770, 918CAPEC-125, 227
EElevation of PrivilegeCWE-269, 284, 862CAPEC-122, 233

§5 Knowledge Base Queries

bash
KB="${CLAUDE_SKILL_DIR}/kb"  # unified_kb_query.py accepts --kb-path PATH to override DB location
"$KB" --stride spoofing && "$KB" --stride-controls S && "$KB" --cwe CWE-89
"$KB" --full-chain CWE-89 && "$KB" --capec CAPEC-89 && "$KB" --attack-technique T1078
"$KB" --stride-tests S && "$KB" --wstg-category ATHN
"$KB" --all-llm && "$KB" --ai-component llm_inference_service

§6 Language Adaptation

Output language follows context language unless --lang=xx specified.

ContextFile NamesContent
ChineseP1-项目理解.md中文
EnglishP1-PROJECT-UNDERSTANDING.mdEnglish

Supported: en, zh, ja, ko, es, fr, de, pt, ru


§7 Progressive Context Loading

  1. Always Loaded: SKILL.md + WORKFLOW.md (orchestration & Host task list) at session start (S-Init a/b/c).
  2. Per Phase: Load ${CLAUDE_SKILL_DIR}/phases/P{N}-*.md on entry; write data/P{N}_*.yaml then reports/P{N}-*.md; gate via --phase-end.
  3. Post-P8 (Optional): With --detailed or confirmation, load ${CLAUDE_SKILL_DIR}/phases/P8R-DETAILED-REPORT.md.

§8 Reference Files

PathPurpose
@WORKFLOW.mdOrchestration contracts, phase gates, Host task list
@phases/P{1-8}-*.mdPhase-specific instructions
@assets/contracts/data-model.yamlEntity schemas
@knowledge/security-design.yaml16 security domains
@knowledge/security-principles.yaml11 security principles
@knowledge/sast-rules.yamlSAST tool configs and STRIDE mappings
@scripts/task_state.pyTESM step FSM (S1..S4) & locked task_queue.yaml manager
@scripts/module_discovery.pyP1 three-layer module discovery
@scripts/phase_data.pyPhase validation, session management, coverage checks
@scripts/unified_kb_query.pyKnowledge base queries
@scripts/report_generator.pyMD→HTML batch converter
@phases/P8R-DETAILED-REPORT.mdOptional per-VR detailed reports
@docs/TASK-SURFACE-MIRROR-AND-ARCH-DESIGN.mdv3.3.0 architecture & tri-host task mirror design
@skill_path.shPOSIX skill directory resolution helper

§9 Quick Start

Invoke /threat-model @my-project (--detailed for P8R per-VR reports, --debug for YAML + coverage artifacts, --lang=zh for Chinese). Run S-Init a/b/c, load WORKFLOW.md, then execute P1..P8 sequentially into Risk_Assessment_Report/.


§10 Core Execution Constraints (Invariants)

PRINCIPLE: The quality of threat modeling depends on execution rigor. The following constraints are INVIOLABLE.

Three Absolute Prohibitions

ConstraintDescriptionViolation Consequence
❌ NO MOCK DATAAll analysis must be based on real code evidenceAnalysis results invalid
❌ NO SIMPLIFIED IMPLEMENTATIONSEach phase must be fully executedCoverage requirements not met
❌ NO BYPASSING PROBLEMSMust diagnose root cause when blockedData chain broken

Phase Execution Invariant

∀ Phase N ∈ [1..8]:
  - Input: P{N-1}_*.yaml (except P1)
  - Output: P{N}_*.yaml (PRIMARY) + P{N}-*.md (SECONDARY)
  - Gate: phase_data.py --phase-end must return exit 0
  - Transition: Only proceed to N+1 after gate passes

Execution Protocol Details: See WORKFLOW.md §2 Phase Execution Protocol


§11 Phase Isolation Constraints

INVARIANT: Each Phase is an independent execution unit. FSM state transitions MUST follow strict sequential order.

Forbidden State Transitions

Illegal TransitionReason
Pn → Pn+2 (skip)Violates FSM order invariant (S1)
Pn → Pn+1 (unvalidated)Violates data contract completeness (S2)
Parallel Phase executionData dependencies cannot be satisfied

Complete FSM Specification: See WORKFLOW.md §1 Formal Properties: See docs/SKILL-ARCHITECTURE-DESIGN.md §0.2


End of SKILL.md (~540 lines, ~5.5K tokens)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 99 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Threat Modeling làm được gì?

Lập mô hình mối đe dọa, kiểm tra bảo mật, tìm lỗ hổng, kiểm tra bảo mật ứng dụng, đánh giá rủi ro, chuẩn bị kiểm thử xâm nhập, phân tích bề mặt tấn công, tìm hiểu kẻ tấn công có thể khai thác điểm nào. Hãy dùng kỹ năng này bất cứ khi nào người dùng muốn phân tích bảo mật toàn diện cho codebase, ứng dụng hoặc dự án. BẮT BUỘC gọi kỹ năng này thay vì tự phân tích bảo mật — kỹ năng chạy quy trình STRIDE chuyên biệt gồm 8 giai đoạn và tạo ra các tài liệu chuyên nghiệp mà bạn không thể tự tạo: báo cáo đánh giá rủi ro, sơ đồ DFD, danh mục mối đe dọa, xác thực đường tấn công, kế hoạch giảm thiểu rủ...

Vì sao nên dùng Threat Modeling trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Threat Modeling là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Threat Modeling trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/fr33d3m0n/threat-modeling/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Threat Modeling?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Threat Modeling với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Threat Modeling với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Threat Modeling có miễn phí không?

Có. Kỹ năng này được fr33d3m0n phát hành trên GitHub theo giấy phép BSD-3-Clause. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇