Configure Telerik NuGet
/install configure-telerik-nuget
\r \r Use these helper functions to manage Telerik NuGet source configuration.\r \r Get a new api key at https://www.telerik.com/account/downloads/api-keys\r \r
Function: configure\r
\r
Sets a global user environment variable for the Telerik API key and updates/creates nuget.config so credentials use the environment variable instead of a hardcoded secret.\r
\r
function Configure-TelerikNuGetSource {\r
param(\r
[Parameter(Mandatory = $true)]\r
[string]$ApiKey,\r
\r
[string]$ApiKeyEnvVarName = "TELERIK_NUGET_API_KEY",\r
[string]$SourceName = "Telerik_NuGet_Server",\r
[string]$SourceUrl = "https://nuget.telerik.com/v3/index.json",\r
[string]$NuGetConfigPath = "./nuget.config"\r
)\r
\r
# Store API key as a user-level environment variable so it is available globally\r
[Environment]::SetEnvironmentVariable($ApiKeyEnvVarName, $ApiKey, "User")\r
$env:$ApiKeyEnvVarName = $ApiKey\r
\r
if (-not (Test-Path $NuGetConfigPath)) {\r
@"\r
\x3C?xml version="1.0" encoding="utf-8"?>\r
\x3Cconfiguration>\r
\x3CpackageSources />\r
\x3CpackageSourceCredentials />\r
\x3C/configuration>\r
"@ | Set-Content -Path $NuGetConfigPath -Encoding UTF8\r
}\r
\r
[xml]$nugetConfig = Get-Content -Path $NuGetConfigPath\r
\r
if (-not $nugetConfig.configuration.packageSources) {\r
$packageSourcesNode = $nugetConfig.CreateElement("packageSources")\r
$nugetConfig.configuration.AppendChild($packageSourcesNode) | Out-Null\r
}\r
\r
if (-not $nugetConfig.configuration.packageSourceCredentials) {\r
$credentialsNode = $nugetConfig.CreateElement("packageSourceCredentials")\r
$nugetConfig.configuration.AppendChild($credentialsNode) | Out-Null\r
}\r
\r
$existingSource = $nugetConfig.configuration.packageSources.add | Where-Object {\r
$_.key -eq $SourceName\r
}\r
\r
if ($existingSource) {\r
$existingSource.value = $SourceUrl\r
} else {\r
$sourceNode = $nugetConfig.CreateElement("add")\r
$sourceNode.SetAttribute("key", $SourceName)\r
$sourceNode.SetAttribute("value", $SourceUrl)\r
$nugetConfig.configuration.packageSources.AppendChild($sourceNode) | Out-Null\r
}\r
\r
$existingCredentialNode = $nugetConfig.configuration.packageSourceCredentials.$SourceName\r
\r
if (-not $existingCredentialNode) {\r
$existingCredentialNode = $nugetConfig.CreateElement($SourceName)\r
$nugetConfig.configuration.packageSourceCredentials.AppendChild($existingCredentialNode) | Out-Null\r
}\r
\r
$existingCredentialNode.RemoveAll()\r
\r
$usernameNode = $nugetConfig.CreateElement("add")\r
$usernameNode.SetAttribute("key", "Username")\r
$usernameNode.SetAttribute("value", "api-key")\r
$existingCredentialNode.AppendChild($usernameNode) | Out-Null\r
\r
$passwordNode = $nugetConfig.CreateElement("add")\r
$passwordNode.SetAttribute("key", "ClearTextPassword")\r
$passwordNode.SetAttribute("value", "%$ApiKeyEnvVarName%")\r
$existingCredentialNode.AppendChild($passwordNode) | Out-Null\r
\r
$nugetConfig.Save((Resolve-Path $NuGetConfigPath))\r
\r
Write-Host "Configured Telerik feed '$SourceName' in '$NuGetConfigPath'."\r
Write-Host "Saved API key in user environment variable '$ApiKeyEnvVarName'."\r
Write-Host "Restart your terminal/IDE so new processes can read the updated environment variable."\r
}\r
```\r
\r
Example usage:\r
\r
```powershell\r
Configure-TelerikNuGetSource -ApiKey "\x3Ctelerik-api-key>"\r
```\r
\r
## Changelog\r
\r
### 1.1.0 - 2026-03-20\r
\r
- Added skill package metadata: `required_binaries`, `author`, `homepage`, and `source`.\r
- Updated configure function to save API key as a user-level environment variable.\r
- Updated `nuget.config` credential handling to use environment variable expansion instead of hardcoded API key values.\r
- Added `version` field to frontmatter.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install configure-telerik-nuget - After installation, invoke the skill by name or use
/configure-telerik-nuget - Provide required inputs per the skill's parameter spec and get structured output
What is Configure Telerik NuGet?
Helps setup, configure and manage Telerik NuGet feeds in your repo's nuget.config file. It is an AI Agent Skill for Claude Code / OpenClaw, with 107 downloads so far.
How do I install Configure Telerik NuGet?
Run "/install configure-telerik-nuget" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Configure Telerik NuGet free?
Yes, Configure Telerik NuGet is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Configure Telerik NuGet support?
Configure Telerik NuGet is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Configure Telerik NuGet?
It is built and maintained by Lance McCarthy (@lancemccarthy); the current version is v1.1.0.