agentleFS
nuffinnuffin/hermes-task-framework/skills/task-nested-subtask-lifecycle/SKILL.md

task-nested-subtask-lifecycle

Skill2 starsChanged 45 days agoMITView on GitHub

Use when a related TODO needs an independently managed child task.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this optional skill when a TODO is strongly related to its parent but is independently lifecycle-deliverable and does not fully overlap …

    line 20
  2. Distinctive:

    Create a real, first-class child with the task-framework manager:

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Nested Subtask Lifecycle

Use this optional skill when a TODO is strongly related to its parent but is independently lifecycle-deliverable and does not fully overlap existing work.

Create

Create a real, first-class child with the task-framework manager:

python3 skills/task-framework/scripts/manage_task.py create <name> \
  --parent <parent-hash-or-directory> --desc "Bounded child goal"

The child is created only under <parent>/subtasks/ and receives its own TASK.md, MEMORY.md, CHANGELOG.md, metadata, input, and output. Children cannot create further children. Never hand-edit metadata or move child dirs.

A child may nest its own runtime/ execution-state directory (formats owned by compact-directory-memory). The child's runtime/INDEX.md is independent: the parent's INDEX records the child only at subtask granularity — one row for the child itself, never the child's internal runtime items.

Route and verify

Record the child path or hash in the parent's TODO outcome and mark that TODO routed with scope nested. The parent remains incomplete until its TODO is routed and the child follows its own checklist lifecycle. reindex and the stable task API expose parent/child relationships; root indexes list children under their parent, not as independent root rows.

A child is valid only when its real path is contained by the exact parent's subtasks/ directory. Symlinks and paths outside that directory are rejected. Reset clears only the selected child's generated output and preserves input.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.