noc reads and changes your workspace from a terminal, for scripts and AI agents. The installer puts it on your PATH, so any new terminal can run it. noc help prints this list, and --json makes any command answer in JSON.
See noc and the MCP server for when an AI agent uses which.
Add a task (to the Inbox unless --list is given; --parent <task> makes it a subtask, in that task's list). It takes task set's fields too, and --assignee <who> and --tag <tags> (commas for several)
task quick <line>
Add a task from one line of shorthand, as the app's add box reads it: "Call Sam tomorrow 3pm !high #sales /Inbox" is due tomorrow at 3 PM, high priority, tagged sales, in the List Inbox (else --list, else the Inbox). Dates, times and repeats (every Monday, every 2 weeks, every 15th, every last day, every 2nd Monday, every last Friday) count at the end of the line; quoted words stay text. task add never reads shorthand
task parse <line>
Show what task quick would make of a line, without making it
task list
List tasks, subtasks under their parents (all lists unless --list is given; --in <Folder or Space> lists every task in the Lists inside it, under each List's name, and --in everything every Space's Lists, Memory Lists left out; --status <status> and --text <words> narrow it)
task rename <task> <name>
Rename a task
task status <task> <status>
Set a task's status; a done or closed status completes its open subtasks too (those waiting on approval stay open)
task move <task> --list <id> Move a task, with its subtasks, to the end of another list
(--before <task> puts it just before that task instead, beside it under the same parent)
task show <task>
Show everything about a task
task set <task> [fields]
Change fields: --priority urgent|high|normal|low, --start <date>, --due <date> (YYYY-MM-DD, or with a time: "YYYY-MM-DD HH:MM"), --estimate 1h30m, --points 3, --description <Markdown>, --parent <task> (subtasks go 8 levels deep), --field <field>=<value> for a custom field (repeat it for more; commas separate several choices, people or tasks); 'none' clears one. --name <name> renames it; --assignee <who> and --tag <tags> set everyone it's assigned to and all its tags (commas for several; 'none' takes them all off)
task delete <task>
Delete a task and its subtasks (their history is kept)
task activity <task>
Show everything that happened to a task
task attach <task> <file...> Attach files to a task (copied into the workspace)
task from-files <file...>
A task from each file, as dropping them on a List does (--list, else the Inbox): named after the file with it attached; an email (.eml, .msg) named with its subject, its text and files with it
task files <task>
List a task's files: its own, its comments' and its files fields'
task cover <task> [file id|none]
Show a task's cover picture, set it to one of its pictures (by the id task files shows), or take it off with none
task fill-ai <task> <field>
Ask for a task's AI field to be filled by the app's model, when the app is open (refused where AI access is No AI)
file save <file id> <path>
Save a copy of an attached file
file delete <file id>
Delete an attached file (to Trash)
file usage
The space attached files take: in use, kept so Trash, undo or a revert can bring them back, and unused
file cleanup
Remove the files unused for 7 days or more (backups taken before keep their copies)
A role is a set of permissions: see, comment, create, edit, delete, organize, manage_settings, manage_people, use_ai, export; the nearest grant at or above a place decides, and this computer's own person is Owner everywhere.
Command
What it does
roles
Show every role and what it allows
role add <name> <permissions>
Make a role: permissions separated by commas, or none
role edit <role> <permissions>
Change what a role you made allows
role rename <role> <name>
Rename a role you made
role delete <role>
Delete a role no one has
role people [<role>]
Show or set the role of people with no grant of their own
grants
Show who has which role where
grant <who> <role> [--space|--folder|--list|--doc <id>]
Give someone (a person or an agent) a role there; with no place, on the whole workspace
For its admins: Admin or Owner on the whole workspace, with an organization license on the base.
Command
What it does
admin people
Show everyone, their role, their computers and what each owns (names and sizes, never what's in them)
admin log [<n>]
Show the newest admin changes (50 unless given): roles, who has them, people and the organization's settings
admin policy [<name> <value>]
Show the organization's policies, or set one: ai_ceiling none|local|cloud, ai_providers anthropic,openai,gemini|none|all, mcp_agents, nocturnal_agents, hand_off, own_ai_keys, export, public_links, e2e_required on|off, org_domains example.com,example.org|none, outside_people allowed|guest|none, ai_monthly_limit <dollars>|none (each person, a month)
admin ai-key [set|remove <provider>]
Show which cloud AI providers the organization has a key for, or set one (anthropic, openai or gemini; the key is read from standard input) or remove one. On the base only: the key stays there, and everyone's AI uses it through the base
admin ai-spend
Show what each person used through the organization's keys, by month, provider and model, with the estimated cost
admin server
On a computer that joined a self-hosted Relay server: its status, problems and the last lines of its debug and audit logs, asked for now
admin invite <name> <email> <role>
Add someone with a role on the whole workspace; on the base, print their enrollment token (one computer, for 7 days)
admin token <who>
On the base: a new enrollment token for someone invited
admin suspend <who>
Stop syncing with their computers; nothing on them is deleted
admin resume <who>
Let a suspended person's computers sync again
admin remove <who> --to <who>|--trash
Remove someone: their Spaces, Docs in no Space, assigned tasks and open threads go to the person given (or their Spaces and Docs to Trash), and their computers are ejected
Link two tasks: related, blocks (a blocks b), waits-on (a waits on b), causes (a is a problem behind incident b), caused-by, fixes (a is a change that fixes b) or fixed-by; task unlink <a> <b> takes their links away
task links <task>
Show what a task waits on, what waits on it, what's related, and the tasks whose Tasks fields name it
task articles <task>
Show the pages in its Space most related to a task, wiki pages first; --limit <n> (3 unless given, 5 at most)
task link-article <task> <page>
Link a page to a task: a mention at the end of its description
task merge <dup> <into>
Merge a duplicate ticket into another: its comments and files move over, whoever asked watches it, and the duplicate closes
task major <task>
Declare a major incident, pinned above its List until it's done (--notify <who>, again for more people, to notify them); task major-end <task> ends it
task repeat <task> <rule>
Make a task repeat: daily, weekly, weekly on mon,thu, every 2 weeks, monthly, monthly on the 31st (a shorter month's last day), monthly on the 2nd mon, monthly on the last fri, yearly, every weekday; add "from completion" to count from when it's finished; "none" stops it
task remind <task> <YYYY-MM-DD> <HH:MM> [note]
Remind yourself about a task then (the app shows it)
task reminders <task>
A task's reminders; reminders lists every one still to come
reschedule <task>
Change a task's dates: --start <date>, --due <date> ('none' clears one) or --shift <days>; --move-waiting moves the unfinished tasks waiting on it (down the chain) by as many days
workload <list id>
Each person's load per week from time estimates (--points for sprint points), against their capacity; --from <date>, --weeks <n>
capacity [person]
Everyone's weekly capacity (default 40 hours, 10 points), or set one: --hours <n>, --points <n>, --default puts both back
One row per task, subtasks too, each naming its parent; custom fields included.
Command
What it does
export <list> --csv|--xlsx
Write a List (its name or id) to a CSV file or an Excel workbook: --out <file> (otherwise <List name>.csv or .xlsx here; the format can come from the file's extension), --view <view> for a saved view's tasks and columns (in the List's order)
Compressed zips; the app takes one every hour while it's open, when something changed, and one a day at the time set in Settings > Backups; kept: every one from the last 6 hours, one a day for 2 weeks, one a week for 8 weeks, within the space limit set there.
Command
What it does
backup now
Back up the workspace now, to the backup folder chosen in the app's Settings > Backups (by default beside the workspace), and copy it to the second backup folder when one is chosen there
backup list
Show where backups go and the backups there, newest first
backup restore <backup> --to <folder>
Restore a backup (its name from backup list, from either backup folder, or a file) or a workspace export (.zip) into a new or empty folder; the workspace in use is never replaced. Open it with --workspace <folder>. --recovery restores an encrypted workspace's backup on a PC without its key: its recovery key is read from standard input
--backups <folder>
With a backup command: use this backup folder instead of the one chosen in Settings
backup password
Whether backups made on this computer are encrypted with a password (Settings > Security)
backup password set
Encrypt new backups with a password read from standard input (never an argument); older backups keep theirs. A backup can't be restored without the password it was made with
backup password remove
Stop encrypting new backups; encrypted ones still need theirs
An encrypted backup or export (.encrypted) asks for its password on standard input when
Write everything to one zip: the database (which restores it), every Doc as Markdown, every List as CSV, and every attached file. --out <file.zip> (otherwise "Nocturnal <folder> <date>.zip" here). --encrypt: encrypted with a password read from standard input
page export <page> --md|--html
Write a page as Markdown (its pictures go in a "<name> files" folder beside it) or as one HTML file with styles and pictures inside. --out <file> (otherwise named after the page, here)
doc export <doc> --md|--html Write a whole Doc as a zip of its pages, subpages in folders
named after their parents. --out <file.zip>
import markdown <folder>
Bring a folder of Markdown files, or an Obsidian vault, in as a new Doc (in the Inbox's Space unless --in <Space or Folder id>): folders become parent pages, [[wikilinks]] and links to .md files link the pages, pictures are attached, front matter is kept at the top of its page. Running it again makes another Doc
import docx <file.docx>
Bring a Word file in as a new Doc (in the Inbox's Space unless --in <Space or Folder id>), or as pages at the end of a Doc with --doc <id>, or under a page with --under <page id>. Headings, lists, tables, links and pictures come over; --split makes a page for each Heading 1. What pages can't hold (footnotes, comments, charts...) is left out and counted
Comment on a task (--reply <comment id> to answer one; --assignee <who> assigns the new thread; --internal makes it an internal note for the people working it)
comment edit <id> <text>
Change a comment's text
comment delete <id>
Delete a comment (replies stay; its text stays in history)
comment resolve <id>
Resolve a thread (--reopen to open it again)
comment assign <id> <who>
Assign a thread to someone to answer or act on ('none' takes it off them); resolving it marks it done
comment react <id> <reaction>
React to a comment: thumbs_up, done, eyes, party, heart or question (or the emoji); comment unreact takes yours back
comment attach <id> <file...>
Attach files to a comment
comment task <id>
Make a task from a comment, named from its first line and linking back to it, in its task's List (or --list <id>)
Writing @Name in a comment mentions someone who can be assigned work (see people);
@NOC-12 mentions a task, and [@Title](nocturnal://page/<id>) a page.
A status that needs an approval before a task moves on; a status is its name in the List's workflow, or its id, with --list for another List than the Inbox.
Command
What it does
approvals
Show the statuses that need an approval, and from whom
approval set <status> <json> Make a status need an approval, or change it:
'{"approvers":["me","Claude Code"],"rule":"all"}'. Rules: any (one approver), all, chosen ("chosen":[...]), or count ("needed":2, at least that many approvers). Optional: "typeIds":["Bug"] (only those types), "nextStatus":"done"
approval remove <status>
Stop needing an approval there
task approval <task>
Show where a task's approval stands, and its past approvals
task approve <task>
Approve a task (as you); once enough have, it moves on
task send-back <task> <reason>
Send it back to the status it came from; the reason is posted as a comment
Add one (or give the JSON in --file <path>): '{"name":"Review handoff","trigger":{"type":"status_changed", "to":["Review"]},"actions":[{"type":"assign","people":["Sam"]}, {"type":"comment","text":"Ready for QA"}]}'. Optional: "conditions" (a filter, as --filter takes), "enabled":false. Triggers: task_created, status_changed (from, to), assignee_added and assignee_removed (people), field_changed (field, or fields: ["Impact","Urgency"] to watch several; with one field, "from" and "to": {"kind":"any"|"empty"|"set"} or {"kind":"one_of","values":["Won"]}), priority_changed (to), comment_posted, moved_in, subtasks_done, form_submitted (forms: ids or names; none for any form), due_date_arrives, due_date_passes, date_arrives (date: due, start or a date field; days: -3 is three days before, 1 a day after), sla_alert (clock: either, response or resolution; state: due_soon or breached), time_since (since: created, status_changed or updated; minutes; business: true for business hours under an SLA), schedule ("every":"day" or "week" with "days":[1,4] (0 is Sunday), "time":"09:00"; it acts on every task there matching the conditions). Time-based ones run while the app is open. button_clicked: runs when a person clicks a button in a page that runs it, on the same tasks a schedule would; noc and agents can't press buttons. Actions: set_status (status), assign and unassign (people; "assignees" takes everyone off), comment (text), set_field (field, value), add_tags and remove_tags (tags), set_priority (priority), set_date (which: due|start, mode: in_days|on|shift|clear| from_field, days, date, field), set_field_from (field, source: {"kind":"copy","from":"Stage"} (a field, or due, start, name, status, priority), {"kind":"add","amount":1}, {"kind": "today","days":7} or {"kind":"text","text":"..."}), move_to (list), apply_template (template), add_subtask (name), notify (people, or "assignees"; text), assign_by_rule (people; rule: round_robin or fewest_open), if (conditions, actions, otherwise: checked when it gets there; "parent":true checks the parent; up to 3 deep), wait (minutes: holds the actions after it, kept while the app is closed), for_parent and for_subtasks (actions: done on the parent, or on each subtask; no wait inside). set_field_from's copy takes "parent":true to copy the parent's value. Text in comments, notifications, subtask names and text values can hold {Field name}, {name}, {id}, {status}, {priority}, {due}, {start}, {list}, {assignees} and {link}
automation edit <automation> <json>
Replace an automation's settings with this JSON (or --file)
Response and resolution targets in business hours, on a Space, Folder or List and everything inside it; a task's clocks show in task show.
Command
What it does
sla --space|--folder|--list <id>
Show the SLA policy that applies there, its own or one above
sla set <json> --space|--folder|--list <id>
Set the policy (or give the JSON in --file): '{"hours":{"days": [1,2,3,4,5],"start":"09:00","end":"17:00"},"holidays": ["2026-12-25"],"targets":[{"priority":"high","response":60, "resolution":480}],"paused":["waiting on requester"],"warn":60}'. Targets are business minutes, for urgent, high, normal, low and none (no priority)
A task's priority from two dropdown fields, like Impact and Urgency, on a Space, Folder or List and everything inside it; a priority set by hand stays.
Command
What it does
priority-matrix --space|--folder|--list <id>
Show the matrix that applies there, its own or one above
priority-matrix set <json> --space|--folder|--list <id>
Set it: '{"rows":"Impact","columns":"Urgency","cells": [{"row":"High","column":"High","priority":"urgent"}]}'
space ids <id> [PREFIX|none] Show or set a Space's own task ID prefix: its tasks read GB-1,
GB-2, and their workspace IDs (NOC-12) still work; none goes back to the workspace's
folder add <name> --in <id>
Add a Folder to a Space or another Folder
folder rename <id> <name>
Rename a Folder
lists
Show every list and its id
list add <name>
Add a list (to the Inbox's Space unless --in is given)
list rename <id> <name>
Rename a List
list include <list> <task...>
Show tasks in this List too, without copying them: each keeps its home List (its statuses and fields), and its subtasks come along. list exclude <list> <task...> takes them back out
task lists <task>
Show every List a task is in, its home first
list info <list>
Show a List's dates, priority, owners, files and description
list set <list> [fields]
Set a List's --priority, --start and --due ('none' clears one)
list owners <list> <who>
Set a List's owners: names separated by commas ('none': no one)
list icon <list> <icon> [color]
Give a List an icon (as Spaces have: list, rocket, star...) and optionally a color (violet, blue, teal, green, yellow, orange, red, pink, gray)
statuses
Show the statuses a list uses (the Inbox unless --list is given) and where they come from
space move <id>
Put a Space last, or --before <space id>
folder move <id> --in <id>
Move a Folder (with what's in it), a List or a Doc into a
list move <id> --in <id>
Space or Folder, last there or --before <id> of its kind.
doc move <id> --in <id>
Tasks whose status the new place doesn't use take the closest one; the command says which changed
folder duplicate <id>
Copy a Folder (with everything in it), a List (with its
list duplicate <id>
statuses, fields, views and settings) or a Doc (with its
doc duplicate <id>
pages) right after it, named "... (copy)". --with-tasks copies the tasks too, under new IDs, with the links between them; comments, history and links to tasks that aren't copied stay with the original
Saved in the app: a List's filter, sort, grouping and columns.
Command
What it does
views
Show a List's saved views (the Inbox's unless --list is given)
task list --view <view>
List the tasks a view shows, in the order the app shows them: its filter, sort and grouping (a view's name with --list or --in, or its id); --text, --status, --assignee and --mine narrow it, and --json gives its tasks in that order
Download a whole ClickUp workspace with your API token (from the CLICKUP_TOKEN environment variable, or --token-env <name>) and import it: Spaces, Folders, Lists, statuses, fields, tags, tasks, comments, files and Docs, with their dates and authors. Running it again adds only what's new. The download is deleted once it's imported. --clickup-workspace <name or id> picks one of several; --download-only stops after downloading; --resume <folder> carries on a download that stopped.
import clickup --from <folder>
Import a download made earlier, without going online
import clickup --csv <file>
Import ClickUp's CSV export (less than the token import: no files, comments without authors, custom fields as text)
Jira's, monday.com's and Asana's exports, any CSV, or an Excel workbook.
Command
What it does
import xlsx <file>
The same as import csv, for an Excel workbook (.xlsx); import csv takes one too. --sheet <name or number> picks the sheet (the first with rows in it unless given)
import csv <file>
Bring in a spreadsheet saved as CSV, one task per row, into a new List named after the file (--name <name>) in the Inbox's Space unless --in <Space or Folder id>. Jira's, monday.com's and Asana's columns are recognized (--as jira|monday|asana|other overrides). --columns shows each column, its sample values and what it becomes; --map "<column>=<what>" changes one (name, description, status, priority, assignee, start, due, dates, created, tags, parent, id, comment, attachment, list, skip, or field:<type>[:<name>]); --day-first reads 05/12/2026 as 5 December; --preview says what it would make, making nothing. Importing the same file again adds only new rows
#Moving in from Trello, Todoist, Asana, Notion, Jira or Confluence
Each app's own export; see the guides in Settings › Import. Lists go in the Inbox's Space unless --in <Space or Folder id>; importing the same export again adds only what's new.
Command
What it does
import trello <file>
A board's JSON export: its lists become statuses, its cards tasks with labels, members, dates, checklists, fields and comments
import todoist <file>
A project's CSV export, or a backup zip (every project)
import asana <file>
A project's JSON export (its CSV goes through import csv)
import notion <file>
A "Markdown & CSV" export zip: pages become a Doc, each database a List
import jira <file>
An issue search's XML export: each project a List, with issue types, subtasks, fields, comments and links between issues
import confluence <file>
A space's HTML export zip: the space a Doc with its page tree, files and comments
Straight from Jira Cloud and Confluence Cloud, with the account's API token (from ATLASSIAN_API_TOKEN, or --token-env <name>, or the one the app saved): alone, it lists the site's projects and spaces; --jira <keys> and --confluence <keys> import them as the files do, with Jira's attachments and Confluence's page comments too. --custom-domain takes a site that isn't on atlassian.net
A field is its name or id; one added to a Space or Folder applies to every List inside it.
Command
What it does
fields
Show every custom field, its type and where it's used (--list <id>: the fields that List's tasks have)
field show <field>
Show a field's settings, where it's used and its id
field add <name> --type <type> --space|--folder|--list <id>
Add a field. Types: text, long_text, number, currency, percent, dropdown, labels, checkbox, date, rating, people, email, url, phone, progress, tasks, files, formula, rollup, ai (a model fills it; see AI below). Settings: --options "A, B" (dropdown, labels), --currency EUR, --decimals 2, --max 5 (rating stars), --with-time yes (date), --from-subtasks yes (progress), --single yes (people, tasks), --description <text>, --required yes Formula: --formula "{Hours} * {Rate}" (fields in braces; math, comparisons, & to join text, if, and, or, not, round, min, max, concat, days_between, add_days, today, is_empty), --result number|currency|percent|text|date|checkbox Rollup: --rollup subtasks|direct_subtasks|related|waiting_on| blocking, --summary sum|average|count|min|max|latest|count_open| count_done, --of <field>|estimate|points|time_tracked Their values are worked out and can't be set AI: --ai-kind summary|category|sentiment|translation|progress| custom, --prompt <text> (custom), --language <name> (translation), --categories "A, B" (category), --auto-fill yes (fill again after a task changes), --reads <what> (what it reads besides the task's name and description, commas for several: subtasks, related (parent and linked tasks), comments, fields, checklists, changes (since its last fill); none, or default for its kind's), --comments <n> (how many of the newest comments), --ai-model server:model (the model that fills it, like lm-studio:google/gemma-4-e4b; default for Docs writing's)
field edit <field>
Change a field: --name, --type (number, currency and percent turn into each other, text into long_text), --options (the whole list: options left out come off tasks), or any setting above
field place <field> --space|--folder|--list <id>
Add a field to another place
field unplace <field> --space|--folder|--list <id>
Take a field out of a place; tasks keep their values
field require <field> --list <id>
Make a field required in one List (field unrequire undoes it); --required yes on field add or edit requires it everywhere
Which AI an item's content may go to: Nocturnal's own AI features and AI agents through MCP; noc itself isn't limited by it.
Command
What it does
ai access <kind> <id> [setting]
Show or set a Space's, Folder's, List's or Doc's AI access (kind: space, folder, list or doc): cloud (cloud AI allowed), local (only AI on this PC, for it and everything in it), none (no AI, for it and everything in it) or inherit (from the item above)
ai default [setting]
Show or set the workspace default (cloud, local or none), used by Nocturnal's own AI where nothing above is set and by standalone Docs; agents don't follow it
ai agent <agent> [cloud|local]
Show or set where an agent's model runs: in the cloud (agents start there), or on this PC, which lets it see items set to "Only AI on this PC"
form list
Show every form, with its List and how many responses it has
form show <form>
Show a form's questions, with their ids (a form by id or name)
form responses <form>
Show what was sent, newest first
form send <form> <question>=<value>...
Send a form in, as the app does: it makes the task in the form's List. A question by its id or its words; several choices with commas; a hidden question takes its value as prefilled. Forms are built in the app
form link <form> [<question>=<value>...]
Show the form's link, prefilling those answers when it's opened (nocturnal://form/<id>?source=newsletter)
sync status
Show how this workspace syncs over Relay on this computer: whether Relay is on, each paired device (last synced, the last problem, changes it hasn't taken yet) and what's waiting here. Read only; pairing and syncing happen in the app
sync forget <device id>|unpaired
Drop the sync record of a device not paired on this computer (removed, or a join that never finished), or of every such device. The app does this every few minutes while it serves the workspace
sync refused
On a computer that joined another: the changes made here that the base refused, and why, each with its key (task:<id>)
sync undo <key>|all
Put a refused change back as the base has it (a row made here goes), with what was refused along with it (a task's subtasks, their checklists...); the base is told on the next sync
sync dismiss <key>|all
Set a refused change aside: it stays here as it is, and the base stops listing it
ai usage
Show this computer's cloud AI use by month, provider and model, with an estimated cost (prices and budgets are set in Settings › AI providers; the provider's console is what's billed)
Add a Doc to a Space or Folder (it starts with a page); --in standalone makes a Doc in no Space
doc rename <doc> <name>
Rename a Doc
doc show <doc>
Show a Doc's pages and their ids
doc move <doc> <place>
Move a Doc into a Space or Folder, or out of every Space with standalone; links to it and its pages keep working
doc attach <doc> <list>
Show a Doc as a tab in a List, beside its views (doc detach <doc> takes it off); it keeps its place in the sidebar
docs standalone
Show the Docs in no Space
docs in <list>
Show the Docs attached to a List
doc tags <doc>
Show a Doc's tags (the same tags tasks use)
doc tag <doc> <tags>
Put tags on a Doc (doc untag takes them off); separate several with commas. New names become tags offered everywhere
page add <title> --doc <id>
Add a page (--under <page id> for a subpage; --file <md> for its text)
page rename <page> <title>
Rename a page
page show <page>
Show a page as Markdown (--section <heading>: only that section)
page write <page> --file <md>
Replace a page's text with a Markdown file
page append <page> --file <md>
Add a Markdown file's text to the end of a page (--start: the start; --section <heading>: the end, or with --start the top, of that section). The rest of the page stays as it was
Replace what's under a heading with a Markdown file's text (a copy of the heading at its start is dropped; --remove-heading takes the heading away too; without --file, the whole section goes)
page move <page>
Move a page with its subpages: --before <page>, --under <page> (last there), or --doc <id> (last in that Doc)
page delete <page>
Delete a page and its subpages (to Trash). A Doc's only page and locked pages can't be deleted
page history <page>
Show a page's earlier versions, newest first, with their ids. Nocturnal keeps the text a change replaced: every few minutes while someone types, and always before a change from here, an agent or a restore (the last 100 per page)
page version <version>
Show an earlier version's text as Markdown
page restore <version>
Put an earlier version's text back on its page; the text it replaces is kept as a version, so this can be taken back
page changes <version>
Show what changed on its page since that version: + added lines, - removed ones
page parts <version>
Show the blocks that changed on its page since that version, each with a part id
page restore <version> <part>...
Put back only those parts of the version (from page parts); the rest of the page stays, and its text is kept as a version
page style <page>
Show or set how a page looks: --font default|serif|mono, --size small|normal|large, --width normal|wide|full, --cover <gradient> (dusk, ocean, forest, ember, sunrise, night), attachment:<id> or none, --icon <emoji>, an app icon's name or none
page comments <page>
Show a page's comment threads with their ids
page comment <page> <text>
Comment on a page (--reply <comment id> to answer one; --assignee <who> assigns a new thread, here and on page quote); the comment commands above work on its comments too. Making a task from one puts it in the Inbox (or --list <id>)
page quote <page> "<words>" <text>
Comment on words of a page: they're highlighted there, and must be on the page once, as written, within one paragraph
page lock <page>
Lock a page: its title and text can't be changed (by the app, noc or agents) until page unlock <page>; comments still work
doc wiki <doc> [on|off]
Show whether a Doc is a wiki, or make it one (off: an ordinary Doc again)
doc verify <doc>
Mark a wiki verified, as you, today (doc unverify takes it off). A change to its pages afterwards is noted
doc review <doc> <YYYY-MM-DD|none>
Set the day a wiki should be reviewed by; after it, the wiki shows Needs review
wikis
Show every wiki and its status, those needing review first
Docs can hold callouts (> [!TIP]), toggles (<details> with a <summary> title) and columns
A whiteboard is a Doc holding a canvas instead of pages; name it by id or name.
Command
What it does
board add <name> --in <id>
Add a whiteboard to a Space or Folder (--in standalone: in no Space)
board show <board>
Show a whiteboard as an outline: frames, notes, shapes, cards and the arrows between them, with each element's id (--json: every element as stored)
board note <board> <text>
Add a sticky note (--color <swatch>; --at <x>,<y> places it, otherwise it goes beside what's there)
board connect <board> <from> <to>
Join two elements, by id or their exact words, with an arrow that stays attached (--label <text> puts words on it)
board task <board> <element> --list <list>
Make a note into a task in a List, named from its words; the note becomes a card showing the task
board export <board> --out <file>
Write a whiteboard to a file (<name>.whiteboard.json), its pictures in a folder beside it
board import <file> --in <id>
Make a whiteboard from a whiteboard file, in a Space or Folder (--name <name>; what no longer fits, like a card for a task that isn't here, is left out and named)
Made and arranged in the app; name one by id or name.
Command
What it does
dashboard list
Show the dashboards: what each reads (the whole workspace or one Space) and how many cards it has
dashboard show <dashboard>
Show what each card shows: a number, a chart's bars, a line's tasks made and finished, a task list's rows, a note, an AI card's answer (with its card id)
dashboard home <space>
Show a Space's home dashboard, the one it opens on in the app
dashboard refresh <card>
Ask the app to refresh an AI card with its model when it's open
Add a target: tasks (the share done in --list, --folder, --space or --everything), field (--field's sum over them, from --start toward --target), checklist (items checked on each --task), number (--start, --current, --target) or boolean (--done). --filter <json> narrows the tasks; --name names it
A template is its name or id; put a name with spaces in quotes.
Command
What it does
templates [kind]
Show every template, or one kind: task, list, page, doc or space. Five page templates are built in: SOP, Meeting notes, Product brief, Knowledge base home and Project plan
template save <kind> <id>
Save a task (NOC-12), a List, a page, a whole Doc or a whole Space as a template (--name <name>; otherwise it's named after what it was saved from). A task keeps its subtasks, checklists, fields, tags and people; a List its statuses, fields, views and tasks; a Space its statuses, fields, tags, task types, Folders, Lists, Docs, forms, views, dashboards, automations and SLAs (its tasks too with --with-tasks). Dates are kept as days after the task was made (a List: after its earliest task date)
template use <template>
Make something from a template: a task with --list <id> (or --parent <task> to go under one), a List with --in <Space or Folder id> (--from YYYY-MM-DD: when its dates start; today otherwise), a page with --doc <id> (--under <page id>), a Doc from a page or Doc template with --in <id>, or a Space (--from as for a List). --name names it. What no longer fits (a deleted tag or field) is left out and named
template rename <template> <name>
Rename a template
template delete <template>
Delete a template (to Trash)
template default <list id> [<template>|none]
Show or set the task template a List's new tasks start from (task add and agents use it too); none stops it
Every change, by session: one noc command, one agent connection, one app launch.
Command
What it does
audit
List sessions, newest first: who, the tools or commands they used, when, and how many things they changed. Narrow it with --by <who> (me, command line, an agent's name), --task <task>, --page <id>, --list <id>, --doc <id>, --from/--to <YYYY-MM-DD>; --limit <n> per page, --before <n> for the next page
audit show <session>
Every change a session made, before and after (a session is its id or its last 8 characters; --after <n> for the next page)
audit revert <session|change>
Put back what a session, or one change (a number from audit show, like 12 or #12), changed. If something changed since, it says what and changes nothing; --rest puts back everything else
Find tasks (names and descriptions), Doc pages, whiteboards, comments and file names with every word; each word also finds words starting with it, and a task ID finds that task. Narrow it with --kind task,page,whiteboard,comment,file, --in <Space, Folder, List or Doc id>, --status <status>, --assignee <who>, --tag <tag>, --date changed|created|due with --from and --to <YYYY-MM-DD>; --archived takes in archived things; --wikis only wikis' pages; --limit and --offset page
ask <question>
Answer a question from the Docs and tasks, citing them ([1], [2]) with a link to each, using the model Docs writing uses on this computer. Only passages whose AI access allows that model are sent, and how many were left out is said; --in <Space, List or Doc id> looks only there. Nothing is written
The two or three sections that best answer a topic, with the command to read each; --doc <id> (repeat, or comma-separated) or --agent <name> (its knowledge base) says which Docs, else every Doc that isn't archived; --limit <n>
knowledge index
The index an agent's session starts with: a line per page and per section with a read-when line or main section of a long page, most linked to and newest first; --doc or --agent
knowledge missing <doc>
Pages, and main sections of long pages, with no read-when line
knowledge agent <agent> [on|off]
Show or switch an agent's knowledge base help; --doc <id> (repeat) sets its Docs, --no-docs clears them
knowledge read-when <page> [<text>]
Show a page's read-when lines, or set the page's (or with --section <heading> a section's) to the text; --clear takes it away. It's the line "Read when: ..." first on the page or directly under the heading
knowledge still-true <page>
Mark a page (or with --section <heading> one section) as checked and still right, so it's no longer possibly out of date
knowledge stale <doc>
Sections not changed or marked still true in a long while
knowledge stale-after [<days>]
Show or set how many days that is (90 unless set)
knowledge hook install|remove <folder>
Add Claude Code's knowledge hook to a project's .claude\settings.local.json, or take it out; --agent <name> says whose knowledge base it looks in. Before each prompt it tells the agent which sections to read
knowledge hook install|remove --user
The same once for every project, in Claude Code's user settings (%USERPROFILE%\.claude\settings.json; --home <folder> for another); a copy of the file is kept beside it the first time
knowledge hook list
Every folder with the hook (--agent <name>), of the linked project folders and those it was added to, and whether it's set for every project
knowledge hook
What the installed hook runs (--agent <id>): reads the hook's input on stdin and prints the sections, or nothing. Installing it also adds a SessionStart hook (knowledge session-start) that tells each new session in a linked project folder to read the Space's Start Here and Current State pages
See Settings › AI agents. Each Space keeps it as tasks in a List named Memory, with Kind and Last checked fields. --space every names every project's memory: the person's rules and preferences that hold whatever the project (never a project's facts), which every agent session reads.
Command
What it does
memory remember <fact>
Keep one project fact (at most 300 characters); --kind <kind> (decision, convention, gotcha, reference), --why <reason>, --space <name or id>, or --space every for a rule or preference that holds for every project. Text that looks like a key, token or password is refused
memory recall [<words>]
Entries that match the words, best first, or the most used; --space, --agent <name> (what it can read), --kind, --limit
memory show <entry>
One entry, with who wrote it, when and in which session
memory list
Every entry; --space, --agent, --archived
memory update <entry>
Correct an entry: --text, --kind, --why; counts as checking it
memory still-true <entry>
Mark an entry checked today and still right
memory forget <entry>
Archive an entry (unarchive task brings it back)
memory stale
Entries not changed or checked in a long while (as knowledge stale-after sets); --space, --agent
memory index
The entries an agent's session starts with, most used first; --agent <name>, --space (every project's entries come too, as in a session)
memory agent <agent> [on|off]
Show or switch an agent's project memory
memory import <folder or file>
Bring in memory: a Claude Code memory folder (MEMORY.md and its files), a CLAUDE.md or AGENTS.md (--heading <h> for some sections), or a bullet list; --space, --kind <type>=<Kind>, --include user (left out unless asked), --every-project to take user memories into every project's memory instead, --dry-run to see what it would take. Secrets are refused, naming the file
memory export <folder>
Write a Space's memory (--space) as a Claude Code memory folder, into a new or empty folder
memory snippet
The lines for a repo's CLAUDE.md or AGENTS.md that send agents to Nocturnal for project memory; --space names the Space
memory conflicts
Entries that likely contradict each other, kept until settled
memory settle <entry> keep|merge|both
Settle a conflict: keep this entry (the other is marked wrong), merge into it (--text, --why, --kind), or keep both; --with <entry> says which conflict, --note says why
memory wrong <entry>
Mark an entry wrong: archive it, with --note for agents that recall something like it
memory review
Entries an agent wrote or changed since you last looked; --done marks them all reviewed
An agent session started in a linked folder, or a folder inside it, focuses on its Space's knowledge base and memory.
Command
What it does
project link <folder> --space <name or id>
Link a folder (. for this one) to a Space
project list
The linked folders, and folders suggested because their name matches a Space; --space <name> for one Space's
project unlink <folder>
Take a folder's link away
project scan [<folder>]
The folders inside the folder your projects are in (the last one set up when left out): each a project (its own .git folder, or package.json, Cargo.toml, a .sln, pyproject.toml, CLAUDE.md or AGENTS.md), a git worktree (and whose), or another folder; the Space it matches by name or task prefix; whether it's linked and has the knowledge hook (--agent <name> for one agent's). Only reads
session prompt <move|new|resume> --space <name or id>
A prompt to paste into a new AI coding session on the project, filled in with its Space, knowledge base and folder: move an existing project in, start a new one (--brief <text> goes first), or pick up where it left off. --agent <name> picks the knowledge base on its list; --folder <path> for another folder
session setup <move|new> --space <name or id> --agent <name>
What Nocturnal sets up before the first two prompts: a knowledge base Doc from the Project knowledge base template, the Doc on the agent's knowledge base, write access to the Space, the capabilities the work needs, and project memory. Only lists the changes; --yes makes them
project setup [<folder>]
Set them up together: --link links each project to the Space it matches, --hook adds the knowledge hook (--agent <name>, or the one Claude Code agent), --map <folder>=<Space> (repeat) sets a folder's Space by hand, like --map sentinel=Tekel. Then says what was saved
(Each takes --config-dir <folder>: the folder holding this computer's settings, instead of
Ask and knowledge lookup also find what says it in other words.
Command
What it does
meaning status
Whether it's on for this computer, how many pages, tasks and files are indexed, whether the app is indexing, paused on battery, off or closed, the model, and the index file's size and last update. Read without the app; nothing is written
Whether the lock is on, how it unlocks, whether Nocturnal is locked, and whether AI agents and noc work while it's locked
lock now
Lock Nocturnal now, if it's open
lock off
Turn the lock off and remove its password, with no password needed: the way back in if the password is forgotten. It works for whoever is signed in to Windows as you
Use this workspace: its folder, or its name on this computer's list (otherwise NOCTURNAL_WORKSPACE, then this computer's default workspace)
--list <id>
The list a task command works on (its id, or its name when only one List has it)
--space <id>
With a field command: the Space it works on
--folder <id>
With a field command: the Folder it works on
--parent <task>
The task a new task goes under
--assignee <who>
With task list: only tasks assigned to someone
--mine
With task list: only tasks with work for you (Only mine): assigned to you, or holding an unchecked item or open thread assigned to you
--filter <json>
With task list: only tasks matching a filter, the same one a List's Filter button builds (it can copy the command). Rules on name, status, type, priority, assignee, tag, due_date, start_date, created, estimate, points or field:<custom field>, or the task's List: list, list_start_date, list_due_date, list_priority, list_owner, or its Space: space; in all/any groups. With -, it's read from what's piped in, as in PowerShell: '{"rules":[{"field":"due_date","op":"overdue"}]}' | noc task list --filter -
--under <id>
The page a new page, or the item a new checklist item, goes under
--in <id>
The Space or Folder a new or moved Folder, List or Doc goes in; with task list, the Folder or Space (id or name) to list, or everything
--before <id>
With a move: what the task, Space, Folder, List or Doc goes before
--json
Print JSON instead of text
--help
Show this help
--
Everything after it is text, even if it starts with --
Each command takes only its own options: one it doesn't take is refused, naming the command that takes it, and nothing is changed. With --json, a command that only says what it did prints {"message": "..."}.