Skip to content

Skills

Skills are reusable automation scripts that extend pb with app-specific commands. Visit the Skills repository for available skills.

List Skills

pb skills list

List all installed skills (built-in and user-installed).

text
NAME          KIND      ENABLED   VERSION    DESCRIPTION
googleplay    builtin   yes       1.0.0      Google Play Store automation
tiktok        builtin   yes       1.0.0      TikTok automation
my-skill      user      yes       0.1.0      My custom skill
json
{
  "code": 200,
  "data": {
    "skills": [
      {
        "name": "googleplay",
        "source_kind": "builtin",
        "enabled": true,
        "version": "1.0.0",
        "description": "Google Play Store automation"
      }
    ]
  },
  "msg": "OK"
}

Install Skill

pb skills install [path_or_url] [--force]

Install skills. Without arguments, extracts all built-in skills. With a path or URL, installs a user skill (including its dependencies).

ParameterTypeRequiredDescription
path_or_urlstringNoLocal path or HTTP(S) URL. Omit to install built-in skills
--forceflagNoOverwrite existing skills with the same name

Examples:

bash
# Install (or refresh) all built-in skills
pb skills install

# Install a skill from a Git repository
pb skills install https://github.com/user/my-skill

# Install from a local directory
pb skills install ./my-skill --force

Create Skill

pb skills new <name> [options]

Scaffold a new skill from a template. Requires git to be installed on your system. The template is cloned from phonebase-cloud/phonebase-skill-template.

ParameterTypeRequiredDescription
namestringYesSkill name (used as directory name and pb subcommand)
--packagestringNoTarget Android package name. In interactive mode, omit to choose from installed apps on the connected device
--descriptionstringNoOne-line description
--categorystringNoCategory slug (social, communication, video, tools, etc.)
--requiresstringNoDependency skill name (can be repeated)
--forceflagNoOverwrite an existing skill directory

Example:

bash
pb skills new my-app --package com.example.app --description "My App automation"

Uninstall Skill

pb skills uninstall <name>

Uninstall a user-installed skill. Built-in skills cannot be uninstalled (use pb skills disable instead).

ParameterTypeRequiredDescription
namestringYesSkill name to uninstall

Example:

bash
pb skills uninstall my-skill

Enable Skill

pb skills enable <name>

Enable a previously disabled skill.

ParameterTypeRequiredDescription
namestringYesSkill name to enable

Example:

bash
pb skills enable googleplay

Disable Skill

pb skills disable <name>

Disable a skill without uninstalling it.

ParameterTypeRequiredDescription
namestringYesSkill name to disable

Example:

bash
pb skills disable googleplay

Running Skill Commands

Once a skill is installed, its commands become available as top-level pb subcommands:

bash
# Run a skill command
pb googleplay search --keyword "twitter"
pb googleplay open
pb tiktok search --keyword "cooking"

Each skill defines its own commands in its SKILL.md manifest. Use pb skills list to see available skills and their commands.