memory-import

memory-import is a skill for Claude Code, Codex from viknesh20-20/claude-code-tool-kit. It costs 55 tokens per session (1,022 once invoked), scanned A, original, MIT.

A tool for bringing documented memories from one project workspace into another. These memories can include project details, reference information, conventions, and known problems.

In plain words
What is it for?
Starting a similar project, reviewing code with patterns from another project, or joining a repository whose team conventions are documented elsewhere.
Why use it?
It helps a new project use useful context from an earlier project without copying the entire workspace. Imported information is marked with where it came from.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/viknesh20-20/claude-code-tool-kit/memory-import
Any agent
npx skills add viknesh20-20/claude-code-tool-kit --skill memory-import
Clone the repo
git clone --depth 1 https://github.com/viknesh20-20/claude-code-tool-kit

Made for: Claude Code, Codex.

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 memory-import

README.md
[![agentmods](https://agentmods.dev/badge/skills/viknesh20-20/claude-code-tool-kit/memory-import.svg)](https://agentmods.dev/skills/viknesh20-20/claude-code-tool-kit/memory-import)
Your own site
<a href="https://agentmods.dev/skills/viknesh20-20/claude-code-tool-kit/memory-import"><img src="https://agentmods.dev/badge/skills/viknesh20-20/claude-code-tool-kit/memory-import.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00055 $0.01022
Opus 5 $0.00028 $0.00511
Sonnet 5 $0.00011 $0.00204
Haiku 4.5 $0.00006 $0.00102

Measured 3d ago against content hash bf4bbb40a1ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

memory-import scanned grade A with 0 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/memory-import/SKILL.md · 86 lines

How it starts

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

/memory-import

Pull memories from another workspace into the current one. Useful when the user has built a previous app and wants its accumulated context — conventions, gotchas, references — to inform a new project.

When to use

  • Starting a new project that's similar to one the user already built.
  • Doing a code review on a project where the user wants you to reference patterns from another of their projects.
  • Onboarding to a new repo where the team's conventions are already documented in another workspace.

Operating method

  1. Validate the source path. Check that <path>/.claude/memory/MEMORY.md exists. If not, tell the user the source workspace doesn't have a memory layer (it may not have been initialized with this toolkit).

  2. Read the source's memory index and the files it references.

  3. Categorize what to import. For each memory:

    • Always copy project/ and reference/ (with provenance tag) — they're the most likely to inform the new project.
    • Ask before copying feedback/ — preferences from another project may not transfer ("no Tailwind in app A" doesn't mean "no Tailwind in app B"). Show the user the list and let them check/uncheck.
    • Ask before copying user/ — usually applies (it's about the user, not the project), but the user should confirm.
    • Skip handoffs/ — those are session-specific to the source workspace.
    • Skip inherited/ — don't transitively chain inherits. If the user wants those too, they can re-import from the original source.
  4. Show a preview. List the memories you intend to import, grouped by type. Ask: "Import these ?"

  5. Copy with provenance. Each imported memory gets:

    • Filename prefixed with the source workspace name: inherited/<source>-<original-filename>.md.
    • Frontmatter source-workspace: <path> added.
    • A header line in the body: > Imported from <source> on <date>. Treat as suggestive, not authoritative for the current project.
  6. Update the index. Add lines to .claude/memory/MEMORY.md under "Inherited (from other workspaces)."

Read the full file on GitHub · 86 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. 3d ago First seen · 86 lines · 55 tokens per session scan A bf4bbb40a1ea

Subscribe to this mod's changes

memory-import is a skill published in the GitHub repository viknesh20-20/claude-code-tool-kit (7 stars, last pushed 4mo ago), licensed MIT. It adds 55 tokens to every session and 1,022 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.