# Agent log

> Agent log is an open-source agent skill for knowledge and memory. Keeps a shared decision journal in .agents/log so agents remember why choices were made. 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/denysdovhan/skills/tree/main/skills/agent-log
- **Repository:** https://github.com/denysdovhan/skills
- **GitHub stars:** 21
- **License:** MIT
- **Skill name:** agent-log
- **Collection:** https://github.com/denysdovhan/skills
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-01

## About

Agent Log gives an agent a version-controlled decision journal stored in .agents/log, with an index.md table and one markdown entry per feature or standalone decision. Entries record the background, the problem, clarifying questions and answers, the chosen design, rejected alternatives, an implementation plan, a verification checklist and dated implementation notes. The aim is to capture the reasoning that code and git history cannot show.

The workflow has the agent read the index and any entries whose related paths or keywords overlap the request before planning or changing code, surfacing relevant prior decisions first. It asks clarifying questions before designing significant features, drafts a wip entry once a plan is approved, and keeps that entry updated while work continues. Finalizing to done happens only when the user explicitly asks, and finalized entries are not edited afterward; later changes get a new linked entry.

The skill works with plain file reading and editing, and it uses rg for searching the log when it grows large. It ships no scripts. It only creates .agents/log when the user explicitly asks for an agent log.

## When your agent uses it

> Use this skill to maintain an agent log in .agents/log, a decision journal shared by the developer and agents. Trigger when the user explicitly asks to use agent-log or record/update an agent log entry; when planning, implementing, or finalizing a significant feature in a repo with an existing .agents/log; or before non-trivial changes or questions in areas covered by existing entries. Never initialize .agents/log unless the user explicitly asks for an agent log.

## What it can access

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

- [Instructions only, no scripts](https://github.com/denysdovhan/skills/tree/HEAD/skills/agent-log)
- [Includes binary files](https://github.com/denysdovhan/skills/tree/HEAD/skills/agent-log)
- [License: MIT](https://github.com/denysdovhan/skills/tree/HEAD/skills/agent-log)

## Features

- **Decision journal entries:** Structured markdown entries cover background, problem, decision, tradeoffs and verification for each feature.
- **Index maintenance:** A sorted index.md table lists entries by date, name and status and is updated as entries change.
- **Recall before writing:** The agent reads related prior entries by path and keyword before planning or making non-trivial changes.
- **Wip and done lifecycle:** Entries stay work-in-progress while a feature is active and are frozen only after explicit user finalization.
- **Conflict handling:** Requests that contradict a finalized decision are surfaced to the user and recorded as a new linked entry.
- **Explicit initialization only:** The log folder is created only when the user asks for an agent log, never on plan approval alone.

## Good for

- Record the design decisions behind a new feature in the repo's agent log
- Check whether a past decision in .agents/log already covers the area I'm about to change
- Update an in-progress feature entry with a revised approach after review feedback
- Finalize a feature's log entry and mark its verification checklist
- Explain why the current behavior exists by citing the relevant log entry

## Install

### Claude Code

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

```sh
/plugin marketplace add denysdovhan/skills
/plugin install dd-skills@dd-skills
```

Or copy only this skill to `~/.claude/skills/agent-log`:

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

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

### Codex

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

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

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

### Cursor

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

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

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

Or copy the folder to `~/.gemini/skills/agent-log` yourself.

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/denysdovhan/skills.git
```

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

## FAQ

### When does the skill trigger?

It triggers when the user asks to use agent-log or record an entry, when planning or finalizing a significant feature in a repo with an existing .agents/log, or before non-trivial changes in areas covered by existing entries.

### Will Agent log create a .agents/log folder on its own?

No. It initializes .agents/log only when the user explicitly asks for an agent log, and plan approval alone does not create it.

### Can the agent mark an entry done whenever tests pass?

No. Entries are finalized only when the user explicitly says the feature is finished or asks to finalize the entry.

### Does Agent log need any scripts or extra tools?

It ships no scripts. It relies on the agent's normal file reading and editing, and suggests rg for searching large logs.

### How do I install Agent log in Claude Code?

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

### Does Agent log 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 Agent log?

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 Agent log?

The closest alternatives to Agent log are Decision log, Desk journal, Memory sync, Context and decisions and Memory review.

## Where this comes from

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

## Alternatives

- [Decision log](https://ai-powered.com/skills/decision-log-berkcangumusisik): Decision log is an open-source agent skill for developer tools.
- [Desk journal](https://ai-powered.com/skills/desk-journal): Desk journal is an open-source agent skill for knowledge and memory.
- [Memory sync](https://ai-powered.com/skills/memory-sync): Memory sync is an open-source agent skill for knowledge and memory.
- [Context and decisions](https://ai-powered.com/skills/context-and-decisions): Context and decisions is an open-source agent skill for knowledge and memory.
- [Memory review](https://ai-powered.com/skills/memory-review): Memory review is an open-source agent skill for knowledge and memory.
- [Ljg relationship](https://ai-powered.com/skills/ljg-relationship): Ljg relationship is an open-source agent skill for knowledge and memory.
- [Learn](https://ai-powered.com/skills/learn): Learn is an open-source agent skill for knowledge and memory.
- [Wiki agents md](https://ai-powered.com/skills/wiki-agents-md): Wiki agents md is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/agent-log
