Introduction¶
In structural or mechanical design, profile lists often require both cross-sectional area and weight per meter (linear density). Common approaches involve opening CAD software for measurement, manual density conversion, or maintaining comparison tables in Excel. When dealing with numerous sections and frequent modifications, this leads to repetitive labor and potential version mismatch issues with drawings.
The following section introduces the community Skill “Profile Cross-Sectional Area Extraction, Weight per Meter Calculation, and Data Export” available on SkillHub. You provide a DXF file to the Agent, and the Skill guides the process of calculating cross-sectional area and weight per meter, followed by exporting the relevant data. This is ideal for batch verification or quick weight estimation within a conversation.
What is this¶
In short: A Skill for profile engineering property extraction targeting DXF drawings, focusing on cross-sectional area, weight per meter (linear density), and data export.
- Coordinate:
@user_43b25fa4/cad-profile-calculator - Current Version: 2.0.0
- Source: community (Publisher
user_43b25fa4) - Category: professional
- Tags:
requires_api_key=false(Materials indicate no API Key is needed)
Official Skill page and API entry:
- SkillHub Display Page: https://www.skillhub.cn/skills/user_43b25fa4/cad-profile-calculator
- API Address: https://api.skillhub.cn/user_43b25fa4/cad-profile-calculator
Core Functions¶
The following capabilities are derived from the official description and SkillHub page instructions. Implementation details not explicitly expanded upon (such as default density values or export file formats) are not speculated upon in this article.
- Accept DXF: Accepts DXF format files as input.
- Cross-Sectional Area: Automatically calculates the cross-sectional area of the profile.
- Weight per Meter: Calculates weight per meter (also referred to as linear density in materials) in the context of CAD/DXF, applicable to weight-related descriptions for aluminum profiles, steel profiles, etc.
- Data Export: Exports calculated results into usable data (specific fields and formats subject to the
SKILL.mdwithin the Skill).
The Agent will tend to enable this Skill under the following circumstances (excerpted from official trigger instructions):
- The user needs to calculate cross-sectional area, weight per meter/linear density, or export profile weight data from CAD/DXF;
- Keywords such as profile, section, weight per meter, linear density, DXF, aluminum profile weight, steel profile weight, or cross-sectional area calculation appear in the conversation;
- The user provides a DXF and wishes to extract engineering properties.
Installation and Activation¶
Installation follows the standard SkillHub documentation: First, ensure the skillhub CLI is available, then install the skill into the skills directory actually read by the current Agent; installing it in the wrong directory will prevent the Agent from recognizing it.
1. Check or Install SkillHub CLI¶
command -v skillhub && skillhub --version
If not installed, execute via the official installation script (choose one: full installation or CLI only):
# Full installation (CLI + default Skills, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
# Install CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill¶
The SkillHub skill page specifies: Please install @user_43b25fa4/cad-profile-calculator according to https://skillhub.cn/install/skillhub.md.
The general installation command looks like this (--dir must point to the skills directory of your current environment):
skillhub install @user_43b25fa4/cad-profile-calculator --dir <skills directory>
Common client skills paths (excerpted from SkillHub installation documentation, replace <skills directory> based on the tool you are actually using):
| Environment | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
If the Agent does not load the new Skill immediately after installation, restart or refresh the session according to the conventions of your client.
Typical Usage¶
The official documentation does not provide independent CLI subcommand examples. The typical path is driven by natural language within an Agent conversation after mounting the Skill. A reproducible interaction outline is as follows:
- Confirm that this Skill is installed in the current Agent’s skills directory.
- Attach or specify the DXF file path in the conversation, and explain the material context (e.g., aluminum or steel profile) to facilitate the use of correct density assumptions for weight calculation (specific rules are detailed in the Skill body).
- Trigger with a clear intent, for example: “Calculate the cross-sectional area and weight per meter for each profile based on this DXF and export the results.”
- Verify the output following the Agent’s guidance: area, weight per meter, and exported files; units and drawing scales should adhere to the Skill instructions and the DXF itself.
You can also search via SkillHub before installing:
skillhub search cad-profile-calculator
skillhub install @user_43b25fa4/cad-profile-calculator --dir ~/.cursor/skills/
(Please modify the directory in the second line according to the client you are using.)
Applicable Scenarios and Notes¶
Who is it for
- Those who frequently handle profile DXFs and need to quickly obtain cross-sectional area and weight per meter within a conversation and export them to disk;
- Those who want the Agent to automatically select a professional Skill via keywords (profile, weight per meter, DXF, etc.) rather than manually writing calculation steps every time.
Usage Notes
- Input Format: Materials explicitly require DXF; other CAD formats need to be converted manually first, as the Skill introduction does not promise direct support.
- No API Key Required:
requires_api_key=falseindicates no dependency on additional key services, but the local Agent and SkillHub CLI environment must be available. - Community Source: Published as
community. Before use, check version 2.0.0 and the instructions on the SkillHub page to see if they meet your compliance and precision requirements; for critical engineering, cross-verification with manual methods or professional software is recommended. - Statistical Information: Based on scraped data—SkillHub display rating 100000, downloads 1796; page data changes, so please refer to the real-time display on the official website.
Conclusion¶
“Profile Cross-Sectional Area Extraction, Weight per Meter Calculation, and Data Export” integrates the cross-sectional area, weight per meter, and export of DXF profiles into the Agent workflow, reducing the need to switch back and forth between CAD and spreadsheets. Remember the coordinate @user_43b25fa4/cad-profile-calculator when installing, and use --dir to point to the correct skills directory for your current client.
- SkillHub: https://www.skillhub.cn/skills/user_43b25fa4/cad-profile-calculator
- API: https://api.skillhub.cn/user_43b25fa4/cad-profile-calculator
- Installation Guide: https://skillhub.cn/install/skillhub.md