agent-creator

Generate Claude Code sub-agent configuration files from user descriptions.

Updated Jan 15, 2025
One-click install
npx skills add https://github.com/TobiasBak/dotfiles --skill agent-creator-tobiasbak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-creator
Source: https://github.com/TobiasBak/dotfiles/tree/main/agent-files/skills/agent-creator
Command: npx skills add https://github.com/TobiasBak/dotfiles --skill agent-creator-tobiasbak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates the design and provisioning of Claude Code sub-agents from user descriptions by generating ready-to-use agent configuration files.

Core Features & Use Cases

  • Gather requirements through structured questions (AskUserQuestion) to define agent goals, domain expertise, and tools.
  • Fetch up-to-date documentation for sub-agents (WebFetch) and derive a compliant agent file using the agent-template.
  • Write and save the generated agent file to the Claude Code agents directory (e.g., ~/.claude/agents/<generated-agent-name>.md).

Quick Start

Describe the desired agent and I will generate a ready-to-use Claude Code sub-agent file and save it to ~/.claude/agents.

Frequently Asked Questions about agent-creator

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

FAQPage Schema
How do I create a Claude Code sub-agent configuration file?

To create a Claude Code sub-agent, you provide a brief description of your requirements. The tool then gathers goals and domain expertise, fetches documentation, and generates a complete Markdown agent file with frontmatter saved to your agents directory.

What is a Claude Code sub-agent and when do I need one?

A Claude Code sub-agent is a configured assistant with specific domain expertise and tools. You need one when automating specialized workflows, allowing the main assistant to delegate tasks to a dedicated agent with a defined configuration and toolset.

How do I generate an agent file from a brief description?

You generate an agent file by describing the desired agent's goals and domain. The system asks structured questions, fetches sub-agent documentation, applies a template with frontmatter, and saves the serialized output to ~/.claude/agents.

Can I define specific tools for my Claude Code sub-agents?

Yes, you can define specific tools for Claude Code sub-agents. During the requirements gathering phase, the system uses structured questions to determine the necessary tools, which are then included in the agent file's frontmatter configuration.

What format do generated sub-agent configuration files use?

Generated sub-agent configuration files use a Markdown format. They include a complete frontmatter section with the agent's name, description, and tools, followed by the agent's template instructions, and are saved as a serialized output.

Does generating sub-agents require manual coding?

Generating sub-agents does not require manual coding. The process automates the design and provisioning by fetching up-to-date documentation and deriving a compliant agent file, saving it directly to the Claude Code agents directory without manual writing.