41 lines
1.1 KiB
Markdown
41 lines
1.1 KiB
Markdown
# Live Status Skill
|
|
|
|
**Use this tool to report real-time progress updates to Mattermost.**
|
|
It allows you to create a "Live Log" post that you update in-place, reducing chat spam.
|
|
|
|
## Usage
|
|
|
|
### 1. Initialize (Start of Task)
|
|
Create a new status post. It will print the `POST_ID`.
|
|
**Required:** Pass the `CHANNEL_ID` if known (otherwise it defaults to system channel).
|
|
```bash
|
|
live-status create <CHANNEL_ID> "🚀 **Task Started:** Initializing..."
|
|
```
|
|
**Output:** `p6...` (The Post ID)
|
|
|
|
### 2. Update (During Task)
|
|
Update the post with new log lines. Use a code block for logs.
|
|
```bash
|
|
live-status update <POST_ID> "🚀 **Task Started:** Initializing...
|
|
\`\`\`
|
|
[10:00] Checking files... OK
|
|
[10:01] Downloading assets...
|
|
\`\`\`"
|
|
```
|
|
|
|
### 3. Complete (End of Task)
|
|
Mark as done.
|
|
```bash
|
|
live-status update <POST_ID> "✅ **Task Complete.**
|
|
\`\`\`
|
|
[10:00] Checking files... OK
|
|
[10:01] Downloading assets... Done.
|
|
[10:05] Verifying... Success.
|
|
\`\`\`"
|
|
```
|
|
|
|
## Protocol
|
|
- **Always** capture the `POST_ID` from the `create` command.
|
|
- **Always** append to the previous log (maintain history).
|
|
- **Use Code Blocks** for technical logs.
|