Agent skill

AI SAFE2 Secure Build Copilot

by CyberStrategyInstitute in CyberStrategyInstitute/ai-safe2-framework

Applies the AI SAFE2 framework to security reviews, code reviews and compliance mapping for AI agents, RAG pipelines and MCP servers.

Custom licenceAuto-check passedSecurity

Install AI SAFE2 Secure Build Copilot

skills CLI
$ npx skills add CyberStrategyInstitute/ai-safe2-framework --skill ai-safe2-secure-build-copilot -a claude-code

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

GitHub CLI
$ gh skill install CyberStrategyInstitute/ai-safe2-framework ai-safe2-secure-build-copilot --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/CyberStrategyInstitute/ai-safe2-framework.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codex/ai-safe2-secure-build-copilot .claude/skills/ai-safe2-secure-build-copilot && 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
ai-safe2-secure-build-copilot
GitHub stars
147
Token cost
~1.2k tokens
SKILL.md length
528 words
Files
6 (incl. references)
Skills in repo
3
Repo updated
First seen
Licence
Custom licence

At a glance

Applies the AI SAFE2 framework to security reviews, code reviews and compliance mapping for AI agents, RAG pipelines and MCP servers.

  • Works in 2 steps: Triage the request → Apply the mandatory governance rules
  • Reviewing the security architecture of an AI agent or RAG pipeline
  • SKILL.md covers What changed in v3.1, Quick Start, Workflow and Response Contract, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

The skill is a control-anchored governance and security review layer for agentic systems, not a general coding aid. The agent first sorts the request into an architecture review across five pillars, a code review, a governance decision, a compliance mapping or a vulnerability and incident assessment. For any agent design it states the ACT tier, flags the HEAR requirement for the highest tiers, CP.9 when an agent can spawn sub-agents, and CP.8 catastrophic-risk thresholds for high-autonomy or regulated deployments.

Code reviews put findings first with control IDs and concrete fixes, looking for prompt injection, indirect injection, tool misuse, secrets in context, unsafe memory writes, missing trace logging, missing recursion limits and absent human approval paths. Compliance requests map each recommendation to control IDs and name the evidence artifacts to produce, against frameworks such as ISO 42001, NIST AI RMF, the EU AI Act, SOC 2, HIPAA, PCI-DSS, GDPR, FedRAMP, CMMC 2.0 and DORA. Three reference files cover governance, review and mapping, and evals, and are read only as needed.

When your agent uses it

  • Reviewing the security architecture of an AI agent or RAG pipeline
  • Reviewing code for prompt injection and tool misuse
  • Deciding an agent's autonomy tier and whether human oversight is required
  • Mapping AI controls to compliance frameworks and audit evidence

Example prompts

  • “Review this MCP server design for prompt injection and tool misuse risks.”
  • “Classify the autonomy tier of our support agent and say whether it needs human oversight.”
  • “Map our agent logging and approval controls to ISO 42001 and the EU AI Act.”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Triage the request
  2. Apply the mandatory governance rules

What it can do on your machine

Read from SKILL.md and the folder at commit 065241a. 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 (its code samples are markdown).

    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

AI SAFE2 Secure Build Copilot loads about 1.2k tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 134 tokens; SKILL.md has 528 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 528 words (~1,184 tokens).

“Apply AI SAFE2 as a control-anchored governance and security review layer for agentic systems. Treat this as a security and compliance skill, not a general-purpose AI coding skill.”

— opening of SKILL.md by CyberStrategyInstitute, Custom licence
name
ai-safe2-secure-build-copilot

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in skills/codex/ai-safe2-secure-build-copilot of CyberStrategyInstitute/ai-safe2-framework.

  • SKILL.md
  • SKILL-CARD.md
  • agents/openai.yaml
  • references/evals.md
  • references/governance-core.md
  • references/review-and-mapping.md

Open the folder on GitHubat commit 065241a

Compare with similar skills

AI SAFE2 Secure Build Copilot 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.

AI SAFE2 Secure Build Copilot compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
AI SAFE2 Secure Build Copilot this skillCyberStrategyInstitute/ai-safe2-framework147—~1.2kAutomated safety check: PassCustom licence
Sailpillar-labs/sail-skill113—~5.1kAutomated safety check: PassCustom licence
China AI Compliance AuditjnMetaCode/shellward140—~1.1kAutomated safety check: PassApache-2.0
Slowmist Agent Securityslowmist/slowmist-agent-security508—~1.4kAutomated safety check: PassMIT
MCP Server Security Auditawarexone/Agentic-Bug-Hunter5.3k—~1.9kAutomated safety check: WarnMIT
Security ReviewChatbotXIO/ChatbotX885—~1.8kAutomated safety check: NotesCustom licence

Similar skills

  • Sail

    pillar-labs/sail-skill

    Apply the SAIL (Secure AI Lifecycle) V2 framework by Pillar Security to secure AI applications and agents.

    113 GitHub stars~5.1k tokensUpdated 3 mo ago
    SecurityAuto-check passed
  • China AI Compliance Audit

    jnMetaCode/shellward

    按中国法规(网安法 / PIPL / 等保2.0 / 数据出境 / AI生成内容标识)审计一个 AI 项目的代码仓库,产出每条都带 文件:行 取证、经独立复核、经脚本校验的合规报告。当用户问「这个项目上线合不合规」「调用了 OpenAI/Claude 算不算数据出境」「要不要做 AI 标识」「帮我做合规自查/等保/PIPL 检查」时使用。Audit an AI project's…

    140 GitHub stars~1.1k tokensUpdated 12 days ago
    SecurityAuto-check passed
  • Slowmist Agent Security

    slowmist/slowmist-agent-security

    Comprehensive security review framework for AI agents. An agent skill from slowmist/slowmist-agent-security.

    508 GitHub stars~1.4k tokensUpdated 5 mo ago
    SecurityAuto-check passed
  • MCP Server Security Audit

    awarexone/Agentic-Bug-Hunter

    Audits MCP servers and their client configs for tool poisoning, prompt injection, over-privileged tools, injection bugs, secret leaks and missing approval gates.

    5.3k GitHub stars~1.9k tokensUpdated yesterday
    SecurityAuto-check: warnings
  • Security Review

    ChatbotXIO/ChatbotX

    Use before committing changes to auth, workspace scoping, channel webhooks, AI tools/MCP, permission settings, or anything handling untrusted channel content in ChatbotX.

    885 GitHub stars~1.8k tokensUpdated 2 days ago
    SecurityAuto-check: notes
  • Skill Scanner

    sundial-org/awesome-openclaw-skills

    Scan Clawdbot and MCP skills for malware, spyware, crypto-miners, and malicious code patterns before you install them.

    663 GitHub starsUsed in 1 repo~364 tokens
    SecurityAuto-check passed

More from CyberStrategyInstitute/ai-safe2-framework

  • AI SAFE2 Development Method

    CyberStrategyInstitute/ai-safe2-framework

    Plans and runs material repository changes with the AI SAFE2 method: classify delivery shape and risk, isolate the work, collect test evidence and finish with a completion receipt.

    147 GitHub stars~833 tokensUpdated yesterday
    Auto-check passed
  • AI SAFE2 Secure Build Copilot

    CyberStrategyInstitute/ai-safe2-framework

    Applies the AI SAFE2 v3.1 governance framework to designing, building, auditing and testing AI agents, RAG pipelines, MCP and tool integrations and AI infrastructure.

    147 GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed

Questions about AI SAFE2 Secure Build Copilot

What does AI SAFE2 Secure Build Copilot do?

Applies the AI SAFE2 framework to security reviews, code reviews and compliance mapping for AI agents, RAG pipelines and MCP servers. The skill is a control-anchored governance and security review layer for agentic systems, not a general coding aid. The agent first sorts the request into an architecture review across five pillars, a code review, a governance decision, a compliance mapping or a vulnerability and incident assessment.

When should I use AI SAFE2 Secure Build Copilot?

AI SAFE2 Secure Build Copilot fits situations like: reviewing the security architecture of an AI agent or RAG pipeline; reviewing code for prompt injection and tool misuse; deciding an agent's autonomy tier and whether human oversight is required; mapping AI controls to compliance frameworks and audit evidence.

How do I install AI SAFE2 Secure Build Copilot in Claude Code?

Run `npx skills add CyberStrategyInstitute/ai-safe2-framework --skill ai-safe2-secure-build-copilot -a claude-code`. Or copy the skill folder (skills/codex/ai-safe2-secure-build-copilot in CyberStrategyInstitute/ai-safe2-framework) into .claude/skills/ai-safe2-secure-build-copilot in your project. Claude Code loads it when a task matches its description.

How do I install AI SAFE2 Secure Build Copilot in Codex?

Run `npx skills add CyberStrategyInstitute/ai-safe2-framework --skill ai-safe2-secure-build-copilot -a codex`. Or copy the skill folder (skills/codex/ai-safe2-secure-build-copilot in CyberStrategyInstitute/ai-safe2-framework) into .agents/skills/ai-safe2-secure-build-copilot in your project. Codex loads it when a task matches its description.

Can I use AI SAFE2 Secure Build Copilot 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 CyberStrategyInstitute/ai-safe2-framework --skill ai-safe2-secure-build-copilot -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ai-safe2-secure-build-copilot, .gemini/skills/ai-safe2-secure-build-copilot, .github/skills/ai-safe2-secure-build-copilot and .opencode/skills/ai-safe2-secure-build-copilot in your project.

What does AI SAFE2 Secure Build Copilot need to run?

SKILL.md names no scripts, command-line tools or credentials: AI SAFE2 Secure Build Copilot is instructions for the agent only.

Does AI SAFE2 Secure Build Copilot 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 AI SAFE2 Secure Build Copilot 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 AI SAFE2 Secure Build Copilot use?

AI SAFE2 Secure Build Copilot has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does AI SAFE2 Secure Build Copilot use?

About 1.2k tokens (SKILL.md is roughly 4.7k 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 1.9k tokens, read only when the agent opens those files.

What are the alternatives to AI SAFE2 Secure Build Copilot?

Skills that share tags, products or a category with AI SAFE2 Secure Build Copilot: Sail (pillar-labs/sail-skill, 113 stars), China AI Compliance Audit (jnMetaCode/shellward, 140 stars), Slowmist Agent Security (slowmist/slowmist-agent-security, 508 stars) and MCP Server Security Audit (awarexone/Agentic-Bug-Hunter, 5.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains AI SAFE2 Secure Build Copilot?

CyberStrategyInstitute (a GitHub organization) maintains it in CyberStrategyInstitute/ai-safe2-framework, which has 147 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 9, 2026.

Source: CyberStrategyInstitute/ai-safe2-framework on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.