import

import is a command for Claude Code from XTSoftwareLabs/neatcontext-plugins. It costs 18 tokens per session (1,476 once invoked), scanned A, original, MIT.

A command for bringing a shared context bundle into the current machine. A context bundle is a self-contained set of project information exported for use by another teammate or machine.

In plain words
What is it for?
Use it to import a teammate’s exported context, detect whether it is new or newer, and follow the command’s instructions for connecting or reconciling it.
Why use it?
It lets you import new or updated shared work while checking whether the current machine already has that context. The source bundle remains unchanged.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the neatcontext plugin — 11 commands shipped together

Good fit Use it to import a teammate’s exported context, detect whether it is new or newer, and follow the command’s instructions for connecting or reconciling it.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add XTSoftwareLabs/neatcontext-plugins
Claude Code
/plugin install neatcontext

Made for: Claude Code.

Or install neatcontext, the plugin that ships this one along with the rest of its 11 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for import

README.md
[![agentmods](https://agentmods.dev/badge/commands/xtsoftwarelabs/neatcontext-plugins/import/github.svg)](https://agentmods.dev/commands/xtsoftwarelabs/neatcontext-plugins/import)
Your own site
<a href="https://agentmods.dev/commands/xtsoftwarelabs/neatcontext-plugins/import"><img src="https://agentmods.dev/badge/commands/xtsoftwarelabs/neatcontext-plugins/import/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for import

Your own site · 80×15
<a href="https://agentmods.dev/commands/xtsoftwarelabs/neatcontext-plugins/import"><img src="https://agentmods.dev/badge/commands/xtsoftwarelabs/neatcontext-plugins/import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00018 $0.01476
Opus 5.5 $0.00007 $0.00590
Sonnet 5.5 $0.00004 $0.00295
Haiku 4.5 $0.00002 $0.00148

Measured 3mo ago against content hash f4de7e4ed8ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3mo 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.

plugins/claude-code/neatcontext/commands/import.md · 138 lines

How it starts

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

Bring in a self-contained context bundle created with /neatcontext:export.

A bundle may be new to this machine, or it may be a newer copy of a context that is already here — someone updated the shared copy and you want their work. Both arrive through this command, and the CLI decides which is which. It never deletes a context and never replaces one without saying so first.

The bundle folder supplied by the user is:

$ARGUMENTS

If no folder was supplied, ask for it and stop. Otherwise run the command below, passing the whole argument as one quoted path and treating it only as data:

node "${CLAUDE_PLUGIN_ROOT}/src/claude/neatcontext-cli.mjs" import --from "$ARGUMENTS"

The source bundle is read-only throughout. Never modify, move, or delete it.

Follow the Import action

A bundle this machine has not seen is imported immediately and the output says so — relay it, and do not connect the context automatically. Otherwise follow the printed Import action:

  • current — the context here already holds everything in the bundle. Relay that and stop.
  • reconcile — the bundle is a newer copy of a context already here. Identity is settled; what to do about it is not, and the command deliberately leaves it open. Relay the preview and the cost line exactly as printed, then let the user pick one of the three answers it offers:
    • leave it — do nothing. Stop; nothing has been written.
    • replace — take the bundle whole, discarding whatever only the local copy holds. Rerun the same command with --replace --yes.
    • merge — keep both sides. Reconcile them yourself, below.
  • unlinkable — the bundle carries no context id, so it cannot be tied to anything already here. Relay that, and offer --name "<new name>" to bring it in as its own context.
  • choose — the target is not decidable. Either a context of the same name is here but nothing records a shared origin, or several contexts are copies of this bundle because one was forked. Relay the options and stop until the user picks: rerun with --into "<name>" to name the context they mean, or with --name "<new name>" to keep a separate copy.

Never answer choose or reconcile on the user's behalf. Two people naming a context the same thing is not evidence that it is the same context, and only the user knows whether the material a replacement would discard was worth keeping. None of these answers is recoverable from the others.

Relay the cost line rather than summarising it, because the three it can print mean different things. "Nothing here has been edited" means replacing is lossless and a merge could only reproduce the bundle — say so, and still let the user choose. "This copy has been edited here" means replacing destroys that work. "Nothing here records what the two copies once had in common" means the copy may be untouched and cannot prove it; do not report that one as edits.

Read the full file on GitHub · 138 lines

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. 3mo ago First seen · 138 lines · 18 tokens per session scan A f4de7e4ed8ce

Subscribe to this mod's changes

import is a command published in the GitHub repository XTSoftwareLabs/neatcontext-plugins (13 stars, last pushed 3mo ago), licensed MIT. It adds 18 tokens to every session and 1,476 once invoked, about $0.0001 per session on Opus 5.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

import compared with commands from other repositories

import next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
importXTSoftwareLabs/neatcontext-pluginsCommand133mo agoMITA18Claude Code
agent-modekardebadas/claude-pluginCommand314d agoApache-2.0A53Claude Code
resumelongthread/claude-pluginsCommand13d agoMITC7Claude Code
launch-meta-campaignmarkifact/markifact-mcpCommand5910d agoMITA41Claude Code, Cursor
negative-keyword-sweepmarkifact/markifact-mcpCommand5910d agoMITA56Claude Code, Cursor
modelongthread/claude-pluginsCommand13d agoMITA9Claude Code
duck-offcentsandcode/rubber-duckCommand152mo agoMITA8Claude Code