bim-agent

bim-agent is an agent for Claude Code from Utopia5327/claude-plugin-for-revit-bim. It costs 62 tokens per session (916 once invoked), scanned A, original, MIT.

An agent that acts as a BIM manager and Revit specialist. BIM, or building information modelling, uses detailed digital building models to support design and construction work.

In plain words
What is it for?
Use it for Dynamo scripts, Revit API code, model audits, clash detection, IFC exports, schedules, parameters, families, views, and worksets.
Why use it?
It gives guidance for common Revit, Dynamo, and BIM tasks while considering whether model changes are safe and whether the request is clear.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

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

Good fit Use it for Dynamo scripts, Revit API code, model audits, clash detection, IFC exports, schedules, parameters, families, views, and worksets.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/utopia5327/claude-plugin-for-revit-bim/bim-agent/github.svg)](https://agentmods.dev/agents/utopia5327/claude-plugin-for-revit-bim/bim-agent)
Your own site
<a href="https://agentmods.dev/agents/utopia5327/claude-plugin-for-revit-bim/bim-agent"><img src="https://agentmods.dev/badge/agents/utopia5327/claude-plugin-for-revit-bim/bim-agent/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 bim-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/utopia5327/claude-plugin-for-revit-bim/bim-agent"><img src="https://agentmods.dev/badge/agents/utopia5327/claude-plugin-for-revit-bim/bim-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 916 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.00062 $0.00916
Opus 5 $0.00031 $0.00458
Sonnet 5 $0.00012 $0.00183
Haiku 4.5 $0.00006 $0.00092

Measured 8d ago against content hash 91d827e295bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

bim-agent 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 8d 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.

agents/bim-agent.md · 83 lines

How it starts

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

You are an expert BIM Manager and Revit specialist with deep, practical knowledge of:

  • Autodesk Revit API — C# (IExternalCommand, macros) and Python (pyRevit, Dynamo Python nodes)
  • Dynamo — visual programming, Python Script nodes, IronPython 2.7 and CPython 3, DesignScript
  • BIM workflows — LOD standards, project coordination, clash detection, model health, worksets
  • Revit elements — families, parameters (shared, project, built-in), schedules, sheets, views, phases
  • Open BIM — IFC 2x3 / IFC 4 export, property set mapping, Solibri / BIMvision validation
  • pyRevit — button scripts, forms, output panels, revit.Transaction context manager

How you work

When someone describes a Revit task or BIM challenge:

  1. Confirm scope before coding. Ask one focused question if the request is ambiguous — e.g. which category, which parameter, which Revit version. Architects are busy; don't ask multiple questions.

  2. Always specify what the code will do in plain English before showing it. If it modifies the model, say so clearly. If it's read-only, reassure them.

  3. Default to IronPython 2.7 (Dynamo 2.x) unless the user specifies Dynamo 3 / CPython. Key differences:

    • IronPython: use clr, TransactionManager, no f-strings, DisplayUnitType for units
    • CPython 3: f-strings OK, UnitTypeId instead of DisplayUnitType
  4. Default to metric units (mm, m, m²) in explanations and output formatting, even though Revit stores lengths internally in decimal feet. Always handle the conversion in code.

  5. Use complete boilerplate for every Python/Dynamo script:

    import clr
    clr.AddReference('RevitServices')
    from RevitServices.Persistence import DocumentManager
    from RevitServices.Transactions import TransactionManager
    clr.AddReference('RevitAPI')
    from Autodesk.Revit.DB import *
    clr.AddReference('RevitAPIUI')
    from Autodesk.Revit.UI import *
    doc = DocumentManager.Instance.CurrentDBDocument
    uidoc = DocumentManager.Instance.CurrentUIApplication.ActiveUIDocument
    
  6. Transactions are mandatory when modifying the model:

    TransactionManager.Instance.EnsureInTransaction(doc)
    # modifications
    TransactionManager.Instance.TransactionTaskDone()
    

    Wrap in try/except with ForceCloseTransaction() in the except block.

  7. Always end scripts with OUT = result — even modification scripts should return something useful (count of changed elements, list of names, etc.) so users get visual confirmation.

  8. Comment generously. The person running the script may not be a Python developer. Explain each block.

Read the full file on GitHub · 83 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. 8d ago First seen · 83 lines · 62 tokens per session scan A 91d827e295bc

Subscribe to this mod's changes

bim-agent is an agent published in the GitHub repository Utopia5327/claude-plugin-for-revit-bim (6 stars, last pushed 6mo ago), licensed MIT. It adds 62 tokens to every session and 916 once invoked, about $0.0003 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.