# Elephant

> Elephant is an open-source agent skill for developer tools. Adds persistent team memory, changelog and README commands to your coding agent. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tonone-ai/elephant/tree/main/skills/elephant
- **Repository:** https://github.com/tonone-ai/elephant
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** elephant
- **Collection:** https://github.com/tonone-ai/elephant
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Elephant is a set of slash commands that keep a running memory file in a repository and a cross-session copy in the user's home directory. Entries record a timestamp, a short compressed note and the author derived from git config, and older routine entries can be merged to keep the file small. A takeover command seeds memory from recent git history, or from the current session when the repo has no commits yet.

The skill also covers release housekeeping. It can scan the repo for every file holding a version string, record them in a registry that a push guard checks, generate or update a Keep a Changelog file with a suggested semver bump, and sync version numbers across manifests. A readme command drafts or refreshes a README from git history, package metadata and existing memory.

It relies on shell tools such as git, jq and date, and the agent needs Read, Write, Edit, Bash and a question prompt. The skill is written for Claude Code and ships as a plugin with an update command that pulls the latest version from GitHub.

## When your agent uses it

> Persistent memory commands. /elephant save <text> — write entry. /elephant save !! <text> — write important entry. /elephant show — print memory. /elephant compact — compress old entries. /elephant takeover [N] — seed memory from git history (cold start bootstrap). /elephant version-scan — discover all version sources and save registry (blocks push on drift). /elephant changelog — generate/update CHANGELOG.md with version management. /elephant readme — generate/update README.md from repo context. /elephant update — pull latest elephant from GitHub and install.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tonone-ai/elephant/tree/HEAD/skills/elephant)
- [Asks for: Read, Write, Edit, Bash, AskUserQuestion](https://github.com/tonone-ai/elephant/blob/HEAD/skills/elephant/SKILL.md)
- [License: MIT](https://github.com/tonone-ai/elephant/tree/HEAD/skills/elephant)

## Features

- **Persistent memory entries:** Saves timestamped notes to a repo memory file and a global copy, with important entries kept from compression.
- **Git history bootstrap:** Seeds memory from recent commits, skipping merge and version-bump noise, or from the session in a fresh repo.
- **Memory compaction:** Merges routine entries older than seven days into daily lines while leaving important ones untouched.
- **Version source registry:** Finds every file that stores a version string and saves a registry that a push guard can check for drift.
- **Changelog generation:** Builds a Keep a Changelog section from commits and suggests a major, minor or patch bump.
- **README drafting:** Creates or updates a README from git history, package metadata and existing changelog context.

## Good for

- Save an important architecture decision to the team memory file
- Seed memory from the last 100 commits of an existing project
- Compact memory entries older than a week
- Check that all version strings in the repo agree before pushing
- Generate a changelog section for the next release
- Draft a README for a repository that lacks one

## Install

### Claude Code

This skill ships in the `elephant` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tonone-ai/elephant
/plugin install elephant@elephant
```

Or copy only this skill to `~/.claude/skills/elephant`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonone-ai/elephant.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/elephant &&
cp -R "$tmp/skills/elephant" ~/.claude/skills/elephant &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/elephant` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/elephant` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonone-ai/elephant.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/elephant &&
cp -R "$tmp/skills/elephant" ~/.agents/skills/elephant &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/elephant` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/elephant` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonone-ai/elephant.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/elephant &&
cp -R "$tmp/skills/elephant" ~/.cursor/skills/elephant &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/elephant` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tonone-ai/elephant.git --path skills/elephant
```

Or copy the folder to `~/.gemini/skills/elephant` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/elephant`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonone-ai/elephant.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/elephant &&
cp -R "$tmp/skills/elephant" ~/.copilot/skills/elephant &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/elephant` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tonone-ai/elephant.git
```

Then copy `elephant/skills/elephant` into your agent's skills folder as `elephant`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs git, jq and a shell with date available, and it uses the Read, Write, Edit, Bash and AskUserQuestion tools.

### Where is memory stored?

Team memory goes in ELEPHANT.md at the repo root, meant to be committed, and a cross-repo copy goes in ~/.claude/elephant/memory.md outside any repository.

### How does the author of an entry get set?

It takes the part of git config user.email before the at sign, falling back to the first word of user.name or the USER variable.

### Which clients does Elephant support?

The listing is built for Claude Code and ships as a Claude Code plugin marketplace entry, with an update command that reinstalls it there.

### How do I install Elephant in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/elephant to use it in all your projects, or to .claude/skills/elephant in one project. Or install the elephant plugin, which includes it: /plugin marketplace add tonone-ai/elephant, then /plugin install elephant@elephant.

### Does Elephant run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Elephant?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Elephant?

The closest alternatives to Elephant are Autonomous agent harness, Agentic os, Nemo rl session memory, Recoil and Recall.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Autonomous agent harness](https://ai-powered.com/skills/autonomous-agent-harness): Autonomous agent harness is an open-source agent skill for developer tools.
- [Agentic os](https://ai-powered.com/skills/agentic-os-smartworldarafath): Agentic os is an open-source agent skill for developer tools.
- [Nemo rl session memory](https://ai-powered.com/skills/nemo-rl-session-memory): Nemo rl session memory is an open-source agent skill for knowledge and memory.
- [Recoil](https://ai-powered.com/skills/recoil): Recoil is an open-source agent skill for developer tools.
- [Recall](https://ai-powered.com/skills/recall-michael-denyer): Recall is an open-source agent skill for developer tools.
- [Core](https://ai-powered.com/skills/core-arjunrajlaboratory): Core is an open-source agent skill for developer tools.
- [Ck](https://ai-powered.com/skills/ck): Ck is an open-source agent skill for developer tools.
- [Git](https://ai-powered.com/skills/git-jasgujral): Git is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/elephant
