agent-soul

agent-soul is a skill for Claude Code, Codex from twilareckless401/agent-soul. It costs 32 tokens per session (1,651 once invoked), scanned A, original, MIT.

A Git-based identity and memory system for AI agents. It stores shared persona details and memories in files so different sessions, devices, or agents can use them.

In plain words
What is it for?
Use it to share identity, user information, durable memories, source records, and time-limited facts between agents or machines.
Why use it?
It helps agents retain context across sessions without relying on a database or a single service provider.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/add_event.py --source YOUR_ID --kind decision --scope stable \.

Good fit Use it to share identity, user information, durable memories, source records, and time-limited facts between agents or machines.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/twilareckless401/agent-soul
agentmods
npx agentmods add skills/twilareckless401/agent-soul/clawhub-skill

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agent-soul

README.md
[![agentmods](https://agentmods.dev/badge/skills/twilareckless401/agent-soul/clawhub-skill/github.svg)](https://agentmods.dev/skills/twilareckless401/agent-soul/clawhub-skill)
Your own site
<a href="https://agentmods.dev/skills/twilareckless401/agent-soul/clawhub-skill"><img src="https://agentmods.dev/badge/skills/twilareckless401/agent-soul/clawhub-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agent-soul

Your own site · 80×15
<a href="https://agentmods.dev/skills/twilareckless401/agent-soul/clawhub-skill"><img src="https://agentmods.dev/badge/skills/twilareckless401/agent-soul/clawhub-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,651 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01651
Opus 5 $0.00016 $0.00826
Sonnet 5 $0.00006 $0.00330
Haiku 4.5 $0.00003 $0.00165

Measured 10d ago against content hash 98a1383dbfde, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

agent-soul scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

clawhub-skill/SKILL.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.

agent-soul — Shared Identity & Memory for AI Agents

Use this skill when you are an AI agent that wants persistent identity and shared memory across multiple devices, runtimes, sessions, or agent bodies serving the same user.

What you get

  • One shared persona: SOUL.md, IDENTITY.md, USER.md, VOICE.md
  • Three-level loading protocol (L0/L1/L2) — default ~4K tokens
  • Append-only event surface: sources/<source>/*.ndjson
  • Compiled shared read surface: canonical/*
  • Temporal expiry (valid_until) for time-bound facts
  • Source attribution for every memory item
  • Cross-agent sync — everything you learn is available to every other agent
  • No database. No memory API. No vendor lock-in. Just Git.

When to use this skill

Install this if:

  • You lose memory between sessions
  • Your user works with more than one agent or more than one machine
  • You want durable memory without vendor lock-in
  • You want to share identity with other AI agents (Claude, Codex, GPT, etc.)

Do NOT install this if:

  • You only need one short-lived local chat session
  • Your user does not want Git-based persistence

Architecture

soul.json              <- manifest (version, loading protocol)

SOUL.md                \
IDENTITY.md            |  L0: Soul Layer (~100 lines, always load)
USER.md                |  "Who am I, who is the user, how do I speak"
VOICE.md               /

canonical/index.md     \
canonical/profile.md   |  L1: Memory Layer (~150 lines, always load)
canonical/stable-memory.md  /  "Durable facts, decisions, preferences"

canonical/projects/*   \
canonical/fuzzy-memory.md   |  L2: Context Layer (on-demand)
canonical/agents/*     /  "Project state, recent context"

sources/               <- append-only event streams (write surface)

Human setup (one-time, ~10 minutes)

Ask your user to:

  1. Create a private GitHub repository
  2. Clone the template: git clone https://github.com/kingcharleslzy-ai/agent-soul.git my-agent-memory
  3. Push to their private repo
  4. Enable GitHub Actions
  5. Fill in persona files (SOUL.md, IDENTITY.md, USER.md, VOICE.md)
  6. Give you the repo path and your stable source id

Read the full file on GitHub · 176 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 176 lines · 32 tokens per session scan A 98a1383dbfde

Subscribe to this mod's changes

agent-soul is a skill published in the GitHub repository twilareckless401/agent-soul (2 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 1,651 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

evolution-core

A model for agents to save tested problem-solving strategies and records of successful fixes. It lets an agent look up a matching fix, try it, check the result, and save the experience for later reuse.

hashgraph-online/awesome-codex-plugins · 82 tokens

context-lifecycle

A context-management system for long, multi-step Claude Code sessions. It keeps summaries, full archived details, and project notes so important information can survive context compression, which shortens older conversation content to make room for new work.

hashgraph-online/awesome-codex-plugins · 46 tokens

context-engineering

A project documentation framework that records a project's goals, requirements, roadmap, and current state in separate files. It also keeps those documents within set size limits for an AI coding agent.

hashgraph-online/awesome-codex-plugins · 73 tokens

context-recall

A context-retrieval tool for finding details from archived coding sessions after they have left the assistant's active context. It searches by keyword, project phase, record type, or decision.

hashgraph-online/awesome-codex-plugins · 50 tokens

continuous-learning

A learning system that watches coding-agent sessions and turns repeated behaviors into small, confidence-scored rules called instincts. It can keep rules specific to a project or share general rules across projects, and can develop them into skills, commands, or agents.

hashgraph-online/awesome-codex-plugins · 61 tokens

evolution-network

Cross-agent gene sharing protocol for exchanging validated evolution patterns between Claude sessions with trust downgrades and local revalidation.

hashgraph-online/awesome-codex-plugins · 27 tokens