JSON reports: ascribe agents

The JSON Schemas of what ascribe agents index, sync, and prompt write with --format json.

For AI agents: the documentation index is at llms.txt, and this page is available as Markdown.

The JSON Schemas of what ascribe agents index, sync, and prompt write with --format json. Each document follows the rules of the JSON report contract.

ascribe agents index

The fields of schemas/agents-index.schema.json:

AgentsIndexReport: What ascribe agents index --format json answers.

Field Type Required Nullable Description
schema_version integer yes no The version of this schema. It changes only when a field is removed or changes meaning.
ascribe_version string yes no The release of Ascribe that wrote it, as 0.4.5.
build string yes no The build.
limit integer yes no The most bytes the index holds.
bytes integer yes no How many bytes it holds.
offered integer yes no How many pages the build offers: those it publishes, apart from the unlisted.
listed string[] yes no The pages the index lists, as paths from the content root, in its order.
left_out string[] yes no The offered pages the index leaves out to stay under limit, as paths from the content root.
without_description string[] yes no The pages the index lists without their description, to stay under limit, as paths from the content root.
file string yes yes The file the index was written into, between its markers, from the folder the command ran in; null when it was printed.
changed boolean yes no Whether that file changed: with --dry-run, whether it would.
written boolean yes no Whether the file and the pages were written: false when the index was printed, or with --dry-run.
folder string yes yes The folder the pages were copied into, from the folder the command ran in; null without --pages.
pages object[] yes no The pages copied into the folder: every offered page, with --pages.
pages[].source string yes no The page, as a path from the content root.
pages[].path string yes no Its Markdown version’s path in the folder.
text string yes no The index’s Markdown.

ascribe agents sync

The fields of schemas/agents-sync.schema.json:

AgentsSyncReport: What ascribe agents sync --format json writes: each file it writes, and what it has to say.

Field Type Required Nullable Description
schema_version integer yes no The version of this schema. It changes only when a field is removed or changes meaning.
ascribe_version string yes no The release of Ascribe that wrote it, as 0.4.5.
check boolean yes no Whether it ran with --check, which writes nothing.
written boolean yes no Whether it wrote the files: false with --check or --dry-run.
files object[] yes no Each file, in the order it was first planned.
files[].path string yes no Its path, from the current folder, /-separated.
files[].changed boolean yes no Whether it changed: with check, whether it’s out of date.
files[].read_by Agent[] yes no The agents that read it.
notes string[] yes no The notes for the person running it, which it also writes to standard error.
unread string[] yes no What an agent doesn’t read of what’s written, and the target that adds it, a sentence each.
mcp_settings any yes no With --cloud and no --agent, the MCP server’s JSON to paste into the repository’s settings for Copilot’s cloud agent; else null.

Agent: An agent that reads a file sync writes, as sync names it. One of:

Value Description
"claude_code" Claude Code.
"codex" Codex.
"copilot" GitHub Copilot, in an editor or on GitHub.
"copilot_cloud" Copilot’s cloud agent only.
"cursor" Cursor.
"gemini_cli" Gemini CLI.

ascribe agents prompt

The fields of schemas/agents-prompt.schema.json:

AgentsPromptReport: What ascribe agents prompt <NAME> --format json writes: the prompt.

Field Type Required Nullable Description
schema_version integer yes no The version of this schema. It changes only when a field is removed or changes meaning.
ascribe_version string yes no The release of Ascribe that wrote it, as 0.4.5.
name string yes no The prompt’s name.
text string yes no The prompt, as --format text prints it.

With --list:

The fields of schemas/agents-prompt-list.schema.json:

AgentsPromptListReport: What ascribe agents prompt --list --format json writes: every prompt, with its arguments.

Field Type Required Nullable Description
schema_version integer yes no The version of this schema. It changes only when a field is removed or changes meaning.
ascribe_version string yes no The release of Ascribe that wrote it, as 0.4.5.
prompts object[] yes no The prompts, in order.
prompts[].name string yes no Its name, which ascribe agents prompt takes.
prompts[].title string yes no A short name for people.
prompts[].description string yes no What it asks an agent to do.
prompts[].arguments object[] yes no Its arguments, which --arg key=value gives.
prompts[].arguments[].name string yes no Its name, the key of --arg key=value.
prompts[].arguments[].description string yes no What it is.
prompts[].arguments[].required boolean yes no Whether the prompt needs it.