/loxihart-ai:create-subagentsfrom loxihart-ai
Expert guidance for creating, building, and using Claude Code subagents and the Task tool. Use when working with subagents, setting up agent configurations, understanding how agents work, or using the Task tool to launch specialized agents.
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.
Subagents enable delegation of complex tasks to specialized agents that operate autonomously without user interaction, returning their final output to the main conversation.
<when_to_use> Subagents are black boxes that cannot interact with users. They run in isolated contexts and return only their final output. They:
Use the main chat (direct) for:
Use a subagent for:
Example workflow pattern:
Main Chat: Ask user for requirements (AskUserQuestion)
↓
Subagent: Research API and create documentation (no user interaction)
↓
Main Chat: Review research with user, confirm approach
↓
Subagent: Generate code based on confirmed plan
↓
Main Chat: Present results, handle testing/deployment
</when_to_use>
<creation_procedure>
/agents command.claude/agents/) or user-level (~/.claude/agents/)sonnet, opus, haiku, or inherit)##, ###) from the body; keep markdown formatting within content (bold, lists, code blocks). Use semantic tags: <role>, <constraints>, <focus_areas>, <workflow>, <output_format>, <success_criteria>, <validation>.For file locations, full field parameters, configuration tables, XML-tag intelligence rules, invocation, and management, see references/subagent-api.md. </creation_procedure>
<example_subagent_types>
1. Simple — single focused task (role + constraints + workflow):
---
name: code-reviewer
description: Expert code reviewer. Use proactively after code changes to review for quality, security, and best practices.
tools: Read, Grep, Glob, Bash
model: sonnet
---
<role>
You are a senior code reviewer focused on quality, security, and best practices.
</role>
<focus_areas>
- Code quality and maintainability
- Security vulnerabilities
- Performance issues
- Best practices adherence
</focus_areas>
<output_format>
Provide specific, actionable feedback with file:line references.
</output_format>
2. Analysis/review — domain-specialized (add focus + severity workflow):
---
name: security-reviewer
description: Reviews code for security vulnerabilities. Use after auth, input-handling, or API changes.
tools: Read, Grep, Glob, Bash
model: sonnet
---
<role>
You are a senior code reviewer specializing in security.
</role>
<focus_areas>
- SQL injection vulnerabilities
- XSS attack vectors
- Authentication/authorization issues
- Sensitive data exposure
</focus_areas>
<workflow>
1. Read the modified files
2. Identify security risks
3. Provide specific remediation steps
4. Rate severity (Critical/High/Medium/Low)
</workflow>
3. Research + generation — multi-step (add workflow + output_format + success_criteria):
---
name: api-researcher
description: Researches an external API and produces integration documentation. Use when adding a new third-party integration.
tools: Read, Grep, Glob, Bash, WebFetch
model: sonnet
---
<role>
You are an API integration researcher. You read docs and source, then produce a precise integration spec.
</role>
<workflow>
1. Identify the API surface needed for the task
2. Fetch and read the relevant official documentation
3. Confirm auth model, rate limits, and required parameters
4. Produce endpoint-by-endpoint integration notes
</workflow>
<output_format>
A markdown spec: auth setup, each endpoint (method, params, response shape), and example calls.
</output_format>
<success_criteria>
Every endpoint the task needs is documented with verified parameters and a working example.
</success_criteria>
Match model to complexity: Sonnet for reasoning-heavy work, Haiku for simple, high-volume tasks. </example_subagent_types>
<success_criteria> A well-configured subagent has:
What SKILL.md sets; muted values are Claude Code's defaults
37 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.Other plugins' skills for the same job
/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.
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-ai