real-time-bom-costing
Skill2 starsChanged 6 months agoMITView on GitHub
Analyzes an assembly Bill of Materials (BOM) to provide real-time hybrid cost estimation, bulk pricing, and DFM size filtering.
In this repository26 other files it gives its agents.
- harness/AGENTS.mdAGENTS.md
- harness/CLAUDE.mdCLAUDE.md
- auto-kinematicsSkill
- cadSkill
- camSkill
- competitor-benchmarkSkill
- regulatory-compliance-checkerSkill
- semantic-design-intent-memorySkill
- drawing-generatorSkill
- enterprise-vaultSkill
- esg-analyzerSkill
- exploded-viewSkill
- fastener-standard-enforcerSkill
- feaSkill
- multi-physics-cosimulationSkill
- patent-detectorSkill
- predictive-maintenanceSkill
- renderSkill
- scan-to-codeSkill
- sdfSkill
- sendcutsendSkill
- sketch-to-cadSkill
- srdfSkill
- step-partsSkill
- tolerance-stackup-analyzerSkill
- urdfSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 53
Oversized Parts: If the cost analyzer flags a part as "Oversized", you must redesign it.
- Very specific: line 54
Cost Optimization: If the cost at Qty 1 is astronomically high due to CNC machining time, suggest switching the process to fdm (3D …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Real-Time BOM Costing & Supplier Intelligence
This skill allows you to calculate the manufacturing cost of a complete assembly. It uses a Hybrid Architecture: it will attempt to query a live supplier API, and seamlessly fall back to an advanced geometric estimation engine if the API is offline.
When to Use
- Whenever you finish designing an assembly and need to verify it fits within the user's budget.
- To compare the cost of making a part out of Aluminum (CNC) vs PLA (FDM 3D printing).
- To detect if a custom part is physically too large to be manufactured on standard machines (DFM Size Filter).
How to Use
1. Create a BOM JSON File Structure the Bill of Materials like this:
{
"project_name": "Drone Chassis",
"currency": "USD",
"parts": [
{
"type": "custom",
"name": "Main Bracket",
"file": "examples/bracket.step",
"material": "aluminum_6061",
"process": "cnc",
"qty_per_assembly": 4
},
{
"type": "cots",
"part_number": "HW-M4-12-SS",
"qty_per_assembly": 16
}
]
}Note: COTS part numbers must match the enterprise vault or the local databases/cots_pricing.json.
2. Run the Analyzer
You can optionally pass a --api-url to try querying a live supplier. If it fails, the tool falls back to the estimation engine automatically.
python skills/bom-costing/scripts/cost_analyzer.py \
--bom skills/bom-costing/examples/drone_bom.json \
--qty 1,10,100 \
--api-url "https://api.mock-xometry.com/quote"Rules for Agents
- Oversized Parts: If the cost analyzer flags a part as "Oversized", you must redesign it. Cut the part in half and join it with fasteners, or hollow it out. Do not ignore DFM size errors.
- Cost Optimization: If the cost at Qty 1 is astronomically high due to CNC machining time, suggest switching the process to
fdm(3D printing) if structural requirements allow it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

