Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layers/mcp/shared/mcp-tools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const GetSkillArgs = z.object({
const getSkill: McpTool = {
name: 'get_skill',
title: 'Get Skill details',
description: 'Look up one skill by GitHub owner, repository, and skill name. Returns its provenance: the publisher, the exact SKILL.md file and commit on GitHub, and freshness (the last repository push and the last skill change). Also returns the SKILL.md text, the skilld.dev page, runCommand, and installCommand. runCommand gives the skill to a coding agent for one session and writes no files. installCommand writes the skill into the project for every session.',
description: 'Look up one skill by GitHub owner, repository, and skill name. Returns its provenance: the publisher, the exact SKILL.md file and commit on GitHub, and freshness (the last repository push and the last skill change). Also returns the SKILL.md text, the skilld.dev page, runCommand, and installCommand. runCommand gives the skill to a coding agent for one session and writes no files. installCommand writes the skill into the project for every session. Without a shell, such as in a chat app, follow the SKILL.md text in markdown for this session. Tell the user the skill name and source repository first. Files beside SKILL.md are listed in files, not included.',
inputSchema: GetSkillArgs.shape,
annotations: {
readOnlyHint: true,
Expand Down
4 changes: 3 additions & 1 deletion shared/agent-setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ Use the first section that fits your environment. Then tell the user what you se

## If you cannot run shell commands but your app supports MCP

Ask the user to add this MCP server. It searches the registry:
Ask the user to add this MCP server. It searches the registry and returns each Skill's SKILL.md:

${REGISTRY_MCP_URL}

Setup steps for ChatGPT, Claude, Claude Code, Codex, Cursor, and VS Code: ${SITE_ORIGIN}/developers?setup=mcp

To use a Skill in this chat, call \`get_skill\` and follow its \`markdown\` field. It is the SKILL.md at \`sourceCommit\`. The \`files\` beside it are listed, not included.

## If you can only fetch URLs

1. Search: ${SITE_ORIGIN}/api/v1/skills?q=tailwind
Expand Down
2 changes: 2 additions & 0 deletions skills/skilld-registry/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Running is the default. `skilld run` hands you the skill for this session and wr

`search_skills` and `get_skill` return `runCommand` beside `installCommand`. Lead with `runCommand`. Offer `installCommand` only when the user asks to keep the skill.

Without a shell, such as in a chat app, follow the `markdown` field from `get_skill` for this session. It is the skill's SKILL.md at `sourceCommit`. Tell the user the skill name and source repository first. The `files` beside it are listed, not included.

`install_command` returns `runCommand` for a single-skill ref and `command` for the install. A collection, curator, repository, or npm ref has no run command yet, so `runCommand` is `null` there.

Every tool is read only. Running and installing both stay separate actions in the user's own environment.
Expand Down
Loading