Create and configure AiderDesk agent profiles by defining tool groups, approval rules, system prompts, subagent settings, subagent filtering, and provider/model selection. Use when setting up a new agent, creating a profile, or configuring agent tools, permissions, and subagent behavior.
74
92%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Create agent profiles stored as config.json in ~/.aider-desk/agents/{name}/ (global) or {project}/.aider-desk/agents/{name}/ (project-level).
Read all reference files before proposing a profile to ensure accuracy:
references/agent-profile-schema.md — Complete property referencereferences/subagent-guide.md — Subagent config, system prompts, context memory, filteringreferences/tool-approval-guide.md — All tool groups, correct tool keys, approval strategiesreferences/profile-examples.md — Complete working examplesGather complete requirements before proposing a profile. Ask focused questions, propose internally, and present one final summary for approval.
Ask: "Describe the agent's purpose and what it should do."
Based on the response, internally propose:
0 = unlimited; use a finite value like 250 for bounded tasks, or lower for focused tasks like review/analysis: 150)systemPrompt.Ask: "Which provider/model? (format: provider/model, e.g., anthropic/claude-sonnet-5)"
anthropic / claude-sonnet-5 (matching DEFAULT_AGENT_PROFILE / DEFAULT_PROVIDER_MODELS in packages/common/src/agent.ts). You may ask the user for their preferred provider/model, but if none is given, use these defaults.temperature and maxTokens if the purpose implies precision (low temp) or creativity (high temp)Based on the purpose, propose tool groups to enable. Present each group with a brief rationale:
| Tool Group Flag | Description | When to Enable |
|---|---|---|
usePowerTools | File read/write/edit, glob, grep, bash, semantic_search, fetch | Most agents needing file or system access |
useAiderTools | Aider AI code generation context management and run | Code generation/refactoring agents |
useTodoTools | Todo list management | Agents tracking multi-step work |
useSubagents | Delegate tasks to subagents | Orchestrator/manager agents |
useTaskTools | Create/list/get/delete/search tasks, run prompts | Project management agents |
useMemoryTools | Store/retrieve persisted knowledge | Most agents (disabled for stateless ones) |
useSkillsTools | Activate skills | Agents that benefit from specialized skills |
useExtensionTools | Tools provided by installed extensions (default: true) | Most agents; disable for sandboxed/isolated profiles |
For each enabled group, propose tool approval defaults (always, ask, never). Only include tools in toolApprovals that deviate from the default "ask".
If useSubagents is enabled, ask: "Should this agent use all available subagents or only specific ones?" — set enabledSubagentIds if filtering is needed (omit for all).
Ask: "Should this profile be usable as a subagent by other agents?"
If yes, gather:
systemPrompt)Only ask if user mentioned any of these:
enabledServers)~/.aider-desk/agents/{name}/rules/)autoCompactThresholdPercentage, autoCompactThresholdTokens, autoCompactionType)allowedPattern / deniedPattern regex)If not mentioned, skip this step entirely.
Ask: "Global profile (all projects) or project-specific? (default: global)"
Present one complete summary with all proposed properties:
enabledSubagentIds, if applicable)Ask: "Here's your agent profile. Should I create it?"
Do not ask for confirmations on individual items. Only one final approval.
On confirmation:
id (e.g., code-reviewer, security-auditor). No UUID is required — readable names matching the examples are fine, as long as it is unique.config.json — verify structure against references/profile-examples.mdruleFiles in config.json — rule files are dynamically discovered from the rules/ subdirectoryisSubagent — it's a runtime flagconfig.json.md files in a rules/ subdirectory next to config.jsonKeys: {group}---{tool} (three dashes as separator)
Default is "ask". Only explicitly set:
Do not include tools that should remain at default ("ask").
Only include tool keys that exist in references/tool-approval-guide.md.
Two distinct system prompt fields exist:
Top-level systemPrompt — overrides the default built-in system prompt when this profile runs as the main agent. Rules files and customInstructions are still appended. Use when the agent needs a completely different identity or behavioral framework.
subagent.systemPrompt — used when this profile runs as a subagent. Passed directly to the subagent's LLM. If empty, falls back to the top-level systemPrompt.
When to use which:
systemPromptsubagent.systemPromptEvery agent can be a subagent. Set subagent.enabled: true to allow delegation.
Context memory modes:
"off" — fresh each time (default for most agents)"last-message" — receives last result from previous runs"full-context" — full conversation history (for complex iterative analysis)Subagent filtering: enabledSubagentIds?: string[] on the parent profile controls which subagents it can use. Omit to allow all. Set to an array of profile id values to restrict. Note: enabledSubagentIds holds profile id values (the same id field set on each profile), not directory names — they only match when a directory name happens to equal the profile id.
See references/subagent-guide.md for detailed guidance.
{
"id": "my-agent",
"name": "my-agent",
"provider": "anthropic",
"model": "claude-sonnet-5",
"maxIterations": 0,
"minTimeBetweenToolCalls": 0,
"enabledServers": [],
"toolApprovals": {
"power---file_read": "always",
"power---bash": "ask"
},
"toolSettings": {},
"includeContextFiles": false,
"includeRepoMap": false,
"usePowerTools": true,
"useAiderTools": false,
"useTodoTools": true,
"useSubagents": false,
"useTaskTools": false,
"useMemoryTools": true,
"useSkillsTools": true,
"useExtensionTools": true,
"disabledExtensionTools": [],
"customInstructions": "",
"subagent": {
"enabled": true,
"contextMemory": "off",
"systemPrompt": "",
"invocationMode": "on-demand",
"color": "#3368a8",
"description": ""
}
}Note on defaults shown above: id is any unique readable string (no UUID needed). When the user does not specify provider/model, default to anthropic / claude-sonnet-5. maxIterations: 0 means unlimited. includeContextFiles and includeRepoMap both default to false — the values above are defaults; set them to true only when you want context files / repo map included. The subagent color default is #3368a8.
Before writing config.json:
id (no UUID required)anthropic/claude-sonnet-5 if unspecified){group}---{tool} format with three dashesreferences/tool-approval-guide.md are in toolApprovalssystemPrompt set only if custom behavior is neededsubagent.enabled reflects whether this profile should be delegablesubagent.invocationMode is "automatic", description is non-emptyuseSubagents is true and filtering needed, enabledSubagentIds is setuseExtensionTools and disabledExtensionTools included (default: true / [])ruleFiles NOT in config.json (dynamically discovered)isSubagent NOT in config.json (runtime flag)references/agent-profile-schema.md — Complete schema with all properties and typesreferences/subagent-guide.md — Subagent config, context memory, filtering, system promptsreferences/tool-approval-guide.md — All tool groups and correct tool keysreferences/profile-examples.md — Complete working examplesassets/templates/config.json.template — Templateassets/examples/sample-profile.json — Example profile7e957a0
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.