EngramGraph: Skill for Claude Code

.agents/skills/security-assistant/SKILL.md

security is a skill for Claude Code from AsiaOstrich/EngramGraph. It costs 69 tokens per session (1,238 once invoked), scanned A, original, MIT.

A guide for reviewing application security and finding vulnerabilities using the OWASP Top 10, a widely used list of common web security risks. It covers secure design, access control, input handling, authentication, logging, and related checks.

In plain words
What is it for?
Use it for security audits, secure coding reviews, threat modeling, and vulnerability assessments.
Why use it?
It gives security reviews a repeatable checklist instead of relying on ad hoc inspection. It is not for automated dependency, vulnerability, or secret scanning, or for handling an active breach.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is AsiaOstrich/EngramGraph's own configuration. It tells Claude Code how to work on EngramGraph itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything EngramGraph configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is 完整的 AI 行為定義請參閱對應的命令文件:[`/security`](../commands/security.md#ai-agent-behavior--ai-代理行為).

Reuse

Borrowing it

Nothing to install: this file belongs to AsiaOstrich/EngramGraph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AsiaOstrich/EngramGraph/main/.agents/skills/security-assistant/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AsiaOstrich/EngramGraph

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for security

README.md
[![agentmods](https://agentmods.dev/badge/skills/asiaostrich/engramgraph/security-assistant/github.svg)](https://agentmods.dev/skills/asiaostrich/engramgraph/security-assistant)
Your own site
<a href="https://agentmods.dev/skills/asiaostrich/engramgraph/security-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/engramgraph/security-assistant/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for security

Your own site · 80×15
<a href="https://agentmods.dev/skills/asiaostrich/engramgraph/security-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/engramgraph/security-assistant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01238
Opus 5.5 $0.00028 $0.00495
Sonnet 5.5 $0.00014 $0.00248
Haiku 4.5 $0.00007 $0.00124

Measured 14d ago against content hash f8b870e114fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/security-assistant/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Security Assistant | 安全審計助手

Guide systematic security reviews following OWASP Top 10 and industry best practices.

引導系統化的安全審查,遵循 OWASP Top 10 和業界最佳實踐。

Quick Checklist — OWASP Top 10 Prevention | 快速檢查清單

ID Risk Prevention 預防措施
A01 Broken Access Control Enforce least privilege, deny by default 最小權限原則,預設拒絕
A02 Cryptographic Failures Use strong algorithms, protect keys 使用強加密演算法,保護金鑰
A03 Injection Parameterized queries, input validation 參數化查詢、輸入驗證
A04 Insecure Design Threat modeling, secure design patterns 威脅建模、安全設計模式
A05 Security Misconfiguration Hardened defaults, minimal permissions 強化預設值、最小權限
A06 Vulnerable Components Track dependencies, patch regularly 追蹤相依套件、定期修補
A07 Auth Failures MFA, strong password policies 多因素認證、強密碼策略
A08 Data Integrity Failures Verify signatures, use trusted sources 驗證簽章、使用可信來源
A09 Logging Failures Log security events, monitor alerts 記錄安全事件、監控告警
A10 SSRF Validate URLs, restrict outbound traffic 驗證 URL、限制對外流量

Security Review Workflow | 安全審查工作流程

SCOPE ──► SCAN ──► ANALYZE ──► REPORT

1. Scope — Define Audit Boundary | 定義審計範圍

Identify target modules, data flows, and trust boundaries.

識別目標模組、資料流和信任邊界。

2. Scan — Identify Vulnerabilities | 識別漏洞

Review code for OWASP Top 10 patterns, check dependencies, inspect configurations.

檢查程式碼的 OWASP Top 10 模式、檢查相依套件、檢視配置。

3. Analyze — Assess Risk | 評估風險

Classify findings by severity (Critical/High/Medium/Low) and exploitability.

依嚴重程度(Critical/High/Medium/Low)和可利用性分類。

4. Report — Document Findings | 記錄發現

Produce actionable findings with remediation recommendations.

產出可行動的發現報告,附帶修復建議。

Severity Classification | 嚴重程度分類

Level Criteria 標準
Critical Remote code execution, data breach 遠端程式碼執行、資料洩漏
High Authentication bypass, privilege escalation 認證繞過、權限提升
Medium Information disclosure, CSRF 資訊洩漏、CSRF
Low Missing headers, verbose errors 缺少 Header、冗長錯誤訊息

Read the full file on GitHub · 107 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago First seen · 107 lines · 69 tokens per session scan A f8b870e114fb

Subscribe to this mod's changes

security is a skill published in the GitHub repository AsiaOstrich/EngramGraph (3 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 1,238 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.

Related

Other skills, from other repositories

kivgraph

Use Kivgraph's local MCP server to search symbols, read their source, and follow references, dependencies, cross-repository consumers and graph status in the indexed code graph.

Luqueee/kivgraph · 39 tokens

mushroom

Live graph memory for agents — query and create entities, derive relationships by rule, explain why two things are associated, read the graph at a past commit, ask what a change would do, and answer as one role. Trigger on: memory, remember, recall, relationship, entity, association, why are X and Y related, as of…

MatthewSherlin/mushroomdb · 0 tokens

omnigraph

Operate OmniGraph graphs and deployments. Use for .pg schemas, .gq queries, OmniGraph CLI commands, file:///s3:///az:// graph URIs, cluster.yaml, operator config, bearer-authenticated servers, graph-backed knowledge or memory, Blob values, embeddings, branches, commits, and change feeds. Apply especially before schema…

ModernRelay/omnigraph · 94 tokens

code-graph

This skill should be used when understanding code structure, finding dependencies between functions/classes, tracing call graphs, or exploring code relationships. Trigger phrases include 'code graph', 'call graph', 'who calls', 'what calls', 'find dependencies', 'code structure', 'inheritance', 'find paths'.

FalkorDB/code-graph · 64 tokens

usage

Query LeanKG knowledge graph for code understanding. Use when exploring a codebase, finding functions, tracing dependencies, or calculating impact radius.

FreePeak/LeanKG · 27 tokens

codestory-grounding

Use when discovering repository structure, tracing relationships, analyzing change impact, or validating CodeStory retrieval or an installed plugin through the CodeStory plugin MCP. Skip only for bounded inspection or editing of named files that does not require those operations.

TheGreenCedar/CodeStory · 52 tokens