This skill should be used when the user asks about "XSky architecture", "XSky class", "how XSky works", "agent execution", "workflow system", "Chain class", "Context class", or needs to understand the core framework structure and execution model.
Provides deep knowledge of XSky AI agent framework internals. Use when users ask about architecture, core classes (XSky, Chain, Context), execution flow, or how the workflow system works.
/plugin marketplace add anujkumar001111/xsky-agent/plugin install anujkumar001111-xsky-dev-team@anujkumar001111/xsky-agentThis skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill provides deep knowledge of XSky AI Agent framework internals.
XSky is a multi-platform AI agent framework with these core components:
XSky (Orchestrator)
├── Planner (Task → Workflow XML)
├── Chain (Execution tracking)
├── Context (State management)
├── Memory (Conversation compression)
└── Agents (Task executors)
core/xsky.ts)Main orchestrator with these methods:
generate(taskPrompt) → Creates workflow from taskexecute(taskId) → Runs workflowrun(taskPrompt) → Generate + execute in one callpauseTask(taskId) → Pause executionabortTask(taskId) → Cancel executioncore/plan.ts)Converts natural language to Workflow XML:
core/chain.ts)Tracks execution state:
core/context.ts)Manages task state:
taskId - Unique task identifiervariables - Key-value storageworkflow - Current workflowcontroller - AbortController for cancellationconversation - Chat messages during executionPer-agent execution context:
All agents extend base classes:
Agent - Base class with LLM dialogue loopBaseBrowserAgent - Browser abstractionBaseBrowserLabelsAgent - Element labeling approachBaseFileAgent - File system operationsBaseShellAgent - Command execution| File | Purpose |
|---|---|
packages/ai-agent-core/src/core/xsky.ts | Main orchestrator |
packages/ai-agent-core/src/core/plan.ts | Workflow planner |
packages/ai-agent-core/src/core/chain.ts | Execution chain |
packages/ai-agent-core/src/core/context.ts | Context management |
packages/ai-agent-core/src/core/dialogue.ts | LLM dialogue loop |
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.