--- license: gpl-3.0 pretty_name: "relic - portable AI personality & memory, in pure Markdown" language: - en - zh tags: - agent-skill - agent-skills - claude-skill - claude-code - skill - agentskills - prompt-engineering task_categories: - text-generation size_categories: - n<1K viewer: false --- > **relic** - Portable AI personality and memory in pure Markdown. Switch hosts, keep the soul. Zero dependencies. > > **Mirrored in three places, same version everywhere:** > [Hugging Face](https://huggingface.co/datasets/LucioLiu/relic) (you are here) Β· [GitLab](https://gitlab.com/LucioLiu/relic) Β· [GitHub](https://github.com/LucioLiu/relic) > > **Get the files** - GitLab is the most reliable plain-git route: > > ```bash > git clone https://gitlab.com/LucioLiu/relic.git > > # or from this page > hf download LucioLiu/relic --repo-type dataset --local-dir ./relic > ``` > > Then drop the folder into your agent's skills directory - `~/.claude/skills/relic/` for Claude Code, `~/.agents/skills/relic/` for Codex, or your client's equivalent. > > *Note: links to github.com inside the text below point to the GitHub mirror; if one does not resolve, use the GitLab mirror above - it carries the same content.* > > **Licence: GPL-3.0** - the `LICENSE` file in this repo is authoritative. --- # πŸ‘€ Relic β€” AI Soul Chip (For Humans) > **πŸ€– Are you an AI Agent?** β†’ This file is not for you. Read [`AGENT.md`](AGENT.md) **Read this in:** English | [δΈ­ζ–‡](README.zh-CN.md) ``` ╔═══════════════════════════════════════════════╗ β•‘ RELICβ„’ BIOCHIP v1.3.2 β•‘ β•‘ Zero deps Β· Pure files Β· Human-readable β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ``` **Relic gives your AI a persistent soul that works across all AI tools.** Personality, memories, skills, and project knowledge β€” all stored in plain text files. Works with OpenClaw, Claude Code, Hermes, Cursor, Aider, or any AI that can read files. No code, no installation, no dependencies. > πŸ’‘ Inspired by the Relic biochip from *Cyberpunk 2077* β€” store a soul as a digital file, plug it into any host. --- # πŸ‘€ Relic β€” AI Soul Chip (For Humans) > **πŸ€– Are you an AI Agent?** β†’ This file is not for you. Read [`AGENT.md`](AGENT.md) **Read this in:** English | [δΈ­ζ–‡](README.zh-CN.md) ``` ╔═══════════════════════════════════════════════╗ β•‘ RELICβ„’ BIOCHIP v1.3.2 β•‘ β•‘ Zero deps Β· Pure files Β· Human-readable β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• ``` **Relic gives your AI a persistent soul that works across all AI tools.** Personality, memories, skills, and project knowledge β€” all stored in plain text files. Works with Hermes, Claude Code, Cursor, OpenClaw, Codex, or any AI that can read files. No code, no installation, no dependencies. > πŸ’‘ Inspired by the Relic biochip from *Cyberpunk 2077* β€” store a soul as a digital file, plug it into any host. > **Part of a bigger stack.** Relic carries *one* agent's soul across tools. Want a whole ready-to-run AI team, or to generate new agents? See [agent-modpack](https://github.com/LucioLiu/agent-modpack) (download-and-go team), [nomad](https://github.com/LucioLiu/nomad) (workspace), or [nuwa](https://github.com/LucioLiu/nuwa) (agent generator). --- ## What does it do? **Every time you switch AI tools, you have to teach your AI who you are all over again.** OpenClaw knows one version of you, Hermes knows another. **Relic fixes this.** One folder of text files. All your AI tools share the same soul and memories. No cloud service, no API β€” just Markdown files on your computer. ## What's inside (all in the `brain/` folder) - `SOUL.md` β€” Your AI's personality, values, and mission - `USER.md` β€” Your preferences, habits, and communication style - `MEMORY.md` β€” Structured long-term memory (preferences, decisions, experiences β€” extracted knowledge, not raw chat) - `SKILLS/` β€” Reusable skills and workflows your AI has learned - `PROJECTS/` β€” Documents for ongoing or completed plans - `SESSIONS/` β€” Full raw conversation transcripts with the user (preserved forever) - `ARCHIVE/` β€” Archived memories when files get too long (originals never deleted) --- ## πŸš€ Setup Guide ### How do you want to set up? - 🀝 **"Let my AI do it"** (recommended) β†’ Read on below - βœ‹ **"I'll do it myself"** β†’ Jump to [`docs/manual-setup.md`](docs/manual-setup.md) ### Step 1: Download Relic **If you know how to use a terminal:** ``` git clone https://github.com/LucioLiu/relic.git ~/relic ``` **Otherwise:** [Download ZIP](https://github.com/LucioLiu/relic/archive/refs/heads/main.zip), extract it, put it somewhere stable (like your home folder). Don't use Downloads or Desktop. ### Step 2: Tell Your Best AI Agent to Set It Up Open the AI tool that **knows you best**. Then say: > "Read `AGENT.md` and import everything you know about me into Relic." Your AI will walk you through the rest. Wait for it to fully complete before connecting other tools. ### Step 3: Connect Your Other AI Tools, One at a Time For each additional AI tool, tell it: > "Read `AGENT.md` and set up Relic for me." The AI will automatically determine the scenario: if Relic is empty it performs a full import; if Relic already has data it performs an injection (reads the soul, syncs memories, plants anchor). **Verify each one**: Ask "What's my AI's name? What's my name?" β€” both must match. ### Step 4: Done! πŸŽ‰ Every session from now on starts automatically. Your AI tools share a soul, memories sync bidirectionally. --- ## πŸ”Œ Which AI Tool Are You Using? | AI Tool | How to Connect | |---------|---------------| | OpenClaw | `examples/integrations/openclaw.md` | | Hermes | `examples/integrations/hermes.md` | | Claude Code | `examples/integrations/generic.md` | | Cursor | `examples/integrations/generic.md` | | Other | `examples/integrations/generic.md` | --- ## πŸ›‘οΈ Safety - SOUL.md & USER.md: Core fields protected β€” AI can never delete them - MEMORY.md: Append only β€” AI can never edit old entries - SESSIONS/: Raw conversations never deleted - Sensitive info: AI asks before recording passwords, phone numbers, etc. - All data stays local β€” nothing uploaded anywhere - **Known limitation**: Skill files may not be directly portable across platforms due to different tool formats. Relic syncs skill descriptions, not platform-specific implementations. --- ## πŸ“– More - [Manual Setup Guide](docs/manual-setup.md) - [Troubleshooting](docs/TROUBLESHOOTING.md) - [Full Protocol Reference](docs/protocol.md) (for AI agents, but curious humans welcome) ## πŸ“œ License GPL v3 Β· Created by [LucioLiu](https://github.com/LucioLiu) Β· Source: [GitHub](https://github.com/LucioLiu/relic) --- *Welcome to Relic.*