Skip to main content

Skill Commands

Skills extend agent capabilities with specialized tools and knowledge. All skill commands are under the openfang skill namespace.

Listing Skills

openfang skill list

List all installed skills.
Example Output:
Output Columns:
  • NAME - Skill identifier (use this with skill remove)
  • VERSION - Semantic version
  • TOOLS - Number of tools provided by the skill
  • DESCRIPTION - Human-readable description
Skills are loaded from ~/.openfang/skills/ plus bundled skills compiled into the binary.

Installing Skills

openfang skill install

Install a skill from a local directory, git URL, or FangHub marketplace.
Arguments:

Install from FangHub

FangHub is the OpenFang skill marketplace with curated, verified skills:
Skills from FangHub pass through SHA256 verification and prompt injection scanning.

Install from Local Directory

Local Directory Structure:

Install from Git URL

OpenClaw Compatibility

OpenFang can auto-convert OpenClaw-format skills:
OpenClaw Format:
After installing skills, restart the daemon for changes to take effect: openfang stop && openfang start

Searching Skills

Search the FangHub marketplace for skills.
Arguments: Example:
Search Tips:
  • Use multiple keywords to refine results
  • Search by category: openfang skill search cloud
  • Search by language: openfang skill search python
  • Search by use case: openfang skill search api testing

Creating Skills

openfang skill create

Interactively scaffold a new skill project.
Interactive Prompts:
Generated skill.toml:
Generated src/main.py:

Removing Skills

openfang skill remove

Remove an installed skill.
Arguments: Example:
Removing a skill deletes it from ~/.openfang/skills/. This action cannot be undone. Bundled skills cannot be removed.

Skill Development

Skill Manifest (skill.toml)

Every skill requires a skill.toml manifest:

Tool Implementation (Python)

Tool Implementation (Node.js)

Testing Skills Locally

Test your skill before installing:

Bundled Skills

OpenFang includes 60+ bundled skills compiled into the binary:

Development Skills

  • code-reviewer - Code review and analysis
  • git-expert - Git operations
  • docker - Docker management
  • kubernetes - Kubernetes operations
  • ci-cd - CI/CD pipeline tools
  • terraform - Infrastructure as code

Language Experts

  • python-expert - Python development
  • rust-expert - Rust development
  • typescript-expert - TypeScript development
  • golang-expert - Go development

Cloud & Infrastructure

  • aws - AWS cloud operations
  • gcp - Google Cloud operations
  • azure - Azure cloud operations
  • ansible - Configuration management
  • nginx - Web server configuration

Data & Databases

  • sql-analyst - SQL query generation
  • postgres-expert - PostgreSQL management
  • mongodb - MongoDB operations
  • redis-expert - Redis operations
  • data-analyst - Data analysis

Web & APIs

  • web-search - Web search and scraping
  • api-tester - REST API testing
  • openapi-expert - OpenAPI/Swagger
  • graphql-expert - GraphQL development

Collaboration

  • github - GitHub integration
  • jira - JIRA ticket management
  • slack-tools - Slack integration
  • notion - Notion workspace
  • confluence - Confluence docs

Security

  • security-audit - Security scanning
  • crypto-expert - Cryptography
  • compliance - Compliance checks
View all bundled skills:

Skill Best Practices

1. Single Responsibility

Each tool should do one thing well: Good: Separate tools for fetch and parse
Bad: Single tool that does everything

2. Clear Parameter Types

Use precise parameter definitions:

3. Error Handling

Always return structured errors:

4. Documentation

Include comprehensive README.md:

Installation