- Home
- Skills
- Agents & Orchestration
- Skill Subassembly Civil 3D
More screenshots
Works with the AI Agents you already use
Skill Subassembly Civil 3D
Design, build, and validate Autodesk Civil 3D .pkt subassemblies using the sac-mcp-server.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
Skill Subassembly Civil 3D
Example session with this skill installed
MCP Server & Toolchain (sac-mcp-server)A dedicated MCP Server & CLI Toolchain for reading, designing, validating, and automatically generating Subassembly (.pkt) files for Autodesk Civil 3D Subassembly Composer.Create / Edit: Civil 3D 2025, 2026, 2027.Read / Validate: Also supports Civil 3D 2024.1.
- Read your context and instructions
- Compiled the subassembly civil 3d
SKILL SUBBASEMBLY FOR CIVIL 3D
1. Setup
python -m venv .venv
.\.venv\Scripts\pip install -e ".[dev]"
.\sac-cli.bat skill setup --global-skill
2. CLI Tool (sac-cli.bat)
# Run 3-tier validation (add --doc for SubassemblyDocument, --no-native to skip Tier 3)
.\sac-cli.bat validate "path\to\file.pkt"
# Build and auto-validate
.\sac-cli.bat build --giaco # Slope Protection Subassembly
.\sac-cli.bat build --sub7 # Standard 7-Subassembly Suite (parameters only)
.\sac-cli.bat build --all --out "path\to\output" # Build all to a custom directory
# Run test suite
.\sac-cli.bat test
3. 3-Tier Validation & Safe Editing
[.pkt] → Tier 1 (OPC & XML) → Tier 2 (Static XAML) → Tier 3 (Native SAC DLLs)
Tier 1 (OPC & XML): Verifies all 6 GUID files (.atc, .cfg, .xaml, .pvd, .emd, .cdmd), [Content_Types].xml, and XML syntax.
Tier 2 (Static XAML): Runs without SAC installed. Checks UTF-8 BOM, VB.NET expressions, activity tags, required attributes, and Point/Link/Flowchart references (semantic_checks.py).
Tier 3 (Native SAC): Runs via SacHost.exe (auto-compiled on first run via csc.exe, ~10 ms/file). Matches the SAC version from .cfg (overridable via SAC_INSTALL_DIR) to compile VB expressions and catch undeclared variable/type errors.
Safe File Editing: Writes to a temp file → runs Tier 1–2 validation → backs up original as .pkt.bak → atomic swap (os.replace). Tier 3 errors on save report as non-blocking warnings (disable via SAC_MCP_NATIVE_ON_SAVE=0).
4. 27 MCP Tools skill
Category,Core Tools
Read & Reference,"inspect_pkt, validate_pkt_native, get_sac_reference_and_formulas, list_examples_and_split_catalog"
Creation & Spec,"create_pkt_from_template, generate_assembly_recipe, export_spec, build_from_spec"
Geometry,"add_point_and_link, add_link, add_shape, add_fillet_arc, add_curve, add_offset_geometry, add_loop_geometry, add_intersection_point, add_strip_surface, add_get_mark_point / add_set_mark_point"
Parameters & Logic,"add_parameter, add_define_variable / add_set_variable, add_set_output_parameter, add_flow_decision, add_report_message"
Flowchart Editing,"update_node (auto-updates references on rename), remove_node (auto-reconnects flow)"
lowchart Wiring (parent_node_id): Leave empty to converge all open branches; pass __ReferenceIDn to insert after a FlowStep; pass __ReferenceIDn:True or :False for a FlowDecision branch.
Object Naming: Unique by default (pass allow_duplicate_name=True for mutually exclusive branches).
5. AI Coding Agent Integration.
Tool,Skill Directory,MCP Config
Claude Code,.claude/skills/ (source of truth),Claude Code MCP config
Google Antigravity,.agents/skills/ (mirror),.agents/mcp_config.json
OpenCode,.claude/skills/ & .agents/skills/,opencode.json
After editing .claude/skills/, sync to .agents/skills/ via:
.venv\Scripts\python.exe scripts\sync_agent_skills.py
6. Collaborative Skill Training (skill/*)
Contributors can add .pkt templates or design rules on isolated Git branches without merge conflicts (see CONTRIBUTING_SKILL.md):
# 1. Create a training branch (auto-prefixed with skill/)
.\sac-cli.bat skill branch retaining-wall --author "YourName"
# 2a. Learn from a verified .pkt (3-tier validate -> extract Spec -> generate lesson -> sync)
.\sac-cli.bat skill learn "path\to\Component.pkt" --title "RC Retaining Wall" --author "YourName" --notes "Origin at P1"
# 2b. Or add a rule / VB formula / troubleshooting note
.\sac-cli.bat skill note --title "Curb Origin Rule" --content "Place Origin at P4 or P10..." --author "YourName"
# 3. Verify sync & push (prints a ready-to-use PR link)
.\sac-cli.bat skill check
.\sac-cli.bat skill push -m "Train RC retaining wall pattern"
# 4. (Maintainers) List and merge contributor branches
.\sac-cli.bat skill branches --fetch
.\sac-cli.bat skill merge skill/retaining-wall
Subscription · always the latest version
- Secure checkout via Stripe
- Cancel anytime
- Delivered live via MCP
About this skill
Building subassemblies for Autodesk Civil 3D usually requires manual flowcharting in Subassembly Composer (SAC). This skill automates the creation, modification, and validation of .pkt files using an MCP server, ensuring your geometry passes multi-tier native validation.
What it does
- Automated .pkt Generation creates subassemblies from templates for Civil 3D versions 2025 to 2027.
- Geometry Orchestration adds points, links, shapes, and complex elements like fillet arcs, curves, and surface targets via code.
- Logic Handling implements flow decisions, loops, and variables to handle superelevation and cut/fill conditions.
- Native Validation runs three-tier checks to catch VB expression errors, missing arguments, or unreachable flow nodes.
- Subassembly Inspection exports full specifications to JSON and audits existing
.pktfiles for logic errors.
How it works
- Definition Define points, links, and shapes from a cross-section drawing, establishing the origin and parameters.
- Scaffolding Initialize a new
.pktfile from a template and define input, target, or output parameters. - Construction Sequence geometry and logic calls to build the flowchart, ensuring correct parent-node referencing for branches.
- Validation Execute native validation to identify and fix errors in expressions or geometry references.
Frameworks & tools
The skill requires the sac-mcp-server and targets Autodesk Civil 3D Subassembly Composer environments.
Why this beats prompting it yourself
Standard LLMs cannot generate valid .pkt binary/XML structures or verify VB.NET expressions against the SAC engine. This skill uses a dedicated MCP server to perform real-time validation and surgical XAML edits that prevent file corruption.
Use cases
- Highway Design build lanes with superelevation parameters and multi-layer pavement shapes.
- Earthwork Logic create daylight subassemblies with complex cut/fill decisions and benching.
- Retaining Structures design wall subassemblies with variable heights and material shapes.
- Quality Assurance validate legacy
.pktfiles to find why they fail in Civil 3D corridors.
Known limitations
Does not support editing .pkt files from Civil 3D versions older than 2024. Requires a Windows environment with SAC installed for Tier 3 validation.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 8 days ago
- Software
Python
Git
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.