Back to skills
SKILL.md
Hooks Post Task
ASecurityRecord a task outcome against its routed agent.
- 21 stars
- 0 votes
- 0 copies
- 1 view
- Added September 10, 2026
Works with
Security analysis
100/100npx -y skills add monoes/monomind --skill hooks-post-task --agent claude-codeAre you the author of Hooks Post Task?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/monoes-hooks-post-task)---
name: hooks-post-task
description: Record a task outcome against its routed agent.
type: flow
---
# hooks post-task
Record a task outcome against its routed agent.
## Usage
```bash
npx monomind hooks post-task [options]
```
## Options
| Flag | Short | Type | Required | Description |
|---|---|---|---|---|
| `--task-id` | `-i` | string | no | Task identifier (auto-generated if omitted) |
| `--success` | `-s` | boolean | no | Whether task succeeded (default: true) |
| `--quality` | `-q` | number | no | Quality score 0–1 |
| `--agent` | `-a` | string | no | Agent that executed the task |
| `--format` | — | string | no | Output format: `json` |
## Examples
```bash
# Record successful completion
npx monomind hooks post-task -i task-123 --success true
# Record failed task with quality score
npx monomind hooks post-task -i task-456 --success false -q 0.3
# Record with agent attribution
npx monomind hooks post-task -i task-789 --success true -a coder -q 0.95
# JSON output
npx monomind hooks post-task -i task-123 --success true --format json
```
## Output
- Whether the feedback record was written, and which store took it
- Whether the routing outcome was saved
## MCP Tool
```javascript
mcp__monomind__hooks_post-task({
taskId: "task-123",
success: true,
quality: 0.95,
agent: "coder",
timestamp: Date.now()
})
```
## See Also
- `hooks pre-task` — register task start
- `hooks metrics` — view recorded routing/outcome metrics
Attribution
Comments
Loading comments…