manipulate-elements

manipulate-elements is a skill for Claude Code from Utopia5327/claude-plugin-for-revit-bim. It costs 137 tokens per session (1,317 once invoked), scanned A, original, MIT.

A Dynamo Python skill for changing elements in Revit, software used to design and document buildings. It can move, rotate, copy, delete, or change the types of model elements.

In plain words
What is it for?
Use it for batch-editing Revit elements, swapping families or types, applying geometric transformations, and running controlled model changes from Dynamo.
Why use it?
It helps automate repetitive model edits while prompting users to make a backup and test changes before modifying a full project.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the revit-bim plugin — 25 skills, 3 agents, 2 hooks shipped together

Good fit Use it for batch-editing Revit elements, swapping families or types, applying geometric…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/utopia5327/claude-plugin-for-revit-bim/manipulate-elements
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.

Any agent
npx skills add Utopia5327/claude-plugin-for-revit-bim --skill manipulate-elements
Clone the repo
git clone --depth 1 https://github.com/Utopia5327/claude-plugin-for-revit-bim

Made for: Claude Code.

Or install revit-bim, the plugin that ships this one along with the rest of its 25 skills, 3 agents, 2 hooks.

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 manipulate-elements

README.md
[![agentmods](https://agentmods.dev/badge/skills/utopia5327/claude-plugin-for-revit-bim/manipulate-elements.svg)](https://agentmods.dev/skills/utopia5327/claude-plugin-for-revit-bim/manipulate-elements)
Your own site
<a href="https://agentmods.dev/skills/utopia5327/claude-plugin-for-revit-bim/manipulate-elements"><img src="https://agentmods.dev/badge/skills/utopia5327/claude-plugin-for-revit-bim/manipulate-elements.svg" alt="Measured on agentmods" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,317 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.00137 $0.01317
Opus 5 $0.00068 $0.00659
Sonnet 5 $0.00027 $0.00263
Haiku 4.5 $0.00014 $0.00132

Measured 6d ago against content hash ebd166d055df, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

manipulate-elements 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 6d 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.

skills/manipulate-elements/SKILL.md · 154 lines

How it starts

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

Manipulate Revit Elements

Perform the following action on Revit elements:

"$ARGUMENTS"

Before scripting

Important: always warn the user — this type of script modifies the model. Recommend:

  1. Save a local backup first (Save As → make a copy)
  2. Test on a small set of elements before running on the whole model
  3. Ctrl+Z works in Revit after Dynamo runs — but only if the transaction closed cleanly

Clarify:

  • Which elements? Collect by category, or receive from an upstream Dynamo node?
  • What transformation? Move (vector), rotate (axis + angle), change type (new type ID), etc.
  • How are elements passed in? As Dynamo-wrapped objects (from nodes) or native Revit elements?

Element modification template

import clr
clr.AddReference('RevitServices')
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *

# Unwrap Dynamo-wrapped elements to native Revit elements
clr.AddReference('RevitNodes')
import Revit
clr.ImportExtensions(Revit.Elements)

doc = DocumentManager.Instance.CurrentDBDocument

# IN[0] = list of elements from upstream Dynamo node
elements = IN[0] if isinstance(IN[0], list) else [IN[0]]

modified = []
errors   = []

TransactionManager.Instance.EnsureInTransaction(doc)
try:
    for el in elements:
        # Unwrap if element came from a Dynamo node
        revit_el = el.InternalElement if hasattr(el, 'InternalElement') else el

        # ── Your modification here ───────────────────────────────────────────
        # Example A: Move element 1m in the X direction
        # translation = XYZ(3.28084, 0, 0)  # 1 metre in X (Revit uses feet)
        # ElementTransformUtils.MoveElement(doc, revit_el.Id, translation)

        # Example B: Change element type
        # new_type_id = ElementId(123456)  # get from a Type Collector node
        # revit_el.ChangeTypeId(new_type_id)

        # Example C: Rotate 90° around element's Z axis
        # from Autodesk.Revit.DB import Line
        # origin = revit_el.Location.Point
        # axis   = Line.CreateBound(origin, origin + XYZ.BasisZ)
        # import math
        # ElementTransformUtils.RotateElement(doc, revit_el.Id, axis, math.pi / 2)

        modified.append(revit_el.Id.IntegerValue)

    TransactionManager.Instance.TransactionTaskDone()

except Exception as e:
    TransactionManager.Instance.ForceCloseTransaction()
    errors.append(str(e))

OUT = [modified, errors]

Read the full file on GitHub · 154 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. 6d ago First seen · 154 lines · 137 tokens per session scan A ebd166d055df

Subscribe to this mod's changes

manipulate-elements is a skill published in the GitHub repository Utopia5327/claude-plugin-for-revit-bim (6 stars, last pushed 6mo ago), licensed MIT. It adds 137 tokens to every session and 1,317 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens