setup

setup is a skill for Claude Code from awrshift/agent-memory-kit. It costs 148 tokens per session (4,091 once invoked), scanned B, original, MIT.

A repository setup guide for Memory Kit, a system that stores useful project and session context for future work.

In plain words
What is it for?
Use it to inspect a repository, create memory-related folders and files when approved, coordinate with Claude Code's built-in memory, and set permission rules.
Why use it?
It helps add the system safely without overwriting existing repository files or assuming unanswered preferences.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the memory-kit plugin — 10 skills, 9 agents, 4 hooks shipped together

Good fit Use it to inspect a repository, create memory-related folders and files when approved, coordinate with Claude Code's built-in memory, and set permission rules.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add awrshift/agent-memory-kit
Claude Code
/plugin install memory-kit

Made for: Claude Code.

Or install memory-kit, the plugin that ships this one along with the rest of its 10 skills, 9 agents, 4 hooks.

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 setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/setup/github.svg)](https://agentmods.dev/skills/awrshift/agent-memory-kit/setup)
Your own site
<a href="https://agentmods.dev/skills/awrshift/agent-memory-kit/setup"><img src="https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/setup/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 setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/awrshift/agent-memory-kit/setup"><img src="https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,091 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00148 $0.04091
Opus 5.5 $0.00059 $0.01636
Sonnet 5.5 $0.00030 $0.00818
Haiku 4.5 $0.00015 $0.00409

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

Security

Grade B, and why

setup scanned grade B with 2 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 18d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

[ -f "$HOOK" ] || HOOK=$(find ~/.claude/plugins -path '*memory-kit*' -name session-start.py | head -1)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

docker, curl or an interpreter (`Bash(git *)`, `Bash(node *)`, `Bash(python3 *)`, `Bash(*)`):
plugins/memory-kit/skills/setup/SKILL.md · 246 lines

How it starts

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

/memory-kit:setup — adopt the kit in an existing repository

The plugin ships behaviour; the repository owns the state. This skill creates that state — always asking before the first write, and never touching files the repo already has.

Running without a user who can answer (a headless or -p run)? Then "offer" means skip and report: take the documented default where one exists, install nothing that the skill marks as opt-in, and finish with a list of what was deliberately not installed and what question is still open. Never invent a preference on the user's behalf and never present a skipped step as done.

Step 0 — look before you write

Report in two lines what already exists: .claude/memory/MEMORY.md, context/handoffs/, knowledge/, projects/, an existing documentation home (docs/, doc/, documentation/), .claude/settings.json, .gitignore, and whether this repo already holds work of its own — code, or documents other than a bare README (a real project) — or is effectively empty (a fresh memory workspace). Being a git repo decides nothing; content does. Everything after this is a proposal the user confirms once, not a sequence of prompts.

Step 1 — the shared memory layers

These four are shared across every project in the repo. Create only what is missing, copying from ${CLAUDE_PLUGIN_ROOT}/templates/:

Path From Purpose
.claude/memory/MEMORY.md templates/MEMORY-TEMPLATE.md the hot cache the hook injects every session
context/handoffs/HANDOFF-TEMPLATE.md templates/HANDOFF-TEMPLATE.md the per-session note format
knowledge/index.md templates/workspace/knowledge-index.md the catalog of deep memory
knowledge/concepts/.gitkeep — where promoted patterns land
.claude/state/.gitkeep — hook bookkeeping (gitignored)

Step 1b — the project layer (projects/<name>/)

The four layers above hold MEMORY. The work's own documents — tasks, specs, research, decisions, QA — belong to a PROJECT, and the kit is multi-project by design: one folder per client or product, so that a decision ledger, a findings registry and a QA protocol each count and describe exactly ONE thing. This applies to a single-product code repository too — it simply has one project folder, named after the product. Without it, specs, backlogs and research have no home and scatter into the repo root.

Read the full file on GitHub · 246 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. 18d ago Changed · +16 lines · +29 tokens per session d4216c076e6a
  2. 1mo ago Changed · -14 lines fd95c4e571cb
  3. 1mo ago Changed 42d6c9a2e960
  4. 2mo ago Changed 587c3c3b80b6
  5. 2mo ago Changed · +33 lines · +26 tokens per session scan D → B 57296888c814
  6. 2mo ago Changed · +3 lines 63a8bf8e08c2
  7. 2mo ago Changed · +6 lines 09ab345c0477
  8. 3mo ago First seen · 202 lines · 93 tokens per session scan D 9d3639499ca1

Subscribe to this mod's changes

setup is a skill published in the GitHub repository awrshift/agent-memory-kit (33 stars, last pushed 17d ago), licensed MIT. It adds 148 tokens to every session and 4,091 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

setup compared with skills from other repositories

setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setupawrshift/agent-memory-kitSkill3317d agoMITB148Claude Code
aictxoldskultxo/aictxSkill595mo agoMITA48Claude Code
kayba-acekayba-ai/agentic-context-engineSkill2.6k2mo agoApache-2.0A0Claude Code, Codex
savealivecontext/aliveSkill13213d agoMITA76Claude Code
capture-contextalivecontext/aliveSkill13213d agoMITA72Claude Code
session-historyalivecontext/aliveSkill13213d agoMITA74Claude Code
load-contextalivecontext/aliveSkill13213d agoMITA79Claude Code