robsonrung/rar-skills

claude-runner

Execute prompts using Claude CLI in headless print mode from the current workspace.

Voir la source

Mode d’emploi

  1. Copiez la commande et examinez le paquet avant de l’installer dans votre environnement agent.
  2. Consultez le document original pour les outils, identifiants et environnements requis.
  3. Décrivez les entrées et le livrable souhaité ; comparez la sortie aux sources.
npx skills add https://github.com/robsonrung/rar-skills --skill claude-runner

Avant de commencer

  • L’installation n’inclut ni abonnement au modèle, ni quota API, ni accès aux fichiers.
  • Étoiles et installations reflètent l’activité, pas un test indépendant de qualité ou de sécurité.
Document Skill original

Rendu depuis le dépôt source en conservant titres, exemples, code, tableaux, liens et images.

Claude Runner

Execute the caller's scoped prompt through the local CLI. Shared roles, envelope keys, and result handling live in shared/references/runner-common.md. Preserve seat fidelity: name the provider that actually answered, and report unavailable or unverified seats honestly.

Invocation

Set SKILL_DIR to this loaded skill directory in the same shell call:

bash
SKILL_DIR="<absolute path of this skill directory>";
python3 "$SKILL_DIR/scripts/run_claude.py" "<scoped prompt>" --json

An approved workflow supplies the exact model, effort, role, tool mode, and receipt policy. Pass those approved options and --disable-fallback; this basic example does not authorize a different route.

Runtime boundaries

  • Use the local authenticated claude CLI in print mode. Permission checks remain enabled.
  • Analysis roles default to read-only planning mode. --restrict-tools forces it; --allow-write opts out within the caller's authority.
  • Prompt and file context may be sent to the configured provider. Bare mode changes authentication behavior; read the runtime reference before using it.
  • The wrapper forwards model and effort. Current print output does not prove the serving model; a configured label alone gives an unverified receipt.
  • Direct calls can fall back once to codex-runner when the CLI is missing. Approved routes disable fallback; native session continuation must preserve the selected runner.

Load by need

Result

Read agent_message and the wrapper envelope. Check success, serving-model receipt, effective runner/provider, and any fallback or malformed-output status. A completed process alone does not prove the requested task or model was used. Report touched files when the caller authorized edits.

Integration

agents/openai.yaml exposes this skill as a native Codex-app subagent seat; do not remove it.

Tâches connexes

du même dépôt

Autres Skills

Tous les Skills