ai-safe2-development-m…
Plan and execute material repository changes with the AI SAFE2 development method. Use when a coding task needs a delivery-shape…
Apply AI SAFE2 v3.1 to design, build, audit, test, and govern AI agents, multi-agent systems, RAG, MCP/tool integrations, and AI infrastructure. Use the 161-control core taxonomy plus applicable profile overlays such as CP.5.MCP MCP-1 through MCP-19. Classify autonomy with ACT
$ npx -y skills add cyberstrategyinstitute/ai-safe2-framework --skill ai-safe2-secure-build-copilot --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/ai-safe2-secure-build-copilotContext preview
The summary Claude sees to decide when to auto-load this skill.
Apply AI SAFE2 v3.1 to design, build, audit, test, and govern AI agents, multi-agent systems, RAG, MCP/tool integrations, and AI infrastructure. Use the 161-control core taxonomy plus applicable profile overlays such as CP.5.MCP MCP-1 through MCP-19. Classify autonomy with ACT
name: ai-safe2-secure-build-copilot description: > Apply AI SAFE2 v3.1 to design, build, audit, test, and govern AI agents, multi-agent systems, RAG, MCP/tool integrations, and AI infrastructure. Use the 161-control core taxonomy plus applicable profile overlays such as CP.5.MCP MCP-1 through MCP-19. Classify autonomy with ACT tiers, enforce HEAR and replication governance where required, distinguish framework requirements from reference implementations, and require reconstructable evidence for material claims. version: 3.1.0 framework_version: v3.1 framework_core_controls: 161 validation_source: skills/mcp/data/ai-safe2-controls-v3.0.json profile_source: skills/mcp/data/mcp-profile-v3.1.json mcp_server: skills/mcp/ tags: - security - GRC - AI-agents - AppSec - compliance - agentic-ai - non-human-identity - RAG-security - prompt-injection - supply-chain - swarm-governance - HEAR-doctrine - agent-replication - MCP-security - runtime-enforcement
You apply the [AI SAFE² Framework v3.1](../../README.md): 161 core controls across five operational pillars plus the core CP.1 through CP.10 Cross-Pillar Governance layer.
Where a platform or protocol profile applies, use that profile in addition to the core framework. For MCP, use CP.5.MCP v3.1, MCP-1 through MCP-19, aligned to MCP `2026-07-28` with legacy `2025-11-25` compatibility.
1. **If governance is not enforced at runtime, it is not governance.** 2. Bind governance to verified principals, authority, policy, provenance, and evidence, not to protocol-owned session constructs. 3. Treat NEXUS as CSI's reference implementation, not as a mandatory dependency for AI SAFE² conformance. 4. Separate framework controls from profile controls. AI SAFE² v3.1 remains 161 core controls; MCP profile controls do not make the total 180. 5. Preserve historical version facts. A control introduced in v3.0 remains "introduced in v3.0" even when the current framework is v3.1. 6. Do not treat model or agent prose as evidence that a protected state change occurred or was prevented. 7. Fail closed when a required enforcement decision cannot be made safely.
---
Use AI SAFE² reasoning when the task involves:
---
Govern untrusted input, indirect injection surfaces, semantic isolation, memory-write boundaries, secrets, sandboxing, and execution boundaries.
Key v3.0 additions retained in v3.1 include P1.T1.10, S1.3, S1.4, S1.5, S1.6, and S1.7.
Govern execution traces, model and artifact provenance, dynamic agent inventory, RAG change tracking, ownership, and evidence.
Key v3.0 additions retained in v3.1 include A2.3, A2.4, A2.5, and A2.6.
Govern recursion limits, swarm abort, behavioral drift rollback, cascade containment, emergency shutdown, and recovery.
Key v3.0 additions retained in v3.1 include F3.2, F3.3, F3.4, and F3.5.
Govern adversarial monitoring, tool misuse, emergent behavior, injection telemetry, cloud-platform monitoring, and human intervention.
Key v3.0 additions retained in v3.1 include M4.4 through M4.8.
Govern continuous evaluation, capability-emergence review, validated patterns, reusable red-team artifacts, and institutional learning.
Key v3.0 additions retained in v3.1 include E5.1 through E5.4.
Use the Cross-Pillar layer for:
UAS is a 27-requirement regulatory profile extension composed from mapped controls. It does not create CP.11; do not add its requirements to the 161-control core total.
---
| Plane | Traffic | Primary governance | |---|---|---| | North-south | Agent to model/provider | Content, policy, economics, HITL, provider boundary | | East-west | Agent to agent | Identity, delegation, lineage, revocation, authority | | Agent-to-tool | Agent to MCP/tool | Tool authorization, provenance, state, return-path trust, resource binding |
Scope claims to the plane actually implemented or tested.
---
Use these canonical governance scopes:
Legacy `session`, `cross_session`, and `permanent` terms may appear as compatibility aliases. Do not treat a protocol session or `Mcp-Session-Id` as identity or authorization.
---
For MCP deployments, assess the full agent-to-tool profile:
| Range | Focus | |---|---| | MCP-1 through MCP-6 | Command safety, returned-content trust, least privilege, integrity, audit, input validation | | MCP-7 through MCP-13 | Trust establishment, economics, secrets, delegation, provenance, state, revocation | | MCP-14 through M
Documentation map · Developer Workflow · CLI 1.0 workflow · Security advisories · Topic registry Evaluate technology: Technology Contribution Profile · Evidence Assurance Level · Collect evidence
Plan and execute material repository changes with the AI SAFE2 development method. Use when a coding task needs a delivery-shape…