Getting started

Quickstart

Get forgein running with Claude Code in under 10 minutes. By the end your context will be synced to the cloud and available to Claude Code and all other adapters.

⏱ ~10 minutes·Prerequisites: macOS or Linux, Claude Code installed
1

Create a free account

1 min

Go to app.forgein.ai/signup and sign up. No credit card required. The free plan includes Work context, all 7 adapters, and 3 memory projects.

Once logged in, create an API token — you'll need it in step 3.

https://app.forgein.ai/tokens → New token → name it "cli"
Copy the token now — it won't be shown again. It starts with fg_.
2

Install the forgein CLI

30 sec

One command installs the /forgein slash command into Claude Code:

curl -fsSL https://app.forgein.ai/cli/install | bash

This writes ~/.claude/commands/forgein.md — the skill file Claude Code uses to run /forgein. No PATH changes, no config files.

3

Authenticate the CLI

1 min

Open Claude Code (any project) and run:

/forgein auth

Paste the API token you created in step 1 when prompted. The CLI stores it at ~/.config/forgein/token.

4

Add your first memory file

3 min

Memory files are Markdown files in ~/.forgein/work/ (or synced from a repo). Start simple:

cat > ~/.forgein/work/stack.md << 'EOF'
# Tech stack

- Language: TypeScript / Node.js
- Framework: Next.js 15 App Router
- Database: Postgres + Drizzle ORM
- AI: Claude Code + forgein context
EOF

You can also write memory files from the dashboard at app.forgein.ai/memory.

5

Sync to cloud

30 sec

Push your local memory files to the forgein cloud so they're available to all adapters:

/forgein mem sync

This uploads your memory files and makes them available to all 7 adapters — Claude Code, ChatGPT, Copilot, Cursor, Windsurf, Gemini, and MCP. Run it any time you update your memories.

6

Verify it's working

1 min

Still in Claude Code, run:

/forgein who

You'll see a summary of what Claude currently knows about you — the files loaded, the active context, and the last sync time. If your stack file from step 4 is listed, you're done.

Your memories are now synced to the cloud. Run /forgein mem sync any time you update them to keep all adapters current.

What's next

💬Connect ChatGPT

Generate Custom Instructions from your forgein context.

Cursor + MCP

Live context in Cursor via the forgein MCP server.

GitHub Copilot

Write copilot-instructions.md from your memory.

{ }API reference

All endpoints, webhooks, and SDK docs.

Contexts

Separate Work, Home, and Family memory.

Skills

Install community skills or create private ones.