The whole map
Every playbook, concept, anti-pattern, cheatsheet, and cookbook. Search it, or jump to a section.
App lifecycle - publish, version, disable, visibility
You manage a published App beyond its first release: validate a target, publish from a local machine or the workspace, preview it, measure it, take it offline, or change who can open it.
App viewer authorization and account scopes
A published App must act as the viewer, access another Space, or perform an action that the publisher cannot grant directly to the App's home Space.
Author, export, replay, and play Boards
You want to arrange files, media, tasks, and embedded Apps on a Board, animate them, then export stills or video, replay edits, or present live.
Automate with Space Hooks and webhooks
A file change, Save, finalized turn, published App version, Task Run transition, or inbound HTTP request should trigger work inside the Space.
Build a compounding wiki in a Space
Multiple people/agents must share evolving understanding — not re-paste history every Chat.
Build an App product with Work Kit
The App must read Space context, request viewer consent, or act through Cohub APIs, rather than only show static HTML.
Configure `.cohub` and `.agents` with the right priority
You need models, slash / templates, Space theme/background, or hooks — and must know which Space and which folder actually win.
Debug skill slash catalog and cache
/skill:foo missing, stale, wrong body, or works in Agent disk read but not in slash menu (or the reverse).
Discover and invoke skills with /skill:
You need the Agent to load a named capability with its instructions/assets, not a vague “try to scrape/publish”.
Equip an agent and do real work
The Agent needs reusable capabilities (fetch, proxy, publish kit), not a longer system essay.
Execution token vs login identity
Debugging a CLI call that works interactively but fails in an Agent subprocess, a collaborator's skill set, or a request that sees the wrong resources.
Fork a Save and explore safely
You have a known-good Save and want a risky rewrite, alternate design, or collaborator experiment without destroying the mainline.
From blank Space to first Save
You need a durable place, not a one-off chat.
Generate, inspect, and materialize multimodal assets
You need image, video, music, or other multimodal output as a durable Space asset rather than only a Chat attachment.
Hide the Cohub bar on a public App
You want a published App page to feel like your product rather than a Cohub host frame, especially for polished demos and commercial shells.
Home Space and Sessions inbox
You live across many Spaces and need a default landing place plus a cross-space Chat radar.
Install and maintain Apps in a Space
A Space needs a reusable published App available from its Apps panel, with a controlled enable/disable/uninstall lifecycle.
Live port preview and port Apps
The artifact is a running app (development server) rather than static files, for demos, QA, or temporary sharing.
Measure App promotions without leaking visitor data
You need to attribute traffic and funnel activity to a published App without building a visitor-level tracking database.
Mount Mods for shared tooling
Several Spaces should share the same skills, prompts, templates, or base tooling without copy-paste drift.
Operate a Space from external channels
Humans already live in Discord / Feishu / WeChat / Telegram / QQ and should hit the same Space.
Operate the platform config Space
You run a Cohub deployment (or internal platform Space) and need environment-wide default skills, prompts, models, or agent rules.
Own your agent defaults in Home or a config Space
You want personal Agent defaults (rules, skills, prompts) to follow you across Spaces — without pasting them into every project.
Publish a static App
Others should open a page or site without entering your Sandbox.
Pull context from another Space
This Chat needs facts, files, or prior work that already live in another Space you can access.
Read Space activity without leaking cost data
You need a bounded view of Space usage, contributors, model mix, and App views for a reporting window.
Recurring automation with scheduled prompts
Work must happen on a clock (daily report, weekly review), independent of someone opening Chat.
Run a Space on a local Runtime
You want a Space to run turns on a local Pi or Codex Harness against a folder on your machine, while keeping sessions, files, and history in Cohub.
Sandbox egress via WARP
Outbound requests from the Space sandbox need a Cloudflare WARP exit IP (or you must verify egress).
Sell features and credits inside an App
A published App should gate a capability or meter usage with one-time products (feature unlock and/or credit packs).
Ship Apps with least privilege
The product now calls the published surface an App . client.apps and appScopes are canonical; client.works and workScopes remain compatibility aliases for older clients.
Social fetch into a Space knowledge base
You need public social signals as evidence, then durable wiki understanding.
Space env vars and sandbox settings
The agent needs API keys, model endpoints, or a different sandbox size/idle policy — without baking secrets into git.
Space members, roles, and access policy
More than one person (or anonymous viewers) should enter a Space without sharing your account.
Three search layers
Cohub is not “searchless”. It has different search layers . Mixing them causes bad Agent behavior.
Username, Space slug, and App URLs
Publishing fails or a public App link cannot be formed.
`.cohub` layers & priority
.cohub/ is platform-facing Space config (presentation, hooks, published models/generations, and installed-App state).
App (formerly Work)
An App is a published, shareable surface from a Space target: file directory port. The product's older user-facing name was Work .
App Actions
App Actions (v2.41) are server-side entrypoints that a published directory App exposes under .cohub/actions/. They run inside the App home Space Sandbox, so an App can do real work without…
App Center and installed Apps
The App Center is the Space-level home for installed Apps. It appears alongside Files in the desktop sidebar and mobile drawer, and provides enable, disable, and uninstall controls. A first…
App commerce
App commerce sells one-time products backed by Space-level billing. The SDK surface is client.app.commerce. ; older Work-era work.commerce spellings may remain as aliases.
App presentation, surfaces, and runtime context
A published App can run as a public page, a workspace window, a New Chat background, an overlay, or an embedded frame. App is the canonical SDK/API term; this card keeps Work in the filenam…
Board runtime and semantic canvas
The Board runtime is Cohub's infinite 2.5D visual surface for spatial collaboration, live file cards, media, task outputs, embedded Apps, scripts, animation, and headless exports. Board v3…
Channel
External messaging surface connected to Cohub (Discord, Feishu/Lark, WeChat, etc.).
Chat
A Chat is a conversation context inside a Space. CLI/API name: session .
Decision models
Decision models (v2.66) answer structured questions about text, JSON, or images with calibrated probabilities. They are a separate model class: never shown in LLM pickers, configured in .co…
Direct Generation turns
Direct Generation (v2.23) is the create path for multimodal work. It treats a generation as a first-class turn in a Chat timeline instead of hiding it behind an ordinary text prompt or an u…
Execution token
An execution token is a short-lived, signed execution grant that authorizes tool and CLI calls as a specific actor in a specific Space, session, or turn without requiring a full interactive…
Home Space
The default personal Space many accounts land in (slug=home when bootstrapped).
Labels
Lightweight tags on Spaces (and related objects) for organization and filters.
Local Runtime and native harnesses
A Local Runtime connects a folder on your machine to a Space and runs turns on a local Harness (Pi or Codex). Sessions, turns, streaming, and resumption stay on the normal Cohub pipeline; m…
Per-prompt thinking level & live model status
Cohub provides fine-grained control over model reasoning (thinkingLevel) and real-time operational health probes (/api/models/status).
Personal command palette and Recent
The command palette is a cross-Space navigation surface for Spaces, Chats, turns, labels, and commands. Recent releases make its default view personal and cache-first rather than a generic…
Platform config
Platform config is the account-global operator configuration layer shared by all Spaces in an environment.
Realtime rooms for Apps
Realtime rooms let a published App share state, presence, and JSON events between its viewers and anyone it invites - a person in a terminal, or an Agent. Rooms are runtime-native: no scope…
Recoverable context compaction
Context compaction keeps long sessions working by summarizing earlier turns when the context window fills up.
Sandbox
A Sandbox is the runtime where a Space Agent executes commands, skills, previews, and filesystem operations. Paths, network, and identity are Sandbox-shaped, not your laptop's.
Save
A Save is an immutable workspace snapshot. CLI/API name: checkpoint .
Search layers
Recommended web skill for config Space:
Semantic Board authoring
Board editing is a JSON document protocol shared by the API, SDK, CLI, web editor, checkpoints, and published Apps. The document describes what a Board means; renderers derive geometry and…
Sessions inbox
Cross-space Chat radar at /sessions.
Skill & Mod
Reusable Agent capability, often invoked as /skill:name.
Skill discovery & cache
GET /api/skills?spaceId=<optional
Space
A Space is the main creative surface in Cohub: Chats, files, Saves, Apps, Tasks, members, channels, and settings in one isolated environment.
Space activity overview
The Space Activity surface combines usage, contributors, model rankings, and App views for one Space and one time window. It is available in the Web dashboard, CLI, and SDK.
Space Hooks
Space Hooks are file-declared asynchronous automation under .cohub/hooks/ (v1.103+). One file is one hook identity, with exactly one of run, prompt, or uses.
Space invitations & join links
Friendly space invitations (v2.7) let members join a Space through a shareable invite link instead of manual member management.
Space roles
Product roles for collaboration inside a Space:
Space turn browsing
Space turn browsing (v2.6) exposes a permission-aware list of turns across all visible Sessions in a Space. v2.39 adds full per-session turn lists and persisted intermediate archives.
Task & scheduled prompt
Tasks are runnable units. Scheduled prompts recur on a timetable and drive agent turns.
Task Browser
The Task Browser is the dedicated multimodal task surface for finding and inspecting generation and other Task Runs. It is a repository-managed App and the primary place to follow asynchron…
User config Space
A config Space is the owner’s personal agent-configuration Space.
Assuming Home configures other Spaces
Before v2.66, a Home Save only created a Checkpoint: personal skills and rules stayed in Home's /workspace and never mounted as /configs/user. The original version of this card said Home co…
Auth on page load
Consent fatigue, over-permission, blocked first paint, scary demos.
Baking live data into dist
Stale snapshots, leaked secrets, impossible multi-viewer freshness.
BrowserRouter on static Apps
Deep links and refreshes can 404, and absolute /assets paths break directory App hosting.
Chat-only project
There is no durable truth. Restarts, new Chats, and collaborators cannot reconstruct the work.
Editing /configs/user inside a project sandbox
/configs/user is a read-only mount of published owner config. Edits don’t stick as the account source of truth; the next publish/remount overwrites mental models.
Home as dumping ground
Home becomes an unsearchable junk Space: half projects, half config, zero Saves worth restoring.
Loop without disk state
Scheduled prompts and hooks that only “remember” in chat lose progress, duplicate work, and cannot be audited.
Mega unused skill dump
Noise in /skill: menus, larger blast radius, slower agents, accidental tool use.
No Save before agent autonomy
Broad cleanups and refactors become unrecoverable archaeology.
Raw Sandbox URL as launch
Raw Sandbox endpoints are unstable across hibernation and restarts, have the wrong audience, and do not provide App version semantics.
Rebuilding Cohub auth inside an App
A second identity system breaks consent, duplicates security boundaries, and cannot share Cohub's billing and viewer-grant model correctly.
Skill assets at repo root
npx skills add copies skills/<name /. Scripts and templates at the repo root never arrive; agents call missing paths.
Static App as API backend
Directory/static Apps are files on a CDN-like surface. They do not host your Node API, WebSockets, or long-lived servers.
Testing App commerce on static preview
context() is null outside a published App; purchase and entitlement APIs fail, and the diagnosis becomes misleading.
App and viewer scopes cheatsheet
Publisher grants these at publish time; they apply only to the App's own Space:
CLI <-> UI map
When no Space is given, commands resolve -s, then COHUB SPACE ID, then the account's Home Space — so cohub prompt / cohub run work right after login without flags.
Config layers in a sandbox
Config/platform Save whitelist: AGENTS.md, CLAUDE.md, .agents/, .cohub/.
FAQ and troubleshooting
cohub.cheat.faq
Paths & mounts
The same layout applies in a cloud Sandbox and in a Local Runtime (v2.51+). A Local Runtime binds /workspace to a folder on your machine; /configs/ and /mods/ are still mounted by the host.
Skill packaging
For repos installed with npx skills.
Config skills setup
Make your agent defaults follow you across Spaces.
Paid App minimum
The smallest honest path to a commerce-ready App, not a static mock.
Research agent → wiki
Turn fetch sessions into compounding understanding.
Weekend static App
Ship something people can open without a Sandbox invite.
Agent brief — Cohub in one page
Load this when operating inside a Cohub sandbox. Prefer files over chat memory.
Cohub Is All You Need
v0.21 · Best practices for people and agents building in Cohub
Cohub Is All You Need — changelog
This tracks the guide , not the Cohub product. Product changes: cohub.live/changelog.
Glossary
Bilingual terms. Deep dives link to concept cards.
Learning path
Pick a track. Each step links to an existing playbook or cookbook.
Samples & references
Concrete starting points. Prefer cloning patterns into your Space over treating demos as frozen truth.
Scenario Matrix
Use this table to jump from intent → Cohub surfaces → skills/docs .