create-subagent

Generate single-purpose Claude Code sub-agents with validation and deployment.

8|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/QBall-Inc/the-bulwark --skill create-subagent-qball-inc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-subagent
Source: https://github.com/QBall-Inc/the-bulwark/tree/main/skills/create-subagent
Command: npx skills add https://github.com/QBall-Inc/the-bulwark --skill create-subagent-qball-inc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and templates (resource) components.

What problem does it solve?

This Skill automates the creation of single-purpose AI agents, ensuring they are well-defined, properly configured, and validated for reliable use within your Claude Code environment.

Core Features & Use Cases

  • Agent Scaffolding: Generates complete agent files from a description or requirements document.
  • Automated Validation: Integrates with anthropic-validator to ensure code quality and adherence to standards.
  • Use Case: You need a dedicated agent to analyze code for specific security vulnerabilities. Use this Skill to generate the agent, define its tools and permissions, and ensure it meets quality standards before deployment.

Quick Start

Use the create-subagent skill to generate a new agent that can analyze code for security vulnerabilities.

Frequently Asked Questions about create-subagent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a single-purpose Claude Code sub-agent for my project?

To generate a single-purpose Claude Code sub-agent, you provide a description or requirements document. The Skill runs a multi-stage pipeline including an adaptive interview, classification, and generation via Sonnet to scaffold the agent definition. It then deploys the validated file to the .claude/agents/ directory.

What is AI agent scaffolding and when do I need it for code generation?

AI agent scaffolding is the automated creation of single-purpose agent definitions with diagnostics and permissions setup. You need it when you want dedicated Claude Code agents for specific tasks like security vulnerability analysis, ensuring they are properly configured and validated before deployment.

How do you validate generated AI agents before deployment?

Generated AI agents are validated using the integrated anthropic-validator. This automated validation step ensures the scaffolded agent definitions meet code quality standards and adhere to conventions before being deployed to the .claude/agents/ directory.

Can I use custom templates to scaffold Claude Code agents?

Yes, the scaffolding process references required templates like template-single-agent.md and agent-conventions.md. These templates structure the agent output, ensuring the generated definitions include proper diagnostics, permissions, and content guidance.

What is the best way to define permissions for custom Claude Code sub-agents?

The best way to define permissions is through an automated scaffolding pipeline that classifies requirements and sets up tool permissions. This ensures the generated single-purpose agents have validated configurations before deployment.

Are there limitations when scaffolding AI agents for specific security vulnerability analysis?

When scaffolding agents for security vulnerability analysis, the process requires specific reference files like decision-framework.md and content-guidance.md to be present. Without these structured inputs, the generated agent output may lack proper validation and permissions setup.