Skip to main content
TinyCloud app manifests declare what an app needs at install and sign-in time. Agent-readable app knowledge explains what those resources mean after the app is installed. Ship the two together:
Small apps should keep this flat. Add nested directories only when a category is large enough that a single file becomes hard to scan. Use the manifest to point to the knowledge bundle:
knowledge: true means the default root is knowledge/index.md. Use a string when the root differs:
The manifest remains the runtime declaration. The knowledge bundle is the operational map for humans and agents.

Required File

Every bundle starts with knowledge/index.md:
The index should be useful by itself. Do not make it a table of contents that forces agents to open several files before understanding the app.

Category Files

Use category files only when the app uses that category.
FilePurpose
resources.mdOne-page summary of all TinyCloud data surfaces.
sql.mdSQLite databases, tables, schema notes, and mutation rules.
kv.mdKV prefixes, value shapes, and lifecycle rules.
secrets.mdSecret references, consumers, rotation, and failure behavior.
operations.mdInstall, migration, repair, and agent operating notes.
For a single SQLite database, prefer sql.md. Use sql/index.md only when the app has multiple independent databases or a large schema. For schema setup, document the migration path and required tinycloud.sql/schema capability. See SQL Schema and Migrations.

Resource Sections

Each resource section should stay concise:
SQL files should also say whether tables are canonical data or rebuildable indexes. Rebuildable tables should name the source of truth.

Secrets

Document secret references, never secret values:

Tooling

TinyCloud app-kit owns schemas, examples, guides, and app-authoring skills: TinyCloudLabs/tinycloud-app-kit. The docs explain the contract; app-kit artifacts make it executable.