@markus-global/cli 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/markus.mjs +241 -54
- package/dist/web-ui/assets/index-C97PujBE.js +351 -0
- package/dist/web-ui/index.html +1 -1
- package/package.json +1 -1
- package/templates/roles/SHARED.md +3 -9
- package/templates/skills/markus-admin-cli/SKILL.md +9 -1
- package/templates/teams/content-team/team.json +1 -1
- package/templates/teams/dev-squad/team.json +1 -1
- package/templates/teams/engineering-pod/team.json +1 -1
- package/templates/teams/research-lab/team.json +1 -1
- package/templates/teams/startup-team/team.json +1 -1
- package/dist/web-ui/assets/index-sJUaZxib.js +0 -351
- package/templates/skills/markus-agent-cli/SKILL.md +0 -69
- package/templates/skills/markus-agent-cli/skill.json +0 -21
- package/templates/skills/markus-cli/SKILL.md +0 -113
- package/templates/skills/markus-cli/skill.json +0 -20
- package/templates/skills/markus-project-cli/SKILL.md +0 -163
- package/templates/skills/markus-project-cli/skill.json +0 -21
- package/templates/skills/markus-skill-cli/SKILL.md +0 -59
- package/templates/skills/markus-skill-cli/skill.json +0 -21
- package/templates/skills/markus-team-cli/SKILL.md +0 -54
- package/templates/skills/markus-team-cli/skill.json +0 -21
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: markus-agent-cli
|
|
3
|
-
description: Manage agents via markus CLI — lifecycle, messaging, config, memory, skills.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Agent Management via CLI
|
|
7
|
-
|
|
8
|
-
> **IMPORTANT**: Prefer built-in tools (`team_hire_agent`, `builder_install`, `agent_send_message`, `task_create`, `task_assign`, `memory_save`, etc.) over CLI commands. Only use CLI when no built-in tool provides the needed operation (e.g., `agent delete`, `agent config`, `agent role-sync`).
|
|
9
|
-
|
|
10
|
-
Operate agents through `shell_execute` with `markus agent` commands. Always use `--json` for parseable output.
|
|
11
|
-
|
|
12
|
-
## Quick examples
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
# List all agents
|
|
16
|
-
markus agent list --json
|
|
17
|
-
|
|
18
|
-
# Get agent details
|
|
19
|
-
markus agent get agt_xxx --json
|
|
20
|
-
|
|
21
|
-
# Create an agent
|
|
22
|
-
markus agent create --name "Alice" --role developer --team team_xxx
|
|
23
|
-
|
|
24
|
-
# Start / stop agents
|
|
25
|
-
markus agent start agt_xxx
|
|
26
|
-
markus agent stop agt_xxx
|
|
27
|
-
|
|
28
|
-
# Send a message
|
|
29
|
-
markus agent message agt_xxx --text "Please review the API changes"
|
|
30
|
-
|
|
31
|
-
# Update config
|
|
32
|
-
markus agent config agt_xxx --skills "self-evolution,chrome-devtools"
|
|
33
|
-
|
|
34
|
-
# View memory
|
|
35
|
-
markus agent memory agt_xxx --json
|
|
36
|
-
|
|
37
|
-
# Manage skills
|
|
38
|
-
markus agent skill-add agt_xxx --skill-name chrome-devtools
|
|
39
|
-
markus agent skill-remove agt_xxx --skill-name chrome-devtools
|
|
40
|
-
|
|
41
|
-
# Trigger heartbeat or daily report
|
|
42
|
-
markus agent heartbeat agt_xxx
|
|
43
|
-
markus agent daily-report agt_xxx
|
|
44
|
-
|
|
45
|
-
# Sync role from template
|
|
46
|
-
markus agent role-sync agt_xxx
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## Command Reference
|
|
50
|
-
|
|
51
|
-
| Command | Key Options |
|
|
52
|
-
|---------|-------------|
|
|
53
|
-
| `agent list` | |
|
|
54
|
-
| `agent get <id>` | |
|
|
55
|
-
| `agent create` | `--name` (required) `--role` (required) `--org` `--team` `--agent-role` `--skills` |
|
|
56
|
-
| `agent delete <id>` | `--purge` |
|
|
57
|
-
| `agent start <id>` | |
|
|
58
|
-
| `agent stop <id>` | |
|
|
59
|
-
| `agent message <id>` | `--text` (required) `--sender` `--session` |
|
|
60
|
-
| `agent chat <id>` | Interactive REPL mode |
|
|
61
|
-
| `agent config <id>` | `--name` `--agent-role` `--skills` `--heartbeat` |
|
|
62
|
-
| `agent memory <id>` | |
|
|
63
|
-
| `agent files <id>` | |
|
|
64
|
-
| `agent skill-add <id>` | `--skill-name` (required) |
|
|
65
|
-
| `agent skill-remove <id>` | `--skill-name` (required) |
|
|
66
|
-
| `agent activities <id>` | `--type` `--limit` |
|
|
67
|
-
| `agent heartbeat <id>` | |
|
|
68
|
-
| `agent daily-report <id>` | |
|
|
69
|
-
| `agent role-sync <id>` | |
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "skill",
|
|
3
|
-
"name": "markus-agent-cli",
|
|
4
|
-
"displayName": "Markus Agent CLI",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Manage agents via markus CLI — lifecycle, messaging, config, memory, skills.",
|
|
7
|
-
"author": "markus",
|
|
8
|
-
"category": "platform",
|
|
9
|
-
"tags": ["cli", "agents", "lifecycle"],
|
|
10
|
-
"hidden": true,
|
|
11
|
-
"i18n": {
|
|
12
|
-
"zh-CN": {
|
|
13
|
-
"displayName": "Markus 智能体命令行",
|
|
14
|
-
"description": "通过 markus CLI 管理智能体 — 生命周期、消息通信、配置、记忆、技能。"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"skill": {
|
|
18
|
-
"skillFile": "SKILL.md",
|
|
19
|
-
"alwaysOn": false
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: markus-cli
|
|
3
|
-
description: Core knowledge for operating the Markus platform via CLI. Prerequisite for domain-specific markus-*-cli skills.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Markus CLI
|
|
7
|
-
|
|
8
|
-
The `markus` command-line tool lets you operate the Markus platform programmatically.
|
|
9
|
-
Use it via `shell_execute` to manage agents, projects, tasks, teams, and more.
|
|
10
|
-
|
|
11
|
-
## How to invoke
|
|
12
|
-
|
|
13
|
-
Use `markus` via `shell_execute`. The binary is automatically available in PATH — either from npm global install (`npm install -g @markus-global/cli`) or injected by the server at startup in source-dev mode.
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
markus agent list --json
|
|
17
|
-
markus project task get tsk_abc123 --json
|
|
18
|
-
markus admin system status --json
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Prerequisites
|
|
22
|
-
|
|
23
|
-
- The Markus server must be running (started via `markus start`).
|
|
24
|
-
- `markus start` auto-detects first run and initializes everything (DB, config wizard).
|
|
25
|
-
- The CLI connects to `http://localhost:8056` by default. Override with `--server <url>` or `MARKUS_API_URL`.
|
|
26
|
-
- For authenticated access use `--api-key <key>` or `MARKUS_API_KEY`.
|
|
27
|
-
|
|
28
|
-
## Output format
|
|
29
|
-
|
|
30
|
-
**Always use `--json` when parsing results programmatically.** Without `--json`, output is human-readable tables.
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
# Machine-readable — use this in automation
|
|
34
|
-
markus agent list --json
|
|
35
|
-
|
|
36
|
-
# Human-readable table
|
|
37
|
-
markus agent list
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Platform Info
|
|
41
|
-
|
|
42
|
-
- **Website**: https://www.markus.global/
|
|
43
|
-
- **GitHub**: https://github.com/markus-global/markus
|
|
44
|
-
|
|
45
|
-
## Command structure
|
|
46
|
-
|
|
47
|
-
Commands follow the pattern: `markus <domain> [sub] <action> [id] [options]`
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
markus agent list # List agents
|
|
51
|
-
markus project list --json # List projects
|
|
52
|
-
markus project task create --title "..." # Create a task
|
|
53
|
-
markus admin system status # System health
|
|
54
|
-
markus admin system version --json # Check version and updates
|
|
55
|
-
markus <domain> --help # See all subcommands
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
## Command hierarchy
|
|
59
|
-
|
|
60
|
-
| Command | Description | Skill |
|
|
61
|
-
|---------|-------------|-------|
|
|
62
|
-
| `start` | Start server (auto-init on first run) | — |
|
|
63
|
-
| `agent` | Agent lifecycle, config, memory, skills | markus-agent-cli |
|
|
64
|
-
| `team` | Team CRUD, members, lifecycle | markus-team-cli |
|
|
65
|
-
| `skill` | Skill registry, install, scaffold | markus-skill-cli |
|
|
66
|
-
| `project` | Project CRUD | markus-project-cli |
|
|
67
|
-
| `project task` | Task CRUD, lifecycle, subtasks, comments | markus-project-cli |
|
|
68
|
-
| `project requirement` | Requirement CRUD, approval | markus-project-cli |
|
|
69
|
-
| `project deliverable` | Deliverable CRUD | markus-project-cli |
|
|
70
|
-
| `project report` | Report generation, usage stats | markus-project-cli |
|
|
71
|
-
| `project review` | Code / task reviews | markus-project-cli |
|
|
72
|
-
| `project approval` | HITL approvals | markus-project-cli |
|
|
73
|
-
| `admin` | Platform administration & system controls | markus-admin-cli |
|
|
74
|
-
| `admin system` | Global controls, governance, storage, version, update | markus-admin-cli |
|
|
75
|
-
| `admin system audit` | Audit log and summary | markus-admin-cli |
|
|
76
|
-
| `admin user` | Human user management | markus-admin-cli |
|
|
77
|
-
| `admin key` | API key management | markus-admin-cli |
|
|
78
|
-
| `admin role` | Role templates | markus-admin-cli |
|
|
79
|
-
| `admin template` | Agent/team templates | markus-admin-cli |
|
|
80
|
-
| `admin builder` | Builder artifacts | markus-admin-cli |
|
|
81
|
-
| `admin gateway` | External agent gateway | markus-admin-cli |
|
|
82
|
-
| `admin settings` | LLM and platform settings | markus-admin-cli |
|
|
83
|
-
| `admin external-agent` | External agent registration | markus-admin-cli |
|
|
84
|
-
|
|
85
|
-
## Installation & Update
|
|
86
|
-
|
|
87
|
-
```bash
|
|
88
|
-
# Install via npm (recommended)
|
|
89
|
-
npm install -g @markus-global/cli
|
|
90
|
-
|
|
91
|
-
# Or one-line install
|
|
92
|
-
curl -fsSL https://markus.global/install.sh | bash
|
|
93
|
-
|
|
94
|
-
# Check current version
|
|
95
|
-
markus admin system version --json
|
|
96
|
-
|
|
97
|
-
# Update to latest (npm mode)
|
|
98
|
-
npm update -g @markus-global/cli
|
|
99
|
-
|
|
100
|
-
# Update to latest (source mode — pulls from GitHub, installs deps, rebuilds)
|
|
101
|
-
markus admin system update
|
|
102
|
-
|
|
103
|
-
# Preview update without making changes
|
|
104
|
-
markus admin system update --dry-run
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
**Always confirm with the user before updating** — it requires a service restart which interrupts running agents.
|
|
108
|
-
|
|
109
|
-
## Tips
|
|
110
|
-
|
|
111
|
-
- Always use `--json` and parse the JSON output for reliable automation.
|
|
112
|
-
- When creating tasks, always specify `--project-id` if projects exist.
|
|
113
|
-
- Use `markus <domain> --help` to discover available subcommands and options.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "skill",
|
|
3
|
-
"name": "markus-cli",
|
|
4
|
-
"displayName": "Markus CLI",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Core knowledge for operating the Markus platform via CLI commands. Prerequisite for all markus-*-cli skills.",
|
|
7
|
-
"author": "markus",
|
|
8
|
-
"category": "platform",
|
|
9
|
-
"tags": ["cli", "platform", "management", "api"],
|
|
10
|
-
"i18n": {
|
|
11
|
-
"zh-CN": {
|
|
12
|
-
"displayName": "Markus 命令行",
|
|
13
|
-
"description": "通过 CLI 命令操作 Markus 平台的核心知识,是所有 markus-*-cli 技能的前置依赖。"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"skill": {
|
|
17
|
-
"skillFile": "SKILL.md",
|
|
18
|
-
"alwaysOn": false
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: markus-project-cli
|
|
3
|
-
description: Manage projects, tasks, requirements, deliverables, reports, reviews, and approvals via markus CLI.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Project & Task Management via CLI
|
|
7
|
-
|
|
8
|
-
> **IMPORTANT**: Prefer built-in tools (`task_create`, `task_update`, `task_list`, `task_assign`, `task_comment`, `requirement_propose`, `requirement_list`, `deliverable_create`, `deliverable_search`, etc.) over CLI commands. Only use CLI when no built-in tool provides the needed operation (e.g., `task approve`, `task revision`, `project create/delete`, `report generate`).
|
|
9
|
-
|
|
10
|
-
Operate projects, tasks, requirements, deliverables, reports, reviews, and approvals through `shell_execute` with `markus` commands. Always use `--json` for parseable output.
|
|
11
|
-
|
|
12
|
-
## Projects
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
markus project list --json
|
|
16
|
-
markus project get proj_xxx --json
|
|
17
|
-
markus project create --name "Web App v2" --org-id default --description "Next version"
|
|
18
|
-
markus project update proj_xxx --description "Updated scope"
|
|
19
|
-
markus project delete proj_xxx
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
| Command | Key Options |
|
|
23
|
-
|---------|-------------|
|
|
24
|
-
| `project list` | `--org <id>` |
|
|
25
|
-
| `project get <id>` | |
|
|
26
|
-
| `project create` | `--name` (required) `--org` `--description` `--repositories` `--team-ids` |
|
|
27
|
-
| `project update <id>` | `--name` `--description` `--status` `--repositories` `--team-ids` |
|
|
28
|
-
| `project delete <id>` | |
|
|
29
|
-
|
|
30
|
-
## Tasks (nested under project)
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
markus project task list --status in_progress --json
|
|
34
|
-
markus project task create --title "Implement login page" --priority high --assignee agt_xxx --project-id proj_xxx
|
|
35
|
-
markus project task run tsk_xxx
|
|
36
|
-
markus project task get tsk_xxx --json
|
|
37
|
-
markus project task approve tsk_xxx
|
|
38
|
-
markus project task accept tsk_xxx
|
|
39
|
-
markus project task revision tsk_xxx --reason "Tests are missing"
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
### CRUD
|
|
43
|
-
|
|
44
|
-
| Command | Options |
|
|
45
|
-
|---------|---------|
|
|
46
|
-
| `project task list` | `--status` `--agent-id` `--project-id` `--requirement-id` `--org-id` `--limit` |
|
|
47
|
-
| `project task get <id>` | |
|
|
48
|
-
| `project task create` | `--title` (required) `--description` `--priority` `--assignee` `--reviewer` `--project-id` `--blocked-by` `--type` |
|
|
49
|
-
| `project task update <id>` | `--title` `--description` `--priority` `--status` `--assignee` `--reviewer` `--project-id` `--blocked-by` |
|
|
50
|
-
| `project task dashboard` | `--org-id` |
|
|
51
|
-
| `project task board` | `--org-id` `--project-id` |
|
|
52
|
-
|
|
53
|
-
### Lifecycle Actions
|
|
54
|
-
|
|
55
|
-
| Command | Options |
|
|
56
|
-
|---------|---------|
|
|
57
|
-
| `project task approve <id>` | |
|
|
58
|
-
| `project task reject <id>` | |
|
|
59
|
-
| `project task run <id>` | |
|
|
60
|
-
| `project task pause <id>` | |
|
|
61
|
-
| `project task resume <id>` | |
|
|
62
|
-
| `project task retry <id>` | |
|
|
63
|
-
| `project task cancel <id>` | `--cascade` |
|
|
64
|
-
| `project task accept <id>` | |
|
|
65
|
-
| `project task revision <id>` | `--reason` |
|
|
66
|
-
| `project task archive <id>` | |
|
|
67
|
-
|
|
68
|
-
### Subtasks & Comments
|
|
69
|
-
|
|
70
|
-
| Command | Options |
|
|
71
|
-
|---------|---------|
|
|
72
|
-
| `project task subtasks <id>` | |
|
|
73
|
-
| `project task subtask-add <id>` | `--title` (required) |
|
|
74
|
-
| `project task comment <id>` | `--content` (required) `--author-id` `--author-name` |
|
|
75
|
-
| `project task logs <id>` | |
|
|
76
|
-
|
|
77
|
-
### Task State Flow
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
pending → in_progress → review → completed → archived
|
|
81
|
-
(blocked / failed / cancelled along the way)
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## Requirements (nested under project)
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
markus project requirement list --project proj_xxx --json
|
|
88
|
-
markus project requirement create --title "User auth" --project proj_xxx --priority high
|
|
89
|
-
markus project requirement approve req_xxx
|
|
90
|
-
markus project requirement reject req_xxx --reason "Out of scope"
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
| Command | Key Options |
|
|
94
|
-
|---------|-------------|
|
|
95
|
-
| `project requirement list` | `--org` `--status` `--project` `--source` |
|
|
96
|
-
| `project requirement get <id>` | |
|
|
97
|
-
| `project requirement create` | `--title` (required) `--description` `--priority` `--project` `--org` `--tags` |
|
|
98
|
-
| `project requirement update <id>` | `--title` `--description` `--priority` `--tags` |
|
|
99
|
-
| `project requirement approve <id>` | |
|
|
100
|
-
| `project requirement reject <id>` | `--reason` |
|
|
101
|
-
| `project requirement delete <id>` | |
|
|
102
|
-
|
|
103
|
-
### Requirement State Flow
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
pending → in_progress → completed
|
|
107
|
-
→ rejected / cancelled
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
## Deliverables (nested under project)
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
markus project deliverable list --project-id proj_xxx --json
|
|
114
|
-
markus project deliverable create --title "API Design Doc" --type knowledge --project-id proj_xxx
|
|
115
|
-
markus project deliverable update dlv_xxx --status verified
|
|
116
|
-
markus project deliverable delete dlv_xxx
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
| Command | Key Options |
|
|
120
|
-
|---------|-------------|
|
|
121
|
-
| `project deliverable list` | `--query` `--project` `--agent` `--task` `--type` `--status` `--limit` `--offset` |
|
|
122
|
-
| `project deliverable create` | `--title` (required) `--type` `--summary` `--reference` `--tags` `--task` `--agent` `--project` |
|
|
123
|
-
| `project deliverable update <id>` | `--title` `--summary` `--reference` `--tags` `--status` `--type` |
|
|
124
|
-
| `project deliverable delete <id>` | |
|
|
125
|
-
|
|
126
|
-
## Reports & Usage (nested under project)
|
|
127
|
-
|
|
128
|
-
```bash
|
|
129
|
-
markus project report generate --period weekly --scope org
|
|
130
|
-
markus project report usage --json
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
| Command | Key Options |
|
|
134
|
-
|---------|-------------|
|
|
135
|
-
| `project report list` | `--scope` `--scope-id` `--type` |
|
|
136
|
-
| `project report generate` | `--period` (required: daily/weekly/monthly) `--scope` `--org` |
|
|
137
|
-
| `project report usage` | `--org` |
|
|
138
|
-
|
|
139
|
-
## Code Reviews (nested under project)
|
|
140
|
-
|
|
141
|
-
```bash
|
|
142
|
-
markus project review run --task-id tsk_xxx --agent-id agt_xxx --description "PR review"
|
|
143
|
-
markus project review list --task-id tsk_xxx --json
|
|
144
|
-
markus project review get rev_xxx --json
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
| Command | Key Options |
|
|
148
|
-
|---------|-------------|
|
|
149
|
-
| `project review run` | `--task` (required) `--agent` (required) `--description` `--changed-files` |
|
|
150
|
-
| `project review list` | `--task` `--limit` |
|
|
151
|
-
| `project review get <id>` | |
|
|
152
|
-
|
|
153
|
-
## Approvals (nested under project)
|
|
154
|
-
|
|
155
|
-
```bash
|
|
156
|
-
markus project approval list --task-id tsk_xxx --json
|
|
157
|
-
markus project approval process apv_xxx --action approve
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
| Command | Key Options |
|
|
161
|
-
|---------|-------------|
|
|
162
|
-
| `project approval list` | `--task` `--status` |
|
|
163
|
-
| `project approval process <id>` | `--action` (approve/reject) `--reason` |
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "skill",
|
|
3
|
-
"name": "markus-project-cli",
|
|
4
|
-
"displayName": "Markus Project CLI",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Manage projects, requirements, deliverables, reports, and code reviews via markus CLI.",
|
|
7
|
-
"author": "markus",
|
|
8
|
-
"category": "platform",
|
|
9
|
-
"tags": ["cli", "projects", "requirements", "deliverables", "reports"],
|
|
10
|
-
"hidden": true,
|
|
11
|
-
"i18n": {
|
|
12
|
-
"zh-CN": {
|
|
13
|
-
"displayName": "Markus 项目命令行",
|
|
14
|
-
"description": "通过 markus CLI 管理项目、需求、交付物、报告和代码审查。"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"skill": {
|
|
18
|
-
"skillFile": "SKILL.md",
|
|
19
|
-
"alwaysOn": false
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: markus-skill-cli
|
|
3
|
-
description: Manage skills via markus CLI — list, install, uninstall, search, scaffold.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Skill Management via CLI
|
|
7
|
-
|
|
8
|
-
> **IMPORTANT**: Prefer built-in tools (`discover_tools` for listing/activating/installing skills) over CLI commands. Only use CLI when no built-in tool provides the needed operation (e.g., `skill uninstall`, `skill init`).
|
|
9
|
-
|
|
10
|
-
Operate the skill registry through `shell_execute` with `markus skill` commands. Always use `--json` for parseable output.
|
|
11
|
-
|
|
12
|
-
## Quick examples
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
# List installed skills
|
|
16
|
-
markus skill list --json
|
|
17
|
-
|
|
18
|
-
# List built-in template skills
|
|
19
|
-
markus skill builtin --json
|
|
20
|
-
|
|
21
|
-
# Search remote registries
|
|
22
|
-
markus skill search --query "browser automation" --json
|
|
23
|
-
|
|
24
|
-
# Install a skill
|
|
25
|
-
markus skill install --name chrome-devtools --source builtin
|
|
26
|
-
|
|
27
|
-
# Uninstall a skill
|
|
28
|
-
markus skill uninstall chrome-devtools
|
|
29
|
-
|
|
30
|
-
# Scaffold a new custom skill
|
|
31
|
-
markus skill init --name my-skill
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
## Command Reference
|
|
35
|
-
|
|
36
|
-
| Command | Key Options |
|
|
37
|
-
|---------|-------------|
|
|
38
|
-
| `skill list` | |
|
|
39
|
-
| `skill builtin` | |
|
|
40
|
-
| `skill search` | `--query` |
|
|
41
|
-
| `skill install` | `--name` (required) `--source` |
|
|
42
|
-
| `skill uninstall <name>` | |
|
|
43
|
-
| `skill init` | `--name` `--dir` |
|
|
44
|
-
|
|
45
|
-
## Skill types
|
|
46
|
-
|
|
47
|
-
- **Built-in**: Ship with Markus (e.g. `chrome-devtools`, `self-evolution`)
|
|
48
|
-
- **Custom**: User-created, stored locally
|
|
49
|
-
- **Registry**: Discovered via `skill search`, installed from remote sources
|
|
50
|
-
|
|
51
|
-
## Scaffold structure
|
|
52
|
-
|
|
53
|
-
`markus skill init --name my-skill` creates:
|
|
54
|
-
|
|
55
|
-
```
|
|
56
|
-
my-skill/
|
|
57
|
-
skill.json # Metadata (name, version, category, tags)
|
|
58
|
-
SKILL.md # Instructions for the agent
|
|
59
|
-
```
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "skill",
|
|
3
|
-
"name": "markus-skill-cli",
|
|
4
|
-
"displayName": "Markus Skill CLI",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Manage skills via markus CLI — list, install, uninstall, search, scaffold.",
|
|
7
|
-
"author": "markus",
|
|
8
|
-
"category": "platform",
|
|
9
|
-
"tags": ["cli", "skills", "registry"],
|
|
10
|
-
"hidden": true,
|
|
11
|
-
"i18n": {
|
|
12
|
-
"zh-CN": {
|
|
13
|
-
"displayName": "Markus 技能命令行",
|
|
14
|
-
"description": "通过 markus CLI 管理技能 — 列出、安装、卸载、搜索、脚手架。"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"skill": {
|
|
18
|
-
"skillFile": "SKILL.md",
|
|
19
|
-
"alwaysOn": false
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: markus-team-cli
|
|
3
|
-
description: Manage teams via markus CLI — create, members, lifecycle, export.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Team Management via CLI
|
|
7
|
-
|
|
8
|
-
> **IMPORTANT**: Prefer built-in tools (`team_hire_agent`, `builder_install`, `team_list`, `team_status`, `agent_send_message`, etc.) over CLI commands. Only use CLI when no built-in tool provides the needed operation (e.g., `team delete`, `team export`, `team pause/resume`).
|
|
9
|
-
|
|
10
|
-
Operate teams through `shell_execute` with `markus team` commands. Always use `--json` for parseable output.
|
|
11
|
-
|
|
12
|
-
## Quick examples
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
# List teams
|
|
16
|
-
markus team list --json
|
|
17
|
-
|
|
18
|
-
# Create a team
|
|
19
|
-
markus team create --name "Backend Team" --org default
|
|
20
|
-
|
|
21
|
-
# Add/remove members
|
|
22
|
-
markus team add-member team_xxx --member agt_xxx --type agent
|
|
23
|
-
markus team remove-member team_xxx agt_xxx
|
|
24
|
-
|
|
25
|
-
# Team lifecycle
|
|
26
|
-
markus team start team_xxx
|
|
27
|
-
markus team stop team_xxx
|
|
28
|
-
markus team pause team_xxx --reason "Maintenance"
|
|
29
|
-
markus team resume team_xxx
|
|
30
|
-
|
|
31
|
-
# Team status
|
|
32
|
-
markus team status team_xxx --json
|
|
33
|
-
|
|
34
|
-
# Export team config
|
|
35
|
-
markus team export team_xxx --json
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Command Reference
|
|
39
|
-
|
|
40
|
-
| Command | Key Options |
|
|
41
|
-
|---------|-------------|
|
|
42
|
-
| `team list` | `--org` |
|
|
43
|
-
| `team get <id>` | |
|
|
44
|
-
| `team create` | `--name` (required) `--org` `--description` |
|
|
45
|
-
| `team update <id>` | `--name` `--description` `--manager-id` `--manager-type` |
|
|
46
|
-
| `team delete <id>` | `--delete-members` `--purge-files` |
|
|
47
|
-
| `team add-member <id>` | `--member` (required) `--type` (agent/human) |
|
|
48
|
-
| `team remove-member <id> <memberId>` | |
|
|
49
|
-
| `team start <id>` | |
|
|
50
|
-
| `team stop <id>` | |
|
|
51
|
-
| `team pause <id>` | `--reason` |
|
|
52
|
-
| `team resume <id>` | |
|
|
53
|
-
| `team status <id>` | |
|
|
54
|
-
| `team export <id>` | |
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "skill",
|
|
3
|
-
"name": "markus-team-cli",
|
|
4
|
-
"displayName": "Markus Team CLI",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"description": "Manage teams via markus CLI — create, members, lifecycle, export.",
|
|
7
|
-
"author": "markus",
|
|
8
|
-
"category": "platform",
|
|
9
|
-
"tags": ["cli", "teams", "management"],
|
|
10
|
-
"hidden": true,
|
|
11
|
-
"i18n": {
|
|
12
|
-
"zh-CN": {
|
|
13
|
-
"displayName": "Markus 团队命令行",
|
|
14
|
-
"description": "通过 markus CLI 管理团队 — 创建、成员管理、生命周期、导出。"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
"skill": {
|
|
18
|
-
"skillFile": "SKILL.md",
|
|
19
|
-
"alwaysOn": false
|
|
20
|
-
}
|
|
21
|
-
}
|