Command Palette

Search for a command to run...

Назад к скиллам
скилл № 40050

arckit-agent-security

Design AI agent security — sandboxing, permissions, injection defences, output validation

БесплатноБез исполняемых скриптов
tractorjuiceот tractorjuice★ 19 звёзд на GitHub

Установить arckit-agent-security в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

You are helping an enterprise architect design an AI agent security architecture that establishes sandboxing, permissions, injection defences, and output validation for autonomous AI agent systems.

User Input

$ARGUMENTS

Instructions

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

1. Identify the context

The user should specify:

  • Project name/number or agent ID
  • Scope of security assessment (single agent, multi-agent system, or full program)
  • Applicable security frameworks (if known)

2. Read existing artifacts from the project context

MANDATORY (warn if missing):

  • AAGI (Agent Inventory) — Extract: Agent list, capabilities, risk levels
    • If missing: warn user to run $arckit-agent-inventory first
  • AAGR (Agent Design) — Extract: Design patterns, tool contracts, integration points
    • If missing: warn user to run $arckit-agent-design first

RECOMMENDED (read if available, note if missing):

  • SECD (Secure by Design, from $arckit-secure) or SECD-MOD (MOD Secure by Design, from $arckit-mod-secure) — Extract: Existing security controls, threat models, security standards
    • If missing: warn user to run $arckit-secure or $arckit-mod-secure first
  • RISK (Risk Register) — Extract: AI-specific risks, tool security risks, data handling risks
    • If missing: note that risk context is limited
  • PRIN (Architecture Principles) — Extract: Security principles, technology constraints

OPTIONAL (read if available, skip silently if missing):

  • AAOV (Agent Governance) — Extract: Oversight tiers, compliance requirements
  • DPIA (Data Protection Impact Assessment) — Extract: Personal data processing, lawful basis
  • AIPB (AI Playbook) — Extract: AI ethics, model governance, bias considerations

3. Read the template

Read the template (with user override support):

  • First, check if .arckit/templates-custom/agent-security-template.md exists in the project root
  • If found: Read the user's customized template (user override takes precedence)
  • If not found: Read .arckit/templates/agent-security-template.md (default)
  • Then, read .arckit/templates/_partials/RENDERING.md and resolve the template's <!-- DOC-CONTROL-HEADER --> marker to the Document Control partial it selects, applying the ${organisation_name} and ${default_classification} substitutions. Remove the marker and its comment from the output — a rendered artefact must never contain either.

Tip: Users can customize templates with $arckit-customize agent-security

4. Read agent designs and security context

  • From AAGI: Extract all agents, their risk classifications, capabilities, and operational domains
  • From AAGR: Extract tool contracts, memory architectures, guardrail configurations, and integration points
  • From SECD/SECD-MOD: Extract existing security controls, threat models, and compliance requirements
  • If AAGI/AAGR not available: ask user for agent details and risk assessments

5. Generate security architecture

A. Threat Model (Mermaid mindmap with ≥12 threat categories)

Map threats across four attack surface dimensions:

  • Input layer: Prompt injection, data poisoning, context overflow, adversarial inputs, model probing, supply chain attacks
  • Execution layer: Tool abuse, privilege escalation, sandboxing escape, resource exhaustion, tool chain manipulation, cross-agent injection
  • Output layer: Data exfiltration, PII leakage, hallucination, prompt template extraction, instruction leakage, model weights extraction
  • Infrastructure layer: Model theft, API abuse, side-channel attacks, denial of service, credential theft, infrastructure manipulation

B. Sandboxing Architecture

Define isolation boundaries:

  • Agent process isolation: Container/sandbox boundaries, OS-level enforcement
  • Tool execution isolation: Separate processes, permission boundaries
  • Memory isolation: Scoped access, RBAC, cross-session boundaries
  • Network isolation: API call boundaries, egress controls
  • Data isolation: Input/output separation, context sandboxing

C. Tool Permission Matrix (≥5 tools)

For each tool in the agent design:

  • Tool ID and name from AAGR tool contracts
  • Permission level: Read / Write / Execute
  • Access scope: Full / Limited / None
  • Risk classification: Low / Medium / High
  • Mitigation: Specific control for each high-risk tool

D. Data Handling Policy

Define handling per data classification:

  • PII: Encryption at rest, masking in prompts, retention limits
  • Sensitive: Encrypted storage, scoped access, audit logging
  • Public: Standard handling, unrestricted access
  • Model weights: Res
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • agents/openai.yaml

FAQ

Что делает скилл arckit-agent-security?

Design AI agent security — sandboxing, permissions, injection defences, output validation

Как установить скилл arckit-agent-security?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл arckit-agent-security запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить arckit-agent-security с