run-agent

仓库创建 2026年2月25日最近提交 24 天前SkillHot 收录 20 天前
▸ 精选理由

集中切换 LLM 提供者与运行模式,便于开发与部署代理。

▸ 风险提示

需要管理外部模型/服务的 API 密钥与权限,注意凭证泄露风险。

这个 Skill 做什么

配置并运行代理,支持多种适配器与本地或远程执行方式。

帮你配置并运行各种 agent,支持 Claude、OpenAI、CrewAI、Lyzr、GitHub Models 等适配器,能从本地或 git 仓库启动也能做一次性任务。会在想切换 LLM 提供商、部署 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.

开发编程运行代理适配器多供应商调试通用
2.9k
Stars
342
Forks
18
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/open-gitagent/opengap/main/examples/gitagent-helper/skills/run-agent/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/open-gitagent/opengap/main/examples/gitagent-helper/skills/run-agent/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# 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

```bash
# 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

| Adapter | Flag | Env Var R
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有