IntelligenceX
Command

Set-IntelligenceXSkill

Module
IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient

Enables or disables a skill entry in app-server skill configuration.

Syntax

Set-IntelligenceXSkill
-Enabled <bool>
-Path <string>
[-Client <IntelligenceXClient>]
[<CommonParameters>]
#

Examples

Example 1

Set-IntelligenceXSkill -Path ".intelligencex/skills/my-skill/skill.json" -Enabled $false

Disable a skill by config path

Example 2

Set-IntelligenceXSkill -Path ".intelligencex/skills/my-skill/skill.json" -Enabled $true

Enable a skill again

Example 3

@(".intelligencex/skills/analysis/skill.json", ".intelligencex/skills/review/skill.json") | ForEach-Object { Set-IntelligenceXSkill -Path $_ -Enabled $true }

Enable multiple known skill config files in a loop

Parameters

-Enabled bool required
Set to $true to enable, $false to disable.
-Path string required
Path to the skill configuration entry.
-Client IntelligenceXClient optionalpipeline: true (ByValue)
Client instance to use. Defaults to the active client.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.