بنقرة واحدة
tubecli-system-guide
Complete guide for AI agents to understand, install, and operate TubeCLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Complete guide for AI agents to understand, install, and operate TubeCLI
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Quản lý browser profiles anti-detect, mở/đóng trình duyệt, tự động hóa web
Manage OAuth credentials & tokens for Google, Facebook, TikTok
Manage Google Calendar — create, list, update, delete events with recurring & reminders
Quản lý file và folder trên máy tính
Cross-platform background monitor to auto-detect new videos/posts (YouTube, Douyin, Website) and run team workflows.
| name | TubeCLI System Guide |
| description | Complete guide for AI agents to understand, install, and operate TubeCLI |
TubeCLI is a headless CLI system for managing AI agents, skills (workflow templates), and workflows. AI agents can use this system via CLI commands or REST API.
tubecli (Click CLI)
├── agent — Manage AI agents (create, list, delete)
├── skill — Manage & run skills (workflow templates)
├── workflow — Run workflow JSON files
├── api — Start REST API server
└── init — Initialize workspace
cd tubecli
pip install -e .
tubecli init
tubecli init # Creates data dirs, installs default skills, creates default agent
tubecli agent create "Agent Name" --description "desc" --model "qwen:latest"
tubecli agent list
tubecli agent show <agent_id_or_name>
tubecli agent delete <agent_id>
tubecli skill list
tubecli skill show "AI Summarizer"
tubecli skill run "AI Summarizer" --input "Text to summarize"
tubecli skill run "Batch Command Runner"
tubecli workflow list
tubecli workflow run workflow.json --input "input text"
tubecli api start --port 5295
tubecli api status
Base URL: http://localhost:5295
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/health | Health check |
| GET | /api/v1/agents | List agents |
| POST | /api/v1/agents | Create agent |
| GET | /api/v1/agents/{id} | Get agent |
| PUT | /api/v1/agents/{id} | Update agent |
| DELETE | /api/v1/agents/{id} | Delete agent |
| GET | /api/v1/skills | List skills |
| POST | /api/v1/skills | Create skill |
| DELETE | /api/v1/skills/{id} | Delete skill |
| POST | /api/v1/workflows/run | Execute workflow |
| GET | /api/v1/nodes | List node types |
{
"name": "My Workflow",
"nodes": [
{"id": "input1", "type": "text_input", "config": {"text": "Hello"}},
{"id": "ai1", "type": "ai_node", "config": {"model": "qwen:latest"}},
{"id": "out1", "type": "output", "config": {"print": true}}
],
"connections": [
{"from_node_id": "input1", "from_port_id": "content", "to_node_id": "ai1", "to_port_id": "prompt"},
{"from_node_id": "ai1", "from_port_id": "response", "to_node_id": "out1", "to_port_id": "data"}
]
}
| Type | Name | Inputs | Outputs | Description |
|---|---|---|---|---|
| text_input | 📝 Text Input | — | content, lines | Static text |
| loop | 🔄 Loop | items | current_item, index, total | Iterate list |
| python_code | 🐍 Python Code | text_input, json_input | result | Execute Python |
| api_request | 🌐 API Request | url, body | response, status_code | HTTP request |
| run_command | 💻 Run Command | command | stdout, exit_code | Shell command |
| ai_node | 🧠 AI Inference | prompt, context | response | AI model call |
| output | 📤 Output | data | file_path | Display/save results |
{
"id": "uuid",
"name": "Agent Name",
"description": "What this agent does",
"system_prompt": "You are...",
"allowed_skills": ["skill_id_1", "skill_id_2"],
"model": "qwen:latest",
"persona": {},
"routine": {},
"cloud_api_keys": {"gemini": "", "openai": "", "claude": "", "deepseek": ""}
}
To create a custom skill, POST to /api/v1/skills or use the skill manager:
{
"name": "My Custom Skill",
"description": "What it does",
"skill_type": "Skill",
"workflow_data": {
"nodes": [...],
"connections": [...]
}
}
{
"nodes": [
{"id": "in", "type": "text_input", "config": {"text": "..."}},
{"id": "ai", "type": "ai_node", "config": {}},
{"id": "out", "type": "output", "config": {}}
],
"connections": [
{"from_node_id": "in", "from_port_id": "content", "to_node_id": "ai", "to_port_id": "prompt"},
{"from_node_id": "ai", "from_port_id": "response", "to_node_id": "out", "to_port_id": "data"}
]
}
{
"nodes": [
{"id": "list", "type": "text_input", "config": {"text": "cmd1\ncmd2"}},
{"id": "loop", "type": "loop", "config": {}},
{"id": "exec", "type": "run_command", "config": {}},
{"id": "out", "type": "output", "config": {}}
],
"connections": [
{"from_node_id": "list", "from_port_id": "lines", "to_node_id": "loop", "to_port_id": "items"},
{"from_node_id": "loop", "from_port_id": "current_item", "to_node_id": "exec", "to_port_id": "command"},
{"from_node_id": "exec", "from_port_id": "stdout", "to_node_id": "out", "to_port_id": "data"}
]
}