template-smart-defaults

template-smart-defaults is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 137 tokens per session (1,731 once invoked), scanned A, original, MIT.

A guide for choosing related defaults when creating a .NET project from a template. It fills in unspecified settings based on choices the user has already made.

In plain words
What is it for?
Use it to choose compatible settings for features such as native AOT, HTTPS, authentication, and controller-based APIs.
Why use it?
It keeps dependent options consistent without replacing values the user explicitly selected.

Skill for Claude CodeCodex

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

Good fit Use it to choose compatible settings for features such as native AOT, HTTPS, authentication, and controller-based APIs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/managedcode/dotnet-skills/template-smart-defaults
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 managedcode/dotnet-skills --skill template-smart-defaults
Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills

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 template-smart-defaults

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/dotnet-skills/template-smart-defaults/github.svg)](https://agentmods.dev/skills/managedcode/dotnet-skills/template-smart-defaults)
Your own site
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/template-smart-defaults"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/template-smart-defaults/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 template-smart-defaults

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/template-smart-defaults"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/template-smart-defaults.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 137 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,731 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00137 $0.01731
Opus 5.5 $0.00055 $0.00692
Sonnet 5.5 $0.00027 $0.00346
Haiku 4.5 $0.00014 $0.00173

Measured 2mo ago against content hash 4d0318483b5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

template-smart-defaults 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 2mo 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.

catalog/Tools/Official-DotNet-Template-Engine/skills/template-smart-defaults/SKILL.md · 119 lines

How it starts

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

Template Smart Defaults

This skill helps an agent fill in cross-parameter defaults when creating a dotnet new project. The rules below are guidance heuristics that keep related parameters consistent — they only fill gaps and never override a value the user set explicitly.

When to Use

  • The user asks to create a project but leaves related parameters unspecified
  • A parameter the user chose implies a sensible value for another parameter
  • You need to explain why a particular default was selected

When Not to Use

  • User wants to actually create the project — route to template-instantiation
  • User wants to find or compare templates — route to template-discovery or template-comparison
  • User wants to author or validate a custom template — route to template-authoring or template-validation

Inputs

Input Required Description
Template short name Yes The template the project will be created from (e.g., webapi)
Parameters already chosen Yes The parameter values the user has explicitly set
Available choices Recommended Parameter names/choices from dotnet new <template> --help

Workflow

  1. Gather the parameters the user has explicitly set.
  2. Apply each rule below only where the corresponding parameter is unset — never override a value the user set explicitly.
  3. Confirm the chosen parameter names and choices against dotnet new <template> --help whenever the user asks for an exact command. This inspection does not create files and is worthwhile even for advice-only requests. Skip it only for a conceptual explanation that does not claim exact option names.
  4. Emit the two required outputs (see below) — this is what makes the skill decisive rather than inert.

For advice-only prompts that say "don't create files", make the displayed command safe to run by appending --dry-run. If a scenario needs a named example and the user omitted the name, choose a short descriptive sample name and mark it Source = rule. Do not add a name when the user asked for a command containing only explicitly requested choices or when the template can demonstrate those choices safely without one.

Read the full file on GitHub · 119 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago Changed · +22 lines 4d0318483b5c
  2. 2mo ago First seen · 97 lines · 137 tokens per session scan A 12f59b498eec

Subscribe to this mod's changes

template-smart-defaults is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 137 tokens to every session and 1,731 once invoked, about $0.0005 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-03.

Related

template-smart-defaults compared with skills from other repositories

template-smart-defaults next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
template-smart-defaultsmanagedcode/dotnet-skillsSkill52716d agoMITA137Claude Code, Codex
clean-architecture-dotnetSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A50Claude Code, Codex
creating-dotnet-mcp-serversSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A43Claude Code, Codex
dotnetAterDev/Perigon.CLISkill544d agoApache-2.0A61Claude Code, Codex
blazorAterDev/Perigon.CLISkill544d agoApache-2.0A45Claude Code, Codex
cliAterDev/Perigon.CLISkill544d agoApache-2.0A52Claude Code, Codex
codegenAterDev/Perigon.CLISkill544d agoApache-2.0A53Claude Code, Codex