agentsclimarketplace

Run agent

Skill open-gitagent/opengap/examples/gitagent-helper/skills/run-agent

A framework-agnostic, git-native standard for defining AI agents

Install
npx -y skills add open-gitagent/opengap --skill run-agent

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

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.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.8 KB, as published. Nobody here has run it

Run Agents

When to Use

When a user wants to run an agent locally, from a git repo, or with a specific adapter/framework.

Troubleshooting

If you see authentication errors:

  • Claude: Ensure Claude Code is authenticated (claude auth status)
  • OpenAI: Verify OPENAI_API_KEY is set and valid
  • GitHub: Check GITHUB_TOKEN has correct permissions
  • Lyzr: Confirm LYZR_API_KEY is active

Basic Usage

# Run local agent with Claude (default)
opengap run -d ./my-agent

# Run from git repo
opengap run -r https://github.com/user/agent

# Run with a prompt (one-shot mode)
opengap run -d ./my-agent -p "Review my code"

Adapters

AdapterFlagEnv Var RequiredInteractive
Claude-a claude(uses Claude Code auth)Yes
OpenAI-a openaiOPENAI_API_KEYNo
CrewAI-a crewaiNo
OpenClaw-a openclawANTHROPIC_API_KEYNo (-p required)
Nanobot-a nanobotANTHROPIC_API_KEYYes
Lyzr-a lyzrLYZR_API_KEYNo (-p required)
GitHub-a githubGITHUB_TOKENNo (-p required)
Git-a git(auto-detects)Depends
Prompt-a promptPrint only

Examples

# Claude (interactive)
opengap run -d ./my-agent

# GitHub Models (one-shot, streaming)
export GITHUB_TOKEN="ghp_..."
opengap run -d ./my-agent -a github -p "Explain this codebase"

# Lyzr (creates agent on Lyzr Studio + chats)
export LYZR_API_KEY="..."
opengap run -r https://github.com/user/agent -a lyzr -p "Hello"

# Lyzr one-liner (clone + create + chat)
opengap lyzr run -r https://github.com/user/agent -p "Hello"

# Auto-detect adapter from repo
opengap run -r https://github.com/user/agent -a git -p "Hello"

# Just print the system prompt
opengap run -d ./my-agent -a prompt

Git Caching

Repos cloned via -r are cached at ~/.gitagent/cache/:

# Use cache (default)
opengap run -r https://github.com/user/agent

# Force refresh
opengap run -r https://github.com/user/agent --refresh

# No cache (temp dir, deleted after)
opengap run -r https://github.com/user/agent --no-cache

Auto-Detection (-a git)

The git adapter detects the best runner from the repo:

  1. .gitagent_adapter file (explicit hint)
  2. Model name (claude-* → claude, gpt-* → openai)
  3. Framework files (CLAUDE.md, .cursorrules, crew.yaml, .lyzr_agent_id, .github_models)
  4. Default: claude

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.