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.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
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 (
--jsonflag): 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
Bình luận
- …
Thêm skill từ kho mã này
cli-anything-3mf
58kCho phép agent của bạn kiểm tra và sửa file in 3D, gồm tìm lỗ tròn, đổi kích thước chúng, sửa lưới và so sánh hai file.
cli-anything-qgis
58kCho phép agent của bạn mở, sửa và xuất dự án bản đồ QGIS từ terminal, gồm các lớp, đối tượng, bố cục in và công cụ xử lý.
cli-anything-adguardhome
58kCho phép agent của bạn quản lý AdGuard Home, một bộ chặn quảng cáo toàn mạng, gồm bộ lọc, DNS rewrite, thiết bị và nhật ký truy vấn.
cli-anything-anygen
58kCho phép agent của bạn tạo slide, tài liệu, website và sơ đồ từ một prompt bằng dịch vụ AnyGen.
Skill tương tự
taste-application
280kGiúp agent tạo video theo phong cách cụ thể: sao chép nhịp dựng từ video mẫu, tạo cảnh mới, chỉnh màu và ghép với các đoạn có sẵn.
taste-distillation
280kGiúp agent phân tích video để tạo style pack gồm màu sắc, nhịp cắt và yếu tố hình ảnh, tái sử dụng để tạo video mới cùng phong cách.
ui-demo
280kGiúp agent ghi lại video demo giao diện chỉn chu. Hữu ích để tạo hướng dẫn hoặc cho thấy một ứng dụng web hoạt động ra sao.