home / skills / hotovo / aider-desk / agent-creator

This skill helps you generate complete AiderDesk agent profiles by guiding you through an interactive Q&A to specify tools, memory, and scope.

npx playbooks add skill hotovo/aider-desk --skill agent-creator

Review the files below or copy the command above to add this skill to your agents.

Files (7)
SKILL.md
4.7 KB
---
name: agent-creator
description: Create AiderDesk agent profiles via interactive Q&A.
---

# Agent Profile Creator

Create agent profiles stored as `config.json` in `~/.aider-desk/agents/{name}/` (global) or `{project}/.aider-desk/agents/{name}/` (project-level).

**READ REFERENCES** before proposing to ensure accuracy:
- Tool groups & schema: `references/agent-profile-schema.md`
- Tool approvals: `references/tool-approval-guide.md` + `references/agent-profile-schema.md`
- Subagent config: `references/subagent-guide.md`
- Examples: `references/profile-examples.md`

## Simplified Q&A Process

### Step 1: Understand Purpose

Ask user: "Describe the agent's purpose and what it should do."

Based on their response, **internally propose** all properties:
- Name (derived from purpose)
- Max iterations (default 250)
- Tool groups (based on purpose)
- Custom instructions (if applicable)
- Subagent config (always enabled, contextMemory: "off" by default)
- Tool approvals (based on needs)

**READ all reference files** before proposing.

### Step 2: Provider/Model

Ask: "Which provider/model? (format: provider/model, e.g., anthropic/claude-sonnet-4-5-20250929)"

- Split by first slash to get provider and model
- **No validation** - use as-is (correct obvious typos only)

### Step 3: Optional Advanced Settings

**ONLY ask if user specifically mentioned** temperature, max tokens, rate limiting, or MCP servers:

- "What temperature should I use?" (0.1-1.0, optional)
- "Max tokens limit?" (optional)
- "Min time between tool calls in ms?" (optional)
- "Which MCP servers should be enabled?" (optional, default: none)

If not mentioned, skip this entire step.

### Step 4: Location

Ask: "Global profile (all projects) or project-specific? (default: global)"

### Step 5: Single Review & Confirm

Present **one complete summary** with all proposed properties. Ask:

"Here's your agent profile. Should I create it?"

Show:
- Name, provider/model
- Tool groups enabled
- Tool approvals summary (which are "never", which are "always")
- Subagent config
- Location

**DO NOT ask for confirmations on individual items.** Only one final approval.

### Step 6: Create

On user confirmation, generate the profile.

**READ `references/profile-examples.md`** to verify structure before creating files.

## Tool Group Reference

- **Power Tools**: File system, shell, search (for agents that read/write files)
- **Aider Tools**: AI code generation via Aider (NOT default - see note below)
- **Power Search**: Advanced code search (for analysis/docs)
- **Todo Tools**: Task list management (for agents that track work)
- **Memory Tools**: Persistent information storage (for learning agents)
- **Skills Tools**: Access to project-specific skills (for agents using custom skills)
- **Subagents**: Task delegation to specialized subagents (for agents that can call others)

**Aider Tools Note**: Specialized for AI code generation. Do NOT enable by default.
- If user wants coding: explain Aider (advanced refactoring) vs Power Tools (direct editing)
- Ask preference before enabling

## Tool Approval Strategy

**Keys: `{group}---{tool}`** (three dashes)

**Default is "ask"**. Only set:
- **"never"**: Tools completely irrelevant (e.g., `power---bash` for read-only agents)
- **"always"**: Safe, essential tools (e.g., read operations for reviewers)

**READ `references/tool-approval-guide.md`** to see all available tools and their purposes.

Only include tools that exist in reference docs.

## Subagent Configuration

**Every agent is a subagent (enabled: true)**

**READ `references/subagent-guide.md`** for detailed guidance on context memory modes and configuration:

- `contextMemory`: **Default is `"off"`** (fresh each time)
  - Use `"full-context"` only for specialized analysis agents (code review, security audit)
  - Use `"last-message"` for progressive builders (documentation, iterative tasks)
- `systemPrompt`: Specialized for agent's purpose
- `invocationMode`: automatic (specialized), on-demand (general)
- `color`: Relevant color (e.g., red=security, blue=power tools)
- `description`: Clear description for auto-invocation

## File Structure

```
{profile-name}/
└── config.json
```

## Validation

- Unique name
- Provider/model: Use as-is (correct obvious typos only)
- Tool keys: `{group}---{tool}` format
- Values: "always", "ask", or "never"
- Subagent enabled
- All tool keys from references

## Resources

- `references/agent-profile-schema.md` - Complete schema
- `references/subagent-guide.md` - Subagent configuration guide (context memory modes)
- `references/profile-examples.md` - Examples
- `references/tool-approval-guide.md` - Tool approval config
- `assets/templates/config.json.template` - Template
- `assets/examples/sample-profile.json` - Example

Overview

This skill creates AiderDesk agent profiles via an interactive Q&A flow and writes a validated config.json to the chosen location. It guides users through purpose, model selection, optional advanced settings, tool groups, tool approvals, and subagent configuration, then generates a ready-to-use profile folder.

How this skill works

I ask a small set of focused questions to gather the agent purpose, provider/model, optional advanced settings (only if mentioned), and whether the profile should be global or project-specific. I propose a single complete profile including inferred name, default limits, recommended tool groups, tool approval settings, and subagent config; after a single final confirmation I generate the profile structure and config.json.

When to use it

  • You need a new AiderDesk agent for coding, reviewing, or automation tasks.
  • You want a consistent, validated agent config created without hand-editing JSON.
  • You need guidance mapping agent purpose to appropriate tool groups and approvals.
  • You want a project-specific or global agent profile created quickly.

Best practices

  • Describe the agent purpose clearly and mention any preferences for editing vs AI code generation.
  • Choose provider/model in the provider/model format; I will split by the first slash and use it as provided.
  • Only supply advanced settings (temperature, max tokens, rate limits, MCP servers) if you want non-defaults.
  • Accept the single proposed profile or ask to restart with a different purpose — the flow does not accept piecemeal edits.
  • Prefer 'ask' for most tool approvals; set 'always' only for essential read-only tools and 'never' for irrelevant ones.

Example use cases

  • Create a global agent to review pull requests and run safe read-only code analysis.
  • Add a project-level coding assistant that can edit files and run shell commands.
  • Provision a documentation builder agent with last-message contextMemory to iterate on docs.
  • Generate a security-audit subagent with full-context memory and restricted tool approvals.

FAQ

Will you enable Aider Tools by default for coding agents?

No. I will explain Aider Tools vs Power Tools and ask your preference before enabling Aider Tools.

Can I supply advanced settings like temperature up front?

Yes — only if you mention temperature, max tokens, rate limits, or MCP servers I will ask and include them; otherwise I skip advanced prompts.

How many confirmation steps are there?

One. I present a single complete profile summary and ask if I should create it; I do not request separate confirmations for individual fields.