Agent skill

Architecting Security

by telagod in telagod/code-abyss

安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling new systems, implementing zero-trust…

MITAuto-check passedSecurity

Install Architecting Security

skills CLI
$ npx skills add telagod/code-abyss --skill architecting-security -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install telagod/code-abyss architecting-security --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/telagod/code-abyss.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/architecting-security .claude/skills/architecting-security && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
architecting-security
GitHub stars
243
Token cost
~712 tokens
SKILL.md length
178 words
Files
4 (incl. references)
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling new systems, implementing zero-trust…

  • Works in 5 steps: 先建模再写代码 — 威胁清单未出,代码不动;信任边界未画,接口不开。 → 控制必须证据化 — 任何控制都要回答「日志在哪?审计点在哪?谁是… → 零信任默认拒绝 — 永不信任、始终验证、最小权限到请求级;缺一即非零信任。 → …
  • Designing security architecture
  • SKILL.md covers 路由, 何时使用, 执行链 and 决策矩阵, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Architecting Security is an agent skill from telagod/code-abyss. 安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling new systems, implementing zero-trust identity, designing IAM/SSO/PAM, building compliance evidence chains, or planning privacy-by-design.

Its SKILL.md is about 710 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/compliance-and-evidence.md`, `references/identity-and-zero-trust.md` and `references/threat-modeling.md`).

It sits in Security, covering Threat modeling, Authentication and SOC 2 and security compliance. The repository describes itself as: Give your AI coding agent a personality. Composable persona + style + skills for Claude Code, Codex, Gemini CLI & OpenClaw. Ships Tech Persona Card v1.0 spec. The licence is MIT.

When your agent uses it

  • Designing security architecture
  • Threat modeling new systems
  • Implementing zero-trust identity
  • Designing IAM/SSO/PAM

Example prompts

  • “/architecting-security”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 先建模再写代码 — 威胁清单未出,代码不动;信任边界未画,接口不开。
  2. 控制必须证据化 — 任何控制都要回答「日志在哪?审计点在哪?谁是 owner?SLA 多久?」
  3. 零信任默认拒绝 — 永不信任、始终验证、最小权限到请求级;缺一即非零信任。
  4. 合规不是法律意见 — 框架映射可以做,最终结论须法务/合规官签字。
  5. 残留风险必须留痕 — 不能消的风险要在 DESIGN.md / 风险登记册显式接受 + 补偿控制。

What it can do on your machine

Read from SKILL.md and the folder at commit 2544577. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Architecting Security loads about 712 tokens when it runs, and up to ~8.8k if it reads all its reference files. Until then it costs about 80 tokens; SKILL.md has 178 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~712
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from telagod/code-abyss at commit 2544577, republished under its MIT licence (© telagod). 178 words, ~712 tokens.

Download SKILL.mdSave it as .claude/skills/architecting-security/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
architecting-security
description
安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling new systems, implementing zero-trust identity, designing IAM/SSO/PAM, building compliance evidence chains, or planning privacy-by-design.
user-invocable
false

安全架构与治理

判断先于执行:决定「是否做 / 选什么 / 如何取舍」(栈、方案、架构、权衡)前,先读领域判断内核 skills/_kernel/security/SKILL.md——它管 judgment,本秘典管 execution;冲突时以内核判断为准。

架构是预防层,不是补丁。先建模再写代码,先定边界再开 API。控制必须可证据化。

路由

意图秘典核心
威胁建模threat-modelingSTRIDE / PASTA / LINDDUN / DFD / Attack Tree
身份与零信任identity-and-zero-trustIAM / SSO / MFA / Kerberos / PAM / Conditional Access
合规与证据compliance-and-evidenceSOC2 / PCI / HIPAA / GDPR / ISO27001 / DLP / 隐私工程

何时使用

场景用不用
新系统设计 / 新攻击面引入✅ STRIDE + DFD—
重大架构变更(鉴权、数据流、信任边界)✅ 重新建模—
引入 PII / PHI / PCI 数据✅ LINDDUN + 合规映射—
上线前安全门禁 / 客户安全问卷✅ 控制矩阵 + 证据—
已有架构无变更❌用现有控制即可
仅 bug 修复 / 样式调整❌走 analyzing-security
渗透实施层面❌用 securing-systems

执行链

威胁建模 (STRIDE/PASTA/LINDDUN)
  → 控制设计 (preventive / detective / responsive 三层)
  → 实现 (代码、IaC、policy-as-code)
  → 验证 (渗透 / 红队 / 控制测试)
  → 证据留痕 (日志 / 审计 / 合规映射)

每环必须可回答「这控制对应哪条威胁?这威胁缓解到什么残留水平?谁验收?」

决策矩阵

决策点选项 A选项 B判据
鉴权协议SAML 2.0OIDC企业内部 SSO → SAML;移动/SPA/API → OIDC
MFA 强度TOTP / PushFIDO2 / WebAuthn高价值账号、抗钓鱼 → FIDO2 强制
特权访问Standing privilegeJIT + Approval生产/敏感 → JIT;运维便利 → Standing 必有补偿
合规起步SOC 2 Type IType II客户问卷应付 → I;正式审计 → II(6-12月观察期)
数据脱敏假名化(可逆)匿名化(不可逆)业务侧仍需关联 → 假名化 + KMS;统计/共享 → 匿名化
跨境传输SCCBCR偶发场景 → SCC;跨国集团内部 → BCR

与其他 skill 联动

铁律

  1. 先建模再写代码 — 威胁清单未出,代码不动;信任边界未画,接口不开。
  2. 控制必须证据化 — 任何控制都要回答「日志在哪?审计点在哪?谁是 owner?SLA 多久?」
  3. 零信任默认拒绝 — 永不信任、始终验证、最小权限到请求级;缺一即非零信任。
  4. 合规不是法律意见 — 框架映射可以做,最终结论须法务/合规官签字。
  5. 残留风险必须留痕 — 不能消的风险要在 DESIGN.md / 风险登记册显式接受 + 补偿控制。

© telagod, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/architecting-security of telagod/code-abyss.

  • SKILL.md
  • references/compliance-and-evidence.md
  • references/identity-and-zero-trust.md
  • references/threat-modeling.md

Open the folder on GitHubat commit 2544577

Compare with similar skills

Architecting Security next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Architecting Security compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Architecting Security this skilltelagod/code-abyss243—~712Automated safety check: PassMIT
Security Compliancesangrokjung/claude-forge8502 repos~7.2kAutomated safety check: PassMIT
Audit Reportharness/harness-skills115—~1.3kAutomated safety check: PassApache-2.0
Ciso Advisoralirezarezvani/claude-skills28k1 repos~1.8kAutomated safety check: PassMIT
ComplianceRightNow-AI/openfang18k—~921Automated safety check: PassApache-2.0
Eks Securityaws-samples/appmod-blueprints113—~4.7kAutomated safety check: PassMIT-0

Similar skills

  • Security Compliance

    sangrokjung/claude-forge

    Guides security professionals in implementing defense-in-depth security architectures, achieving compliance with industry frameworks (SOC2, ISO27001, GDPR, HIPAA), conducting threat modeling and…

    850 GitHub starsUsed in 2 repos~7.2k tokens
    Legal & ComplianceAuto-check passed
  • Audit Report

    harness/harness-skills

    Generate audit reports and compliance trails using Harness audit trail data via MCP v2 tools.

    115 GitHub stars~1.3k tokensUpdated yesterday
    Legal & ComplianceAuto-check passed
  • Ciso Advisor

    alirezarezvani/claude-skills

    Security leadership for growth-stage companies. An agent skill from alirezarezvani/claude-skills.

    28k GitHub starsUsed in 1 repo~1.8k tokens
    Legal & ComplianceAuto-check passed
  • Compliance

    RightNow-AI/openfang

    Compliance expert for SOC 2, GDPR, HIPAA, PCI-DSS, and security frameworks

    18k GitHub stars~921 tokensUpdated 3 mo ago
    Legal & ComplianceAuto-check passed
  • Eks Security

    aws-samples/appmod-blueprints

    Official

    A skill your agent uses whenever someone needs security or compliance guidance for Amazon EKS — phrased as "CIS Benchmark for EKS", "HIPAA / PCI-DSS / FedRAMP / SOC 2 / GDPR on EKS", "harden my EKS…

    113 GitHub stars~4.7k tokensUpdated today
    Legal & ComplianceAuto-check passed
  • Policy Opa

    AgentSecOps/SecOpsAgentKit

    Policy-as-code enforcement and compliance validation using Open Policy Agent (OPA).

    220 GitHub starsUsed in 1 repo~3.5k tokens
    Legal & ComplianceAuto-check passed

More from telagod/code-abyss

All 38 skills in this repo
  • Security Gate Scanner

    telagod/code-abyss

    Scans code with a bundled Node scanner for injection, secret leaks and other dangerous patterns, and requires documented decisions for accepted risks.

    243 GitHub stars~552 tokensUpdated 2 mo ago
    Auto-check: notes
  • Persona Voice Card Builder

    telagod/code-abyss

    Distills a recurring agent voice from conversations into a restricted Persona Voice Card, validates it for schema, safety and distinctness, and prepares it for community submission.

    243 GitHub stars~716 tokensUpdated 2 mo ago
    Auto-check: notes
  • Skill Cultivation Funnel

    telagod/code-abyss

    Distills repeated workflows into new skills, improves existing ones and promotes them through local, project and community tiers after a default-deny safety scan.

    243 GitHub stars~794 tokensUpdated 2 mo ago
    Auto-check: notes
  • DOCX Processing Toolkit

    telagod/code-abyss

    Routes Word document tasks to the right tool: pandoc for text, raw OOXML for structure and comments, docx-js for new files, and a mandatory redlining flow for edits to others' documents.

    243 GitHub stars~668 tokensUpdated 2 mo ago
    Auto-check: notes
  • PDF Processing Toolkit

    telagod/code-abyss

    Picks the right Python library or CLI tool for a PDF task, text and table extraction, merging, splitting, OCR, watermarking or form filling, and points to a matching recipe.

    243 GitHub stars~532 tokensUpdated 2 mo ago
    Auto-check: notes
  • Code Change Analysis Gate

    telagod/code-abyss

    Checks what a code change touched, how far its impact reaches and whether design docs, tests and README files kept up, before commit or in review.

    243 GitHub stars~532 tokensUpdated 2 mo ago
    Auto-check: notes

Questions about Architecting Security

What does Architecting Security do?

安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling new systems, implementing zero-trust…. Architecting Security is an agent skill from telagod/code-abyss. 安全架构与治理:威胁建模 (STRIDE/PASTA/LINDDUN)、零信任身份架构、IAM/SSO/MFA/PAM、合规框架 (SOC2/PCI/HIPAA/GDPR)、DLP、隐私工程、安全控制设计。Use when designing security architecture, threat modeling new systems, implementing zero-trust identity, designing IAM/SSO/PAM, building compliance evidence chains, or planning privacy-by-design.

When should I use Architecting Security?

Architecting Security fits situations like: designing security architecture; threat modeling new systems; implementing zero-trust identity; designing IAM/SSO/PAM.

How do I install Architecting Security in Claude Code?

Run `npx skills add telagod/code-abyss --skill architecting-security -a claude-code`. Or copy the skill folder (skills/architecting-security in telagod/code-abyss) into .claude/skills/architecting-security in your project. Claude Code loads it when a task matches its description.

How do I install Architecting Security in Codex?

Run `npx skills add telagod/code-abyss --skill architecting-security -a codex`. Or copy the skill folder (skills/architecting-security in telagod/code-abyss) into .agents/skills/architecting-security in your project. Codex loads it when a task matches its description.

Can I use Architecting Security in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add telagod/code-abyss --skill architecting-security -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/architecting-security, .gemini/skills/architecting-security, .github/skills/architecting-security and .opencode/skills/architecting-security in your project.

What does Architecting Security need to run?

SKILL.md names no scripts, command-line tools or credentials: Architecting Security is instructions for the agent only.

Does Architecting Security access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Architecting Security safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Architecting Security use?

Architecting Security is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Architecting Security use?

About 712 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 8.1k tokens, read only when the agent opens those files.

What are the alternatives to Architecting Security?

Skills that share tags, products or a category with Architecting Security: Security Compliance (sangrokjung/claude-forge, 850 stars), Audit Report (harness/harness-skills, 115 stars), Ciso Advisor (alirezarezvani/claude-skills, 28k stars) and Compliance (RightNow-AI/openfang, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Architecting Security?

telagod (a GitHub user) maintains it in telagod/code-abyss, which has 243 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on July 19, 2026.

Source: telagod/code-abyss on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.