Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

code-buddy

Skill by phuetz

Drives the Code Buddy `buddy` coding-agent CLI from the command line. It runs headless prompts, pins a local Ollama or paid model, and starts the server and autonomous fleet loop.

  • Score 59
  • 53 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install code-buddy

Built from the published package, never by AI.

git clone --depth 1 https://github.com/phuetz/code-buddy /tmp/code-buddy && mkdir -p ~/.claude/skills && cp -r /tmp/code-buddy/skills/code-buddy ~/.claude/skills/code-buddy

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install code-buddy in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill teaches an AI assistant how to operate the Code Buddy `buddy` CLI, a multi-provider AI coding agent. It explains how to find the entrypoint, run the agent headlessly on a single prompt with text or JSON output, and choose a provider and model. It also covers permission modes, sandboxed working directories, and common recipes for planning, code changes, and diagnostics.

The skill also covers the HTTP and WebSocket server used by the multi-AI fleet, the autonomous loop, and fleet status commands. It says to force a free local Ollama model by setting CODEBUDDY_PROVIDER=ollama, because an active ChatGPT login overrides OLLAMA_HOST. It is aimed at developers who want to invoke, test, script, or automate the buddy CLI, or run it inside another agent.

Written from the project's SKILL.md and checked against it.

What it can do

  • Headless one-shot runsRuns `buddy -p` on a single prompt with text or JSON output, then exits.
  • Provider and model selectionPins a local Ollama model or a paid provider using environment variables and flags.
  • Permission modesSets default, plan, acceptEdits, dontAsk or bypassPermissions behaviour for edits.
  • Tool restrictionsLimits the tool surface with --allowedTools and --disallowedTools glob lists.
  • Golden-path dev workflowsRuns buddy dev plan, run, pr and fix-ci commands for common coding tasks.
  • HTTP and fleet serverStarts buddy server on one port for HTTP and WebSocket fleet use.
  • Autonomous loopRuns buddy autonomy with --watch and can install it as a systemd or launchd service.
  • Fleet and task queueInspects the shared colab task queue and fleet routing with status commands.
  • Environment diagnosticsChecks the setup with buddy doctor and buddy whoami.

What you need

  • Node.js and npm
  • Ollama with a local model for free use
  • A ChatGPT login via buddy login, or an API key for paid models
  • Code Buddy repo checkout, or a global install of @phuetz/code-buddy

Try asking

  • Use buddy headless to add input validation to parseConfig and a test.
  • Run Code Buddy on my local Ollama model to implement slugify in slugify.mjs.
  • Start the buddy server on port 3000 for the multi-AI fleet.

Good to know

  • Headless mode auto-approves operations.
  • --yolo gives full autonomy and should only be used in a contained workspace.
  • qwen2.5:7b is chat-only and cannot edit files. Use qwen3 or later for agentic work.
  • An active ChatGPT login overrides OLLAMA_HOST unless CODEBUDDY_PROVIDER is set.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/code-buddy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to code-buddy

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

code-buddy: common questions

Why does my local Ollama model not get used?

An active ChatGPT login is checked before OLLAMA_HOST, so set CODEBUDDY_PROVIDER=ollama explicitly to force the local model.

Which Ollama model works for editing files?

The skill says qwen3 or later emits structured tool calls. qwen2.5:7b is chat-only and cannot edit files.

Is headless mode safe to run unattended?

Headless mode auto-approves operations, so the skill advises running risky prompts in a throwaway sandbox directory and using plan mode for read-only work.

How do I install code-buddy?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is code-buddy free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is code-buddy safe to use?

It scores 59 of 100. Grades: maintenance B, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to code-buddy?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

code-buddy Install

Add to stack

Loading.