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.
npx skills add nezolder/civil3d-mcp-roslyn --skill material_quantity_reportgit clone --depth 1 https://github.com/nezolder/civil3d-mcp-roslynWrote 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.
[](https://agentmods.dev/skills/nezolder/civil3d-mcp-roslyn/material_quantity_report)<a href="https://agentmods.dev/skills/nezolder/civil3d-mcp-roslyn/material_quantity_report"><img src="https://agentmods.dev/badge/skills/nezolder/civil3d-mcp-roslyn/material_quantity_report/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.
<a href="https://agentmods.dev/skills/nezolder/civil3d-mcp-roslyn/material_quantity_report"><img src="https://agentmods.dev/badge/skills/nezolder/civil3d-mcp-roslyn/material_quantity_report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.02111 |
| Opus 5.5 | $0.00009 | $0.00844 |
| Sonnet 5.5 | $0.00004 | $0.00422 |
| Haiku 4.5 | $0.00002 | $0.00211 |
Grade A, and why
material_quantity_report 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Template
var groupHandle = "SAMPLE_LINE_GROUP_HANDLE";
var materialListGuid = "MATERIAL_LIST_GUID";
var startStation = double.NaN;
var endStation = double.NaN;
var limit = 200;
var isHandle = new Func<string, bool>(value =>
!string.IsNullOrWhiteSpace(value)
&& System.Text.RegularExpressions.Regex.IsMatch(value, "^[0-9A-Fa-f]{1,16}$")
&& long.TryParse(value, System.Globalization.NumberStyles.HexNumber,
System.Globalization.CultureInfo.InvariantCulture, out var parsed) && parsed > 0);
if (!isHandle(groupHandle) || !Guid.TryParse(materialListGuid, out var listGuid) || listGuid == Guid.Empty)
return new { success = false, error = "Configure an existing groupHandle and nonempty materialListGuid." };
if (!Double.IsFinite(startStation) || !Double.IsFinite(endStation) || endStation < startStation || limit < 1 || limit > 1000)
return new { success = false, error = "Station range must be finite/ordered and limit must be 1..1000." };
// Host access starts here.
ObjectId groupId;
try { groupId = Database.GetObjectId(false, new Handle(Convert.ToInt64(groupHandle, 16)), 0); }
catch { return new { success = false, error = "groupHandle does not resolve in this drawing." }; }
var group = Transaction.GetObject(groupId, OpenMode.ForRead) as SampleLineGroup;
if (group == null || group.IsErased)
return new { success = false, error = "groupHandle must identify an existing SampleLineGroup." };
if (group.GetSampleLineIds().Count > 5000)
return new { success = false, error = "The group exceeds this recipe's 5000-sample scan bound." };
QTOMaterialList selected = null;
foreach (QTOMaterialList list in group.MaterialLists)
if (list.Guid == listGuid) { selected = list; break; }
if (selected == null) return new { success = false, error = "The selected material-list GUID is not in this group." };
var alignment = Transaction.GetObject(group.ParentAlignmentId, OpenMode.ForRead) as Alignment;
if (alignment == null || alignment.StationEquations.Count != 0)
return new { success = false, error = "The parent alignment must exist and have no station equations in this first scope." };
var rows = new List<object>();
var total = 0;
var invalid = 0;
var sumCut = 0.0;
var sumFill = 0.0;
var sumUsable = 0.0;
using (var takeoff = group.GetTotalVolumeResultDataForMaterialList(listGuid))
{
var sections = takeoff.GetResultsAlongSampleLines();
if (sections.Length > 5000)
return new { success = false, error = "The QTO result exceeds this recipe's 5000-record scan bound." };
foreach (var section in sections.OrderBy(s => s.Station))
{
if (!Double.IsFinite(section.Station)) { invalid++; continue; }
if (section.Station < startStation || section.Station > endStation) continue;
total++;
var volume = section.VolumeResult;
var numbers = new[] {
volume.CumulativeCutVolume, volume.CumulativeFillVolume, volume.CumulativeUsableVolume,
volume.IncrementalCutVolume, volume.IncrementalFillVolume, volume.IncrementalUsableVolume
};
if (numbers.Any(v => !Double.IsFinite(v))) { invalid++; continue; }
sumCut += volume.IncrementalCutVolume;
sumFill += volume.IncrementalFillVolume;
sumUsable += volume.IncrementalUsableVolume;
if (rows.Count < limit)
rows.Add(new {
station = section.Station, sampleLineName = section.SampleLineName,
sampleLineHandle = section.SampleLineId.IsNull ? null : section.SampleLineId.Handle.ToString(),
cumulativeCut = volume.CumulativeCutVolume, cumulativeFill = volume.CumulativeFillVolume,
cumulativeUsable = volume.CumulativeUsableVolume,
incrementalCut = volume.IncrementalCutVolume, incrementalFill = volume.IncrementalFillVolume,
incrementalUsable = volume.IncrementalUsableVolume
});
}
}
if (!Double.IsFinite(sumCut) || !Double.IsFinite(sumFill) || !Double.IsFinite(sumUsable))
throw new InvalidOperationException("Quantity totals overflowed; no misleading result is returned.");
return new {
success = true, groupHandle = group.Handle.ToString(), groupName = group.Name,
alignmentName = alignment.Name, materialListName = selected.Name, materialListGuid = selected.Guid.ToString(),
calculationMethod = group.MaterialLists.VolumeCalculationMethodType.ToString(),
drawingLengthUnits = CivilDoc.Settings.DrawingSettings.UnitZoneSettings.DrawingUnits.ToString(),
volumeUnits = "cubic drawing units", startStation, endStation,
total, returned = rows.Count, truncated = total > rows.Count, limit, invalid,
incrementalTotalsForSelectedEndingStations = new { cut = sumCut, fill = sumFill, usable = sumUsable },
totalsComplete = invalid == 0, rows
};
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.
- today First seen · 148 lines · 22 tokens per session scan A 385de9e624f2
material_quantity_report is a skill published in the GitHub repository nezolder/civil3d-mcp-roslyn (3 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 2,111 once invoked, about $0.0001 per session on Opus 5.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-10-02.
Other skills, from other repositories
web-section-splitter
Breaks a long-form article into web-optimized sections with subheadings, pull-quote suggestions, image placement markers, and reading-time estimates — ready for a web editor to drop into a CMS.
shopify-theme-development
Build and customize Shopify themes using Liquid templating, JSON sections, dynamic blocks, and theme app extensions for added functionality.
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…