IntelligenceX
Cmdlet

Set-IntelligenceXSkill

Namespace IntelligenceX.PowerShell
Inputs
IntelligenceX.OpenAI.IntelligenceXClient

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

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

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.

Syntax

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

Parameters

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