# Setup

> Setup is an open-source agent skill for developer tools. Sets up a repo's memory layers, permission rails and practice adoption for Claude Code. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/awrshift/agent-memory-kit/tree/main/plugins/memory-kit/skills/setup
- **Repository:** https://github.com/awrshift/agent-memory-kit
- **GitHub stars:** 33
- **License:** MIT
- **Skill name:** setup
- **Collection:** https://github.com/awrshift/agent-memory-kit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill adopts the Memory Kit inside an existing repository. It scaffolds a shared memory structure with a hot cache file, handoff notes, a knowledge index and a per-project folder with a README and backlog, copying from the plugin's templates and only creating files that are missing. Before writing anything it inspects the repo for existing memory files, documentation folders and settings, and it asks the user to choose how the kit coexists with Claude Code's built-in auto memory.

The skill also proposes permission rails for the repository. It builds deny rules for environment files that actually exist, ask rules for outbound GitHub and Docker actions, and warns against broad allow rules. A separate mode sorts the kit's recommended practices into take, adapt or skip for an upgraded repo. Every write is shown as a diff and confirmed first, and in headless runs the skill reports what it would have done instead of acting.

The setup finishes by running the session hook manually to check that the new memory file appears in the injected context, then points the user to the end-of-day closing command.

## When your agent uses it

> Adopt the Memory Kit in THIS repository — scaffold the memory layers, decide how the kit coexists with Claude Code's native auto memory, and install safe permission rails (`/memory-kit:setup rails` re-runs only the rails step on an adopted repo; `/memory-kit:setup adopt` after an upgrade sorts the kit's practices into take / adapt / skip). Use when the user says "/memory-kit:setup", "/memory-kit:setup rails", "/memory-kit:setup adopt", "set up the memory kit", "adopt the kit here", "настрой кит", or when a session starts in a repo where the kit plugin is installed but no .claude/memory/MEMORY.md exists.

## What it can access

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

- [Instructions only, no scripts](https://github.com/awrshift/agent-memory-kit/tree/HEAD/plugins/memory-kit/skills/setup)
- [Asks for: Read, Glob, Grep](https://github.com/awrshift/agent-memory-kit/blob/HEAD/plugins/memory-kit/skills/setup/SKILL.md)
- [License: MIT](https://github.com/awrshift/agent-memory-kit/tree/HEAD/plugins/memory-kit/skills/setup)

## Features

- **Memory layer scaffolding:** Creates the hot cache, handoff template, knowledge index and concept folder only where they are missing.
- **Project folder setup:** Adds a per-project README with a document map and a backlog, and respects an existing docs folder.
- **Auto memory decision:** Asks whether the kit or Claude Code's native auto memory owns the memory file, and records the choice.
- **Permission rails:** Proposes deny and ask rules for existing env files and risky GitHub or Docker commands.
- **Adoption sorting:** Walks the kit's practices and marks each as take, adapt or skip for the current repository.
- **Hook verification:** Runs the session start hook to confirm the new memory content would reach the agent.

## Good for

- Set up the memory kit in a fresh repository
- Add permission rails that block reading .env files
- Decide whether auto memory or the kit owns session notes
- Sort the kit's practices after upgrading the plugin
- Create a project folder with a backlog for a new product

## Install

### Claude Code

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

```sh
/plugin marketplace add awrshift/agent-memory-kit
/plugin install memory-kit@memory-kit
```

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

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/setup` 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/awrshift/agent-memory-kit.git --path plugins/memory-kit/skills/setup
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git
```

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

## FAQ

### What triggers Setup?

Phrases such as /memory-kit:setup, set up the memory kit or adopt the kit here, and sessions started in a repo that has the kit plugin but no .claude/memory/MEMORY.md.

### Does Setup overwrite existing files?

No. It creates only missing files, merges settings and .gitignore, and shows the diff before writing.

### What does the rails step change?

It proposes deny rules for env files present in the repo root and ask rules for GitHub and Docker actions, after asking for confirmation.

### Does Setup need any tools or scripts?

The skill itself is limited to Read, Glob and Grep and ships no scripts. It runs the plugin's session hook with python3 during verification.

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

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

### Does Setup 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 Setup?

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 Setup?

The closest alternatives to Setup are Autonomous agent harness, Setup repo skills, Core, Setup matt pocock skills and Elephant.

## 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.
- [Setup repo skills](https://ai-powered.com/skills/setup-repo-skills): Setup repo skills 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.
- [Setup matt pocock skills](https://ai-powered.com/skills/setup-matt-pocock-skills): Setup matt pocock skills 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.
- [Scaffold init](https://ai-powered.com/skills/scaffold-init): Scaffold init 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.
- [Codebase onboarding](https://ai-powered.com/skills/codebase-onboarding): Codebase onboarding is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/setup-awrshift
