Hub Files & Structure
Every Hubify workspace follows a reserved file structure that your agent understands immediately. This is Hubify’s answer to “where does everything go?” — a standard layout that works across all platforms (Claude Code, Cursor, OpenClaw, Windsurf) and all templates. When you deploy a workspace, the reserved structure is seeded from your chosen template. Agents read these files on startup, write to them during operation, and rely on them for persistent context.Complete File Tree
Reserved Files
HUB.yaml — The Workspace Manifest
HUB.yaml is the master configuration file for your entire workspace. Every connected agent reads it on startup. It defines the template, mode, skills, integrations, model routing, privacy settings, and connected agents.Do not store secrets or API keys in HUB.yaml. Credentials belong in the encrypted vault, referenced via
vault://keys/service-name URIs.SOUL.md — Agent Personality
SOUL.md defines who your agent is — its tone, priorities, communication style, values, and decision-making tendencies. Every agent reads this file at the start of every conversation. Templates seed SOUL.md with useful defaults. A Founder OS template ships a SOUL.md tuned for GTM operations. A Dev OS template ships one tuned for code review and deployment. You customize it freely after deployment. Key points:- Read by all connected agents on every conversation start
- Defines identity, not behavior (behavior goes in AGENTS.md)
- Keep it under 500 words for reliable agent processing
- Be specific, not generic
AGENTS.md — Operational Instructions
AGENTS.md defines behavioral rules for all connected agents — when to ask versus act autonomously, which tools to use, how to handle specific situations, communication channel preferences. Key points:- Applies to all agents connected to the workspace (cloud, local, platform-specific)
- Defines behavior, not identity (identity goes in SOUL.md)
- Include autonomy rules, tool usage guidelines, and escalation criteria
- Platform-agnostic — write instructions that work on Claude Code, Cursor, and OpenClaw
USER.md — User Profile
USER.md contains your profile information. It is auto-generated during signup with your username and preferences, and auto-updated as you configure your workspace. Your agent reads USER.md to understand who it is working for — your name, timezone, communication preferences, and any personal context you choose to include.MEMORY.md — Long-Term Curated Memory
MEMORY.md is your agent’s curated long-term memory. Unlike the daily memory logs inmemory/, this file contains the most important, evergreen context that your agent should always have access to.
Key points:
- Read by agents on every conversation start
- Curated by both you and your agent (agent suggests additions, you approve)
- Contains high-signal information: key decisions, important contacts, ongoing projects, personal preferences
- Not a dumping ground — keep it focused and updated
HEARTBEAT.md — Proactive Checklist
HEARTBEAT.md is the checklist your agent reviews on each heartbeat cycle. The heartbeat interval is configured in HUB.yaml (agent.heartbeat: "30m").
Key points:
- Agent reviews this file on each heartbeat cycle
- Use priority levels (Blocking, Standard, Low Priority)
- Blocking items are processed first
- Low-priority items are skipped when there is active work in progress
WELCOME.md — First-Boot Message
WELCOME.md is displayed to the user on first login after workspace deployment. It introduces the workspace, explains what was set up, and provides next steps. Templates include their own WELCOME.md with template-specific onboarding guidance.BOOTSTRAP.md — First-Run Setup
BOOTSTRAP.md contains one-time setup instructions that the agent executes on first boot. After the bootstrap tasks complete, this file is automatically deleted. Examples of bootstrap tasks:- Installing initial skills from the template
- Seeding memory with template defaults
- Running first-time integration configuration
IDENTITY.md — Extended Identity (Optional)
IDENTITY.md is an optional file for extended agent identity information that does not fit in SOUL.md. Use it for detailed background context, domain expertise descriptions, or extended personality parameters.TOOLS.md — Platform-Specific Notes (Optional)
TOOLS.md stores platform-specific notes and configuration guidance. If your agent needs to behave differently on Claude Code versus Cursor versus OpenClaw, document those differences here.PROJECTS.md — Project Index
PROJECTS.md is auto-generated and provides an index of projects in your workspace. Agents write project entries here as they track ongoing work.TASKS.md — Task Index (Read-Only)
TASKS.md is read-only and auto-generated from the Convex task store. Agents write tasks to the API, not to this file directly. The file is regenerated on every sync. This prevents the “tasks in markdown that nothing reads” problem. The real task data lives in Convex; this file is a human-readable view of it.LEARNINGS.md — Learnings Index
LEARNINGS.md is an auto-updated index of extracted learnings from agent executions. It links to the detailed learning files in thelearnings/ directory.
KNOWLEDGE.md — Knowledge Base Index
KNOWLEDGE.md is the index for your curated knowledge base. It links to topic files in theknowledge/ directory.
Reserved Directories
.hub/ — Runtime State
The.hub/ directory stores runtime state used by the Hubify sync system. It is gitignored and managed automatically.
| File | Purpose |
|---|---|
agents.json | Live registry of all connected agents (cloud, local, platform-specific) |
sync.log | Sync history — what was pushed and pulled, when |
cache/ | Local intelligence cache for fast access to frequently used data |
.hub/ manually. The sync system manages this directory.
memory/ — Episodic Daily Files
Thememory/ directory stores time-based episodic memory. Your agent creates a new file each day using the YYYY-MM-DD.md naming convention.
skills/ — Installed Skills
Theskills/ directory contains installed skills from the Hubify registry. Each skill has its own subdirectory with a SKILL.md file describing what it does, its inputs, outputs, and execution instructions.
hubify install <skill-name> or through the web dashboard. The registry currently contains 5,892+ skills.
knowledge/ — Curated Evergreen Knowledge
Theknowledge/ directory stores curated, evergreen knowledge that is not time-bound (unlike memory, which is episodic). Topics live in individual markdown files, and INDEX.md provides a searchable index.
learnings/ — Extracted Learnings
Thelearnings/ directory stores structured lessons learned from agent executions. These are extracted automatically when an agent completes a task, encounters an error, or discovers a better approach.
contribute_to_global: true is set in HUB.yaml. Otherwise, they stay private to your workspace.
projects/ — User Space
Theprojects/ directory is your space. It is not part of the reserved structure — you can organize it however you want. Your agent will not modify files in projects/ without explicit permission.
Use it for:
- Code repositories
- Client deliverables
- Personal files
- Anything that does not fit the reserved structure
Reserved vs. User Space
Everything in the reserved structure (the files and directories listed above) is managed by a combination of you, your agent, and the Hubify sync system. Agents know how to read and write these files because the format is standardized across all workspaces. Everything outside the reserved structure is your space. You organize it however you want. Agents interact with user-space files only when you explicitly ask them to.| Reserved | User Space |
|---|---|
| HUB.yaml, SOUL.md, AGENTS.md, etc. | projects/ and any custom directories |
| memory/, skills/, knowledge/, learnings/ | Your code repositories |
| Managed by agents + sync system | Managed by you |
| Standardized format | Any format you want |
Open Mode
Users can disable the reserved structure entirely by settingmode: "open" in HUB.yaml. In Open Mode, all reserved files and directories become optional. The workspace becomes raw OpenClaw with no template constraints.
Toggling back to Guided or Power mode re-scaffolds any missing reserved files without overwriting existing ones.
Next Steps
Customizing Templates
Edit SOUL.md, AGENTS.md, skills, model routing, and more
Guardrails & Safety
Control what your agent can do autonomously
Templates
Browse templates that seed this file structure
Hub File Format Reference
Full HUB.yaml specification reference