1. Install `bilibili-cli` using `uv tool install bilibili-cli` or `pipx install bilibili-cli`.
2. Authenticate with `bili login` if required (for actions like liking or accessing private content).
3. Construct the appropriate `bili` command based on the desired action (e.g., `bili video BV1xxx --subtitle` for subtitles).
4. Execute the command and capture the output (YAML or JSON).
5. Parse the output and extract the relevant information.
6. Handle any errors or exceptions that may occur during execution.
7. Present the extracted information to the user or agent.