import

A tool for turning local files into organized Markdown notes in a personal notes vault. It supports files such as PDFs, Word documents, spreadsheets, images, videos, and scripts.

In plain words
What is it for?
Use it to import files from a staging folder or a specified path into a resources folder, with optional copies for preview.
Why use it?
It avoids manually copying information from files into notes and keeps imported material in a consistent location. An optional attachment mode also copies supported files for inline preview.

Skill for Claude CodeCodex

Part of the onebrain plugin — 32 skills, 5 agents, 2 hooks shipped together

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/onebrain-ai/onebrain/import
Any agent
npx skills add onebrain-ai/onebrain --skill import
Clone the repo
git clone --depth 1 https://github.com/onebrain-ai/onebrain

Made for: Claude Code, Codex.

Or install onebrain, the plugin that ships this one along with the rest of its 32 skills, 5 agents, 2 hooks.

Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,201 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.00096 $0.03201
Opus 5 $0.00048 $0.01600
Sonnet 5 $0.00019 $0.00640
Haiku 4.5 $0.00010 $0.00320

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

Security

Grade A, and why

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/plugins/onebrain/skills/import/SKILL.md · 270 lines

How it starts

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

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 Types below).
  3. If unsupported type, report:

    [filename] is not a supported file type. Supported: PDF, Word, Excel, PowerPoint, images, video, Python/Shell/SQL scripts. Then stop.

  4. Note whether the file is inside the inbox folder (used in cleanup : files outside inbox are never deleted).
  5. Skip Steps 2 and 3 below. Go directly to Step 4 with this single file.

Batch mode:

  1. Use [inbox_folder] resolved in Step 1 above (default: [inbox_folder]/imports from onebrain.yml).
  2. List all files recursively in the inbox folder.
  3. If the inbox folder does not exist, report:

    Import inbox not found at [inbox path]. Run /onboarding to set up your vault, or use /import /path/to/file to import a specific file. Then stop.

  4. If inbox is empty, report: 🔴 Inbox is empty ([inbox path]). Add files or use /import /path/to/file. Then stop.

Read the full file on GitHub · 270 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 270 lines · 96 tokens per session scan A 5fafefceb548

Subscribe to this mod's changes

import is a skill published in the GitHub repository onebrain-ai/onebrain (25 stars, last pushed 5d ago), licensed Apache-2.0. It adds 96 tokens to every session and 3,201 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

youtube-fetcher

Turn a YouTube video into a structured, Obsidian-ready archival Markdown note containing its transcript, creator metadata, description, chapters, language, and capture provenance. Use when a user shares a YouTube URL or video ID and wants transcripts, captions, subtitles, notes, a knowledge-base record, summarization…

JimmySadek/youtube-fetcher-to-markdown · 102 tokens

mineru

An AI-Native skill for parsing PDF / Office / image files into clean Markdown with MinerU — a fast, zero-config document parser for AI agents. Works with NO token via the lightweight Agent API and auto-upgrades to the Standard API (token) for large files, batches, and DOCX/HTML/LaTeX export. Use when: (1) Converting…

Nebutra/MinerU-Skill · 137 tokens

mineru

An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents. Works with NO token via the Agent API and auto-upgrades to the Standard API (token) for large files, batches, and DOCX/HTML/LaTeX export. Use when converting PDF/Word/PPT/Excel/image…

Nebutra/MinerU-Skill · 96 tokens

ingest

Turn messy source notes into structured wiki pages (frontmatter, wikilinks, one folder per type) and update the vault's index, log and hot cache. Use when the user drops files into inbox/ and asks to process them, points at a note or URL to ingest, or pastes raw content to file. Triggers on: "ingest", "ingesta"…

sturlese/hippocampus · 110 tokens

save

File the current conversation's valuable content (analysis, decision, session summary) as a structured wiki note so it isn't lost in chat history. Triggers on: "save this", "guarda esto", "guárdalo en el wiki", "/save", "$save", "file this", "apunta esto", "guarda esta conversación", "save this session".

sturlese/hippocampus · 78 tokens

meeting-processing

Обработка встреч, расшифровок и заметок: извлечение решений, задач, фактов, рисков и устойчивых знаний с маршрутизацией по структуре хранилища. Перед регулярными встречами с историей использует context-compression, чтобы не читать весь архив встреч целиком.

dzhokhov/markdown-agent-vault-ru · 68 tokens