examples/gitagent-helper/skills/run-agent/SKILL.md
Configures and runs agents with different adapters including Claude, OpenAI, CrewAI, Lyzr, and GitHub Models. Supports local execution, remote git repos, and one-shot prompts. Use when the user wants to run an agent, switch LLM providers, configure adapter settings, or launch agents from git repositories.
npx skillsauth add open-gitagent/gitagent run-agentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When a user wants to run an agent locally, from a git repo, or with a specific adapter/framework.
If you see authentication errors:
claude auth status)OPENAI_API_KEY is set and validGITHUB_TOKEN has correct permissionsLYZR_API_KEY is active# Run local agent with Claude (default)
gitagent run -d ./my-agent
# Run from git repo
gitagent run -r https://github.com/user/agent
# Run with a prompt (one-shot mode)
gitagent run -d ./my-agent -p "Review my code"
| Adapter | Flag | Env Var Required | Interactive |
|---------|------|-----------------|-------------|
| Claude | -a claude | (uses Claude Code auth) | Yes |
| OpenAI | -a openai | OPENAI_API_KEY | No |
| CrewAI | -a crewai | — | No |
| OpenClaw | -a openclaw | ANTHROPIC_API_KEY | No (-p required) |
| Nanobot | -a nanobot | ANTHROPIC_API_KEY | Yes |
| Lyzr | -a lyzr | LYZR_API_KEY | No (-p required) |
| GitHub | -a github | GITHUB_TOKEN | No (-p required) |
| Git | -a git | (auto-detects) | Depends |
| Prompt | -a prompt | — | Print only |
# Claude (interactive)
gitagent run -d ./my-agent
# GitHub Models (one-shot, streaming)
export GITHUB_TOKEN="ghp_..."
gitagent run -d ./my-agent -a github -p "Explain this codebase"
# Lyzr (creates agent on Lyzr Studio + chats)
export LYZR_API_KEY="..."
gitagent run -r https://github.com/user/agent -a lyzr -p "Hello"
# Lyzr one-liner (clone + create + chat)
gitagent lyzr run -r https://github.com/user/agent -p "Hello"
# Auto-detect adapter from repo
gitagent run -r https://github.com/user/agent -a git -p "Hello"
# Just print the system prompt
gitagent run -d ./my-agent -a prompt
Repos cloned via -r are cached at ~/.gitagent/cache/:
# Use cache (default)
gitagent run -r https://github.com/user/agent
# Force refresh
gitagent run -r https://github.com/user/agent --refresh
# No cache (temp dir, deleted after)
gitagent run -r https://github.com/user/agent --no-cache
-a git)The git adapter detects the best runner from the repo:
.gitagent_adapter file (explicit hint)development
Reviews code diffs and files for security vulnerabilities (OWASP Top 10), error handling, complexity, naming conventions, and performance issues. Use when the user asks to review a PR, pull request, diff, merge request, or code changes.
development
Advanced web search using Tavily API for current information retrieval
development
Academic paper search via Google Scholar using Serper API
documentation
Semantic search over ingested documents using RAG (LlamaIndex/ChromaDB or Foundational RAG)