# Shiplog memory

> Shiplog memory is an open-source agent skill for developer tools. Keeps a git-tracked memory of settled project decisions and retired files for agents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/devallibus/shiplog/tree/master/skills/shiplog-memory
- **Repository:** https://github.com/devallibus/shiplog
- **GitHub stars:** 57
- **License:** MIT
- **Skill name:** shiplog-memory
- **Collection:** https://github.com/devallibus/shiplog
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill maintains a compact memory layer under docs/memory/ in a repository. An index file holds path fences for retired or unapproved files, global canon, and a topic routing table, while topic files hold domain-scoped canon linked back to GitHub issues or decision docs. Each entry carries a provenance link so agents can trace a ruling to its source without copying full discussion threads into the repo.

The bundled Node.js script, which has no dependencies and targets Node 18 or later, provides init, brief, delta, and check commands. Brief produces a compact summary of fences and canon for a given topic or set of paths, useful for fresh sessions or handing context to a worker that has no history. Delta compares recorded memory against recent GitHub activity, and check validates line limits, provenance, links and conflicts, with a strict mode for CI.

The skill is opt-in and works alongside the core shiplog companion. When that lifecycle hooks are enabled, a compact brief is injected at session start and drift is flagged before compaction.

## When your agent uses it

> Maintain a compact git-tracked Central Memory layer (docs/memory/) with path fences for retired or unapproved files, topic routing, live drift detection, and compact briefs for fresh sessions and zero-history workers.

## What it can access

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

- [Runs JavaScript scripts](https://github.com/devallibus/shiplog/tree/HEAD/skills/shiplog-memory)
- [No network calls found in its scripts](https://github.com/devallibus/shiplog/tree/HEAD/skills/shiplog-memory)
- [License: MIT](https://github.com/devallibus/shiplog/tree/HEAD/skills/shiplog-memory)

## Features

- **Path fences:** Marks retired or unapproved files so agents do not trust or revive them from disk.
- **Topic routing:** Organizes canon into topic files linked from a root index for targeted lookup.
- **Compact briefs:** Generates short context summaries for fresh sessions or zero-history workers.
- **Drift detection:** Compares memory against recent GitHub issue and decision activity to find stale entries.
- **Validation checks:** Verifies line budgets, provenance links, broken references and orphan topics in CI.
- **Provenance tracking:** Requires each memory entry to link back to an issue, comment, or decision document.

## Good for

- Brief a new session on settled project decisions before it starts editing
- Hand a sub-agent a summary that excludes retired scripts and unapproved artifacts
- Record a new architectural decision in the same pull request as the code change
- Check repository memory files for stale entries or broken links in CI
- Backfill project memory from existing closed issues and decision records

## Install

### Claude Code

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

```sh
/plugin marketplace add devallibus/shiplog
/plugin install shiplog@shiplog
```

Or copy only this skill to `~/.claude/skills/shiplog-memory`:

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/shiplog-memory` 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/devallibus/shiplog.git --path skills/shiplog-memory
```

Or copy the folder to `~/.gemini/skills/shiplog-memory` yourself.

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/devallibus/shiplog.git
```

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

## FAQ

### Does Shiplog memory need anything installed?

The script has zero dependencies and requires Node.js 18 or newer.

### Where is the memory stored?

In docs/memory/ inside the repository, with an index file and optional topic files, all tracked in git. Machine-local fences go in a gitignored .shiplog/local.md.

### When does Shiplog memory run automatically?

When the core shiplog lifecycle hooks for SessionStart, PreCompact and Stop are enabled, a compact brief is injected at startup and drift is flagged before compaction or turn end.

### Can Shiplog memory run in CI?

Yes, the check command can run in CI and exits with an error on budget, provenance, link or conflict problems; the --strict flag also fails on warnings.

### How do I install Shiplog memory in Claude Code?

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

### Does Shiplog memory run scripts?

Yes. It runs JavaScript scripts. No network calls were found in its 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 Shiplog memory?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Shiplog memory?

The closest alternatives to Shiplog memory are Shiplog, Shiplog trace, Core, Shiplog waves and Elephant.

## Where this comes from

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

## Alternatives

- [Shiplog](https://ai-powered.com/skills/shiplog-devallibus): Shiplog is an open-source agent skill for developer tools.
- [Shiplog trace](https://ai-powered.com/skills/shiplog-trace): Shiplog trace 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.
- [Shiplog waves](https://ai-powered.com/skills/shiplog-waves): Shiplog waves is an open-source agent skill for developer tools.
- [Elephant](https://ai-powered.com/skills/elephant): Elephant 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.
- [Shiplog review](https://ai-powered.com/skills/shiplog-review): Shiplog review is an open-source agent skill for developer tools.
- [Decision log](https://ai-powered.com/skills/decision-log-berkcangumusisik): Decision log is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/shiplog-memory
