aiox-master
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/aiox-master/SKILL.md --> <!-- Source:…
Generate contextual agent greeting using GreetingBuilder infrastructure.
$ npx -y skills add SynkraAI/aiox-core --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/greetContext preview
What this command does when you run it.
Generate contextual agent greeting using GreetingBuilder infrastructure.
Generate contextual agent greeting using GreetingBuilder infrastructure.
---
When activated, this command: 1. Loads the GreetingBuilder module from `.aiox-core/development/scripts/greeting-builder.js` 2. Extracts agent definition from the calling agent (name, icon, persona_profile, commands) 3. Analyzes conversation history to detect session type (new/existing/workflow) 4. Generates intelligent greeting based on:
5. Returns formatted greeting string for agent to display
---
Execute the greeting builder and return the formatted greeting:
const GreetingBuilder = require('./.aiox-core/development/scripts/greeting-builder');
const builder = new GreetingBuilder();
// Extract agent definition from current agent context
const agent = {
name: agentDefinition.name,
id: agentDefinition.id,
icon: agentDefinition.icon,
title: agentDefinition.title,
persona_profile: agentDefinition.persona_profile,
persona: agentDefinition.persona,
commands: agentDefinition.commands
};
// Build greeting with conversation history
const greeting = await builder.buildGreeting(agent, {
conversationHistory: conversationHistory || []
});
// Return greeting for display
return greeting;---
If greeting generation fails (timeout, error, module not found):
{agent.icon} {agent.name} ready
Type `*help` for available commands.---
---
Agents call this command in STEP 3 of activation-instructions:
activation-instructions: - STEP 1: Read THIS ENTIRE FILE - STEP 2: Adopt persona defined in 'agent' and 'persona' sections - STEP 3: Execute /greet slash command to generate contextual greeting - STEP 4: Display the greeting returned by /greet command - STEP 5: HALT and await user input
---
This follows **ADR-001: Agent Greeting Execution Pattern**:
Industry alignment: Microsoft Copilot Security, Julep AI, Mastra patterns
---
**Created:** 2025-11-16 **ADR:** ADR-001 **Story:** 6.1.2.5 - Contextual Agent Load Integration **Tests:** 27/27 passing (greeting-builder.test.js)
🌐 README por idioma: EN | PT | ES | ZH Devolvendo às pessoas o poder de criar — Framework open source de orquestração de IA que devolve o controle a quem tem coragem de construir.
Repo: SynkraAI/aiox-core
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/aiox-master/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/analyst/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/architect/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/data-engineer/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/dev/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/devops/SKILL.md --> <!-- Source:…