Λογότυπο Subagent Creator

Subagent Creator

Οργανισμός
full-stack-biz
subagent-creator

Create, validate, and refine Claude Code subagents for reliable delegation. Use when building new subagents, validating existing ones, improving quality, scoping tool access, configuring permission modes, or setting up hook validation. For personal, team, or production environments.

Επισκόπηση

Εκδότηςfull-stack-biz
Αποθετήριοclaude-skills-toolkit
Όνομα δεξιότηταςsubagent-creator
Αστέρια
26
Forks
2
Συνοδευτικά αρχεία
10
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • 10 συνοδευτικά αρχεία

    Σενάρια, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε από full-stack-biz στο GitHub. Διαβάστε το πηγαίο περιεχόμενο πριν εγκαταστήσετε τη δεξιότητα.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Subagent Creator στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/full-stack-biz/claude-skills-toolkit/tree/main/skills/subagent-creator
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Νέα δεξιότητα → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που διαβάζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/full-stack-biz/claude-skills-toolkit.git /tmp/claude-skills-toolkit
mkdir -p .claude/skills
cp -r /tmp/claude-skills-toolkit/skills/subagent-creator .claude/skills/subagent-creator
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Subagent Creator σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Subagent Creator μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Subagent Creator δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλα κατά τη συνομιλία

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Subagent Creator

Dual purpose: Create subagents right the first time OR elevate existing subagents to best practices.

Quick Routing

Use AskUserQuestion with predefined options:

questions: [
  {
    question: "What would you like to do?",
    header: "Action",
    options: [
      {
        label: "Create a new subagent",
        description: "Build a subagent from scratch with proper scope, tool access, and permissions"
      },
      {
        label: "Validate existing subagent",
        description: "Check if subagent is properly configured and production-ready"
      },
      {
        label: "Refine/improve subagent",
        description: "Enhance existing subagent for clarity, efficiency, or reliability"
      }
    ],
    multiSelect: false
  }
]

Then route to the appropriate workflow section based on their selection.


When to Use This Skill

  • Creating subagents — Need structured guidance on scope, model, tool access, permission modes for new subagents
  • Validating subagents — Ensure correct configuration, delegation clarity, tool scoping, permission modes
  • Improving subagents — Enhance robustness (tool restrictions, permissions, delegation signals, error handling, hooks)
  • Team/production — Building for multiple Claude instances; need stability and error handling

Quick Reference: Three Workflows

WorkflowPurposeStepsReference
CreateBuild subagent from scratch1. Interview → 2. Design → 3. Implement → 4. Validatetemplates.md + validation-workflow.md
ValidateCheck existing subagent1. Configuration → 2. Delegation → 3. Prompt → 4. Tools → 5. Permissions → 6. Hooks → 7. Testvalidation-workflow.md + checklist.md
RefineImprove existing subagent1. Identify issues → 2. Target improvements → 3. Update → 4. Re-validatechecklist.md + topic-specific refs

Why This Exists

Mindset: Subagents are execution FOR CLAUDE, not documentation FOR PEOPLE. Question: "Will Claude reliably delegate & execute?" not "Does this read well?"

Subagents isolate task execution with custom prompts, tool access, permissions. Without structured guidance, they become misconfigured and unreliable. This skill ensures every subagent is optimized for reliable delegation and execution from creation.

Foundation: Subagent Architecture

Subagents are isolated execution environments with independent configuration (prompt, tools, permissions). Claude delegates to subagents based on request context using natural language matching against descriptions. For complete architectural details including delegation mechanisms, configuration options, and integration patterns, see references/how-subagents-work.md.

Implementation Approach

⚠️ CRITICAL: Scope Detection & Clarification

Always detect project type first, then clarify scope only when needed:

Allowed scopes (project-scoped only):

  • Claude plugin projects (has .claude-plugin/plugin.json): Subagents in agents/ (plugin) or .claude/agents/ (project-level)
  • Regular projects: Subagents in .claude/agents/ only

🚫 Forbidden scopes (REFUSE all editing attempts):

  • ~/.claude/plugins/cache/ — Installed/cached plugins
  • ~/.claude/agents/ — User-space subagents (affects all projects)
  • Global installations or outside project root

If user provides forbidden path: Refuse with explanation: "Subagent-creator only works with project-scoped subagents. User-space subagents (~/.claude/agents/) affect all projects and should not be edited here."

START HERE - Scope Detection & Clarification Flow:

  1. Ask Question 1: Action type

    • Create a new subagent (Recommended)
    • Validate an existing subagent
    • Refine a subagent
  2. AUTO-DETECT: Check for .claude-plugin/plugin.json

    • If it exists (project is a Claude plugin): Go to step 3a
    • If it doesn't exist (regular project): Go to step 3b

3a. IF PROJECT IS A CLAUDE PLUGIN - Ask Question 2: Scope choice with predefined options

questions: [
  {
    question: "Should this subagent be part of the plugin or project-level?",
    header: "Scope",
    options: [
      {
        label: "Part of the plugin",
        description: "Add to agents/ directory (bundled with plugin for distribution)"
      },
      {
        label: "Project-level",
        description: "Add to .claude/agents/ directory (local, not bundled with plugin)"
      }
    ],
    multiSelect: false
  }
]

Then ask: "What do you want to call it?" (e.g., db-analyzer, code-reviewer, compliance-auditor)

3b. IF PROJECT IS REGULAR - No scope question needed

  • Inform user: "Creating project-level subagent in .claude/agents/"
  • Ask: "What do you want to call it?" (e.g., db-analyzer, code-reviewer, compliance-auditor)

For validating/refining: Ask "Provide the subagent name or path relative to project root" (e.g., agents/db-analyzer for plugins or .claude/agents/db-analyzer for regular projects)

Based on answers, route to the appropriate workflow below.

For New Subagents: Requirements Interview First

After routing to "create", interview the user to gather requirements using AskUserQuestion with proper options:

questions: [
  {
    question: "What specialized task should this subagent execute? What problem does isolation solve?",
    header: "Purpose & Scope",
    options: [] // Open-form
  },
  {
    question: "When should Claude delegate to this subagent? What request phrases trigger it?",
    header: "Delegation Trigger",
    options: [] // Open-form
  },
  {
    question: "Which tools will this subagent need? (Apply principle of least privilege)",
    header: "Tool Access",
    options: [] // Open-form
  },
  {
    question: "How should the subagent handle permission prompts?",
    header: "Permission Mode",
    options: [
      { label: "default", description: "Prompt for each permission (standard behavior)" },
      { label: "acceptEdits", description: "Auto-accept file edits without prompting" },
      { label: "dontAsk", description: "Auto-accept all permissions without prompting" },
      { label: "plan", description: "Use plan mode for structured permission flow" }
    ],
    multiSelect: false
  }
]
  1. Model choice - Should it use fast Haiku, standard Sonnet, or powerful Opus? Or inherit from parent?
  2. Hooks & validation - Does the subagent need conditional tool validation or lifecycle hooks?
  3. Team/production - Will multiple Claude instances use this? Production data involved?

Then use references/templates.md to apply requirements to the appropriate subagent structure.

For Existing Subagents (Validating)

  1. FIRST: Verify the subagent path is project-scoped — Check if path contains .claude/agents/ or agents/ relative to project root. If path is from ~/.claude/plugins/cache/ or ~/.claude/, REFUSE and explain project scope
  2. SECOND: Detect if subagent is plugin or project-level — Infer from path prefix:
    • Path starts with agents/ → Plugin-level subagent
    • Path starts with .claude/agents/ → Project-level subagent
  3. Follow the systematic workflow in references/validation-workflow.md (Phase 1-7)
  4. Use references/checklist.md to identify gaps during validation
  5. Check references/delegation-signals.md for description clarity
  6. Validate: Complete workflow + checklist before considering the subagent complete

For Improvements (Refining)

  1. FIRST: Verify the subagent path is project-scoped — Check if path is in project directory, NOT in installed locations. Refuse if it's installed/cached
  2. SECOND: Detect scope from path — Determine if subagent is plugin-level or project-level based on path prefix
  3. Ask user which aspects need improvement (delegation, tools, permissions, etc.)
  4. Reference relevant sections from references/checklist.md or references/delegation-signals.md
  5. Make targeted improvements rather than rewriting everything

Outcome Metrics

Measure success by whether Claude will reliably delegate to and execute the subagent:

✅ Description clarity - Includes specific trigger phrases Claude will recognize; delegates reliably when needed ✅ Configuration - Correct YAML frontmatter (name, description, tools, permissionMode, model, hooks) ✅ Prompt quality - System prompt is clear, procedural, and context-appropriate ✅ Tool scoping - Only necessary tools declared; principle of least privilege enforced ✅ Permission mode - Appropriate for use case (foreground vs background, interactive vs auto-deny) ✅ Hooks - Correctly configured for validation/lifecycle when needed ✅ Integration - Tested with real delegation scenarios; works with both foreground and background execution

Quick Start: Creating a New Subagent

When helping the user create a subagent, follow these steps:

Step 1: Prepare storage location Guide the user to create the directory:

  • Global: ~/.claude/agents/
  • Project-local: .claude/agents/

Step 2: Create the Markdown file Write the subagent configuration with YAML frontmatter + system prompt body. Example structure:

yaml
---
name: db-analyzer
description: >-
  Execute read-only database queries to analyze data. Use when exploring
  databases, generating reports, or analyzing data patterns. Supports
  SELECT queries only; write operations blocked.
model: sonnet
tools: Bash, Read, Write
permissionMode: dontAsk
---

You are a database analyst with read-only access...

Step 3: Apply guidelines for Claude's delegation Ensure the subagent meets these requirements:

  • name: lowercase-hyphen, ≤64 chars, unique within scope
  • description: ≤1024 chars, must include specific trigger phrases (this is Claude's delegation signal)
  • tools: Allowlist or omit to inherit all tools
  • model: sonnet (default), opus, haiku, or inherit from parent
  • permissionMode: default (ask), acceptEdits (auto-accept edits), dontAsk (auto-deny), bypassPermissions (skip checks), plan (read-only)

Step 4: Write the system prompt The prompt body is what Claude executes when delegated. Structure: Purpose → Key behaviors → Constraints → Examples

Step 5: Add hooks if needed For conditional tool validation (e.g., read-only database access), guide the user to configure PreToolUse hooks with validation scripts.

Step 6: Guide user through validation Have the user review the checklist in references/checklist.md before deployment. Then guide them through real-world testing: try requests that should trigger delegation, and requests that should not.

Refining Existing Subagents

  1. Follow the validation workflow (references/validation-workflow.md) to identify issues systematically
  2. Review against the checklist (references/checklist.md) during validation
  3. Improve so Claude delegates and executes reliably: description clarity (delegation) → configuration correctness → prompt clarity → hooks/validation if needed
  4. Guide user to test delegation: Ask them to make requests using the trigger phrases from the description. Check: Does Claude delegate to this subagent? If not, the description needs clearer trigger language.
  5. Guide user to test execution: Once delegation works, verify the subagent can complete the task with its prompt and tools. Ask the user to test actual workflows.
  6. Re-validate using the workflow before considering refinements complete

Reference Guide

Creating a New Subagent

Step 1: Understand subagent architecture → How Claude delegates, execution models, when to use subagents, delegation mechanisms → references/how-subagents-work.md for architecture overview

Step 2: Choose starting template → Real-world examples and copy-paste starting points for common patterns → references/templates.md

Step 3: Write clear delegation signals → Descriptions trigger Claude's delegation. Include specific trigger phrases; vague descriptions = poor reliability. → references/delegation-signals.md for writing descriptions that trigger delegation

Step 3b: Write reliable delegation prompts → Pattern: role statement → task → context → explicit outputs → constraints. Based on production implementations (skill-tester, skill-creator). → references/delegation-patterns.md for proven delegation patterns with real examples

Step 4: Configure tools & permissions → Grant only necessary tools (principle of least privilege). Permission modes: foreground/interactive, background/concurrent, plan/read-only → references/tool-scoping.md for tool access patterns → references/permission-modes.md for permission mode decision matrices

Step 5: Complete YAML configuration → Frontmatter fields: name, description, model, tools, permissionMode, hooks (PreToolUse, PostToolUse, SubagentStart, SubagentStop) → references/configuration-reference.md for complete YAML reference

Step 6: Validate before deployment → 7-phase validation process: configuration → delegation → prompt → tools → permissions → hooks → testing → references/validation-workflow.md for validation phases → references/checklist.md for best practices checklist

Validating Existing Subagents

→ Run 7-phase validation workflow systematically → references/validation-workflow.md for all phases → references/checklist.md for quality assessment

Improving/Refining Subagents

→ Identify gaps using checklist, make targeted improvements, re-validate → references/checklist.md for identifying issues → Topic-specific references as needed

Production & Advanced Patterns

→ Hook validation, chaining, background execution, lifecycle management, error handling → references/advanced-patterns.md for production patterns

Core Principles

  1. Clear Delegation Signals — Descriptions trigger Claude's delegation. Include specific trigger phrases; vague descriptions = poor reliability.
  2. Principle of Least Privilege — Grant only necessary tools. Use allowlist scoping and hooks for conditional validation (e.g., read-only queries).
  3. Appropriate Permission Mode — Match mode to use case: foreground/interactive, background/concurrent, or plan/read-only.
  4. Configuration Clarity — Validate YAML syntax, tool names, model values, and required fields before deploying.

Key Notes

Frontmatter essentials:

  • name: Required, lowercase-hyphen, ≤64 chars (Claude's reference label)
  • description: Required, ≤1024 chars, must include trigger phrases Claude recognizes (PRIMARY delegation signal)
  • Example formula: [Action]. Use when [trigger contexts]. [Scope/constraints].

Common optional fields:

  • model: sonnet|opus|haiku|inherit (default: sonnet)
  • tools: Allowlist tools (default: inherit all)
  • permissionMode: default|acceptEdits|dontAsk|bypassPermissions|plan
  • hooks: PreToolUse, PostToolUse, SubagentStart, SubagentStop for validation/lifecycle

Scope storage (project-scoped only; subagent-creator refuses user-space):

  • ✅ Project-local: .claude/agents/ (recommended)
  • ✅ Plugin: agents/ in plugin directory (for plugin projects)
  • 🚫 Global/User-space: ~/.claude/agents/ (forbidden; affects all projects — do not edit here)

For complete configuration reference, defaults, field combinations, naming conventions, and permission mode decision matrices, see references/configuration-reference.md and references/permission-modes.md.

Team/Production:

  • Error handling: prompts must handle failures gracefully
  • Tool scoping: principle of least privilege (see tool-scoping.md)
  • Hooks: validation scripts must be tested before deployment
  • See checklist.md → "Team & Production Subagents" for full considerations and advanced-patterns.md for production patterns

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Subagent Creator;

Create, validate, and refine Claude Code subagents for reliable delegation. Use when building new subagents, validating existing ones, improving quality, scoping tool access, configuring permission modes, or setting up hook validation. For personal, team, or production environments.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Subagent Creator στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Subagent Creator είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη Subagent Creator στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε το https://github.com/full-stack-biz/claude-skills-toolkit/tree/main/skills/subagent-creator. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Subagent Creator;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη Subagent Creator;

Με όσα θέλετε. Εφόσον ένα μοντέλο υποστηρίζει δεξιότητες, μπορείτε να χρησιμοποιήσετε τη Subagent Creator με αυτό — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama και άλλα — όλα στο TypingMind με τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Subagent Creator;

Δημοσιεύεται στο GitHub από τον χρήστη full-stack-biz. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇