npx claudepluginhub jieliapp/jieli-pluginsSync Claude Code sessions to Jieli threads and attach Jieli thread trailers to Claude-created commits.
Plugins for syncing AI coding sessions to Jieli.
Run these in your shell:
claude plugin marketplace add jieliapp/plugins
claude plugin install jieli@jieliapp
Run these in your shell:
codex plugin marketplace add jieliapp/plugins
codex plugin add jieli@jieliapp
Then enable the plugin and trust its hooks with /hooks.
Run in your shell to install directly from this repository:
agy plugin install https://github.com/jieliapp/jieli-plugins/tree/main/plugins/antigravity
For marketplace / archive distribution, .antigravity-plugin/marketplace.json points to the deterministic bundle dist/jieli-antigravity.zip (rebuilt via npm run build:antigravity). Validate locally with:
agy plugin validate ./plugins/antigravity --strict
agy plugin validate ./dist/jieli-antigravity.zip --strict
Codex title synchronization uses the installed codex app-server API (verified
with Codex 0.165.0). Keep codex on your PATH, including on Windows; no separate
sqlite3 installation is needed. Codex resolves its own database configuration.
If metadata cannot be read, synchronization reports an error instead of replacing
the stored title with a transcript message.
Both plugins use https://jieli.app by default. Get an API key from Jieli, or from your own Jieli instance if you self-host. For a self-hosted instance, set the base URL to its full access address, including https:// or http://, and use an API key created on that same instance.
You can set environment variables before starting Claude Code or Codex:
export JIELI_API_KEY="your-jieli-api-key"
# Optional; defaults to https://jieli.app. Change this for self-hosted Jieli.
export JIELI_BASE_URL="https://jieli.app"
Recommended for both Claude Code and Codex: write this file, which works even after the agent is already running:
Path: ~/.config/jieli/settings.json
{
"api_key": "your-jieli-api-key",
"base_url": "https://jieli.app",
"commit_trailer": true
}
base_url is optional and defaults to https://jieli.app. For self-hosted Jieli, replace it with your instance's URL, such as https://jieli.example.com. JIELI_BASE_URL takes precedence over this setting.
commit_trailer is optional and defaults to true. Set it to false to disable the automatic Jieli-Thread trailer added by the PreToolUse hook.
With Node.js 22.15+, run npm run sync from this repository, or download and run the standalone script without cloning:
curl -fsSLo jieli-sync.mjs https://jieli.app/jieli-sync.mjs && node jieli-sync.mjs
Both commands upload existing Claude Code and Codex sessions using the configuration above, prompting for missing settings; use --help for options (npm run sync -- --help in this repository).
agy) sessions to Jieli threads.Jieli-Thread trailers to simple Claude Code, Codex, and Antigravity git commit commands.jieli-read-thread skill for reading known Jieli thread links or ids.jieli-find-thread skill for searching synced Jieli threads by keywords, repo, file, topic, or clues.handoff skill for creating a paste-ready continuation prompt for a fresh agent, including the current Jieli thread id and URL when available.Secrets are redacted locally before anything is uploaded. Each match is replaced
with a typed marker like [REDACTED:openai-api-key], so the conversation stays
readable while the secret value is gone.
Covered: vendor API keys and tokens, private keys, JWTs, Bearer headers,
credentials in connection URLs, and sensitive KEY=value assignments in
env/JSON/YAML. Base64 image data is left intact.
This is best-effort pattern matching, not a guarantee. See the patterns in
plugins/*/scripts/jieli_node.mjs (covered by make test).
make test
make validate
Thanks to the LINUX DO community for its support.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.