Chuyển đến nội dung
Skillpedia
Dựng video58k · #3232

cli-anything-obs_studio

Skill này làm gì

Skill này giúp agent AI thay đổi các thiết lập OBS Studio, gọi là bộ sưu tập cảnh, bằng cách chỉnh sửa file dự án. Skill dành cho người phát trực tiếp và người làm video muốn thiết lập cảnh nhanh chóng.

Khi nào nên dùng

  • ✓Khi bạn muốn thêm hoặc sắp xếp lại các cảnh cho một buổi phát trực tiếp hoặc ghi hình.
  • ✓Khi bạn cần xem lại file dự án đang có những cảnh và nguồn nào.
  • ✓Khi bạn muốn tạo một file thiết lập OBS mới mà không cần mở ứng dụng OBS.

Liên kết skill

https://github.com/HKUDS/CLI-Anything/blob/main/obs-studio/agent-harness/cli_anything/obs_studio/skills/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/HKUDS/CLI-Anything/blob/main/obs-studio/agent-harness/cli_anything/obs_studio/skills/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn tạo một bộ sưu tập cảnh OBS với một cảnh webcam và một cảnh quay trò chơi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chỉnh sửa file JSON lưu bộ sưu tập cảnh của bạn, rồi lưu lại để OBS dùng sau. Việc chỉnh sửa không cần chương trình OBS đang mở.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

cli-anything-obs_studio

A stateful command-line interface for OBS Studio scene collection editing, following the same patterns as the Blender CLI harness. Uses a JSON scene collection format. No OBS installation required for editing.

Installation

This CLI is installed as part of the cli-anything-obs_studio package:

pip install cli-anything-obs_studio

Prerequisites:

  • Python 3.10+
  • obs_studio must be installed on your system

Usage

Basic Commands

# Show help
cli-anything-obs_studio --help

# Start interactive REPL mode
cli-anything-obs_studio

# Create a new project
cli-anything-obs_studio project new -o project.json

# Run with JSON output (for agent consumption)
cli-anything-obs_studio --json project info -p project.json

REPL Mode

When invoked without a subcommand, the CLI enters an interactive REPL session:

cli-anything-obs_studio
# Enter commands interactively with tab-completion and history

Command Groups

Project

Project management commands.

Command Description
new Create a new OBS scene collection
open Open an existing project
save Save the current project
info Show project information
json Print raw project JSON

Scene Group

Scene management commands.

Command Description
add Add a new scene
remove Remove a scene by index
duplicate Duplicate a scene
set-active Set the active scene
list List all scenes

Source Group

Source management commands.

Command Description
add Add a source to a scene
remove Remove a source by index
duplicate Duplicate a source
set Set a source property (name, visible, locked, opacity, rotation)
transform Transform a source (position, size, crop, rotation)
list List all sources in a scene

Filter Group

Filter management commands.

Command Description
add Add a filter to a source
remove Remove a filter from a source
set Set a filter parameter
list List all filters on a source
list-available List all available filter types

Audio Group

Audio management commands.

Command Description
add Add a global audio source
remove Remove a global audio source
volume Set volume for an audio source (0.0-3.0)
mute Mute an audio source
unmute Unmute an audio source
monitor Set audio monitoring type
list List all audio sources

Transition Group

Transition management commands.

Command Description
add Add a transition
remove Remove a transition
set-active Set the active transition
duration Set transition duration in milliseconds
list List all transitions

Output Group

Output/streaming/recording configuration.

Command Description
streaming Configure streaming settings
recording Configure recording settings
settings Configure output settings
info Show current output configuration
presets List available encoding presets

Session

Session management commands.

Command Description
status Show session status
undo Undo the last operation
redo Redo the last undone operation
history Show undo history

Examples

Create a New Project

Create a new obs_studio project file.

cli-anything-obs_studio project new -o myproject.json
# Or with JSON output for programmatic use
cli-anything-obs_studio --json project new -o myproject.json

Interactive REPL Session

Start an interactive session with undo/redo support.

cli-anything-obs_studio
# Enter commands interactively
# Use 'help' to see available commands
# Use 'undo' and 'redo' for history navigation

State Management

The CLI maintains session state with:

  • Undo/Redo: Up to 50 levels of history
  • Project persistence: Save/load project state as JSON
  • Session tracking: Track modifications and changes

Output Formats

All commands support dual output modes:

  • Human-readable (default): Tables, colors, formatted text
  • Machine-readable (--json flag): Structured JSON for agent consumption
# Human o
Câu hỏi thường gặp

Tôi có cần cài OBS không?

Ghi chú thiết lập cho biết OBS Studio nên được cài trên hệ thống, dù việc chỉnh sửa file không cần nó đang chạy.

Nó dùng định dạng nào?

Skill dùng file JSON, một định dạng văn bản thuần lưu bộ sưu tập cảnh.

Nó có thể hiển thị dữ liệu dự án gốc không?

Có. Lệnh json in ra nội dung file dự án gốc để bạn thấy mọi cài đặt.

Chi tiết

Mô tả gốc của tác giả

Command-line interface for Obs Studio - A stateful command-line interface for OBS Studio scene collection editing, following the same patter...

repo: HKUDS/CLI-Anything

Độ phổ biến

Sao GitHub
58k
Vị trí xếp hạng
#3232
Giấy phép
Apache-2.0
Cập nhật
21/9/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự