Skills page
The Skills page is where you add Claude Code plugins, which the Admin UI calls skills, to the private marketplace the gateway hosts. You register a skill by pointing at its git repository or zip archive, and Claude Code users install it from the gateway's /claude-code/marketplace.json catalogue. Open the page at /ui/skills. It sits in the left nav in the AI Gateway group, right after MCP Servers, and the nav shows it to proxy admins and proxy admin viewers only. Anyone signed in who opens the URL directly sees the list the gateway returns for them, and only proxy admins can change anything. The page has no license gate. The routes behind it are described in Claude Code plugin marketplace.
A real-world scenario
A platform engineer has written a release-notes skill in a git repository. On the Skills page they add it with its repository URL, copy the install command from the detail view and paste it into the team channel. Developers who already have the gateway as a marketplace run /plugin install release-notes@spanway and have it a minute later. When the skill is retired, Delete takes it out of the catalogue.
Register a skill
-
Open Skills and click + Add Skill. The button is disabled unless your session role is an admin role.
-
In Add New Skill, paste the Source URL. The Detected line tells you what the URL was read as, for example a folder inside a repository or a zip archive. For a zip, fill in Archive SHA-256 so Claude Code refuses a tampered archive. Skill Name is filled in from the URL and must be kebab-case. Add a Description, Category, Keywords and Version as you like, then click Add Skill.
-
Expected result: the toast reads "Skill registered successfully", the dialog closes and the skill appears at the top of the table with Public reading Yes.
-
The same registration with the API, which is what the dialog sends:
curl -X POST http://localhost:4000/claude-code/plugins \-H "Authorization: Bearer $SPANWAY_MASTER_KEY" -H "Content-Type: application/json" \-d '{"name": "release-notes", "source": {"source": "url", "url": "https://git.example.com/tools/release-notes.git"}, "version": "1.2.0", "description": "Drafts release notes from merged changes", "category": "Productivity"}'{"status": "success", "action": "created", "plugin": {"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7", "name": "release-notes", "version": "1.2.0", "description": "Drafts release notes from merged changes", "source": {"source": "url", "url": "https://git.example.com/tools/release-notes.git"}, "enabled": true}}
Add New Skill dialog
| Field | Type | Rules and effect |
|---|---|---|
| Source URL | Text, required | An HTTPS git repository URL on any host, a repository URL that already points at a subfolder, an HTTPS link to a .zip archive, or, for a private repository, an SSH clone URL such as git@host:org/repo.git so Claude Code clones it with each user's own SSH key. The URL is checked as you type. Plain http:// is refused, as are URLs with a user name or password in them, hosts without a dot and IP address hosts. |
| Subfolder path (Optional) | Text, placeholder plugins/my-skill | The folder inside the repository that holds the skill. It must be a relative path made of letters, numbers, dots, hyphens and underscores. Disabled, and cleared, when the URL already points at a subfolder or is a zip archive, with a note that says why. |
| Archive SHA-256 (Optional) | Text, shown only for zip archives | The 64-character hex digest of the zip file. Claude Code refuses to install the archive if the checksum does not match. Changing the archive URL clears it. |
| Detected | Info line | Shows what the URL was read as, for example a GitHub repository, a folder inside a GitHub repository, a git or SSH repository, or a zip archive. |
| Skill Name | Text, required, placeholder my-skill | Kebab-case only, meaning lowercase letters, numbers and hyphens. Filled in from the URL when empty. The gateway refuses a name that is already registered. |
| Domain (Optional) | Text, placeholder "Productivity" | Top-level grouping in the Skill Hub. |
| Namespace (Optional) | Text, placeholder "workflows" | Sub-grouping within the domain. |
| Description (Optional) | Text area, up to 500 characters | What the skill does. |
| Category (Optional) | Combo box | Pick Development, Productivity, Learning, Security, Data & Analytics, Integration, Testing or Documentation, or type your own. |
| Keywords (Optional) | Text, placeholder "search, web, api" | Comma-separated search keywords. They show as tags on the detail view. |
| Version (Optional) | Text, placeholder "1.0.0" | Must be a semantic version. The gateway supplies a default when blank. |
| Author Name (Optional), Author Email (Optional) | Text, email | The author or organization. The email must be valid and is only sent when an author name is set. |
Add Skill reads "Adding..." while it works. Cancel clears the form and closes the dialog.
Install a skill in Claude Code
-
Click the skill's name in the table and open the How to Use tab. Using this skill shows
/plugin install <skill-name>@spanwaywith a Copy button. -
The first time, click See one-time setup. The screen offers
/plugin marketplace addfollowed by this gateway's/claude-code/marketplace.jsonURL, and a JSON snippet for~/.claude/settings.jsonthat registers the same URL under thespanwaymarketplace name. Both have a Copy button. The URL is built from the address you opened the Admin UI on. -
Run the marketplace command once and the install command in Claude Code:
claude plugin marketplace add https://gateway.example.com/claude-code/marketplace.jsonclaude plugin install release-notes@spanway -
Expected result: Claude Code clones or downloads the skill from the registered source and its commands become available. If Claude Code reports the plugin is not found in the marketplace, run
/plugin marketplace update spanwayfirst, as the warning box on the tab says.
Roll a skill out to one team first
A skill is public as soon as it is registered. To try it with one team first, make it private and grant it.
-
Make the skill private. The page has no control for this, so call the API:
curl -X POST http://localhost:4000/claude-code/plugins/release-notes/disable -H "Authorization: Bearer $SPANWAY_MASTER_KEY"{"status": "success", "message": "Plugin 'release-notes' disabled"}The table now shows Public as No, and the detail view's Status reads Draft.
-
Open Teams, edit the team and pick the skill in the skills picker (placeholder "Select skills (optional)"), where it carries a "private" label. Save. The team's members see it in their catalogue when they add the marketplace with their key,
...marketplace.json?key=sk-.... A key in a URL is saved in Claude Code's settings and can show up in proxy logs, so use a dedicated key that can call no model and is granted only these skills, see plugin marketplace. -
When it is ready for everyone, publish it from the AI Hub page with Select Skills to Make Public, or call
POST /claude-code/plugins/release-notes/enable.
Claude Code gateway card
The card at the top of the page, between the header and the table, controls the Claude Code gateway, which lets developers sign Claude Code in through your gateway instead of a personal account.
- Serve the Claude Code gateway protocol is a switch. On, the gateway serves the Claude Code sign-in, inference, managed settings and telemetry routes under
/claude_code_gateway, so your developers' Claude Code runs on company keys and policies. Off (the default,enable_claude_code_gatewayunset), every one of those routes answers 404 and developers have to sign in some other way. Turning it on changes nothing for other clients. - Managed settings is a JSON editor for the
managed-settings.jsonobject Claude Code applies on every machine signed in through the gateway, for example to turn off telemetry or allow only some tools. Empty means no managed policy is served. Save managed settings stores it.
Only proxy admins can change the card. It is read-only for view-only admins, and for a value set in the config file, which shows "This value is set in the config file, so it can only be changed there." A change needs no restart, and other gateway workers pick it up on their next config reload. Each save is written to the audit log as a settings change.
Skill scanning card
The card below the Claude Code gateway card controls skill scanning, which checks every skill uploaded through the Skills API and every plugin added or changed on this page with your guardrails before it is stored.
- Guardrails that check skills is a text box for guardrail names from the Guardrails page, separated by commas, with Save guardrails next to it. Those guardrails read every file of a new or changed skill or plugin, so a skill that hides a prompt injection or a secret is refused before it reaches a model. Guardrails that are on by default check skills too. Empty, the default (
skill_scan_guardrailsunset), means only those run, and when none runs a skill is stored and marked Not scanned. A name that is not set up makes every scan fail, so a typo cannot quietly turn checking off. Each file is one guardrail check, which can cost money with a paid guardrail service. Saving an empty box removes the setting. - Let skills through when a scan cannot finish is a switch. Off, the default (
skill_scan_modefail_closed), refuses an upload when a file could not be checked, for example during a guardrail outage or for a binary file, so nothing unchecked reaches a model. On (fail_open) stores the skill anyway and marks its scan Failed, let through, so people can keep adding skills during an outage, at the risk that an unchecked skill is used. A file a guardrail blocks is refused either way.
Only proxy admins can change the card. It is read only for admin viewers and for a value set in the config file, which shows "This value is set in the config file, so it can only be changed there." A change applies at once and writes an audit row as a settings change.
Skill scan results, shown to proxy admins and admin viewers, lists the newest 100 scans with Scanned (when), Item (skill or plugin and its name, with "(refused upload)" when nothing was stored), Status (Passed, Manifest only, Blocked, Failed, refused, Failed, let through or Not scanned; hover Manifest only to read that only a plugin's marketplace entry was checked and its own files on your git host were not), Guardrails, By and Files. Show files opens the verdict, guardrail and reason of each file, for example scripts/setup.sh blocked by injection-check: Prompt injection. With no scan yet the list reads "No skill or plugin has been scanned yet."
Skills list
The header reads Skills with the line "Register Claude Code skills. Published skills appear in the Skill Hub for all users and are served via /claude-code/marketplace.json." The table lists the skills the gateway returns for you. Proxy admins get every skill, public or not. Every other role gets the public skills plus any skills granted to their key or team. It is sorted by Created At, newest first, and pages in the browser.
| Column | Meaning |
|---|---|
| Skill Name | The kebab-case skill name. Sortable. Click it to open the skill detail view. |
| Version | The registered version, or "N/A". |
| Description | The description, cut short with the full text in a tooltip, or "No description". |
| Category | A colored badge with the category, or "Uncategorized". |
| Public | Yes when the skill is published to the Skill Hub and the public catalogue, No when it is a draft. |
| Created At | When the skill was registered. Sortable. |
| Actions menu | Copy skill ID for everyone. Delete for admins. |
Delete opens Delete Skill, which names the skill and says "This action cannot be undone." Confirming removes the skill from the marketplace, shows a success toast with the skill's name and reloads the list. Claude Code users can no longer install it from the gateway, although copies already installed stay on their machines.
Skill detail view
Clicking a skill name opens its detail view. The Skills link at the top returns to the list. The header shows the skill name and description. The Overview tab holds Skill Details, a table of Category, Domain, Namespace, Version, Author and Added, each only when set, and a side panel with Status (Public or Draft), Source (a link to the repository, subfolder or archive, or plain text for an SSH clone URL), Tags and Skill ID. The How to Use tab and the one-time setup screen are described above.
Errors
| Where | What you see | Meaning and fix |
|---|---|---|
| + Add Skill | The button is greyed out. | Your role is not a proxy admin role (admin viewers are view only), or your session has no key. Ask a proxy admin. |
| Source URL | "Please enter a valid repository or zip archive URL" | The URL is http://, carries credentials, has no dot in the host or is an IP address. Use an HTTPS git URL, an SSH clone URL or an HTTPS .zip link. |
| Version | "Version must be in semantic versioning format (e.g., 1.0.0)" | Use major.minor.patch. |
| Add Skill | "A skill named '...' already exists. Update the existing skill instead of adding it again." | The gateway answered 409. Pick another name, or update the existing skill with PUT /claude-code/plugins/{name}. |
| Add Skill | Another error toast with the gateway's message | For example a source field is missing, see the Errors table of the plugin marketplace. Fix the field the message names. |
| Add Skill | "The plugin was refused because a guardrail blocked it (scan ...)" or "... could not check every file and skill scanning is set to fail closed ..." | The skill scan refused the plugin and nothing was stored. Open Show files on its row under Skill scan results, remove what the guardrail named, or fix the guardrail, see skill scanning errors. |
| Skill scan results | "Couldn't load skill scan results" with a Retry button | The gateway has no database, or the request failed. Press Retry, and connect a database if the message says one is needed. |
| Delete | "Failed to delete skill" | Check that you are a proxy admin and try again. |
| List | "Couldn't load skills" with the reason and a Retry button | Press Retry, and check the proxy logs if it keeps failing. |
| List | "No skills found" with "Add one to get started." | Register a skill with + Add Skill. |
| Subfolder field | A note that the URL already points at a subfolder, or that a zip archive is installed as a whole | Leave it empty, or change the URL. |
Differences by role and license
| Role | What changes |
|---|---|
| Proxy admin | Sees every skill, including drafts. Can add and delete skills. |
| Proxy admin viewer | Sees the page in the nav under the view-only banner. + Add Skill is disabled and Delete is not offered, and the gateway refuses changes from this role too. The list holds public skills plus skills granted to the viewer's key or team, so drafts can be missing. |
| Org admin, internal user, internal viewer | No nav entry. Opening the URL directly shows public skills plus skills granted to their key or team. + Add Skill is disabled and Delete is not offered. |
The gateway checks the proxy admin role on every change to the marketplace, so hiding or disabling a button is not the only protection. The page has no license gate.
Logs
The page writes no log lines of its own. A failed plugin change is logged by the gateway as Error registering plugin, Error updating plugin, Error enabling plugin, Error disabling plugin or Error deleting plugin, and the page shows the fixed message the gateway answers, for example "Registering the plugin failed. The gateway log has the cause."
Audit
Every scan writes a created or blocked row on Spanway_SkillScanTable, shown as Skill scans in the Audit Logs table filter. Every change to a plugin writes an audit row on Spanway_ClaudeCodePluginTable with the plugin's id: created when it is registered, updated when it is replaced, enabled or disabled, with its name, version, description, source and enabled state before and after, and deleted with what it was. Filter the Audit Logs page by the Skills page plugins table, or:
curl "http://localhost:4000/audit?table_name=Spanway_ClaudeCodePluginTable" -H "Authorization: Bearer $SPANWAY_ADMIN_KEY"
Related
- Claude Code plugin marketplace for the routes, source formats and rollout to one team.
- Claude Code gateway for signing Claude Code in through the gateway.
- Skill scanning for the guardrail check behind the Skill scanning card.
- Skills for provider account skills and the
object_permission.skillsgrant. - AI hub for publishing skills to every user.