Generate or update the agentic environment definition for AgentSmith, SkillSmith, and CommandSmith
Generates or updates the agentic environment definition file that describes your platform's capabilities for creating agents, skills, and commands. Use this when setting up a new project or when your platform configuration changes.
/plugin marketplace add jmagly/ai-writing-guide/plugin install jmagly-sdlc-plugins-sdlc@jmagly/ai-writing-guide[--verify-only] [--update]haikuGenerate the agentic environment definition file that describes the platform's capabilities for creating agents, skills, and commands.
This command probes the current agentic platform and generates .aiwg/smiths/agentic-definition.yaml which is used by:
| Argument | Description |
|---|---|
--verify-only | Check existing definition without updating |
--update | Update existing definition with any changes |
Determine the agentic platform by checking for platform-specific directories:
Platform Detection Priority:
1. .claude/ → Claude Code
2. .factory/ → Factory AI
3. .github/agents/ → GitHub Copilot
4. .cursor/ → Cursor
5. .codex/ → OpenAI Codex
For Claude Code:
.claude/agents/ exists.claude/commands/ exists.claude/skills/ existsCheck platform configuration for supported models:
haiku - Fast, simple taskssonnet - Balanced (default)opus - Complex reasoningStandard tool set:
Create .aiwg/smiths/agentic-definition.yaml:
# Agentic Environment Definition
# Generated by /smith-agenticdef
# Last updated: {timestamp}
platform:
provider: claude
version: "{detected_version}"
detected_at: "{timestamp}"
agent_config:
models:
- haiku
- sonnet
- opus
default_model: sonnet
tools:
available:
- Read
- Write
- MultiEdit
- Bash
- Glob
- Grep
- WebFetch
- WebSearch
- Task
- TodoWrite
orchestration_default:
- Task
- Read
- Write
- Glob
- TodoWrite
skill_config:
supported: true
structure: directory
filename: SKILL.md
command_config:
supported: true
categories:
- sdlc-management
- sdlc-orchestration
- development
- utilities
- smithing
deployment_paths:
agents: .claude/agents/
skills: .claude/skills/
commands: .claude/commands/
capabilities:
can_create_agents: true
can_create_skills: true
can_create_commands: true
Ensure Smith directories exist:
mkdir -p .aiwg/smiths/agentsmith/specs
mkdir -p .aiwg/smiths/skillsmith/specs
mkdir -p .aiwg/smiths/commandsmith/specs
Create catalog files if they don't exist:
.aiwg/smiths/agentsmith/catalog.yaml.aiwg/smiths/skillsmith/catalog.yaml.aiwg/smiths/commandsmith/catalog.yamlAgentic Definition Generated
============================
Platform: Claude Code
Version: 2025.12
Agent Configuration:
Models: haiku, sonnet, opus
Tools: 10 available
Deployment: .claude/agents/
Skill Configuration:
Supported: Yes
Structure: directory/SKILL.md
Deployment: .claude/skills/
Command Configuration:
Supported: Yes
Categories: 5
Deployment: .claude/commands/
Files Created:
✓ .aiwg/smiths/agentic-definition.yaml
✓ .aiwg/smiths/agentsmith/catalog.yaml
✓ .aiwg/smiths/skillsmith/catalog.yaml
✓ .aiwg/smiths/commandsmith/catalog.yaml
With --verify-only, check existing definition:
Verifying Agentic Definition
============================
Definition: .aiwg/smiths/agentic-definition.yaml
Status: Valid
Platform Match: ✓ claude
Agent Paths: ✓ .claude/agents/ exists
Skill Paths: ✓ .claude/skills/ exists
Command Paths: ✓ .claude/commands/ exists
Catalogs:
AgentSmith: ✓ 0 artifacts
SkillSmith: ✓ 0 artifacts
CommandSmith: ✓ 0 artifacts
| Error | Resolution |
|---|---|
| No platform detected | Create .claude/ directory or specify platform |
| Missing deployment directory | Create directory or check permissions |
| Invalid existing definition | Use --update to regenerate |