For AI agents: the complete documentation index is available at https://docs.gage.io/llms.txt, the full documentation bundle is available at https://docs.gage.io/llms-full.txt, and this page is available as Markdown at https://docs.gage.io/commands/note.md.

gage note

The gage note command manages notes. A note is a value a scanner or person assigns to a session, session lines, attachment, or other stored object. For background, see Notes.

gage note <COMMAND>

Commands that take note IDs accept unique ID prefixes. A text argument accepts @PATH to read the text from a file. Text cannot begin with a literal @.

note list

List notes.

gage note list [OPTIONS]
OptionDescription
--name <NAME>Show notes with this name
-m, --moreShow more items. Repeat to show more per use.
-a, --allShow all items
-n, --limit <LIMIT>Limit the number of items shown (default: 20)
--full-idShow the full note ID

note add

Add a note of your own.

gage note add [OPTIONS] [TEXT]

The command prompts for the text when you omit it.

OptionDescription
-t, --target <TARGET>Note target (ID or prefix)
-n, --name <NAME>Note name (default: comment)
--jsonStore the text as JSON
-m, --metadata <JSON>Note metadata as a JSON object
-u, --user <USER>Author username (default: $USER)
-y, --yesSkip prompts. Requires TEXT.

A target is an object ID or unique prefix, optionally followed by # and a line selection such as 12, 12-20, or 12-20,31. A line selection applies to a session and limits the match to sessions.

Names need not be unique; writing the same name for the same target adds another note. See Authors.

note show

Show a note.

gage note show [OPTIONS] <ID>
OptionDescription
-d, --docShow note docs

note edit

Edit a note.

gage note edit [OPTIONS] <ID> [TEXT]

The command prompts for new text when no argument or option is given.

OptionDescription
-t, --target <TARGET>New note target (ID or prefix, with optional # line selection)
-n, --name <NAME>New note name
--jsonStore the text as JSON
-y, --yesSkip prompts. Requires TEXT, --name, or --target.

note delete

Delete notes.

gage note delete [OPTIONS] <IDS>...

In general this is not needed. Scanners benefit from keeping the note record across scans.

OptionDescription
-y, --yesSkip confirmation prompt