/knowledge-and-memory:cloning-projectfrom knowledge-and-memory
Exports a Claude.ai workspace's custom instructions and uploaded knowledge files into a portable bundle for backup, migration, or re-import.
Ships in knowledge-and-memory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
When users request to clone, copy, export, or backup their current project:
"Project" here is a Claude.ai workspace, never a code repository. The word collides badly, so route by what is actually being copied:
| Situation | Use |
|---|---|
| Clone or fetch a git repo | accessing-github-repos |
| "I just cloned this, what is it?" | exploring-codebases |
| What a codebase contains or exposes | tree-sitting |
| Back up a repo's files | git, not this |
This skill reads the Claude.ai workspace you are talking in. It touches no checkout and knows nothing about code.
Check if the user is in a project by looking for project-specific indicators:
<available_skills> or similar sectionsIf not in a project, inform the user that this skill requires being inside a Claude project.
Project instructions are typically found in the context window as XML or markdown content describing the project's purpose and configuration. Extract and save these instructions to a file.
Create the instructions file:
cat > /home/claude/project-instructions.md << 'INSTRUCTIONS'
[Extracted project instructions content]
INSTRUCTIONS
Knowledge files are user-uploaded documents stored in /mnt/user-data/uploads/. List all files:
ls -lh /mnt/user-data/uploads/
If knowledge files exist, copy them to the working directory for bundling:
cp /mnt/user-data/uploads/* /home/claude/project-export/
If only project instructions exist (no knowledge files):
cp /home/claude/project-instructions.md /mnt/user-data/outputs/
If project has both instructions and knowledge files:
mkdir -p /home/claude/project-export
cp /home/claude/project-instructions.md /home/claude/project-export/
cp /mnt/user-data/uploads/* /home/claude/project-export/ 2>/dev/null || true
cd /home/claude
zip -r /mnt/user-data/outputs/project-export.zip project-export/
unzip -l /mnt/user-data/outputs/project-export.zip
Link the exported files:
For single instructions file:
[Download project-instructions.md](computer:///mnt/user-data/outputs/project-instructions.md)
For bundled export:
[Download project-export.zip](computer:///mnt/user-data/outputs/project-export.zip)
Then provide clear setup instructions:
## How to Import Into a New Project
1. **Create a new Claude project** (or open an existing one where you want to clone this configuration)
2. **Add project instructions:**
- Open the new project's settings
- Navigate to the "Instructions" section
- Copy and paste the content from `project-instructions.md`
- Save the instructions
3. **Upload knowledge files** (if applicable):
- In the new project, go to the "Knowledge" section
- Upload all files from the export (except project-instructions.md)
- Files will become available as project knowledge
Your project is now cloned with the same configuration and knowledge base.
Empty project (no custom instructions or knowledge):
Large knowledge bases:
Corrupted or inaccessible files:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub oaustegard/claude-skills --plugin knowledge-and-memory9 skills in this plugin
/asking-questionsGuidance for asking clarifying questions when user requests are ambiguous, have multiple valid approaches, or require critical decisions. Use when implementation choices exist that could significantly affect outcomes./bm25Ranked content search over a text corpus you point it at, using BM25 (via xhluca/bm25s). Corpus-agnostic: cloned repos, project knowledge stores, uploaded files and archives, any local directory. In-memory BM25 index per invocation, with a session-local disk cache for repeat runs against the same corpus. Use for "rank these documents", "search this corpus", "which files are most about X", "find content about Y", or any multi-word concept query against a known body of text where grep would return everything or nothing. Needs a corpus on disk. Not for searching stored memories or prior-session decisions (remembering), not for a named symbol or a file's structure (tree-sitting), and not for a literal string you could grep./creating-kbBuilds a portable, embedding-free knowledgebase from a set of files and delivers it as a self-contained `.skill` bundle (BM25 index + bundled searcher + query protocol). Use when a user wants to turn uploaded files, a folder, or a corpus into a searchable knowledgebase they can hand to any agent — phrased as "make a knowledgebase", "build a KB skill", "package these docs for retrieval", "create a searchable bundle", or references to a `.skill` KB. The output runs anywhere with Node or Python — no model, no install, no network. Distinct from `bm25` (ephemeral in-session search) and `building-github-index` (markdown project-knowledge index)./iteratingMulti-conversation methodology for iterative stateful work with context accumulation. Use when users request work that spans multiple sessions (research, debugging, refactoring, feature development), need to build on past progress, explicitly mention iterative work, work logs, project knowledge, or cross-conversation learning./mapping-documentsGenerate navigable semantic maps from PDF documents. Extracts section structure via font analysis, then runs LLM extraction per section for claims, symbols, and dependencies — all page-anchored. Produces _MAP.md (progressive disclosure), .symbols.json (definition index), .anchors.json (claim references), and a _USAGE.md snippet for CLAUDE.md. Use when analyzing papers, specs, or legal docs; when asked to "map this document", "index this PDF", "what does this paper say"; or when a coding agent needs grounded reference material from a PDF source. Analogous to tree-sitting but for prose documents./session-memoryMaintains a structured running-notes document during long work sessions. Use when the user says "session notes", "update notes", "start session notes", "show session notes", or when you recognize the current session has accumulated enough state (decisions, corrections, files touched, errors) that it risks being lost under context pressure. Stores notes as a procedure memory tagged [session-memory, active] so they survive container death within the same session thread.Other plugins' skills for the same job