Work Status Updates Skill
Report agent workflow progress for real-time visibility in the Status Dashboard.
What This Skill Does
- •Records status updates to global database (
~/.rp1/status.db) - •Enables real-time progress tracking via Status Dashboard
- •Notifies daemon for immediate WebSocket broadcast (best-effort)
- •Provides audit trail of workflow execution
When to Use
Activate this skill when:
- •Starting a feature implementation
- •Transitioning between tasks within a feature
- •Completing or failing a workflow step
- •Running multi-step workflows that benefit from visibility
Trigger phrases: "report status", "report progress", "update status", "track workflow", "feature started", "task complete"
Command Reference
rp1 agent-tools work update [options]
Required Options
| Option | Type | Description |
|---|---|---|
--project, -p | path | Absolute path to project root |
--feature, -f | string | Feature identifier (kebab-case) |
--status, -s | enum | Status state |
Optional Options
| Option | Type | Description |
|---|---|---|
--task, -t | string | Task identifier within feature |
--message, -m | string | Human-readable status message |
--metadata | json | JSON string for additional context |
Status Values
| Status | When to Use |
|---|---|
started | Beginning work on feature/task |
in_progress | Actively working, mid-execution |
completed | Successfully finished |
failed | Encountered error, cannot continue |
Validation Rules
- •Project path: MUST be absolute. Should be usually present in the context while working on tasks.
- •Feature name: MUST match
^[a-z0-9-]+$(lowercase alphanumeric with hyphens) - •Status: MUST be one of:
started,in_progress,completed,failed - •Metadata: MUST be valid JSON if provided
Usage Patterns
Feature Lifecycle
Report at key milestones through a feature's lifecycle:
# 1. Feature started rp1 agent-tools work update \ --project "$(pwd)" \ --feature my-feature \ --status started \ --message "Beginning feature implementation" # 2. Task in progress rp1 agent-tools work update \ --project "$(pwd)" \ --feature my-feature \ --task requirements \ --status in_progress \ --message "Gathering requirements" # 3. Task completed rp1 agent-tools work update \ --project "$(pwd)" \ --feature my-feature \ --task requirements \ --status completed \ --message "Requirements documented" # 4. Feature completed rp1 agent-tools work update \ --project "$(pwd)" \ --feature my-feature \ --status completed \ --message "Feature implemented successfully"
Error Handling
Report failures with context:
# Report failure with message
rp1 agent-tools work update \
--project "$(pwd)" \
--feature my-feature \
--status failed \
--message "Build failed: missing dependency"
# Report failure with metadata for debugging
rp1 agent-tools work update \
--project "$(pwd)" \
--feature my-feature \
--task build \
--status failed \
--message "Test suite failed" \
--metadata '{"exitCode":1,"failedTests":["test_auth","test_login"]}'
With Metadata
Include structured context for dashboard/tooling:
rp1 agent-tools work update \
--project "$(pwd)" \
--feature auth-refactor \
--task T1 \
--status in_progress \
--message "Implementing JWT validation" \
--metadata '{"step":"implementation","progress":75,"filesChanged":3}'
Output Format
Returns JSON ToolResult envelope:
{
"success": true,
"tool": "work",
"data": {
"id": 42,
"projectPath": "/Users/dev/myapp",
"feature": "auth-refactor",
"task": "T1",
"status": "in_progress",
"message": "Implementing JWT validation",
"createdAt": "2026-01-15T10:30:00.000Z"
}
}
Agent Integration Guidelines
1. Report at Key Milestones
DO report:
- •Start of feature
- •Task transitions (started, in_progress, completed)
- •Completion or failure of feature
DO NOT report:
- •Every minor step (too noisy)
- •Redundant in_progress updates without state change
2. Use Meaningful Messages
Messages should provide context about current activity:
# Good - describes what's happening --message "Running test suite for auth module" # Bad - too vague --message "Working"
3. Include Task Identifiers
When working on specific tasks within a feature, always include --task:
# With task - enables granular tracking --feature my-feature --task T1-requirements # Without task - feature-level only --feature my-feature
4. Project Path Best Practices
Always use absolute paths. In bash, use $(pwd) for current directory:
# Correct - resolves to absolute path --project "$(pwd)" # Correct - explicit absolute path --project "/Users/dev/myapp" # Wrong - relative path will fail validation --project "." --project "./myapp"
5. Feature Naming Convention
Use kebab-case matching the feature ID:
# Correct --feature auth-refactor --feature add-user-login --feature fix-memory-leak # Wrong - will fail validation --feature AuthRefactor --feature add_user_login --feature "add user login"
Workflow Integration Example
Integrate status updates into agent workflows:
## Phase 1: Setup
1. Report feature started:
```bash
rp1 agent-tools work update \
--project "$(pwd)" \
--feature {feature_id} \
--status started \
--message "Beginning {feature_id} implementation"
Phase 2: Implementation
- •
For each task in the feature:
bash# Report task start rp1 agent-tools work update \ --project "$(pwd)" \ --feature {feature_id} \ --task {task_id} \ --status in_progress \ --message "Working on {task_description}" # ... do the work ... # Report task completion rp1 agent-tools work update \ --project "$(pwd)" \ --feature {feature_id} \ --task {task_id} \ --status completed \ --message "{task_id} completed successfully"
Phase 3: Finalization
- •
Report feature outcome:
bash# On success rp1 agent-tools work update \ --project "$(pwd)" \ --feature {feature_id} \ --status completed \ --message "Feature implemented and verified" # On failure rp1 agent-tools work update \ --project "$(pwd)" \ --feature {feature_id} \ --status failed \ --message "Failed: {error_description}"
## Error Handling
### Validation Errors
| Error | Cause | Fix |
|-------|-------|-----|
| "Project path must be absolute" | Relative path provided | Use `$(pwd)` or full path |
| "Feature name must match pattern" | Invalid characters | Use lowercase alphanumeric with hyphens |
| "Invalid status" | Unknown status value | Use: started, in_progress, completed, failed |
| "Metadata must be valid JSON" | Malformed JSON string | Validate JSON syntax |
### Example Error Response
```json
{
"success": false,
"tool": "work",
"data": null,
"errors": [
{ "message": "Project path must be absolute. Received: ." }
]
}
Quick Reference
# Minimal - feature start
rp1 agent-tools work update -p "$(pwd)" -f my-feature -s started
# With task
rp1 agent-tools work update -p "$(pwd)" -f my-feature -t T1 -s in_progress -m "Working on task"
# With metadata
rp1 agent-tools work update -p "$(pwd)" -f my-feature -s completed -m "Done" --metadata '{"files":5}'
Success Criteria
A status update is successful when:
- •Command returns
success: true - •Response includes generated
idandcreatedAt - •Status appears in dashboard (if daemon running)