memory-init
Skill8 starsChanged 9 months agoMITView on GitHub
Bootstrap the project memory by scanning the codebase. Reads key project files (CLAUDE.md, README, package.json, directory structure, CI configs, git history) and creates an initial memory base. Run once when first installing the plugin on a project, or to refresh the baseline.
- Reads credentials
6 other projects use a version of this.
Adopted by
Most recently taken up by
- haraldalder-vibemogger/project-memorytheir own version, first seen Sep 26, 2026
- dmzoneill/skillstheir own version, first seen Sep 3, 2026
- flc1125/skillstheir own version, first seen Aug 12, 2026
- yunshu0909/yunshu_skillshubtheir own version, first seen Aug 10, 2026
- vasilievyakov/miracle-infrastructuretheir own version, first seen Feb 22, 2026
- spudy-vibing/Claude-Code-Promptstheir own version, first seen Feb 4, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- yunshu0909/yunshu_skillshub★ 764same name
- flc1125/skills★ 35same name
- vasilievyakov/miracle-infrastructure★ 17same name
- dmzoneill/skills★ 2same name
- haraldalder-vibemogger/project-memory★ 2same name
- spudy-vibing/Claude-Code-Prompts★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- memory-maintainSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Look for and read:
- Distinctive: line 34
Run a directory listing (top 2-3 levels) and analyze the layout.
- Very specific: line 94
After creating all memories, link related items using memory_relate:
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Project Memory Bootstrap
Scan the current project and populate the memory with foundational knowledge. This gives Claude an informed starting point instead of beginning from scratch.
Discovery Steps
Perform these steps in order. For each step, read the relevant files, extract key information, and store it using memory_store or memory_store_batch.
1. Project Identity
Look for and read:
CLAUDE.md,.claude/CLAUDE.md,.claude/settings.jsonREADME.md,READMEpackage.json,Cargo.toml,pyproject.toml,go.mod,Gemfile,pom.xml,build.gradle
Store as semantic memories with titles:
- Project name and description
- Programming language(s) and framework(s)
- Key dependencies and their purposes
- Version requirements
2. Project Structure
Run a directory listing (top 2-3 levels) and analyze the layout.
Store as semantic memories with titles:
- High-level architecture (monorepo, monolith, microservices, etc.)
- Key directories and their purposes
- Entry points and main modules
3. Build, Test & Run
Look for and read:
package.jsonscripts sectionMakefile,Taskfile.yml,justfileDockerfile,docker-compose.yml- CI configs:
.github/workflows/,.gitlab-ci.yml,Jenkinsfile
Store as procedural memories:
- How to install dependencies
- How to build the project
- How to run tests
- How to start the dev server
- How to deploy (if CI config is present)
4. Conventions & Patterns
Look for and read:
CLAUDE.md(coding conventions, rules).eslintrc,.prettierrc,biome.json,ruff.tomltsconfig.json,.editorconfig.env.example,.env.template
Store as pattern memories with titles:
- Code style conventions (formatting, naming)
- Linting rules and their rationale
- Environment variables and their purposes
- TypeScript/compiler configuration choices
5. Architecture Decisions
Look for and read:
CLAUDE.md(architectural notes)docs/,ADR/,architecture/directories- README sections about architecture
Store as semantic memories with title and tag "decision":
- Technology choices and their rationale
- Design patterns used in the project
- Important constraints or trade-offs
6. Recent Activity
Check git history:
- Last 10-20 commits (messages and files changed)
- Active branches
Store as episodic memories:
- Summary of recent work and focus areas
- Active development areas
7. Create Relations
After creating all memories, link related items using memory_relate:
- Tech stack facts → architecture decisions (
implements) - Build procedures → project structure (
depends_on) - Conventions → tech stack (
derived_from) - Related facts → each other (
relates_to)
Guidelines
- Don't duplicate — Before storing, check with
memory_search. Update existing items instead of creating duplicates. - Be concise — Store essential facts, not raw file contents.
- Set appropriate scores:
- Project identity facts → importance 0.9
- Build/test procedures → importance 0.8
- Conventions and patterns → importance 0.8
- Recent activity → importance 0.5
- Tag consistently — Use tags like
tech-stack,build,deploy,testing,conventions,architecture,git-history. - Note the source — Set the
sourcefield to the file path where the information came from. - Respect focus — If the user specified a focus area, limit discovery to that area.
- Report results — At the end, summarize what was discovered and stored:
- Number of memories created (by type)
- Number of relations created
- Key findings and any gaps noticed
$ARGUMENTS
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

