# SkillSettings

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.skillsettings/
> Summary: SkillSettings: Settings for how an agent uses the skills it names in AgentDefinition.SkillNames.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

Settings for how an agent uses the skills it names in `AgentDefinition.SkillNames`.

```csharp
public sealed record SkillSettings : IEquatable<SkillSettings>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.skillsettings/">SkillSettings</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;SkillSettings&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Examples

```csharp
var definition = new AgentDefinition
{
    Name = "support",
    Model = new ModelBinding { Provider = "openai", Model = "gpt-5.4-mini" },
    SkillNames = ["house-style"],
    Skills = new SkillSettings { DisableReadApproval = true },
};
```

## Remarks

Microsoft Agent Framework wraps all three skill tools for approval by default. This
record lets a definition turn the approval off for the two tools that only read
text. The third tool, `run_skill_script`, runs code in a process or in a sandbox
and keeps its approval: there is deliberately no member that turns that off. A standing
approval rule that an administrator writes for the tool can still approve a call.

An agent that is exposed over A2A or MCP, or that runs without a session, has nobody
to answer an approval request. It needs [SkillSettings.DisableReadApproval](/api/tracon.skillsettings/#Tracon_SkillSettings_DisableReadApproval), or the
first `load_skill` call ends the run.

## Constructors

### <a id="Tracon_SkillSettings__ctor"></a> SkillSettings\(\)

```csharp
public SkillSettings()
```

## Properties

### <a id="Tracon_SkillSettings_DisableReadApproval"></a> DisableReadApproval

Gets a value that makes `load_skill` and `read_skill_resource` run without
asking for approval. `run_skill_script` keeps its approval.

```csharp
public bool DisableReadApproval { get; init; }
```

#### Property Value

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

#### Remarks

Skill text reaches the model as instructions. Turn this on only for skills that a
tenant administrator writes, because the text is then a prompt-injection surface that no
person reviews at run time.

## Methods

### <a id="Tracon_SkillSettings_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_SkillSettings_Equals_Tracon_SkillSettings_"></a> Equals\(SkillSettings?\)

```csharp
public bool Equals(SkillSettings? other)
```

#### Parameters

`other` [SkillSettings](/api/tracon.skillsettings/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_SkillSettings_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_SkillSettings_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_SkillSettings_op_Equality_Tracon_SkillSettings_Tracon_SkillSettings_"></a> operator ==\(SkillSettings?, SkillSettings?\)

```csharp
public static bool operator ==(SkillSettings? left, SkillSettings? right)
```

#### Parameters

`left` [SkillSettings](/api/tracon.skillsettings/)?

`right` [SkillSettings](/api/tracon.skillsettings/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_SkillSettings_op_Inequality_Tracon_SkillSettings_Tracon_SkillSettings_"></a> operator \!=\(SkillSettings?, SkillSettings?\)

```csharp
public static bool operator !=(SkillSettings? left, SkillSettings? right)
```

#### Parameters

`left` [SkillSettings](/api/tracon.skillsettings/)?

`right` [SkillSettings](/api/tracon.skillsettings/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
