MackySoft.AgentSkills 0.6.0

Suggested Alternatives

MackySoft.AgentDistribution

Additional Details

Package renamed to MackySoft.AgentDistribution. Use version 3.0.0 or later

There is a newer version of this package available.
See the version list below for details.
dotnet add package MackySoft.AgentSkills --version 0.6.0
                    
NuGet\Install-Package MackySoft.AgentSkills -Version 0.6.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MackySoft.AgentSkills" Version="0.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MackySoft.AgentSkills" Version="0.6.0" />
                    
Directory.Packages.props
<PackageReference Include="MackySoft.AgentSkills" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MackySoft.AgentSkills --version 0.6.0
                    
#r "nuget: MackySoft.AgentSkills, 0.6.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MackySoft.AgentSkills@0.6.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MackySoft.AgentSkills&version=0.6.0
                    
Install as a Cake Addin
#tool nuget:?package=MackySoft.AgentSkills&version=0.6.0
                    
Install as a Cake Tool

Agent Skills

Agent Skills provides reusable .NET services and a CLI tool for product-owned agent skill packages. Product repositories keep their SKILL definitions and generated package outputs, while this repository owns the canonical package format, host materialization rules, install/update/uninstall/export operations, and doctor diagnostics.

Packages

Package Purpose
MackySoft.AgentSkills Runtime library for reading generated packages, materializing them for supported hosts, and running install/export/doctor workflows.
MackySoft.AgentSkills.Cli .NET tool that generates canonical packages from skills/definitions into skills/generated.

Both packages are versioned together.

Product Layout

Each product repository owns its source definitions and generated outputs.

skills/
  definitions/
    <skill-name>/
      skill.json
      SKILL.md.template
      references/
        *.md.template
  generated/
    <skill-name>/
      SKILL.md
      agent-skill.json
      agents/
        openai.yaml
      references/
        *.md

skills/definitions is the source of truth. skills/generated is deterministic build output; do not edit it manually.

Source definition metadata includes a product-owned tier literal:

{
  "schemaVersion": 1,
  "catalogId": "com.example.skills",
  "tier": "basic",
  "skillName": "example-review",
  "displayName": "Example Review",
  "description": "Review the example product.",
  "references": []
}

Generated package manifests preserve that value in agent-skill.json. The manifest digest covers the canonical manifest content, including tier.

CLI Tool

Install the CLI through a .NET tool manifest in each product repository.

dotnet new tool-manifest
dotnet tool install MackySoft.AgentSkills.Cli --version 0.6.0

Generate canonical packages.

dotnet tool run agent-skills -- build \
  --definitionsRoot skills/definitions \
  --generatedRoot skills/generated

Build options:

  • --definitionsRoot: directory that contains one subdirectory per source SKILL definition.
  • --generatedRoot: canonical generated package root, normally skills/generated.

The CLI validates definition metadata, computes deterministic digests, writes agent-skill.json, and emits host artifact metadata for every supported host.

Tiers

Agent Skills does not define a fixed tier set. Each product owns the complete set of accepted tier literals, such as basic, advanced, and developer.

Tier literals are stable machine-readable contract values stored in skill.json and agent-skill.json. They must be lowercase ASCII letters or digits, may contain - after the first character, and are matched exactly. The framework does not trim, case-fold, or map labels.

Product CLIs should require at least one explicit selector for operations that materialize, update, uninstall, export, or diagnose skills. A selector can be a tier selection, an exact SKILL name selection, or both. Discovery commands can omit selection by using the full defined tier set:

string[] definedTiers = ["basic", "advanced", "developer"];
string[] selectedTiers = ["basic"];

var packagesResult = await packageProvider.GetPackagesAsync(
    definedTiers,
    selectedTiers,
    cancellationToken);

SkillTierLiteralParser.ParseSelectedTiers validates and normalizes raw CLI literals when a product wants to parse once and pass IReadOnlyList<SkillTier> onward. SkillPackageProvider.GetPackagesAsync verifies the product definitions, rejects unsupported selected tiers, rejects generated packages whose manifest tier is not defined by the product, and returns an empty package list when the selected tiers are valid but no bundled package belongs to them.

Use exact SKILL names when a command must target specific packages rather than a whole tier:

string[] selectedSkillNames = ["example-review", "example-docs"];

var packagesResult = await packageProvider.GetPackagesBySkillNamesAsync(
    definedTiers,
    selectedSkillNames,
    cancellationToken);

SkillNameLiteralParser.ParseSelectedSkillNames validates and normalizes raw CLI literals when a product wants to parse name selections before resolving packages. Name filters match skillName exactly using ordinal comparison. The provider rejects unknown names and rejects a selected name when it exists but does not belong to the selected tiers.

Use SkillPackageProvider.GetPackageCatalogAsync for list-style discovery. The catalog records the normalized selected tiers and selected skill names, returns only matching packages, and includes every product-defined tier with its bundled package count, including valid tiers that currently contain no skills. Report builders consume the catalog directly so tiers, skillNames, availableTiers, and skills come from one validated provider result.

Runtime Library

Use the library from product CLI or application code that needs to list, export, install, update, uninstall, or diagnose generated agent skills.

dotnet add <PROJECT>.csproj package MackySoft.AgentSkills --version 0.6.0

Equivalent project file reference:

<PackageReference Include="MackySoft.AgentSkills" Version="0.6.0" />

The canonical package manifest file is agent-skill.json. Generated package directories are canonical package inputs; runtime materialization converts those packages into host-specific install/export contents.

Supported host keys:

  • openai
  • claude
  • copilot
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MackySoft.AgentSkills:

Package Downloads
MackySoft.AgentSkills.Hosting

Reusable command runtime services for product CLIs that expose Agent Skills workflows.

GitHub repositories

This package is not used by any popular GitHub repositories.