sheikh-cli

Sheikh-CLI Agents

This document describes the available AI agents and their capabilities in Sheikh-CLI.

Available Agents

Debugger Agent

Test Runner Agent

Data Scientist Agent

Code Reviewer Agent

Git Helper Agent

Agent Configuration

YAML Frontmatter Format

---
name: agent-name
description: Brief description of agent purpose
tools: tool1, tool2, tool3
model: inherit|sonnet|opus|haiku
---

Agent System Prompt Structure

Creating Custom Agents

1. Create Agent File

# Project-level agent
touch .claude/agents/my-agent.md

# User-level agent
touch ~/.claude/agents/my-agent.md

2. Define Agent Configuration

---
name: my-agent
description: Expert in specific domain. Use proactively for X tasks.
tools: Read, Write, Bash
model: inherit
---

# My Agent

You are an expert in [domain]. When invoked:
1. Analyze the request
2. Provide specialized assistance
3. Follow best practices

## Guidelines
- Always validate input
- Provide clear explanations
- Follow security best practices

3. Agent Discovery

Agent Execution Flow

  1. Input Processing: Parse user message and context
  2. Agent Selection: Match message to appropriate agent
  3. Context Preparation: Prepare agent-specific context
  4. Tool Access: Grant tools based on agent configuration
  5. Execution: Run agent with system prompt and tools
  6. Response Formatting: Format and return results

Best Practices

Agent Design

System Prompts

Tool Management

Troubleshooting

Agent Not Loading

Agent Not Matching

Agent Execution Issues