Documentation

From agent0ai/space-agent · View interactive version

Documentation is an AI agent skill from the GitHub repository agent0ai/space-agent. Read the supplemental project documentation module

How to use this skill

Skill file

Use this skill when you need project orientation before editing or answering architecture questions.

helper

workflow

recommended starting points

docs path|name|description↓

architecture/overview.md|Runtime Overview|Browser-first architecture, major entry surfaces, and the layered runtime model.

architecture/desktop-host-and-packaging.md|Desktop Host And Packaging|Electron host startup, free-port binding, packaged single-user behavior, and desktop build outputs.

architecture/documentation-system.md|Documentation System|How DOX AGENTS.md, the documentation module, and code fit together, plus update rules.

app/runtime-and-layers.md|App Runtime And Layers|Frontend boot flow, space runtime namespaces, entry shells, and L0/L1/L2 rules.

app/admin-agent-runtime.md|Admin Agent Runtime|Admin chat ownership, config persistence, shared execution loop, and API-versus-local-Hugging-Face transport switching.

app/modules-and-extensions.md|Modules And Extensions|/mod/... delivery, router path resolution, dashboard panel manifests, ext/html, ext/js, and <x-component> behavior.

app/huggingface-browser-runtime.md|Hugging Face Browser Runtime|The routed Transformers.js test surface, its worker split, direct Hub model loading contract, and throughput metrics.

app/webllm-browser-runtime.md|WebLLM Browser Runtime|The routed WebLLM test surface, its worker split, model-loading modes, and throughput metrics contract.

app/spaces-and-widgets.md|Spaces And Widgets|Space storage, widget renderer contracts, widget-shell defaults, and the main space.current / space.spaces helpers.

agent/onscreen-agent-runtime.md|Onscreen Agent Runtime|Overlay ownership, persistence, defaults, UI/runtime surfaces, and prompt file ownership.

agent/memory-and-prompt-includes.md|Memory And Prompt Includes|Prompt-include-backed persistent memory workflow, standard ~/memory files, and the memory-skill contract.

agent/prompt-and-execution.md|Prompt And Execution|Prompt assembly order, message markers, execution transcript rules, and compaction behavior.

agent/skills-and-documentation.md|Skills And Documentation|Skill discovery rules, top-level versus nested skills, conflict rules, and the documentation skill/helper contract.

server/request-flow-and-pages.md|Request Flow And Pages|Exact server routing order, page shell contracts, auth gating, and direct app-file fetches.

server/jobs-and-maintenance.md|Jobs And Maintenance|Primary-owned periodic jobs, interval scheduling, mutation publishing, and guest cleanup maintenance rules.

server/api/files.md|File APIs|The authenticated file endpoints, path forms, writable discovery, folder downloads, and optional local history APIs.

server/api/modules-and-runtime.md|Module And Runtime APIs|Module endpoints, login/runtime endpoints, extensions_load, and identity helpers.

server/auth-and-sessions.md|Auth And Sessions|User storage layout, sealed password/session records, and login/runtime auth behavior.

server/customware-layers-and-paths.md|Customware Layers And Paths|Logical-versus-disk paths, permission rules, optional writable-layer history, override order, and maxLayer.

cli/commands-and-runtime-params.md|Commands And Runtime Params|space.js, command families, runtime-param precedence, and the current schema surface.

examples

Reading the frontend runtime docs

_javascript

const documentation = await import("/mod/_core/documentation/documentation.js")

return await documentation.read("app/runtime-and-layers.md")

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.