← Back to Skills Marketplace
lancemccarthy

Configure Telerik NuGet

by Lance McCarthy · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
107
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install configure-telerik-nuget
Description
Helps setup, configure and manage Telerik NuGet feeds in your repo's nuget.config file.
README (SKILL.md)

\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.
Usage Guidance
This skill appears to do what it says (add a Telerik NuGet feed and configure credentials), but review a few points before installing/using it: - The SKILL.md expects PowerShell (pwsh) and declares dotnet in its frontmatter, but the registry metadata shows no required binaries — verify pwsh is available and be aware of this metadata mismatch. - The function will persist the provided API key as a user-level environment variable (Environment.SetEnvironmentVariable with scope 'User'). Persisting secrets in environment variables can expose them to other processes and is less secure than using an OS credential manager, encrypted nuget.config, or CI secret storage. Consider alternatives or set the variable only for the current session. - The script writes/overwrites ./nuget.config (or a custom path you supply). Inspect the script and back up your nuget.config before running it. If you decide to proceed: supply the API key only after reviewing the script, or run it in a disposable/test environment first. If you need higher assurance about secret handling, prefer solutions that use credential stores or CI secrets rather than persistent user env vars.
Capability Analysis
Type: OpenClaw Skill Name: configure-telerik-nuget Version: 1.1.0 The skill provides a PowerShell function to configure Telerik NuGet feeds by setting a persistent user-level environment variable for an API key and updating a local `nuget.config` file. The code in `SKILL.md` performs standard XML manipulation and environment configuration that aligns with its stated purpose, with no evidence of data exfiltration, obfuscation, or malicious intent.
Capability Assessment
Purpose & Capability
The SKILL.md defines a PowerShell function that sets a user-level environment variable and edits/creates nuget.config to add a Telerik feed — this is consistent with the skill's described purpose. However the registry metadata earlier lists no required binaries while the SKILL.md frontmatter declares required_binaries: pwsh and dotnet. That metadata mismatch is an inconsistency that could confuse automated checks or users installing the skill.
Instruction Scope
The instructions stay within the stated purpose: they create/update nuget.config and set credentials to use an environment variable rather than a hardcoded secret. The function also sets a user-level environment variable persistently (Environment.SetEnvironmentVariable with 'User'), which is a side-effect users should be explicitly warned about — the SKILL.md does warn to restart the terminal, but does not discuss security trade-offs.
Install Mechanism
This is an instruction-only skill with no install spec or code files, so nothing is downloaded or written by an installer step. That lowers install risk.
Credentials
No credentials are required up-front, which is fine, but the runtime instructions ask the user to provide an API key that the function will store as a persistent user-level environment variable. Persisting secrets in user environment variables can expose them to other user processes and is a broader access surface than storing secrets in a protected credential store or CI secret manager. Also dotnet was declared as required in SKILL.md frontmatter though it isn't used by the script, suggesting over-broad declared requirements.
Persistence & Privilege
The skill will write (or modify) nuget.config in the specified path and write a user-scoped environment variable (which updates the user's environment registry on Windows). This is normal for a configuration helper, but it is a persistent change to the user's environment and filesystem that the user should review before running.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install configure-telerik-nuget
  3. After installation, invoke the skill by name or use /configure-telerik-nuget
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
**configure-telerik-nuget 1.1.0** - Added skill metadata: required binaries, author, homepage, and source. - Store Telerik API key as a user-level environment variable for improved security. - Updated nuget.config credentials to reference the environment variable instead of a hardcoded key. - Added version field to the skill metadata frontmatter.
v1.0.0
- Initial release of configure-telerik-nuget. - Adds a PowerShell function to easily add or update Telerik NuGet feed entries in nuget.config. - Supports configuring credentials and handles existing source URLs gracefully. - Documentation and usage instructions included.
Metadata
Slug configure-telerik-nuget
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

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.

💬 Comments