This guide walks through adding Sopify to an existing repository and using it with your preferred AI host.
Sopify adds resumable, traceable AI workflows to any project. After setup:
- Work pauses automatically when facts are missing or a decision needs you
- Work resumes from where it stopped — even on a different AI host
- Plans, decisions, and reviews persist as reusable project assets
- Git repository (local or remote)
- Python 3.11+
- An AI host: Copilot, Codex, or Claude
From your project root:
curl -fsSL https://github.com/evidentloop/sopify/releases/latest/download/install.sh | bash -s -- --target copilotThis creates:
| File | Purpose |
|---|---|
.sopify-skills/sopify.json |
Workspace marker — tells the host that Sopify is active |
.gitignore |
Managed block — excludes transient state from version control |
.github/copilot-instructions.md |
Copilot entry — project-level instruction for Copilot |
Skip Copilot files: Pass
--no-copilotwith--target copilotif you only want workspace markers.
Review the script before running:
curl -fsSL -o sopify-install.sh https://github.com/evidentloop/sopify/releases/latest/download/install.sh
less sopify-install.sh
bash sopify-install.sh --target copilotOr clone and run the Python entry point directly:
git clone https://github.com/evidentloop/sopify.git /tmp/sopify
python3 /tmp/sopify/scripts/sopify_init.py init --workspace .These hosts use a global prompt header. Install Sopify globally first, then bootstrap individual projects:
# Global install (one-time)
curl -fsSL https://github.com/evidentloop/sopify/releases/latest/download/install.sh | bash -s -- --target codex:en-US
# Workspace bootstrap (per project)
curl -fsSL https://github.com/evidentloop/sopify/releases/latest/download/install.sh | bash -s -- --target copilotAfter install, use ~go in your AI host to start a managed workflow.
Copilot discovers instructions via project-level files. The install command
writes .github/copilot-instructions.md automatically.
curl -fsSL https://github.com/evidentloop/sopify/releases/latest/download/install.sh | bash -s -- --target copilotCopilot reads project-level instruction files across its supported surfaces
(VS Code Chat, Copilot CLI, Cloud Agent, Code Review — as of May 2025).
Full trigger wiring (equivalent to Codex/Claude ~go) is coming in a future
release.
After bootstrap, check the workspace marker:
cat .sopify-skills/sopify.jsonExpected output:
{
"bundle_version": "2026-05-21.101226",
"capabilities": ["preferences_preload", "runtime_gate"],
"locator_mode": "global_first",
"schema_version": "1",
"workspace_kind": "external"
}Open your AI host in the project directory and describe what you want to do:
Fix the typo on line 42 in src/utils.ts
For managed workflows with planning and review:
~go Add user authentication with JWT
Note: These commands currently work in Codex and Claude. Copilot trigger wiring is coming in a future release — see Host-Specific Setup.
| Command | Description |
|---|---|
~go |
Automatically route and run the full workflow |
~go plan |
Plan only — analyze and produce a plan without executing |
~go finalize |
Close out the current plan |
Most users only need ~go.
As you work, Sopify creates project knowledge in .sopify-skills/:
.sopify-skills/
├── sopify.json # workspace marker (from bootstrap)
├── project.md # technical conventions (auto-created)
├── blueprint/ # design baseline
├── plan/ # active work packages
├── history/ # archived completed work
└── state/ # transient runtime state (git-ignored)
blueprint/,plan/,history/are tracked by git — they are your project memorystate/is transient and git-ignored — it holds runtime session data
Re-run the install command to update the workspace marker and instruction files:
curl -fsSL https://github.com/evidentloop/sopify/releases/latest/download/install.sh | bash -s -- --target copilotThe workspace bootstrap path is idempotent — it preserves existing settings and only updates what changed.
rm -rf .sopify-skills/
rm -f .github/copilot-instructions.mdThen remove the # BEGIN sopify-managed / # END sopify-managed block from
your .gitignore.
- How Sopify Works — workflow, checkpoints, directory structure
- External Repo Quickstart — minimal step-by-step demo
- Contributing — development and validation guidelines