Datasets:
File size: 7,404 Bytes
5d35922 75dbd19 5d35922 75dbd19 5d35922 75dbd19 5d35922 75dbd19 5d35922 75dbd19 5d35922 e80e3be 5d35922 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | ---
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.*
|