/loxihart-ai:orchestrating-ai-agentsfrom loxihart-ai
Architecture and design guidance for AI agents, automation workflows, and tool orchestrations — topology selection, trust and permission boundaries, failure-mode and rollback design across the AI/automation ecosystem. Use when the user mentions: agent architecture, how should I structure this agent system, multi-agent design, tool access design, agent security architecture, design an automation. Not for hands-on implementation or writing the code (use ai-agents-workflow) and not for no-code platform wiring (use workflow-automation).
Ships in loxihart-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use when — "what is the right architecture for a multi-agent research system." "how should I structure tool access and security for an agent platform."
Do NOT use when — "write the actual MCP server code for this" — route to ai-agents-workflow.
Build secure, modular, production-ready AI agents and automation workflows across the modern AI/automation ecosystem.
Choose your approach based on requirements:
Ask the user:
Use the appropriate pattern:
Pattern A: MCP Server (Claude-native tool integration)
scripts/init_mcp_server.pyPattern B: LangChain Agent (Python ecosystem, single agent)
scripts/init_langchain_agent.pyPattern C: CrewAI Workflow (Multi-agent collaboration)
scripts/init_crewai_workflow.pyPattern D: Multi-LLM Orchestration (Route tasks to best model)
Pattern E: No-Code Integration (Zapier/Make)
MANDATORY for all patterns:
.env for local, secrets manager for prod)Run: scripts/validate_workflow.py <path> to check security baseline
See: references/security-checklist.md
Build the workflow following the selected pattern. Use templates from assets/ as starting points:
assets/mcp-templates/ - MCP server boilerplatesassets/workflow-templates/ - Zapier/Make workflow JSONsassets/agent-configs/ - LangChain/CrewAI configurationsassets/deployment-configs/ - Vercel/Cloudflare deployment configsTest integration points before deployment:
scripts/test_integration.py for automated testingDeploy according to pattern:
vercel deploy with edge functionswrangler publishCommon workflow patterns with implementation guides:
Trigger: GitHub webhook (PR opened)
Flow: Fetch PR → Claude review → Post comments
Pattern: MCP Server + GitHub API
See: references/tool-integrations.md § GitHub Integration
Trigger: Slack message
Flow: Query Notion DB → Vector search → LLM synthesis → Reply
Pattern: LangChain + Notion API + Pinecone
See: references/agent-frameworks.md § RAG Patterns
Trigger: Schedule (daily)
Flow: Research agent → Writer agent → Editor agent → Publisher
Pattern: CrewAI workflow
See: references/agent-frameworks.md § CrewAI
Trigger: API request
Flow: Classify task → Route to Claude/GPT/Gemini → Stream response
Pattern: Multi-LLM orchestration
See: references/multi-llm-patterns.md
This skill provides integration guidance for:
LLM Providers: Claude (Anthropic), GPT (OpenAI), Gemini (Google)
Orchestration: LangChain, LangGraph, CrewAI, AutoGen
No-Code: Zapier, Make (Integromat)
Development: Vercel, Cloudflare Workers, GitHub Actions
Data Sources: Notion, GitHub, HubSpot, Airtable
Observability: Sentry, LangSmith, Helicone
Browser Automation: Playwright
Assets: Cloudinary, Canva
Vector DBs: Pinecone, Weaviate, Chroma
MCP Ecosystem: All available MCP servers
All implementations must follow this error structure:
❌ Error: <WHAT_FAILED>
📋 Cause: <WHY_IT_FAILED>
🔧 Fix: <HOW_TO_RESOLVE>
🔄 Retry: <SUGGESTED_ACTION>
Example:
❌ Error: GitHub API authentication failed
📋 Cause: Invalid or expired GITHUB_TOKEN
🔧 Fix: Generate new token at github.com/settings/tokens with 'repo' scope
🔄 Retry: Set GITHUB_TOKEN env var and restart
Before marking any workflow complete, verify:
✅ All inputs validated (type checks, schema validation)
✅ Secrets in environment variables only (no hardcoded tokens)
✅ Auth explicitly configured (scopes documented)
✅ Rate limits implemented (prevent API abuse)
✅ Error messages follow cause→fix→retry pattern
✅ README includes setup + .env.example
✅ At least 1 happy-path test + 1 edge case test
✅ Deployment instructions provided
Named failure modes for this skill. Each is a hard stop, not a warning.
assets/agent-configs/README.md (opens in a new tab)assets/deployment-configs/README.md (opens in a new tab)assets/mcp-templates/README.md (opens in a new tab)assets/workflow-templates/README.md (opens in a new tab)references/agent-frameworks.md (opens in a new tab)references/deployment.md (opens in a new tab)references/mcp-servers.md (opens in a new tab)references/multi-llm-patterns.md (opens in a new tab)references/security-checklist.md (opens in a new tab)references/tool-integrations.md (opens in a new tab)scripts/init_crewai_workflow.py (opens in a new tab)scripts/init_langchain_agent.py (opens in a new tab)scripts/init_mcp_server.py (opens in a new tab)scripts/test_integration.py (opens in a new tab)scripts/validate_workflow.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-ai37 skills in this plugin
/ai-agents-workflowBuilds and implements AI agents, automation workflows, and tool integrations — MCP servers (2025 async, OAuth, stateless spec), LangChain and CrewAI agents, multi-LLM orchestration, and no-code platforms. Use when the user mentions: MCP server, build an agent, tool integration, API orchestration, multi-LLM routing, OAuth flow, webhook, connect services, deploy a workflow, integrate external APIs. Not for conceptual architecture overviews (use orchestrating-ai- agents), not for production n8n incident ops (use operating-n8n-production), and not for pure no-code platform wiring (use workflow-automation).
/ai-solution-architectureDesign pre-sales technical architectures for AI/ML solutions targeting B2B enterprise clients. Use when scoping AI implementations, designing reference architectures, mapping integration patterns, estimating infrastructure requirements, or preparing technical proposals. Triggers on solution design, AI architecture, technical scoping, integration mapping, infrastructure sizing, pre-sales engineering for AI projects./applying-adversarial-reviewApplies Kyle's adversarial review methodology to consequential outputs. Forces every recommendation, audit, plan, or claim through three checks before shipping: a CLAIMS / COUNTEREXAMPLE / CONTRADICTIONS footer, [SOURCED] vs [GENERATED] provenance labeling, and an agreement-streak flag at three consecutive consequential agreements. Use when finishing an audit, writing a recommendation, delivering a plan, drafting a decision memo, or producing any high-stakes deliverable. Also triggers when explicitly asked to pressure-test, stress-test, steelman, play devil's advocate, fight an idea, or check for blind spots. Triggers on: adversarial review, anti-sycophancy, claims footer, stress test this, steelman this, pressure test, devil's advocate, am I missing anything, what could go wrong, sourced vs generated, agreement streak, push back on this, where am I wrong, review this PR, pull request review, code review, PR feedback.
Other plugins' skills for the same job