← ClaudeAtlas

importlisted

Import local files (PDF, Word, PowerPoint, Excel, images, video, scripts) from a staging inbox folder or explicit path into structured markdown notes in the resources folder. Invoke when user mentions a local file path to bring into the vault, or runs /import or /import --attach. Do NOT use for: fetching content from a URL (use summarize), capturing a text idea (use capture), or processing a book already read (use reading-notes).
onebrain-ai/onebrain · ★ 10 · Data & Documents · score 77
Install: claude install-skill onebrain-ai/onebrain
# Import Process local files into permanent vault notes in `[resources_folder]/` (resolved from onebrain.yml; default: `04-resources/`). Usage: - `/import` : scan default import staging inbox (`[inbox_folder]/imports/`, resolved from onebrain.yml) - `/import /path/to/file` : import a single explicit file - `/import --attach` : scan inbox and copy supported files into vault for inline Obsidian preview - `/import /path/to/file --attach` : single file with attach --- ## Orchestrator Flow ### Step 1: Resolve source and parse flags Resolve additional folders from `onebrain.yml` (read the file if it exists at the vault root): - If `onebrain.yml` does not exist: use all defaults below. - If `onebrain.yml` exists but cannot be parsed: report the error and stop : do not proceed with unknown folder paths. - `folders.import_inbox` → default: `[inbox_folder]/imports` (import staging folder; substituting the resolved `[inbox_folder]` placeholder) - `folders.attachments` → default: `attachments` (for --attach copies) Use `[inbox_folder]` and `[resources_folder]` from session config. Store resolved `[attachments_folder]` from onebrain.yml above. Parse arguments: - Extract `--attach` flag if present (remove from path consideration) - If a file path is provided after `/import`: this is single-file mode - If no path: this is batch mode (scan inbox) **Single-file mode:** 1. Validate the file exists. If not, report and stop. 2. Determine file type from extension (see Supported File Type