run-agent

run-agent is a skill for Claude Code, Codex from open-gitagent/opengap. It costs 68 tokens per session (871 once invoked), scanned A, original, MIT.

A command-line tool for starting software agents locally or from Git repositories, using adapters for services such as Claude, OpenAI, CrewAI, and GitHub Models.

In plain words
What is it for?
Use it to launch an agent, choose an adapter, pass a one-shot instruction, or run an agent whose code is stored in Git.
Why use it?
It removes the need to learn separate launch commands and settings for each supported agent provider. It also lets you run an agent from a local folder or a remote repository with an optional one-time prompt.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions CLAUDE.md; mentions Claude Code; built for openclaw.

Good fit Use it to launch an agent, choose an adapter, pass a one-shot instruction, or run an agent whose code is stored in Git.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/open-gitagent/opengap/run-agent
About the project

OpenGAP is a framework-independent standard for defining AI agents as Git repositories, using files such as an agent manifest and identity document. It is intended for portable, version-controlled agents that can be adapted to systems such as Claude Code, OpenAI, LangChain, CrewAI, and AutoGen. The catalogue skills represent workflows and extensions built around this agent format.

open-gitagent/opengap · 2,979 stars · on GitHub · gitagent.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add open-gitagent/opengap --skill run-agent
Clone the repo
git clone --depth 1 https://github.com/open-gitagent/opengap

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for run-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/open-gitagent/opengap/run-agent/github.svg)](https://agentmods.dev/skills/open-gitagent/opengap/run-agent)
Your own site
<a href="https://agentmods.dev/skills/open-gitagent/opengap/run-agent"><img src="https://agentmods.dev/badge/skills/open-gitagent/opengap/run-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for run-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/open-gitagent/opengap/run-agent"><img src="https://agentmods.dev/badge/skills/open-gitagent/opengap/run-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 871 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 3
    YARA rule matched a hack tool or exploit indicator (offensive tools, reconnaissance, privilege escalation, or exploit frameworks).
    Fix: Remove offensive tool references and exploit code. Legitimate agent skills should not contain penetration testing tools, exploit frameworks, or reconnaissance utilities.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.00871
Opus 5.5 $0.00027 $0.00348
Sonnet 5.5 $0.00014 $0.00174
Haiku 4.5 $0.00007 $0.00087

Measured 1mo ago against content hash 67ed9c9adae3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/gitagent-helper/skills/run-agent/SKILL.md · 96 lines

How it starts

The opening of the file, as written. The whole thing — 96 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

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

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

Read the full file on GitHub · 96 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 96 lines · 68 tokens per session scan A 67ed9c9adae3

Subscribe to this mod's changes

run-agent is a skill published in the GitHub repository open-gitagent/opengap (2,979 stars, last pushed 3mo ago), licensed MIT. It adds 68 tokens to every session and 871 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

a0-create-agent

Create Agent Zero profiles with agent.yaml, prompt overrides, tools and extensions.

agent0ai/agent-zero · 20 tokens

rn-device-control

This skill should be used when the user asks to "control the simulator", "take a screenshot", "boot the emulator", "install the app", "read UI hierarchy", "manage device state", "open a deep link", "grant permissions", "stream native logs", "disable animations", "change device locale", or needs guidance on xcrun…

Lykhoyda/rn-dev-agent · 98 tokens

rn-feature-development

This skill should be used when building any new feature in a React Native or Expo app, or when the $rn-dev-agent:rn-feature-dev command runs. Triggers on "build a feature", "add X to the app", "implement Y", "create a new screen", "rn-feature-dev", "feature development", "build me X", "add a screen", "wire up this…

Lykhoyda/rn-dev-agent · 86 tokens

rn-testing

This skill should be used when the user asks to "write a Maestro test", "create E2E flows", "add testIDs", "run UI tests", "run E2E tests", "verify a feature works", "test my screen", "set up maestro-runner", "mock network requests", "inspect store state", "write test assertions", or needs guidance on test timing…

Lykhoyda/rn-dev-agent · 106 tokens

rn-workflow

Validate and establish the proven rn-dev-agent operating sequence before a real React Native journey — read project instructions and the declared package manager, inventory sessions/Metro/devices read-only, establish one exclusive simulator/emulator via typed session actions, apply and verify package integration and…

Lykhoyda/rn-dev-agent · 91 tokens

using-rn-dev-agent

Entry point for the rn-dev-agent plugin. Maps user intent to the right command, agent, or skill. Use at the START of any React Native development conversation. Triggers on "I want to build", "build a feature", "add a feature to the app", "test this", "something is broken", "fix the crash", "help with my React Native…

Lykhoyda/rn-dev-agent · 92 tokens