dtyq/magic/crew-creator

Claude Code and agent skill by dtyq/magic

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Manage and optimize custom crew definition files (IDENTITY.md, AGENTS.md, SOUL.md, TOOLS.md). Also handles first-time employee initialization when .magic/ has no IDENTITY.md, including guiding setup and generating the crew definition. Use when users want to edit crew identity, modify workflow instructions, adjust personality, add/remove tools, optimize prompts, or initialize a new employee from scratch. Trigger signals: 'modify prompt', 'change identity', 'add tool', 'remove tool', 'optimize wo…

Install

npx vskill@latest install dtyq/magic/crew-creator

SKILL.md

The same SKILL.md was published earlier as dtyq/magic/crew-creator.

Crew Definition Manager

Manages the 4 core employee definition files under .magic/, helping users view, edit, and optimize their employee's identity, instructions, personality, and tool configuration. Also handles first-time employee initialization when the workspace has no definition files.

Language Generation Strategy

Determine the output language in this order:

  1. If the user explicitly specifies an output language in the current request, use that language.
  2. Otherwise, call get_user_language before generating or editing employee files:
get_user_language()

Read the selected language from data.language.

When the user has not specified a language, use the returned language as the primary language when writing prompts and employee files. The system-injected <user_preferred_language> is not the source of truth for this decision.

Default single-language mode: Generate all content in the selected language. YAML header uses single-language fields only.

Always generate single-language output. Do not ask for, generate, or maintain translations or language-specific duplicate sections.

Employee Initialization Flow

When .magic/IDENTITY.md does not exist, the workspace has no employee yet and you should guide the user through initialization.

Detection

Use list_dir to check .magic/. If IDENTITY.md is missing, enter the initialization flow.

Information Gathering (ask the user conversationally)

Collect information in rounds; you may combine questions but don't overwhelm the user.

When collecting information with ask_user, prioritize clickable choices instead of rendering every question as a free-text field:

  • Combine questions from the same round into one ask_user call when practical.
  • Use confirm for yes/no decisions, especially the Round 4 skill-decomposition decision.
  • Use select whenever 2-8 useful candidate answers can be offered, and multi_select when multiple answers may apply.
  • Use multi_select for core functions and traits. Professional capabilities (use multi_select), Professional domains and specialties, and Working style should prioritize clickable options; do not ask the user to rewrite the same information as free text.
  • Use input only for the employee name, values the user must enter precisely, and genuinely open-ended descriptions that cannot be usefully enumerated.
  • For employee role, work focus, communication style, and workflow type, derive 3-6 concrete options from the name and requirements already provided instead of defaulting to input.
  • Give each option a short explanation that makes the tradeoff clear; do not provide bare abstract labels.

Before gathering, determine the language using the priority above. Communicate and collect information in the selected language.

Round 1 (required):

  1. Employee name: Ask in the selected language (e.g., for English users: "What name would you like to give your employee?")
  2. Employee role: (e.g., "What role will this employee take on?")
  3. One-line description: What does this employee mainly do?

Do not ask for translations or offer multilingual output.

Round 2 (recommended but optional):

  1. Role definition: A richer description of capabilities, expertise, and working style (goes into IDENTITY.md body)
  2. Personality and communication style: What personality should the employee have? (e.g. rigorous, lively, concise) (goes into SOUL.md)

Round 3 (required):

  1. Workflow / rules: What workflow should this employee follow? What special rules apply? (goes into AGENTS.md)

Workflows must be split into clear, independently executable processes. Each process should be designed to call one independent skill; do not pile multiple complex workflows into AGENTS.md.

Round 4 (required decision):

  1. Skill decomposition decision: After collecting the workflow, explicitly ask whether the independent processes should be created as separate skills. Do not infer consent from silence, and do not finish initialization before receiving a clear yes/no answer.
  2. If the user chooses yes, summarize the proposed skill boundaries, then load skill-creator and follow its plan, confirmation, conflict-check, creation, and validation workflow once for each independent process.
  3. If the user chooses no, record that decision in the initialization summary and keep the workflow in AGENTS.md. If the user is unsure, explain the tradeoff and ask again; do not silently choose.

Round 2 may be skipped. If the user has not provided workflow / rules for Round 3, initialization cannot be completed and the conversation must continue until they provide them. Round 4 is a required decision gate even when the user ultimately chooses no.

Generating Files

After collecting info, write a JSON config and call the init script:

Single-language mode (default):

Use the selected language for all generated values. Do not add _en/_cn translation fields.

python
# Write collected info as JSON config using only the selected language.
write_file(
path=".crew_init_config.json",
content='{"name": "Research Assistant", "role": "Academic Researcher", "description": "A professional research assistant", "role_body": "You are an academic researcher...", "instructions": "...", "personality": "..."}'
)
# 2. Call the init script only after the skill-decomposition decision is recorded.
shell_exec(
command="python '<skill_dir>/scripts/init_crew.py' --config .crew_init_config.json"
)

The init script first checks the current directory, then the project's .workspace directory and project root for a relative config path. The command does not require copying the config into the skill directory.

The script generates files based on the config (TOOLS.md and SKILLS.md are intentionally not created by the initialization script — the system uses defaults):

  • IDENTITY.md — always generated (YAML header + role definition body)
  • AGENTS.md — generated if workflow instructions were provided
  • SOUL.md — generated if personality was provided
Employee Logo Generation

After init_crew.py completes successfully and employee definition files are ready, generate the employee Logo (Avatar):

  1. Extract Identity and Personality:
  • Read .magic/IDENTITY.md to extract name, role, description, and capability characteristics.
  • Read .magic/SOUL.md (if present) to extract personality traits, aesthetic preferences, and communication style.
  1. Assemble Generation Prompt:
  • Refer to references/avatar-generation-guide.md.
  • Assemble a prompt combining style prefix, character identity (must depict a close-up face/head avatar of a person, never pure objects, tools, or logos), professional visual elements (as subtle attire collar or styling), personality temperament, background color scheme, and quality suffix.
  1. Generate Image and Save Locally:
  • Call generate_images with size="1024x1024" to generate 1 square image.
  • Save directly to .magic/logo.png (or .magic/logo.jpg) under workspace .magic/ root (never prepend .workspace/, never place in assets/).
  • Update .magic/IDENTITY.md YAML frontmatter to set icon: .magic/logo.png (or .magic/logo.jpg).
  • Validate that the image is square and its size does not exceed 500KB (convert to high-quality JPG if necessary).
  • Preserve existing custom logos if user already provided one and did not request replacement.
Mandatory Initialization Completion Gate

Creating or validating definition files is not the end of initialization. After the files and any requested skills are ready, execute this sequence before cleanup or the final response:

  1. Generate the employee Logo based on .magic/IDENTITY.md and .magic/SOUL.md (if present) and save directly to .magic/logo.png (or .magic/logo.jpg). Ensure icon: .magic/logo.png is written into .magic/IDENTITY.md.
  2. Run the verification script:
python
shell_exec(
command="python '<skill_dir>/scripts/check_crew.py'"
)
  1. Verify that check_crew.py returns "ok": true. If any error is returned, fix the issues immediately before proceeding.

Do not delete `.crew_init_config.json`, announce completion, or return the final initialization summary until definition files, Logo generation, and `check_crew.py` verification have passed.

If the user chooses skill decomposition in Round 4, after initialization call skill-creator once for each independent workflow. Follow skill-creator's plan, confirmation, creation, and validation process; do not write SKILL.md manually.

After Initialization
  1. Before writing, read the AGENTS.md section of references/crew-file-format.md and references/prompt-engineering-guide.md, then validate the drafted workflow against their specifications: overview, ordered SOP steps, inputs, outputs, tool/skill calls, failure branches, completion checks, and the mandatory baseline security constraints must be present. User-requested security or other special rules extend the baseline and must not weaken or replace it.
  2. If validation fails, revise the workflow content and validate it again; do not initialize with a plain unstructured checklist or omit the mandatory baseline security constraints.
  3. Show the generated files to the user via read_files.
  4. If the user chose skill decomposition, call skill-creator for each independent skill and validate the results before reporting completion.
  5. Complete the mandatory initialization completion gate above (including check_crew.py).
  6. Verify the generated files and the employee directory structure.
  7. Present the complete Employee Initialization & Verification Checklist to the user (see format below), explicitly verifying definition files and Logo generation.
  8. Ask if the user wants any adjustments.
  9. Clean up the temp config only after initialization has completed: delete_files(path=".crew_init_config.json").
  10. Inform the user: TOOLS.md and SKILLS.md were not generated by the initialization script (system defaults apply); custom skills are created under .magic/skills/ and can be adjusted later through employee management.
Employee Initialization & Verification Checklist Format

After employee initialization completes, you MUST present the following checklist to the user to confirm each step was executed and verified:

markdown
## Employee Initialization & Verification Checklist
| Check Item | Status | Verification Details |
|------------|--------|----------------------|
| Definition files created | pass | IDENTITY.md, AGENTS.md, SOUL.md created under .magic/ |
| Skill decomposition decision | pass | Recorded user decision ('yes'/'no') |
| Logo generated | pass / skipped / failed | Generated .magic/logo.png and icon recorded in IDENTITY.md |
| Check crew verification | pass | check_crew.py verification passed with 0 errors |

File Responsibility Mapping

FileDimensionResponsibilityRequired
IDENTITY.mdWHO — IdentityName, role, description, icon + role definition bodyRequired
AGENTS.mdWHAT — InstructionsWorkflow, rules, special directivesRecommended
SOUL.mdHOW — PersonalityCore personality, communication style, behavior guidelinesOptional
TOOLS.mdWITH WHAT — ToolsTool whitelist (YAML) + usage preferencesOptional
.magic/logo.pngVISUAL — LogoDefault employee Logo directly under .magic/Optional

Editing Workflow

General Flow (applies to all files)

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4,864
Repository forks
531
7-day trend score
42

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 14 May 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dtyq/magic/crew-creator/badge)](https://verified-skill.com/skills/dtyq/magic/crew-creator)

Something wrong with this skill or its page? Tell us.