Skip to content
Back to skills

Task Organizer

ASecurity

Mandatory entry point for task folders: files every deliverable by provenance and keeps the `_broadcast/` index so a later session reads one summary instead of every original. Fires whenever a task folder is named or attached and work starts inside it — whatever the deliverable and however many steps it takes. It proposes `init` once and never reorganizes one uninvited.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentspythonbash

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add JiamingShi-JsPhys/chelate-shell --skill task-organizer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Task Organizer?

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

Security grade badge for Task Organizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiamingshi-jsphys-task-organizer/badge)](https://www.skillsdirectory.com/skills/jiamingshi-jsphys-task-organizer)

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: task-organizer
version: 1.4.0
description: >
  Mandatory entry point for task folders: files every deliverable by
  provenance and keeps the `_broadcast/` index so a later session reads
  one summary instead of every original. Fires whenever a task folder is
  named or attached and work starts inside it — whatever the deliverable
  and however many steps it takes. It proposes `init` once and never
  reorganizes one uninvited.
metadata:
  version: 1.4.0
  author: Jiaming Shi
  license: MIT
  entry_point: python run.py
  python_requires: '>=3.10'
---

# task-organizer

Builds and maintains the workspace skeleton — `material/initial/`,
`material/downloaded/`, `process/`, `results/` and `_broadcast/` — files each
deliverable by provenance, and verifies each run. It never edits the content of
your documents; it only decides where files belong.

- **Stage:** `workspace` · **Sandbox:** no · **Dependencies:** stdlib only (`openpyxl` adds the xlsx index, `PyYAML` the YAML rules)

## Quick Execution

Run this exact form — do not read the source tree:

```bash
python run.py --root <WS> --action doctor
```

- `doctor` is read-only and always safe: it reports `healthy` or `incomplete`
  and writes nothing. Run it before asking the user anything.
- `init` creates the whole skeleton and lifts pre-existing content into
  `material/initial/`. It moves files, so **propose it once and wait for a
  yes** when the folder was merely referenced. It also writes the workspace's
  own rule files (`AGENTS.md`, `CLAUDE.md`) if the folder has none: most hosts
  read a rule from the workspace root and never see the plugin's copy.
  Existing ones are never overwritten, and they are never treated as material.
- Every run writes its gate to `<WS>/process/gates/task-organizer_<ts>.json`.

## When to use

- At session start on a known task folder — run `doctor` first.
- At task start on a new or empty folder, or on an explicit "set this up" request — run `init`.
- At final delivery — run `organize`, then `broadcast` (the index is mandatory, not optional).
- A fetched file must be declared provenance — `mark-downloaded`, so `material/downloaded/` means "the assistant fetched it" rather than a guess from the filename.

## When NOT to use

- No workspace has been chosen — do not organize an unnamed folder.
- The user declined the `init` proposal — carry on as asked, at most one proposal per folder.
- You were asked to summarize or describe this skill — that is a failure mode, not a result.

## Actions

| `--action` | Does | Extra arguments |
| --- | --- | --- |
| `doctor` | Read-only structure check | — |
| `init` | Build the four zones; pre-existing content moves to `material/initial/` | — |
| `organize` | Full pipeline: file, validate (C1–C8), verify, rollback on failure | `--mode full\|quick\|incremental` (after `--`) |
| `broadcast` | Rebuild the read-only `_broadcast/INDEX.md` | `--ai`, `--max-files N`, `--keywords K` |
| `index` | Alias of `broadcast` | same as `broadcast` |
| `snapshot` | Hash snapshot of the current tree | — |
| `dedupe` | Report duplicate files by content hash | — |
| `mark-downloaded` | Record a fetched file's source URL | `<file> --url <source-url>` |
| `mark-user` | Declare a file as user material | `<file>` |
| `undo / redo` | Reverse or replay a verified run | `<history_file>` |

## Hard constraints

- **Act, do not summarize.** A trigger under "When to use" means run the tool and report what it did.
- **Never move user material.** Only `init` relocates pre-existing content, and only after the user agrees.
- **A failed verification has already rolled back.** Report it; do not blindly re-run.
- **Content production is a hard constraint.** A deliverable produced inside a task folder is paired with the bookend loop (`init` … `organize` … `broadcast`), not left as loose files.

## Outputs

- `<WS>/process/gates/task-organizer_<ts>.json` — the gate result.
- `<WS>/_broadcast/INDEX.md` — the context-compression index. Read it before opening any original: it is the cheap layer that saves tokens.
- `<WS>/process/history/` — the reverse-able run history used by `undo`.

## Failure handling

- `verification: failed` — the tool restored the before-state already; report that and stop.
- A user-material name clash is left in place and reported, never overwritten.
- Hidden files, empty folders and symlinks are skipped by design.
- Exit `0` success, `2` usage or validation error.

## Limitations

- Filing is by provenance and name pattern, not by semantics.
- `broadcast` indexes what is on disk; it cannot judge whether a file is correct.

## Delivering results

This skill writes intermediates to `process/`. `results/` is filled only by
`python cli.py pipeline` after a human approved that exact plan.

- Do not copy a skill's output into `results/` yourself, and do not do it
  because the user asked for a shortcut: say that only `cli.py pipeline`
  writes there, offer to run the pipeline instead, and if they still insist,
  tell them `cli.py audit` will report the file as unapproved.
- Never set `CHELATE_UNSAFE_AUTO_APPROVE=1` (formerly `CHELATE_HUMAN`) and never run `cli.py approve` on the user's
  behalf. If an approval is needed, ask the human to issue it in their own
  terminal.
- Before telling the user a deliverable is ready — and after any write you
  make under `results/` — run `python cli.py audit --root <ws>`. Exit 1 means
  files there have no approval behind them: report that and name them, do not
  describe the state as delivered.

Files in this skill

  • .gitignore109 B
  • .task-organizer.yml.example4.1 KB
  • AUTHORS.md98 B
  • CHANGELOG.md10.5 KB
  • CITATION.cff769 B
  • CONTRIBUTING.md3.8 KB
  • LICENSE1 KB
  • README.md1.1 KB
  • README_zh.md2 KB
  • SKILL.md4.4 KB
  • assets/index-template.md417 B
  • assets/verification-report-template.md1.2 KB
  • manifest.json523 B
  • pyproject.toml606 B
  • requirements.txt535 B
  • run.py2.2 KB
  • scripts/__init__.py1.4 KB
  • scripts/broadcast.py25.9 KB
  • scripts/dedupe.py17.2 KB
  • scripts/doctor.py9.1 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.