Documentation

A project-documentation reader for orienting yourself before editing code or answering architecture questions. It reads Markdown files from the project's documentation area and resolves their paths.

In plain words
What is it for?
Use it to inspect the documentation index, follow project guidance files, and read one focused document.
Why use it?
It helps you find the project's intended guidance before making changes or explaining its structure.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/agent0ai/space-agent/documentation
Any agent
npx skills add agent0ai/space-agent --skill documentation
Clone the repo
git clone --depth 1 https://github.com/agent0ai/space-agent

Made for: Claude Code, Codex.

Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00008 $0.01403
Opus 5 $0.00004 $0.00701
Sonnet 5 $0.00002 $0.00281
Haiku 4.5 $0.00001 $0.00140

Measured yesterday against content hash d7fce6f79d80, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Documentation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

app/L0/_all/mod/_core/documentation/ext/skills/documentation/SKILL.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

helper

  • Import /mod/_core/documentation/documentation.js
  • read("path/to/file.md") reads a nested markdown doc relative to docs/
  • url("path/to/file.md") builds the resolved /mod/... URL for a doc file

workflow

  • Start with the built-in documentation index below unless you already know the exact doc path
  • Use one focused read("path/to/file.md") call instead of loading many large docs blindly
  • Treat /README.md as the public product source of truth for the project pitch, quick starts, release links, community links, and DeepWiki discovery
  • After orientation, walk the DOX chain from /AGENTS.md to the owning AGENTS.md file and then inspect code when needed
  • For visual or modal work, confirm app/L0/_all/mod/_core/visual/AGENTS.md before changing dialog shells, buttons, cards, popovers, or other shared UI primitives
  • For dashboard panel creation, panel manifests, or panel-navigation helpers, start with app/modules-and-extensions.md
  • Keep the repo's frontend-first rule in mind while reading: backend docs explain constraints and existing contracts, not default permission to edit server/
  • If the change appears to require backend work and the user did not explicitly ask for backend edits, ask for permission and explain the security, integrity, or stability reason before changing backend files
  • When you change a stable contract or workflow, update the relevant DOX AGENTS.md files, including affected Child DOX Index entries, and the matching docs in /mod/_core/documentation/docs/
  • When you add, remove, rename, or substantially repurpose a doc file, update this skill's in-file index in the same session

recommended starting points

  • overall system shape: architecture/overview.md
  • desktop host or packaging flow: architecture/desktop-host-and-packaging.md
  • documentation rules: architecture/documentation-system.md
  • frontend runtime and layers: app/runtime-and-layers.md
  • admin agent runtime: app/admin-agent-runtime.md
  • modules, routing, extensions, or dashboard panels: app/modules-and-extensions.md
  • browser-side Hugging Face testing: app/huggingface-browser-runtime.md
  • browser-side WebLLM testing: app/webllm-browser-runtime.md
  • spaces and widgets: app/spaces-and-widgets.md
  • overlay agent runtime: agent/onscreen-agent-runtime.md
  • memory or promptinclude-backed agent memory: agent/memory-and-prompt-includes.md
  • prompt or execution protocol: agent/prompt-and-execution.md
  • skills or this documentation surface: agent/skills-and-documentation.md
  • server routing or pages: server/request-flow-and-pages.md
  • server jobs or maintenance loops: server/jobs-and-maintenance.md
  • app-file APIs: server/api/files.md
  • module, login, or runtime endpoints: server/api/modules-and-runtime.md
  • auth and sessions: server/auth-and-sessions.md
  • layered filesystem, CUSTOMWARE_PATH, or writable-layer history: server/customware-layers-and-paths.md
  • CLI commands or runtime params: cli/commands-and-runtime-params.md

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.

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 74 lines · 8 tokens per session scan A d7fce6f79d80

Subscribe to this mod's changes

Documentation is a skill published in the GitHub repository agent0ai/space-agent (1,388 stars, last pushed 2mo ago), licensed MIT. It adds 8 tokens to every session and 1,403 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens