engram-cloud-setup

Configures and enrolls projects with Engram Cloud, then repairs and syncs state.

Updated Aug 28, 2026
One-click install
npx skills add https://github.com/jhannka/php-skills --skill engram-cloud-setup-jhannka
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: engram-cloud-setup
Source: https://github.com/jhannka/php-skills/tree/main/skills/engram-cloud-setup
Command: npx skills add https://github.com/jhannka/php-skills --skill engram-cloud-setup-jhannka

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Onboarding a project to Engram Cloud involves a strict sequence of steps — server configuration, token setup, enrollment, legacy session-directory repair, diagnostics, upgrades, and sync — and doing them out of order or skipping the repair step leaves the project in a broken or inconsistent state. ## Core Features & Use Cases - Ordered Setup Workflow: Enforces the exact execution order: configure server, set ENGRAM_CLOUD_TOKEN, enroll project, run the repair script, run doctor, apply upgrade repairs, then sync. - Legacy Data Repair: Runs repair-missing-session-directory.sh with --apply --all to fix missing session directories and observation payload issues before syncing. - Diagnostics and Upgrade: Uses engram cloud upgrade doctor and repair to validate and fix the project before final cloud synchronization. - Use Case: You have an existing project with legacy Engram data and want it connected to the Engram Cloud server; this skill walks the agent through enrollment, repair, and sync without missing a step. ## Quick Start Ask the agent to configure and enroll your project with Engram Cloud and sync its state, providing your project name and cloud token.

Frequently Asked Questions about engram-cloud-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enroll a project with Engram Cloud?

Set the server with engram cloud config, export ENGRAM_CLOUD_TOKEN, then run engram cloud enroll <project_name>. After enrollment, run the repair script, doctor diagnostics, upgrade repair, and finally engram sync --cloud.

How to fix missing session directory errors in Engram?

Run the repair-missing-session-directory.sh script with bash using the --apply --all flags followed by the project name. This repairs legacy database inconsistencies before running cloud upgrade and sync.

What environment variable does Engram Cloud setup require?

The ENGRAM_CLOUD_TOKEN environment variable must be set in the terminal before enrollment. If it is missing, the setup will prompt for it or fail gracefully.

Why does Engram Cloud sync fail after enrollment?

Sync typically fails when steps run out of order or legacy data was not repaired first. Run the repair script, then engram cloud upgrade doctor and repair --apply, before attempting engram sync --cloud.

Can any project name be enrolled to Engram Cloud?

No, the project name must not be antigravity; the skill explicitly forbids enrolling or configuring a project with that name. All other project names follow the standard enrollment flow.