Overview
Theagent command prints the skill file that tells AI agents how to use oobo. The skill file is also installed at ~/.agents/skills/oobo/SKILL.md during oobo setup.
What is a Skill File?
A skill file is a structured markdown document that AI coding tools read to learn about available commands. Oobo’s skill file includes:- Installation command - How to install oobo
- Version check - How to verify oobo is installed
- Command reference - Every command with JSON schemas
- Usage examples - Real-world workflows
- Agent workflows - Best practices for AI agents
Skill File Location
Duringoobo setup, the skill file is installed at:
~/.agents/skills/ will automatically discover it.
Supported Tools
| Tool | Scans ~/.agents/skills/ | Auto-Discovery |
|---|---|---|
| Cursor | ✓ | ✓ |
| Claude Code | ✓ | ✓ |
| Codex CLI | ✓ | ✓ |
| Gemini CLI | ✓ | ✓ |
| OpenCode | ✓ | ✓ |
| Windsurf | — | — |
| Aider | — | — |
| GitHub Copilot | — | — |
Tools with Auto-Discovery automatically load the skill file and make oobo commands available to agents.
Command Usage
Print skill file
Save to file
Check if installed
Skill File Contents
Frontmatter
YAML metadata at the top:- Detect oobo - Run
command -v oobo - Install oobo - Run the install command
- Learn purpose - Read the description
Command Reference
Every oobo command with:- Syntax - Full command signature
- Flags - All available options
- JSON schema - Output format for
--agent - Examples - Real usage patterns
Agent Workflows
Recommended patterns:JSON Schemas
For every command with--agent, the skill file includes the output schema:
Use Cases
View skill file
Install skill file manually
Ifoobo setup didn’t install it:
Verify agent can read it
From an AI agent session:Share with other developers
Embed in documentation
Agent Installation Flow
When an AI agent encounters oobo for the first time:- Detect - Run
command -v oobo - Install (if missing) - Run
curl -fsSL https://oobo.ai/install.sh | bash -s -- --agent - Verify - Check install output for JSON success
- Use - Run oobo commands with
--agentflag
Install Command
From the skill file:--agent, the installer:
- Suppresses interactive prompts
- Returns JSON on success/failure
- Exits with code 0 on success
Updating the Skill File
The skill file is embedded in the oobo binary. When you update oobo, the skill file updates too. To refresh the installed copy:Skill File vs README
| Document | Audience | Purpose |
|---|---|---|
SKILL.md | AI agents | Machine-readable commands and schemas |
README.md | Humans | Overview, installation, examples |
- Structured frontmatter
- JSON schemas for every command
- Minimal prose, maximum examples
How Agents Use It
Step 1: Discovery
Agent scans~/.agents/skills/ and finds oobo/SKILL.md.
Step 2: Parse Frontmatter
Agent reads:Step 3: Version Check
Agent runs:Step 4: Read Commands
Agent parses the skill file to learn:- Available commands
- Required/optional flags
- JSON output schemas
Step 5: Execute
Agent uses oobo:Troubleshooting
Skill file not found
Symlink broken
Agent can’t read skill
Check permissions:Skill file outdated
Update oobo:Next Steps
Setup
Learn how setup installs the skill file
Commands
Explore all available commands
