Plugins for syncing AI coding sessions to Jieli.
Add the marketplace in Claude Code:
/plugin marketplace add jieliapp/plugins
Install the plugin:
/plugin install claude-code@jieli
Then get an API key from https://jieli.app and configure it for Claude Code.
When Claude Code opens the plugin configuration screen, set:
Jieli API key = your-jieli-api-key
Reload plugins:
/reload-plugins
You can also set it through your shell environment before starting Claude Code:
export JIELI_API_KEY="your-jieli-api-key"For self-hosted Jieli, also set:
export JIELI_BASE_URL="https://your-jieli.example.com"Add the marketplace in Codex:
codex plugin marketplace add jieliapp/pluginsInstall the plugin:
codex plugin add codex@jieliThen enable the plugin and trust its hooks with /hooks.
Configure the API key. Recommended for Codex: write ~/.jieli/settings.json, which works even after Codex is already running:
mkdir -p ~/.jieli
python3 - <<'PY'
import json
from pathlib import Path
path = Path.home() / ".jieli/settings.json"
settings = {"api_key": "your-jieli-api-key", "base_url": "https://jieli.app"}
path.write_text(json.dumps(settings, indent=2) + "\n")
path.chmod(0o600)
PYFor self-hosted Jieli, set base_url to your deployment URL. You can also use environment variables before starting Codex:
export JIELI_API_KEY="your-jieli-api-key"
export JIELI_BASE_URL="https://your-jieli.example.com"- Syncs Claude Code sessions to Jieli threads.
- Syncs local Codex sessions to Jieli threads.
- Uploads pasted local images as Jieli attachments.
- Adds
Claude-Code-Thread-IDtrailers to Claude-created git commits. - Adds best-effort
Jieli-Threadtrailers to simple Codex-createdgit commitcommands. - Provides the
jieliskill for reading Jieli thread links from Claude Code. - Provides the
jieliskill for reading Jieli thread links from Codex. - Redacts common secrets before upload.
make test
make validate