Skip to content
Back to skills

Hooks Post Task

ASecurity

Record a task outcome against its routed agent.

  • 21 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
ai-agentsjavascriptjavabash

Works with

  • mcp

Security analysis

A100/100

Scanned October 1, 2026

npx -y skills add monoes/monomind --skill hooks-post-task --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Hooks Post Task?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Hooks Post Task
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/monoes-hooks-post-task/badge)](https://www.skillsdirectory.com/skills/monoes-hooks-post-task)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…