ai-security-knowledge-base — Claude Code skill: what it does
ai-security-knowledge-base connects an AI security reference base directly to your coding assistant. It covers threat modeling, OWASP LLM Top 10 vulnerabilities, and model defense tactics.
no license 332 installs ★ 13 updated 2026-10-09
npx skills add reason-machines/security-skills --skill ai-security-knowledge-base -a claude-codeWhat ai-security-knowledge-base does
This skill gives Claude Code access to curated reference materials on machine learning security. The underlying repository covers neural network architectures and reinforcement learning mechanics. It also details the OWASP LLM Top 10 list, explaining prompt injections and training data poisoning.
The files live in the AI_Security_Top Markdown documentation set. Topics include Model Context Protocol weaknesses and threat hunting scripts using Isolation Forest. The original documents are in Chinese. Claude Code translates and extracts relevant guidance during the conversation.
What it helps with
- Review vulnerabilities listed in the OWASP LLM Top 10
- Inspect Model Context Protocol setups for tool poisoning risks
- Build network traffic anomaly detectors using Isolation Forest
- Analyze security log patterns with pre-trained language models
Example prompts for the agent
- Explain how to protect an agent workflow against indirect prompt injection.
- Show defensive guidelines for securing MCP tool configurations.
- Help me detect anomalous server traffic using Isolation Forest.
How to install ai-security-knowledge-base
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill ai-security-knowledge-base -a claude-code2Manually: put the files in place
~/.claude/skills/ai-security-knowledge-base/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ai-security-knowledge-base/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill ai-security-knowledge-base -a codex2Manually: put the files in place
.agents/skills/ai-security-knowledge-base/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill ai-security-knowledge-base -a cursor2Manually: put the files in place
.cursor/skills/ai-security-knowledge-base/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills skills/ai-security-knowledge-base2Manually: put the files in place
.github/skills/ai-security-knowledge-base/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill ai-security-knowledge-base -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/ai-security-knowledge-baseManually: put the files in place
.devin/skills/ai-security-knowledge-base/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill ai-security-knowledge-base -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ai-security-knowledge-base
How to install ai-security-knowledge-base in Claude Code?
Run npx skills add reason-machines/security-skills --skill ai-security-knowledge-base -a claude-code. The file is saved to ~/.claude/skills/ai-security-knowledge-base/SKILL.md.
What does ai-security-knowledge-base do?
It provides reference documentation on artificial intelligence security to your assistant. The skill covers OWASP LLM risks, MCP protocol concerns, and anomaly detection algorithms.
What language is the documentation written in?
The original repository documentation is written in Chinese. The assistant reads the Markdown files and translates the concepts into English during chat sessions.