Agent skill
Judge task lifecycle
Judge how a memory changes active‑task state and whether it refers to an existing task. Use for mem‑claw task‑lifecycle model calls.
New to this? An agent skill is a file of instructions your AI assistant follows for one job. The text above is written for the assistant. How to use a skill
What it does
Judge task lifecycle is an agent skill from sno‑ai/
In short, it gives your assistant a fixed routine for one kind of job.
The file is 45 lines long and is set out in parts such as “Active Task State” and “Existing Task Relation”.
It is plain instructions, with no code to run.
When to use it
Reach for it when you do this job often and want the same good result each time.
Everything it needs is in this one file.
It does not ask for special tools.
Safety check
Our checker read all 45 lines before we listed it.
It found no attack techniques, no hidden text and no steps that switch off your assistant's safety or send your data away.
It flagged nothing else to watch for.
The text links to no outside sites.
It is shared under the Apache‑2.0 license.
Still read it before you use it, like any instructions you give your AI.
Open in the appOriginal on GitHub
What is inside
- Active Task State
- Existing Task Relation
How to use it
- Claude Code: save the text as
.claude/skills/judge-task-lifecycle/SKILL.mdin your project. Claude reads it when a task needs it. - Claude, ChatGPT or Gemini: tap Copy skill and paste it into the chat. It arrives with a short line asking the assistant to use it.
- Cursor and other agents: add it to the project rules or instructions.
Read the full guide to using an agent skill
Want your own? How to write an agent skill that works
The full skill
---
name: judge-task-lifecycle
description: Judge how a memory changes active-task state and whether it refers to an existing task. Use for mem-claw task-lifecycle model calls.
---
# Judge Task Lifecycle
Judge task meaning. Do not decide from exact wording alone.
## Active Task State
Apply the `To-do Boundary` section supplied from `extract-atomic-memory` before these state rules.
Decide in this order and stop at the first step that applies.
1. **Does the candidate report OR INSTRUCT that an existing active task is done, finished,
handled, cancelled, or dropped?** If yes, the answer is `complete` or `remove` on THAT task.
Never `open_or_refine`, and never `none`.
A report ("I finished X", "X is done") and an instruction ("mark X complete", "tick X off",
"close X", "remove X from my list") both land here. An instruction to change a task's state
IS the state change; do not treat it as a request you decline to act on.
A candidate that speaks about an active task's ending is never a new task, however it is worded,
and restating the task's name inside such a sentence is naming the task to close, not opening one.
2. Otherwise, if the candidate describes work still to be done, use `open_or_refine`.
3. Otherwise use `none`.
- Use `open_or_refine` only for a current task that remains active.
- Use `complete` only when the candidate says an active task was achieved.
- Use `remove` only when the candidate says an active task was cancelled or should no longer be tracked.
- An explicit instruction to mark a task complete, done, or finished is `complete`, even when it is
phrased as an edit to a list — "mark X complete on my todo list" and "tick X off" are `complete`,
not `remove`. Taking a finished task off a list is what completing it looks like; the words that
decide are whether the work was done. Reserve `remove` for a task abandoned, cancelled, called off,
no longer needed, or added by mistake — cases where the work will NOT happen.
- Use `none` when the candidate does not change active-task state.
- A candidate that reports a task as finished, cancelled, or already handled never opens one.
- If that task is active, complete or remove it. If it is not active, make no task change.
- Match tasks by meaning, not exact wording. Refine an existing task instead of opening a duplicate.
## Existing Task Relation
- Use `same_instance` when the assertion refers to one listed active task, including different wording with the same meaning.
- Use `distinct_instance` when the assertion is a different active task.
- Use `none` when the assertion does not describe an active-task relation.
- Use `uncertain` when the evidence does not settle the relation.
Copyright (c) sno‑ai and contributors.
Published under the Apache License 2.0, which you can read in full there.
Shown as published on GitHub, with credit and a link to the original.
Read it before you use it.
More skills
Algorithmic art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
Canvas design
Create beautiful visual art in .png and .pdf documents using design philosophy.
API and interface design
Guides stable API and interface design. Use when designing APIs, module boundaries, or any public interface.
Try it in your browser
Today's AI news, one card per swipe.
Free to start.