Skip to main content

Skill Commands

Skills extend agent capabilities with expert knowledge, tools, and workflows. OpenFang ships with 60 bundled skills and supports installing custom skills from FangHub, local directories, or Git repositories.

openfang skill list

List all installed skills.
openfang skill list

Output

NAME                VERSION    TOOLS    DESCRIPTION
---------------------------------------------------------------------------------
github              1.2.0      8        GitHub API integration (issues, PRs, repos)
docker              1.0.3      12       Docker container management
kubernetes          1.1.0      15       Kubernetes cluster operations
web-search          1.0.1      3        Web search via Brave/Tavily APIs
security-audit      2.0.0      6        Security vulnerability scanning
prompt-engineering  1.0.0      0        Expert prompt engineering knowledge

Output Columns

  • NAME: Skill identifier
  • VERSION: Skill version
  • TOOLS: Number of executable tools provided
  • DESCRIPTION: Brief description

Skill Sources

Skills are loaded from:
  • ~/.openfang/skills/ — User-installed skills
  • Bundled skills compiled into the binary (60 pre-installed)

Example

openfang skill list

openfang skill install

Install a skill from a local directory, git URL, or FangHub marketplace.
openfang skill install <SOURCE>

Arguments

ArgumentDescription
<SOURCE>Skill name (FangHub), local directory path, or git URL.

Behavior

Looks for skill.toml in the directory. If not found, checks for OpenClaw-format skills (SKILL.md with YAML frontmatter) and auto-converts them.
openfang skill install ./my-skill/
Fetches and installs from the FangHub marketplace. Skills pass through:
  • SHA256 verification
  • Prompt injection scanning
openfang skill install web-search
Clones the repository and installs the skill.
openfang skill install https://github.com/user/my-skill.git
Auto-converts OpenClaw-format skills (SKILL.md with YAML frontmatter) to OpenFang format.
openfang skill install ./openclaw-skill/

Examples

# Install from FangHub marketplace
openfang skill install web-search
openfang skill install github
openfang skill install docker

Output

Installing skill: web-search
  Source: FangHub
  Version: 1.0.1
  
  [✓] Downloaded (12.4 KB)
  [✓] SHA256 verified
  [✓] Prompt injection scan passed
  [✓] Installed to ~/.openfang/skills/web-search
  
Skill installed successfully!
  Name: web-search
  Tools: 3
  Description: Web search via Brave/Tavily APIs

openfang skill remove

Remove an installed skill.
openfang skill remove <NAME>

Arguments

ArgumentDescription
<NAME>Name of the skill to remove.

Examples

# Remove a skill
openfang skill remove web-search

# Remove multiple skills
openfang skill remove github
openfang skill remove docker
openfang skill remove kubernetes

Output

Skill removed: web-search
  Path: ~/.openfang/skills/web-search
Bundled skills (compiled into the binary) cannot be removed. Only user-installed skills from ~/.openfang/skills/ can be removed.

Search the FangHub marketplace for skills.
openfang skill search <QUERY>

Arguments

ArgumentDescription
<QUERY>Search query string.

Examples

# Search for Docker-related skills
openfang skill search docker

# Search for Kubernetes skills
openfang skill search kubernetes

# Search for security skills
openfang skill search security

Output

Searching FangHub for: "docker kubernetes"

Found 8 skills:

NAME                VERSION    DOWNLOADS    DESCRIPTION
---------------------------------------------------------------------------------
docker              1.0.3      15,234       Docker container management
kubernetes          1.1.0      12,891       Kubernetes cluster operations
docker-compose      1.0.0      8,456        Docker Compose orchestration
helm                1.0.1      5,234        Helm chart management
terraform           1.2.0      4,123        Infrastructure as code
...

Install with: openfang skill install <name>

openfang skill create

Interactively scaffold a new skill project.
openfang skill create

Behavior

Prompts for:
  • Skill name: Identifier for the skill (e.g., my-tool)
  • Description: Brief description
  • Runtime: python, node, or wasm (defaults to python)
Creates a directory under ~/.openfang/skills/<name>/ with:
  • skill.toml — Manifest file
  • src/main.py (or src/index.js) — Entry point with boilerplate

Example Session

openfang skill create
Prompts:
Create a new skill

Skill name: my-analysis-tool
Description: Custom code analysis tool
Runtime (python/node/wasm) [python]: python

✓ Created skill directory: ~/.openfang/skills/my-analysis-tool/
✓ Generated skill.toml
✓ Generated src/main.py with boilerplate

Next steps:
  1. Edit skill.toml to define your tools
  2. Implement your logic in src/main.py
  3. Test with: openfang skill install ./my-analysis-tool/

Generated Files

name = "my-analysis-tool"
version = "0.1.0"
description = "Custom code analysis tool"
author = "you"
runtime = "python"

[[tools]]
name = "analyze_code"
description = "Analyze code for patterns"
parameters = [
  { name = "code", type = "string", required = true, description = "Code to analyze" }
]

Skill Runtimes

  • Uses system Python interpreter
  • Dependencies managed via requirements.txt
  • Tools receive JSON via stdin, return JSON via stdout

Complete Skill Workflow

1

Search for Skills

openfang skill search "code review"
2

Install a Skill

openfang skill install code-reviewer
3

List Installed Skills

openfang skill list
4

Use in Agent

Create an agent manifest that includes the skill:
agent.toml
name = "my-reviewer"
module = "builtin:chat"

[capabilities]
skills = ["code-reviewer"]
tools = ["analyze_code", "suggest_improvements"]
5

Remove When Done

openfang skill remove code-reviewer

Bundled Skills

OpenFang ships with 60 pre-installed expert knowledge skills:
  • Python, JavaScript, TypeScript, Rust, Go, Java
  • Web development, API design
  • Code review, refactoring
  • Docker, Kubernetes, Helm
  • AWS, Azure, GCP
  • Terraform, Ansible
  • CI/CD (GitHub Actions, GitLab CI, Jenkins)
  • Monitoring (Prometheus, Grafana)
  • Security auditing
  • Vulnerability scanning
  • OWASP Top 10
  • Penetration testing
  • Compliance (SOC2, HIPAA, GDPR)
  • Prompt engineering
  • LLM fine-tuning
  • Vector databases
  • Model evaluation
  • GitHub, GitLab, Bitbucket
  • Jira, Linear, Asana
  • Slack, Discord, Teams
  • Notion, Confluence
  • Stripe, SendGrid

Next Steps

Skill Development

Create custom skills with Python, Node, or WASM

Agent Commands

Spawn agents with skills

FangHub Marketplace

Browse the skill marketplace

CLI Overview

Back to CLI overview

Build docs developers (and LLMs) love