import

import is a command for Claude Code from massdriver-cloud/claude-plugins. It costs 26 tokens per session (942 once invoked), scanned A, original, Apache-2.0.

A command that brings an existing cloud resource under Massdriver management or registers it for other components to reference. Massdriver is an infrastructure-management platform, and infrastructure as code means managing cloud resources through configuration rather than only by hand.

In plain words
What is it for?
Use it to import a resource into a new or existing reusable bundle, or register it without deploying, changing, or destroying it.
Why use it?
It avoids recreating resources that already exist and offers different ways to manage or reference them without changing them.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the massdriver plugin — 1 skill, 5 commands, 4 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to import a resource into a new or existing reusable bundle, or register it without deploying, changing, or destroying it.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/massdriver-cloud/claude-plugins/import
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.

Clone the repo
git clone --depth 1 https://github.com/massdriver-cloud/claude-plugins

Made for: Claude Code.

Or install massdriver, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 4 agents, 1 hook, 1 MCP server.

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/massdriver-cloud/claude-plugins/import/github.svg)](https://agentmods.dev/commands/massdriver-cloud/claude-plugins/import)
Your own site
<a href="https://agentmods.dev/commands/massdriver-cloud/claude-plugins/import"><img src="https://agentmods.dev/badge/commands/massdriver-cloud/claude-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/massdriver-cloud/claude-plugins/import"><img src="https://agentmods.dev/badge/commands/massdriver-cloud/claude-plugins/import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 942 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.00026 $0.00942
Opus 5.5 $0.00010 $0.00377
Sonnet 5.5 $0.00005 $0.00188
Haiku 4.5 $0.00003 $0.00094

Measured 19d ago against content hash baf62277ae8f, 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 19d 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.

massdriver/commands/import.md · 85 lines

How it starts

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

Import Existing Cloud Resource

Start the resource-import agent to bring a cloud resource that already exists — created by hand, by another IaC tool, or in another account — into Massdriver.

What This Does

The command asks how you want to import before spawning any agent, then the resource-import agent runs the matching workflow:

  1. New bundle (Path A) — Author a new reusable bundle whose IaC will manage the resource, publish it, add it as a component (MCP add_component), then import the live resource into that instance's state.
  2. Existing bundle (Path B) — Reuse a published bundle, create or pick an undeployed instance, then import into its state.
  3. Register resource only (Path C) — Create an imported Massdriver resource so other components can connect to it. Massdriver never deploys, changes, or destroys it. No IaC.

Paths A and B put the resource under Massdriver's IaC management; Path C only makes it referenceable on the canvas.

Bundles have to stay reusable, so adoption uses the imperative tofu import command against the instance's Massdriver-managed HTTP state backend — never import {} blocks, which would hardcode one cloud resource ID into source shared by every instance. The import runs locally; the plan runs in Massdriver's provisioner (MCP create_deployment with action: PLAN, read via get_deployment_logs), never tofu plan locally. The agent loops import → publish → update_instance → re-plan until the plan shows no changes, then proposes a PROVISION deployment with those exact params for a human to approve. Nothing deploys without that approval.

Unrelated to mass bundle import, which scans a bundle's IaC for variables not yet exposed as Massdriver params.

Usage

Describe the resource you want to import:

/massdriver:import existing production RDS Postgres instance created by hand
/massdriver:import legacy S3 bucket we manage in Terraform elsewhere — just need components to connect to it

Read the full file on GitHub · 85 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. 19d ago First seen · 85 lines · 26 tokens per session scan A baf62277ae8f

Subscribe to this mod's changes

import is a command published in the GitHub repository massdriver-cloud/claude-plugins (2 stars, last pushed 19d ago), licensed Apache-2.0. It adds 26 tokens to every session and 942 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-10-02.