Swpilotcli active doc info

From arthurle3210/SwpilotCLI · View interactive version

Swpilotcli active doc info is an AI agent skill from the GitHub repository arthurle3210/SwpilotCLI. Get information about the currently open SolidWorks document (part, assembly, or drawing). Use when you need to check document properties, file path, document type, or current state without modifying it.

How to use this skill

Skill file

SolidWorks Active Document Info

Get metadata and properties of the currently active SolidWorks document.

Prerequisites

What this Skill does

Retrieves detailed information about the active SolidWorks document, including:

When to use

Quick start

Run the tool:

dotnet run --project ./scripts/ActiveDocInfo.csproj

Expected output:

[Document Info]
File: C:\SolidWorks\Part001.sldprt
Type: Part
State: Saved
Modified: false
...

Examples

Example 1: Get basic document info

User: What file is currently open in SolidWorks?
Claude: I'll check the active document for you.

Run the tool and report back to user.

Example 2: Verify before operations

User: Is the current part saved before I modify it?
Claude: I'll check the document state using this tool.

Reference

See API_REFERENCE.md for detailed output schema and return values.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.