/cortex:importfrom cortex
Bring existing notes and files into the cortex - keeps the originals, converts them to pages in the inbox, and proposes where each one belongs on the sorting desk. Use when the person says "bring in this folder", "import my OneNote", "import my notes", "add this deck", "bring in these PDFs", "load my old notes", "here is my export", or drops files or a folder to add to the cortex.
Ships in cortex. 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.
None: SKILL.md is the whole skill.
Bring files in without losing anything. Each file is filed only after the person confirms where it goes, on the sorting desk.
Below, cortex means python3 ~/.cortex/engine/scripts/cortex.py. The vault path is in ~/.cortex/config.json.
Ask for the file or folder path if none was given. List what you found: how many files of each type, and the total size. Confirm before copying more than about 50 files or 200 MB.
OneNote for Mac has no full-notebook export to plain files. Offer the reliable routes, in this order:
.md file. This works for a few important pages.Recommend route 1 for anything important. Never claim a one-click OneNote import exists.
Copy every file unchanged to sources/<yyyy-mm>/ in the vault, using this month's year and month.
-2, -3 and so on.Large audio or video recordings (over about 50 MB) stay out of git. Copy them into sources/ only if the person agrees, and add their paths to .gitignore. Otherwise, record where they live on disk in the note.
For each source file, write one markdown file into inbox/, named <yyyy-mm-dd>-<short-slug>.md. Use these conversions:
| File | How |
|---|---|
.md, .txt | Use the text as is |
.html, .htm | textutil -convert txt -stdout "<file>" |
.docx, .doc, .rtf | textutil -convert txt -stdout "<file>" |
.pdf | Read it with the Read tool and write the text, keeping headings and lists |
.pptx | Extract slide text with the standard library (below); for complex slides, describe each slide's text in order |
.vtt, .srt | Drop timestamps, keep speakers; better: hand it to the debrief skill instead |
| images | Read with the Read tool and write a short description plus any visible text |
pptx text extraction (standard library only):
python3 - "<file.pptx>" <<'PY'
import sys, zipfile, re
z = zipfile.ZipFile(sys.argv[1])
slides = sorted([n for n in z.namelist() if re.match(r"ppt/slides/slide\d+\.xml$", n)],
key=lambda n: int(re.findall(r"\d+", n)[-1]))
for i, n in enumerate(slides, 1):
text = re.findall(r"<a:t>([^<]*)</a:t>", z.read(n).decode("utf-8", "ignore"))
print(f"## Slide {i}\n" + "\n".join(t for t in text if t.strip()) + "\n")
PY
Each inbox note gets this frontmatter:
---
id: note-inbox-<slug>
title: <a clear title from the content>
type: note
status: draft
created: <today>
updated: <today>
sources: [sources/<yyyy-mm>/<file>]
summary: <one sentence on what this is>
---
Below the frontmatter goes the converted text. Never summarise the text away, because the full content must survive.
_cortex/index.md for the existing areas, things, people and organisations, and kit.yaml for the person's areas and collection words.NEW: <name> when it clearly needs one. Say plainly that it is new.note;meeting if it is meeting notes;_cortex/sorting-desk.md. Append rows if the desk already has some, and continue the numbering:# Sorting desk
Proposals waiting for your decision. Nothing here is filed until you confirm.
| # | Inbox file | Title | Area | Thing | Type | Tags | Links | Confidence | Why |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | inbox/2026-10-12-northfield-plan.md | Northfield pilot plan | acme | NEW: northfield-pilot | note | pilot-site, launch | person-sam-lee | medium | Mentions the Northfield center and the 14 Oct announcement |
sources/ files, the inbox/ notes and the desk, by name. Never use git add ..End with one or two plain sentences. For example: "I kept your original files untouched in sources, so every page can always point back to where it came from. Nothing is filed until you confirm on the sorting desk."
If kit.yaml has teach: short, use one sentence.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thehimanshushukla/personal-cortex --plugin cortexOther plugins' skills for the same job
16 skills in this plugin
/boardOpen the person's board and inbox in the browser - their to-dos and follow-ups in columns (Overdue, This week, Later, In progress, Waiting on others, Done) and the notes waiting to be filed. Use when the person says "show my board", "open my board", "my board", "open the inbox", "show me the overdue ones on the board", or the card says "say 'show my board'"./build-skillBuild an improvement the person approved - a new skill, a standing rule, a page template, a scheduled job, or an automatic action - grounded in their real examples and started on a 30-day trial. Use after a "yes" to a Suggest proposal, or when the person says "make this a skill", "turn this into a skill", "automate this", "always do this from now on", "make a template for this", or "do this every Friday"./