replace_alignment_with_fixed_primitives

replace_alignment_with_fixed_primitives is a skill for Claude Code, Codex from nezolder/civil3d-mcp-roslyn. It costs 43 tokens per session (6,780 once invoked), scanned A, original, MIT.

A controlled replacement procedure for a pre-checked road or land-survey alignment, using straight lines, circular curves, and transition curves. It preserves the alignment’s identity and design-speed records.

In plain words
What is it for?
Use it to rebuild one approved centreline from audited geometry and a prepared replacement plan.
Why use it?
It replaces an existing alignment in a bounded, repeatable way while avoiding unsupported route optimisation or design-standard calculations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to rebuild one approved centreline from audited geometry and a prepared replacement plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nezolder/civil3d-mcp-roslyn/replace_alignment_with_fixed_primitives
Install

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.

Any agent
npx skills add nezolder/civil3d-mcp-roslyn --skill replace_alignment_with_fixed_primitives
Clone the repo
git clone --depth 1 https://github.com/nezolder/civil3d-mcp-roslyn

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for replace_alignment_with_fixed_primitives

README.md
[![agentmods](https://agentmods.dev/badge/skills/nezolder/civil3d-mcp-roslyn/replace_alignment_with_fixed_primitives/github.svg)](https://agentmods.dev/skills/nezolder/civil3d-mcp-roslyn/replace_alignment_with_fixed_primitives)
Your own site
<a href="https://agentmods.dev/skills/nezolder/civil3d-mcp-roslyn/replace_alignment_with_fixed_primitives"><img src="https://agentmods.dev/badge/skills/nezolder/civil3d-mcp-roslyn/replace_alignment_with_fixed_primitives/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.

agentmods 80×15 button for replace_alignment_with_fixed_primitives

Your own site · 80×15
<a href="https://agentmods.dev/skills/nezolder/civil3d-mcp-roslyn/replace_alignment_with_fixed_primitives"><img src="https://agentmods.dev/badge/skills/nezolder/civil3d-mcp-roslyn/replace_alignment_with_fixed_primitives.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,780 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.06780
Opus 5.5 $0.00017 $0.02712
Sonnet 5.5 $0.00009 $0.01356
Haiku 4.5 $0.00004 $0.00678

Measured 28d ago against content hash 1cdcc280dd72, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-02, from the pricing page.

Security

Grade A, and why

replace_alignment_with_fixed_primitives 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 28d ago.

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.

skills/alignments/replace_alignment_with_fixed_primitives.skill.md · 520 lines

How it starts

The opening of the file, as written. The whole thing — 520 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scope and authorization

Use this only for an approved whole-alignment replacement of one ordinary, siteless, independent centreline. It is not a route optimiser, a geometric solver, an offset/connected/railway-alignment editor, or a standards/superelevation tool.

The caller must first run a fresh alignment_geometry_audit and copy its complete connected geometry.items rows into the expected baseline below. Map audit subentityType values Line, Arc, and Spiral to line, curve, and spiral; startXY/endXY become points, a line's direction becomes lineDirection, and a spiral's direction becomes spiralDirection. For a tangent spiral, map startRadius/endRadius null plus the corresponding startIsTangent/endIsTangent flag to radiusIn/radiusOut = double.PositiveInfinity; an unknown radius is unsupported. Apply the same tangent mapping to planned spiral radii. Directions are Civil API radians (clockwise from north), not Cartesian headings; a Cartesian heading theta maps to Math.PI / 2 - theta. Coordinates and lengths use drawing units without coordinate-system conversion.

The plan must already be bounded and independently checked. This template deliberately limits the first reusable case to a starting station of 0, no station equations, no superelevation, no design-criteria/check-set state, no profiles, and no corridor baseline using the alignment. The supplied audit assertions default to false; setting them true states independently verified prerequisites, not an automatic detector. The geometry audit alone does not prove absence of dependent alignments or superelevation. Do not infer those assertions from its empty warnings list.

Reading this skill grants no write permission. Before an approved execution, use the existing drawing guard with the full drawing filename and fingerprint, obtain the required unchanged timestamped backup through the established workflow, and use the approved saveDrawing: true path. Independently read the saved drawing back and require DBMOD=0. This template does not call SaveAs, QSAVE, or WBLOCK.

Read the full file on GitHub · 520 lines

Changes

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.

  1. 28d ago First seen · 520 lines · 43 tokens per session scan A 1cdcc280dd72

Subscribe to this mod's changes

replace_alignment_with_fixed_primitives is a skill published in the GitHub repository nezolder/civil3d-mcp-roslyn (3 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 6,780 once invoked, about $0.0002 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-09-04.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

vercel/next.js · 95 tokens

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…

vercel/next.js · 103 tokens

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…

microsoft/vscode · 72 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens