--- title: "Checklist: what is done and what is pending" description: "Show any list with items ticked as done or left pending, from a link. A model fills the link; you open it and see the result." tool: checklist category: Planning tags: [tool, planning, checklist] --- ## What this is for **Use it** when you want to see a list of work as done and pending, or to hand a status to someone else as one link. **Skip it** when the list is long and changes every minute; keep that in your tracker. The page is filled in from its address, so a person or an AI model can build the link and you only have to open it. ## Link to a filled-in view Put the values in the address after `#`. The part after `#` stays in your browser and is never sent to a server, so it is the right place for private data. `?` works too. Two links to the same example: {{< example-links "checklist" >}} Add `mode=present` to any link to show only the result. | Parameter | What it is | |---|---| | `items` | Items: paste a task list. One item per line. Mark done with [x] and pending with [ ], like a Markdown task list. Or separate items with commas. | | `done` | Done (optional, separated by commas). Items listed here are always done. | | `pending` | Pending (optional, separated by commas). Items listed here are always pending. | Without JavaScript, read the `items` value in the link: lines that start with `[x]` are done and lines that start with `[ ]` are pending. ### Optional text Every tool also accepts five optional text parameters. Leave any of them out and nothing is drawn for it, so there is no empty heading or gap. | Parameter | What it is | |---|---| | `title` | A heading above the result. | | `description` | One or two sentences on what the result shows. | | `summary` | A headline for people. Left out, the tool writes its own. | | `legend` | How to read it, for example "Blue is done". | | `note` | A footnote: a source, a date or a caveat. | Text is cut to a sensible length (100 to 300 characters) and shown as plain text, so markup in it is never run. ## For agents Build the link above with your own values and give it to the user. Or run the logic without a browser: ```bash node cli.mjs checklist '{"title": "Launch", "done": "Write docs, Add tests", "pending": "Deploy, Announce"}' ``` The result is JSON: `ok`, `summary`, `matches` (a list of `{id, label, detail}`) and `view`, the data the page draws. A value that cannot be used gives `ok: false` and a `summary` that says what to fix. Every example in the data file is checked by `npm test`. ## Related - [Tools home](/): all the tools, and the registry that lists their parameters.