본문으로 건너뛰기
  1. 레퍼런스
  2. What an agent gets over MCP

레퍼런스

What an agent gets over MCP

이 페이지는 영어로 쓰여 있습니다.

  • Status: Draft.
  • Contracts (names, descriptions, input schemas, result shapes and text rendering) live in packages/core; the reads in packages/reader and the MCP surface in packages/serve (ADR-0054, ADR-0057). apps/server composes them for a deployment; the skillcdn command composes them for a directory.

A mounted address serves a pack (the format) through four read-only, idempotent tools, and its skills through the MCP skills extension (the skills extension). The tools are the discovery layer, and the whole surface for a host without the extension; the extension is how a host that understands skills receives them (ADR-0024). Actual folders organize discovery; names are labels, and exact repository-root paths identify content. The tool names say what they act on, so that they do not collide with a host's own.

Inputs

ToolArgumentRule
browse_repopathOptional directory path. Omitted: the mounted directory. Lists immediate entries, not the entire subtree. A file path answers the file's outline instead (the outline of a file).
cursorOptional opaque continuation from the preceding page of this request.
limitOptional integer, 1 to 200. Default 20 over MCP, where a page also has to fit the response budget below; the REST API defaults to 50.
search_repoqueryRequired nonblank text, at most 500 characters. Use words in the original content's language, usually English; a query in another language also finds the skills whose translation says it (a query in another language).
pathOptional directory path restricting search to that subtree; omitted: the mounted directory.
cursorOptional continuation of the same search.
limitOptional integer, 1 to 25, after folding supporting files under skills. Default 5 over MCP; the REST API defaults to 10.
load_skillpathRequired exact path of a SKILL.md, such as marketing/skills/ad-copy/SKILL.md. A name or directory is not a skill identifier.
cursorOptional continuation of the same skill's context.
read_repo_filepathRequired exact file path. Directories are browsed with browse_repo.
offsetOptional character offset. Default 0. A section named by a search result or an outline is read with the offset and limit it gives.
limitOptional number of characters, 1 to 100,000. Default 40,000.

Paths always start at the repository root, including on a sub-path connection. No leading /, . or .. segments, backslashes, control or invisible characters; no current-directory state. The empty directory path names the repository root and is valid only when it is inside the mount. For /gh/acme/library/marketing, the skill path remains marketing/skills/ad-copy/SKILL.md.

browse_repo shows immediate folders and eligible files with their canonical paths. Folder entries carry counts of what can be discovered below them, so a hidden or duplicate copy of a skill is not counted although its folder can be browsed, and identify a skill or a SKILLCDN.md when present. Manifest metadata adds a name and description to the real folder; it does not create an alias or hide path segments. Plain folders work without a manifest. Pages name their commit and provide nextCursor when more entries remain.

An optional overview identifies the current folder's README with its path, title and short description; an entry's optional overviewPath identifies its own introduction. Read it with read_repo_file only when that context helps choose the next step. Explicit manifest descriptions take precedence, followed by the local README summary and the git-host description at the repository root. Overview-only files are neither independent search results nor extra documents in counts. Their eligible local Markdown links remain readable references. See README introductions. A folder that has a SKILLCDN.md of its own is answered with its manifestPath, and the connection instructions name the mount's manifest, since the manifest is no entry of any folder and its front-matter is where a pack keeps its metadata; a folder entry says how many pictures it holds (imageCount), beside its skills and documents, so that a folder of figures is known from a folder of pages.

A skill entry's path names its SKILL.md; its browsePath names the containing directory for supporting files and nested skills. Opening a parent skill does not hide nested skills.

search_repo matches words, and meaning where the deployment offers it (words and meaning). Any query word may match; relevance determines the order, with skill names and descriptions weighted above body text, and a skill a little ahead of a document: where the results are put in one order, a skill's score counts 1.05 times a document's, so that it passes the documents up to three places ahead of it and no more (ADR-0095). Results retain relevance order across folders. The optional path is a scope filter, not a search term. A search narrowed to a folder names it in its first sentence, with results and without, 1 result for "card" under design/ in acme/skills (commit 0123456):, since nothing found in one folder is not nothing found in the pack; one that found nothing there says that the folder can be left out, beside the other words to try.

Search indexes original metadata and body text, excluding front-matter translation fields, which a query in another language than the pack's is compared with when it is asked (a query in another language). All MCP discovery and skill context use the original name, description and instructions. The UI language never selects a skill translation for the agent. English is the recommended authoring default, while other original languages remain supported; a manifest's language helps the agent choose query words. read_repo_file preserves exact source text, including translation declarations when present.

The words that match

The words of a text and of a query are read by the same rules on every index, the deployment's and the command's (ADR-0063): a text is cut into words, numbers, hyphenated words, hosts, versions, paths, addresses and URLs; the words of a language with a stemmer are reduced to their stem and its stop words are dropped, so that releases finds release; and the scripts without word stems, Han, Hangul, Hiragana and Katakana, are matched by pairs of characters, so that an inflected word is found by its stem and a particle written onto a Latin word or a number leaves the word findable. The language of the nearest manifest chooses the stemmer, for the text when the commit is indexed and for the query when it is searched; English is the only stemmer at present and the one every language is read with, so a pack in another language is matched by its words as written and by pairs where its script has no stems (the repository manifest). A hyphenated code with a digit part, or across scripts, OIW-PV-120, 6635-81-302-5518 or 서돌-4, is a word beside its parts, so that the code finds the one document that holds it. A token joined by slashes or dots, open/closed/held, ops.intake.queue or guide.md, is a word beside the words it joins as well, so that one of them finds the document that writes them together (ADR-0078), and so is a name joined by underscores, TIDE_RATE_C2 or berth_id, the field of an interface or an identifier of code, so that the name asked for as written finds the row that holds it (ADR-0100); a name joined by capitals, BerthAssigned or XMLReader, is a word as written everywhere, and where it names something, in a name, a title, a path or a heading, the words it is joined of are words beside it, berth, assigned, so that a question in words finds the page or the section a name heads, while a query is read as written and a name in it matches whole (ADR-0114); a part of a dotted token that is digits alone is no word of its own, since a section number or a version, 4.2.6, names one thing as a whole, and a URL and an address stay as the parser reads them. Each word of a query weighs by its rarity among the entries searched (ADR-0069): a code or a name that few documents hold decides the order, a word every document repeats decides next to nothing, a match in a name counts twice a match in the body, a match in a heading of the document counts between the two, so that a code quoted verbatim finds the section headed by it before a table that lists it among many. The sections of a document are ranked the same way among themselves: a word weighs by its rarity among the sections of that document, so that the word every section of a long table holds says nothing of which section is meant, and the word one section holds says it (ADR-0100).

Words and meaning

Where a deployment runs an embedding model beside the image and its database keeps the vectors of sections (ADR-0064, ADR-0065), a query is also embedded, and the sections of the mount nearest to it in meaning are fused with the results of the words by reciprocal rank fusion (ADR-0063): a document's rank by meaning is that of its nearest section, a skill's that of its nearest section or of its name and description, which are embedded as one text of their own (ADR-0094), a document both layers find comes before one that only one finds, a skill's fused score counts 1.05 times a document's, which is the one place a skill is boosted (ADR-0095), and ties keep path order. Within a document, the sections the words rank and the sections the meaning found are fused the same way, so that a question asked in other words than the document's still names the passage. Where a reranking model is configured as well, the first results, ten unless the deployment says otherwise, are scored against the query before the page is cut, each by its title, its heading path and the start of its best section, and reordered by score. A result then ends with one line on how it was ranked: Ranked by words and meaning., Ranked by words and meaning, the first results reranked., or, when the embedder did not answer within its short timeout, Ranked by words alone this time: the search by meaning did not answer.; a reranker that does not answer leaves the fused order and the line without its last clause. While the embedding of the index is still going on, the line ends ; 123 of 380 documents embedded so far. in place of its full stop, since a document without its vectors is found by its words alone; such a document keeps the place its words give it, which counts for both lists where the meaning, which could say nothing of it, leaves it out, so that a skill or a document asked for by its name stands first before it is embedded (ADR-0126). A query that names a thing instead of describing it is ranked by its words (ADR-0079): a token is an identifier when it holds a digit, or an upper-case letter after its first character, or says what kind of thing is named (table, figure, section, clause, annex, appendix, chapter), and a query of at most four tokens that are all identifiers, 4.2.6, TABLE C-2 or ResumeGuardTimes, is answered by the words alone, since meaning places a number near every other number; neither model is asked, and the line reads Ranked by words alone: a query of numbers and names is matched as written. Whatever else a query says, a document one of whose headings names the identifiers the query begins with, token for token, stands first among the results, in the words' order, and a reranker orders what follows. A deployment with no embedding model ranks by words alone and says nothing of meaning; so does the skillcdn command over a directory, unless it is given an embeddings server, when it embeds the directory the same way and ranks by words and meaning (the command). The vectors are made from the sections of a commit after it is indexed, within what the deployment embeds: its scope (public repositories, or every one), the bounds its operator sets, and the documents whose manifest does not keep them to the words (the repository manifest); a commit indexed a moment ago, or a repository first searched a moment ago, may be found by its words alone for a while.

A query in another language

The words of an index are those of the language its pack is written in, so a query in another script finds by them only what happens to hold a pair of its characters. Such a query also finds a skill by its translations (ADR-0146). It is a query less than half of whose weight is in words of a script the searched folder's language is written in. For it, the skills under the searched path whose skillcdn.translations hold more than a quarter of the query's weight, title and description, in a language the query could have been written in and each word weighed as the mount weighs it, are a list of their own: the one whose translation holds the most first, path order among equals. That list is fused by reciprocal rank with the words' list and, where the meaning is searched, the meaning's (words and meaning), so a skill that its translation and the meaning both find comes before one that holds a fragment of the query, and a deployment without an embedding model finds the skill at all. Nothing is indexed for it: the translations are read from the entries of the index when the query is asked.

Every other query is left to the words of the index. A query that could have been written in the folder's language is not compared with the translations, so a product's name in Latin letters inside a Korean translation finds nothing for a query in English; two languages of one script are not told apart, so a German query of a pack in English is such a query; and a query of identifiers alone stays the words'. A document has no translations and is found as before. The search across the packs finds by no translation (across every pack of a deployment).

Sections in a search result

A document result names the sections of the document that matched, by their words or by their meaning, best first and at most two over MCP: the heading path from the document's first heading down to the section's own, the character offset and limit that read the section with read_repo_file, and a short excerpt of the passage that matched, as plain text; an excerpt that only repeats the document's summary is left out. A section is the text from its heading line to the next heading of any level, or to the end of the file; the text before the first heading, and a document without headings, are sections too. A document this mount describes without serving names no sections, since the passage could not be read here (licenses); a skill result and the files folded under it name none, since a skill is loaded whole. A result that is the README of its folder, the map that says a little of everything in it, is marked as the overview of its folder (overview: true over REST), so that a model that wants the document goes on to the one the map names. A result that says it was made from other documents of the pack, a note or a glossary, is marked (made from other documents: quote what it points to) (derived: true over REST), so that what is quoted is the section it links to (ADR-0083).

How a result matches

A search answers with the nearest it has whether or not one fits, so it says of each result of a page how it matches the query, as far as it can tell (ADR-0138). Each layer of the search vouches for a result, has grounds against it, or says nothing:

  • The words. A result is judged by the share of the query's words it holds, each word weighed by its rarity in the mount. A skill is judged by what it is called and described as, since that is what a skill is chosen by: its name and description, in the original or in one of its translations, whichever holds the most. A document is judged by the one section that holds the most of the query. Two thirds or more vouch for a result, and a section of a skill's own instructions, or of the first of its files the words found, vouches for the skill as well where it holds as much: a skill found through a passage that says the query is a match whatever its description says. A quarter or less in its name and description counts against a skill that no such passage vouches for, and nothing counts against a document, which is asked in other words than its own. It counts against a skill only where the query could have been written in a language the skill is described in, its own or a translation's, told by the script of the query's words; where the query is not identifiers alone, which stand in a body and not in a description; for a skill the meaning found, where the deployment has said from which similarity a section is near; and, where the words alone searched, only for a query that could have been written in the language of the searched folder, since a query in another language finds only the skills that carry a translation, and what fits it may not be among what was found.
  • The meaning. The similarity of the result's nearest section, among those the index answered, against two bounds: from EMBEDDINGS_NEAR up it vouches, under EMBEDDINGS_FAR it counts against. The scale of a similarity is the embedding model's own, so the bounds have no default, and a deployment that says neither judges nothing by meaning.
  • The reranker. Its score, where it scored the result: from RERANKER_RELEVANT up it vouches, under RERANKER_IRRELEVANT it counts against, in whatever scale its server answers, with no default either.

A result a layer vouches for is a close match, whatever another layer holds against it. A result no layer vouches for and one has grounds against is a loose match. Of the rest the search does not know, and says nothing.

A close match says so after its name, with the layers that vouch for it: skill: release-notes (skills/release-notes/SKILL.md); a close match by words and meaning (relevance for the reranker). The loose matches of a page follow its other results, one line each, with the name, the path and what counts against it, and without a description or sections: Loose matches, each with what counts against it:, then 4. skill: payroll (skills/payroll/SKILL.md); few of the words in its description, far in meaning (judged irrelevant for the reranker). Where every result of a page is loose, its first sentence says so in place of the count: No close match for "kubernetes cluster" in acme/skills (commit 0123456). The nearest 5, each with what counts against it:. Where a page holds skills and every one of them is loose while a document beside them is not, the first sentence says that as well, 5 results for "vacation request" in acme/skills (commit 0123456); no skill among them matches closely:, since a pack of skills is asked for the skill of a job and its documents are near many jobs. Which results a page holds, their order as data and its cursor are as they were: the text alone lists the loose ones after the others. A listing says none of this. Over REST each item carries what was judged and from what as match (the find route). The results of a search across every pack are judged and said the same way (below).

The outline of a file

browse_repo given the path of a Markdown file answers the file's outline instead of a folder listing: its headings in document order, each with its level, its text and the offset and limit that read its section, in pages with nextCursor: over MCP a page holds as many headings as the response budget takes, or as many as the call's limit names; the REST API pages by its limit. Offsets count the characters of the file as read_repo_file returns it, front-matter included. The first page says what the document says of itself (document packs): the originals it was made from, from its front-matter source, each with where its bytes are when it is a file of the mount (Original: in the header, sources over REST), and the pictures it links to, each with its alternative text or the note that it has none (images), so that an agent knows a figure is there and what it shows. It says too what the document holds that is had as data instead of read (ADR-0080): Tables: 2 with 40 rows; as data: <where> and Code blocks: 12; as data: <where>, where the place is the rows or the code route of the address with the file as its path (REST), or the command that prints them for a directory read on a machine, and a heading whose section holds tables ends ; 20 rows after what reads it. A table a task needs whole is fetched from there by a program, never copied out through a tool result. A file that is not Markdown, a file over the read limit, a file that is not text and a file this mount describes without serving are answered with the reason and, where one exists, the file's source (reading a file). An outline keeps at most 1,000 headings and says when a file has more.

A skill's supporting files are folded under their owning skill before pagination. The skill occupies its best-ranked member's position, with up to five matching files and a count of the rest. This avoids duplicate skills on later pages or short pages caused by folding after the limit. Independently discoverable documents appear with their title and summary; linked-only references do not become independent search results (format).

Identical copies of a skill are listed and searched once, and a skill under a hidden directory is listed and searched only when the repository has no visible skill (what the extension lists). Every declared skill stays loadable by its exact path. The skillcdn command answers the same reads from a directory, over an index kept in memory (ADR-0053, ADR-0055): the same words match, with the same stems and stop words and the same weights, and which of two matches comes first may differ from a deployment's answer where their ranks are close. A skill this mount describes without serving is marked described only (license: ...) in browse entries and search results, so that a model does not load it for its content (licenses).

A search says of each result what choosing needs (ADR-0136): what it is, its name, the path that loads or reads it, and the start of its description or summary, at most 160 characters, every result alike. A skill's matching files are one line, the first three by their paths in the skill's folder and the count of the rest, Matching files in its folder: references/style.md (1 more): that a file matched says why the skill is among the results, and the skill names its files once it is loaded. A document's sections are as above, since they are what is read next. The skillcdn command prints the same, and skillcdn find --full prints everything the search knows of a result, the description as far as 360 characters and a matching file a line with its title, for a person who wants to see the search itself; the tool takes no such argument, since load_skill and browse_repo say the rest and the REST API answers everything as data. Where the command found a skill, the results of its first page are followed by the next step, once: Load the one that fits, or go on without one where none does: skillcdn skill <pack> <its path>, with the pack as it was given, and not where the search has grounds against every skill it found (how a result matches), which its first sentence says; a tool result does not say it, since the tool's description has. A loose match keeps its one line in either form, and --full says what the search knows of it below that line. A listing, which has no words to choose by, says every skill with its description as far as 360 characters.

Listings and searches expose whether more results exist and carry diagnostics for unreadable manifests. Descriptions are brief discovery summaries; full instructions come from load_skill. Page limits are maxima: the serialized response byte budget can end a page sooner even when its item count has not been reached. A partial index is identified as partial; pagination cannot recover files excluded by indexing limits.

Loading a skill

load_skill resolves only its exact SKILL.md path. The result includes the canonical path, name, description, known front-matter fields, parser warnings, supporting-file paths and resolved Markdown reference paths. Two skills with the same name remain distinct.

The context is the body of the document the skills extension serves for the skill (ADR-0025), in this order:

  1. Every applicable SKILLCDN.md body, from the repository root to the nearest manifest, each under --- applicable rules: <path> ---.
  2. The skill's own body, under --- instructions ---.
  3. Files declared in skillcdn.include, in declaration order, each under --- included file: <path> ---; a shared page outside the skill directory arrives here too, under its repository-root path (format).

The front matter of the document is not repeated as YAML; its fields are the header lines of the result (Skill, Description, License, Compatibility, Allowed tools, Metadata). The License line names the license the reader resolved for the skill and where it found it, which may be a file rather than the field (licenses). A page after the first names the skill and its source and says none of the other header lines again.

A skill whose license keeps its content at the source is described only (licenses): the result has the header lines, a Described only: line with a link to the skill's manifest at its host, and no rules, body, files or references; the REST result says the same in serving. A verified repository's default branch is served in full.

The reader admits at most 16 KiB (16,384 UTF-8 bytes) of context text per page, and a page carries all of it unless the response byte budget below ends it sooner. A page may end inside a rule or file, and ends where a reader can stop (ADR-0123, ADR-0118), in this order of what it finds:

  1. Between two blocks of Markdown, which is after a line end outside a fenced code block and a table and not right after a heading or a line that ends in a colon, where such a place is within 4,096 bytes of where the bytes run out, a quarter of a page, and, for the text a page begins with, no further back than half of what the page could hold of it. The reach is counted in bytes as the page is, so a page gives up the same share of itself in every script. A rule or a file that begins after other text on the page is cut within the whole 4,096 bytes (ADR-0122), and one with no such place in the 4,096 bytes or fewer the page could hold of it begins the next page.
  2. After its last line end, however far back, when the line the bytes run out in is one a page holds whole: a line that fits a page is never half on one page and half on the next. A rule or a file that begins after other text, whose first line does not fit what is left of the page, begins the next page.
  3. Inside a line longer than a page, between two words within 256 bytes of where the bytes run out, else where they run out, and never before a character that is read as part of the one before it: a combining mark, a joiner, the vowel or the final consonant of a Hangul syllable written in its letters.

A table longer than the reach of 1 is cut after a row, and the page that goes on with it says the table's first two lines again above its first text, under a line that says so. A fenced code block longer than that reach is cut after a line. The result marks the fragment, returns complete: false and supplies nextCursor. Continue load_skill with the same path and cursor until the context is complete before using the skill. A page of a skill read in more than one says how many pages follow it: at its head, Skill context is incomplete. 3 more pages follow this one. Continue load_skill with path ... and cursor ... before using it., and once more as its last lines, with the same call and that the skill is not to be used or answered from yet, since the end of a page is what a reader has just read when it decides what to do next. The last page ends Skill context is complete: this was its last page. A reader told how much is left reads on where one told only that there is more stops (ADR-0123). Outer rules are not discarded to make inner rules fit. Missing or unreadable required content leaves complete: false; when another page cannot repair it, no continuation is supplied and the diagnostic explains why.

On a sub-path mount the rule chain still starts at the repository root. Ancestor rules outside the mount arrive through load_skill and its continuation, and so does a shared page the skill includes from outside the mount. Their paths remain canonical, but read_repo_file cannot use those paths to escape the mount. A link to another manifest does not add that manifest's rules; ancestry determines the rule chain.

The first page names the skill's supporting files in path order, up to 3 KiB of paths and the REST listing's bound; when more exist it says so, and browse_repo pages through the directory. It resolves up to five references to the files they point to, and names the files of the others by path, as far as 1,024 bytes of paths go, with the count of the rest. Where it shortened the description, the metadata or the warnings, an Abbreviated above: line says which, and that the instructions are whole. A skill that links to files of other packs by their skill URIs (format), in its body, its rules or an included file, has them listed under In other packs, not readable here:, each as its pack's address and the path in it, up to twelve, with how one is read: over a connection to that pack with load_skill or read_repo_file, or in a shell with skillcdn skill <pack> <path> and skillcdn file <pack> <path>. Continuation pages repeat neither the files nor the references. References identify files to read when needed; they are not automatically included in the skill's context unless skillcdn.include also declares them.

Raw files

read_repo_file returns UTF-8 text from an eligible file within the mount, with the path, character offset, total length and next offset. A page never splits a character. One call reads one file: a passage is read by its offset and length, which a search result and an outline give for each section (sections, outlines), and a result that names several files is followed by one call each. It does not prepend shared rules or turn a raw SKILL.md read into a skill load: it returns the source as written, skillcdn key included. The first page of a Markdown document names the originals it was made from, as the outline does (Original:; sources over REST). Binary, oversized, unavailable and unknown files produce safe tool errors with a hint. For a file over the read limit, and for one that is not UTF-8 text, the error says so and gives the URL of the file's bytes, the only place to get what this tool cannot carry (ADR-0033, ADR-0077): at the git host for a repository of one, with one line more for a private repository of a git host, that the host serves the file only to a GitHub credential that may read the repository; at the deployment's own route for a pack served from its directory, and at the server's own route for a directory the command serves over HTTP, which send the file as an attachment; and as a file: URL on the machine for a directory the command reads or serves over standard input and output. A file whose name says that it is not text, a picture or an original, is answered so without being fetched; a file kept in Git LFS, whose bytes in the repository are a pointer, is answered with the size the pointer names and GitHub's own raw route, which serves the file itself. So does a file whose license keeps it at the source, a described skill's directory or a restrictive repository license outside the skills: the error names the license and links to the file at its host (licenses).

The requested character limit is an upper bound. The MCP response byte budget can shorten the page, including for JSON escaping and multibyte text; continue at nextOffset to retrieve the remaining text. A page that is cut, by the default length where none was asked or by the budget, ends at the end of a line where it holds one, so that a row of a table or a line of code is never half on one page and half on the next; a length that was asked for and fits is given as measured. A page that holds the length asked for, with more of the file after it, says where the file continues and asks for nothing, since a section read is complete at its end; a page the budget cut short of what was asked says that more follows. The references listed after a page are the links within that page, by the file each names (ADR-0082): a file once, by its repository-root path, with the sections the links name in it and the offset and limit that read each, - docs/chapter.md: 4.2.7 (offset 849, limit 2129); 4.2.8 (offset 3648, limit 610), where a link's fragment names a section of a file this mount can read (Markdown references); a link without a fragment names the file alone, and a file that is not available says why in brackets. Up to twelve links are listed and the rest counted. A reference is followed by reading the section it names, a few thousand characters, in place of the file. READMEs are optional reads and never automatically join a skill's context. Excluded files return the same unavailable-content result as other ineligible paths.

Reading is distinct from discovery: an explicitly linked file can be readable without being an independent search result. The format defines eligibility, hidden paths and reference expansion.

Results and continuations

A result is one text block written for a model, and nothing else: no structuredContent, so that every client passes the same text to its model and a page is spent once (ADR-0034). The layout described above is the contract. The text identifies the repository, mount and commit, explains the next call, and labels repository content by its source. Tool output is data; nothing is executed by SkillCDN.

MCP bounds the serialized JSON tool-result payload to 24 KiB (24,576 UTF-8 bytes): the text, its envelope and the continuation. Browse and search shorten discovery summaries and page entries to fit. Skill and file reads retain complete source text across continuations. This is a server response budget, not a promise about a client's token limit. REST retains its own documented page limits.

The skillcdn command prints the same results for an agent that runs it in a shell, and bounds what one read prints at 28,000 UTF-8 bytes, under what the hosts measured show of a command's output whole (ADR-0124, the command). Both bounds are counted in bytes, as the hosts count theirs: a bound in characters lets text of three bytes a character through at three times the size. A skill is printed in parts, each a run of the pages above, and a part says what a page says, in its own word: how many pages follow it, at its head and at its end, with the command that prints the next part as its last line, and on the last part Skill context is complete: this was its last part. What a page and a part show of a skill's lists is the same on both routes.

What the budget comes to, measured against the hosted service and against a pack of 455 documents, Korean among them, served by the command (2026-10-21): the connection text is 1,000 to 1,600 characters and the four tools' descriptions and schemas 2,950; a search page of five results with two sections each is 3,400 to 4,100 characters in English and 2,100 characters (3,700 bytes) in Korean; twenty-five results are 17,000 to 21,500 characters in English and 11,800 characters (24,100 bytes) in Korean, at the budget, both measured while a result's summary ran to 360 characters, where it now ends at 160 (ADR-0136), so a page weighs that or less; a folder page of twenty entries is 5,000 to 7,800 characters; a default file read fills the payload with 24,300 to 24,400 characters of English or 10,250 of Korean; a section read adds about 250 characters of header to its text, and the links within it. Claude Code (2.1.304, read in its binary) estimates a tool result at one token per four characters, warns above 10,000 of them and truncates above 25,000 (MAX_MCP_OUTPUT_TOKENS), asking the API for a count only above 12,500 of its estimate: no page of this budget reaches any of those, Korean included. Of the other clients of the connection guide, read and not measured: Gemini CLI truncates a tool output above 40,000 characters and budgets what it shows of a large one at 10,000 tokens by default, which a Korean page at the budget may approach; Cursor, VS Code and the Claude apps document no bound.

Two hosts were run with a command's output of known length (2026-11-22): Claude Code 2.1.330 showed its model 29,500 bytes whole, and saved an output of 30,300 bytes to a file with its first two kilobytes shown, as it did an output of 60,000 bytes of Hangul, 21,500 characters; Codex 0.171 showed 38,000 bytes whole, and of 43,000 bytes the head and the tail. Read in their source and not run: Cline cuts a tool result over 8,000 characters in its middle, VS Code's agent writes one over 8,192 characters to a file and gives its model the path, Zed keeps the first 16 KiB of a command's output, and Cursor shows 20,000 characters of one; a page and a part pass these.

Codex (0.171, read in its source and run, 2026-11-22) bounds what its model gets of a tool's output, a resource read among them, at the budget of the model: 10,000 tokens and a fifth more, counted at four bytes a token, so some 48,000 bytes for the models it ships with, and 12,000 bytes for a model it does not know. Past it the head and the tail are kept and what lay between is replaced by a line that says how much was cut. A page of this budget is under the first of those bounds. A skill read in one piece with Codex's own tool for a resource, as the document the skills extension serves, was 61 KB, and 14 KB were cut out of its middle; Codex then read the pages, in every such run. A skill is read whole through load_skill by a client whose bound a page is under, whatever the skill's size. skillcdn check says which skills are served as a document of more than a tool result holds (format).

What the instructions say of the extension does not decide that read (Codex 0.171, run 2026-11-24 with a task that names a skill of four pages by its path, against a pack that names no page to start at). Its model listed the server's resources before anything else and read the skill's document in one piece in three runs of three as the last line of the instructions stands, in two of three with the line left out, in three of six where the line said to read a skill with load_skill and whom the skill:// addresses are for, in four of six where it said never to read a skill as a resource, and in two of three with that said on the second line. Against the same pack with a page to start at named in its manifest, it read the document as a resource in one run of three, and in none of three against the pack as it is now, which names one: it read that page, and then the pages of the skill. It read the pages to the end in every run. So the line is as it was, and a pack that names where an agent starts is the one thing seen to keep such a client to the pages (connection).

Whether a client's model reads every page was run with a task that names a skill of four pages or of seven (2026-11-22, Claude Code 2.1.330 and Codex 0.171, each without a person). Codex with its default model and Claude Code with its largest read every page, whatever a page said of the rest. Claude Code with Sonnet 5.5 and with Haiku 5.5 read the seven pages to the end in none of six runs while a page said only at its head that the context was incomplete, and in ten of eleven once a page said how many pages follow it, at its head and again at its end (ADR-0123).

Cursors bind to the snapshot and reading-rule version, mount path, operation, scope and query or skill path. A cursor for another request, or for a snapshot that changed, is invalid: restart from the first page. A moving ref may resolve to a newer commit between calls; every result identifies its commit. Use an address pinned to a full commit hash when the entire workflow must stay on one commit (address).

A problem the model can correct is an error tool result, not a protocol error. Unknown and forbidden private repositories remain indistinguishable. Every call checks access, including cached reads.

Authorization

A public address needs no credential, and a client that knows nothing about authorization uses it as before. A repository that is not public is served to a client that presents an access token of this deployment, for that address, whose person the git host lets see the repository (permissions). A request without a token for anything that is not public, a private repository and a name that is nothing alike, is answered 401 with a WWW-Authenticate challenge naming the address's protected resource metadata, from which a client finds the authorization server and starts; a token that is no good is answered the same way with error="invalid_token", at any address. The access token is checked before the MCP server of the request exists and is not passed on to it. The REST API takes the same tokens at the routes that read an address, with the same answers (REST).

Connection and prompt

Connection instructions introduce the pack and the mounted scope, give counts and a bounded overview of the folders that hold something discoverable, explain browse_repo, search_repo, load_skill and read_repo_file, and name the prefix under which the skills extension serves the same skills. The line on search_repo says what it matches, so that an agent chooses how to ask: original words, or words and meaning where the pack is embedded (words and meaning), in which case it is told to ask in its own words. A brief manifest introduction, README summary or git-host description supplies orientation; an available README is named by path rather than included in full. Where a manifest names the page an agent starts at, start (format), and the mount can read that page, the line of the README is Start here, before a task: read_repo_file <path>. instead: the README is written for the people who open the repository, and the pack has said what its agents read first (ADR-0119). Instructions stay within 2,000 characters and point to browsing for the rest. The folders share the room that is left for them (ADR-0112): a folder's line is its path, its name, its description and what it holds, and where the lines do not fit whole, the descriptions are cut to one length for all of them, then left out, then the names, so that every folder keeps its path and its counts. Only where those alone do not fit are folders left out, and a line says how many: 7 more folders are not listed here. They report indexing or manifest diagnostics instead of implying an incomplete catalog is complete. A missing optional manifest is not itself a warning.

A reader with a shell and no connection asks the same of a pack in one read, skillcdn skills <pack> --kinds (ADR-0137): the kinds of work the mount has skills for, made from the answer that introduces it (REST) and from nothing else. A line is a folder of the mount that holds skills and describes itself, its path with a closing slash and the first sentence of its description without its full stop, in path order; then a line for every skill no such folder holds, by the path of its SKILL.md, so that every skill the answer names is behind a line. The first sentence ends at a mark followed by a space and a capital, a digit, a quote, a parenthesis or a letter of a script that has no capitals, at a full-width mark, or at the end of the description; the table skillcdn catalog writes ends it by the same rule. The lines stay within 1,500 characters: where they do not fit whole, every line is cut to one length, and where they do not fit at forty characters each, a last line counts the kinds it leaves out. Skills the answer counts and does not name are counted in a line too, and only where every skill is behind a line that was said does the read end by saying that a job of none of the kinds needs no search. No tool answers this over MCP, where the instructions above introduce the folders; kindsOf and renderKinds of @skillcdn/core make it from the mount's answer for any other client.

The server info carries the manifest's name and description when available, otherwise the address with a README or host description, and links to the address page. Its version says what the deployment was built as, the same at every address and at the root: the version of a release, from an image built between releases the version of the packages with the commit after a + (1.2.3+abc1234), and 0.0.0 from a server run from source (ADR-0133, ADR-0134); it says nothing of the pack, whose commit the instructions name. It names one icon, the owner's picture at 128 pixels square, at /icon/<address> on the deployment's own origin (REST): a client fetches a server's icon from that origin and from nowhere else, so the git host's copy is served on rather than named. The description of browse_repo also explains discovery for clients that do not show server instructions.

Every tool carries a title for people and says of itself, in its annotations, that title and all four hints of the protocol: readOnlyHint: true, destructiveHint: false, idempotentHint: true and openWorldHint: false, since a tool reads what the server holds of the pack and nothing beyond it. None is left to its default. The protocol reads destructiveHint only beside a tool that writes, and takes one that is left out for true; the directories from which people add MCP servers to their AI apps check each tool for its hints, and some want each stated. The title is among the annotations as well as on the tool, because that is where a client of the revision in which a tool had no title of its own reads it.

One MCP prompt, use_skill, takes a required path and starts loading the exact skill. If its context continues, the response directs the agent to load_skill with the continuation. Skills do not each add a prompt to the client's command menu.

The endpoint answers both protocol eras that clients speak (ADR-0006): the earlier revisions, which open with a handshake, and the current one, in which every request stands on its own. What a mount offers does not change within a connection, so it declares no list changes and no resource subscriptions, and the server never sends a notification of its own. A subscriptions/listen request of the current revision is acknowledged with nothing honored and ended at once: no stream is held open for it.

server/discover, tools/list and prompts/list carry the cache fields of the current revision too (ADR-0127); the revisions before it have none, and their answers are as they were. The tools and the prompt are the same at every address and change only with the release that serves them, so a deployment lets a client keep the two lists an hour: after an upgrade the lists of the release before are used no longer than that. server/discover introduces the commit as well, so its ttlMs is that of a list of the skills extension, what remains of the ref resolution's life, and five seconds or what remains if that is less while the commit is being indexed, could not be, or is answered from another index (indexing); it is never more than the hour of the lists, for a pinned commit either, since the same release wrote its instructions and its capabilities. cacheScope follows the repository in all three, public for a public repository and private for any other: the lists hold nothing of a repository, but that a private address answered at all is one person's to know.

SkillCDN keeps no implicit selected team or role. Users can express their focus through their client's instructions or their request; folder descriptions help the agent choose a relevant scope.

The skills extension

A mount declares the extension io.modelcontextprotocol/skills with directoryRead: true, next to the resources capability. What it serves comes from the same index, under the same publication policy, exclusions and limits as the tools; the format says which skills are listed and what the served document looks like.

MethodAnswer
skills/listThe listed skills inside the mount in path order, 20 per page with nextCursor; a client that stops walking a list after a number of pages, 64 for the TypeScript SDK's client by default, reaches 1,280 skills at this size, and a mount that lists more is out of such a client's reach until the application around it raises the limit. Each entry carries the skill's uri, its served frontmatter as data, and resources: every served file inside the skill directory, the files of nested skills included, with uri, digest (sha256: and 64 hex digits over the bytes a read returns) and size. A file over the read limit is not among them: the skill's SKILL.md names it with its size and where to fetch it (format). Neither is a shared page the skill includes: its text is inside the SKILL.md (format). The same listing is data over REST (REST).
skills/getThe same entry for one listed skill by URI.
resources/readThe bytes a URI names, as text (text/markdown, application/json, ...) or as base64 (blob) when they are not text. The SKILL.md of a skill is the assembled document, whole: it is not read in pages, however long it is (format).
resources/directory/readThe direct children of a directory URI: name, uri and mimeType, with inode/directory for a directory.
resources/listThe SKILL.md resources of the listed skills, paged like skills/list; resources/templates/list is empty.

A file's URI is the address without its ref, then the file's repository-root path: skill://gh/<owner>/<repo>/<path> (address). A root-level skill takes its name as the directory segment of every file of the repository: skill://gh/<owner>/<repo>/<name>/SKILL.md. The URI names the file; the address names the commit. A read never differs from the listing: the digest is computed over the stored bytes when the commit is indexed, and over the assembled document for a listed skill's SKILL.md.

Every list and read result carries the cache fields of the current protocol revision: ttlMs is what remains of the ref resolution's life for a moving ref, and one day for a pinned commit; cacheScope is public for a public repository and private for any other, whose results are one person's. A URI that names no listed skill (skills/get), no served file (resources/read) or no directory (resources/directory/read) is invalid params (-32602), like a URI of another repository. While a commit is being indexed, skills/list and resources/list answer an empty page with a ttlMs of five seconds, and a read fails with an internal error that says to retry.

Skills that are not listed stay available through the tools, and say why they are not listed in their warnings; check reports it before a push (format).

A skill this mount describes without serving is not listed by the extension, and its URIs name nothing (licenses).

What one host does with it

Run on 2026-12-01 against the hosted service: Claude Code 2.1.333 in its terminal, signed in to claude.ai, with Opus 5.5, the mounts of skillcdn/skills (35 skills), skillcdn/console (8), google/skills (226) and anthropics/skills (19) added as servers, and in another session the claude.ai connectors of the first two. Verified is what the runs showed, read is what its documentation or its binary says and the runs did not reach.

Claude Code 2.1.333How known
SessionsLists a server's skills in an interactive session only; claude -p, the Agent SDK and cloud sessions list none, and -p names the tools and no skillverified for -p; read
Names<server>:<name>, the server named as the person added it, with claude_ai_ before a connector's: claude_ai_skillcdn-skills:meta-ads-setup; its /skills menu cuts a name past about 50 charactersverified
How manyThe first 100 entries of the listing, in the listing's order, from at most 20 pages: of google/skills's 226, the first 100 in path order, to skills/cloud/developer-device-platform-basics, and none of the other 126; every skill of the other threeverified
Entries declinedMore than 512 files, more than 16 MiB, a SKILL.md over 1,000,000 bytes, a URI over 2,048 bytes, a name that is not a skill name or not the last segment of its URI, and every entry past 512 KiB of entries from one server in one connection (google/skills's 226 come to 504,014 bytes)read in the binary
What its model is toldOne listing of every skill of the session, local ones included, a name and a description each, within a budget of characters, 30,000 in these sessions; past it every name stays and the descriptions of the skills used least are left out. With the four mounts (197 skills, 131,477 characters) 4 of the 162 served skills kept a description; with the two connectors (78 skills, 63,457 characters) the 8 of skillcdn/console did and the 35 of skillcdn/skills did notverified; the budget read in its log
The route its model takesIts own Skill tool with the skill the extension serves, never load_skill, in both tasks run (minutes from notes, a card news post), chosen by the name where no description was left; a document the skill links to read with search_repo and read_repo_fileverified, one run each
The documentRead with resources/read, checked against the listed size and digest, and given to its model in one message, whole, after its front matter: 31,712, 50,014 and 61,510 bytes, from a server and through a connector; asked, the model named the last heading of the longestverified
What it changesNFKC (① reads 1), control characters dropped, < and > given as &lt; and &gt;; a paragraph before the document on reading the skill's files as resources, the arguments after itverified
ScanA skill of a directory connector, or of a custom connector of an organization that keeps scanning on, loads after a scan: 100 KB a text file, 400 KB a skill, none with an archive, WebP, OTF or text under dist/; the custom connectors run loaded unscannedread; the limits untested
ApprovalNone in auto mode, its default; in manual mode once per version of a skill, and again when a file changesverified in auto mode; read

So a mount of more than 100 skills reaches this host with the first 100 of its path order, and the address of a folder of it mounts the rest. A description may not reach the model at all, even of a pack of 35: in both tasks the skill it chose had none in its listing, and it chose by the name. Its documentation, read again on 2026-12-04, states the same count of skills a server, the same scan limits and the same names. What follows for the server is decided: the document stays whole, the listing in path order, and neither check nor the connection instructions name a host's limit or its commands (ADR-0143).

Across every pack of a deployment

The root of a deployment is an MCP server too (ADR-0070), with one tool, search_packs (query, 1 to 500 characters; limit, 1 to 20, default 10): the search across every public pack the deployment serves, by words and, where the deployment searches by it, by meaning, ranked as a search inside a mount is (words and meaning), except that by meaning it first picks the parts of documents nearest the query, a part being a few consecutive sections, and compares the sections of those (ADR-0092): it finds the pack and the document or skill that speaks of a thing, and a passage deep in a long document is the search inside its pack's to find. Its result lists every item under the address of its pack, a skill by its name and the start of its description or a document with the sections that matched, as a search inside a mount says what choosing needs, and judges how each matches the query by the rule and the bounds of a search inside a mount, a skill's words against the language its pack's root manifest names and those of its translations (ADR-0141): a close match says so after its name, the loose ones follow the others under their addresses with what counts against them, and the first sentence says No close match for "…" across 7 packs. where every result is loose. It says how it was ranked, Ranked by meaning alone this time: the words did not answer in time, so a result only they would find is missing. Ask again for the full answer. where the words ran out of their time and the meaning answered (ADR-0091), and tells the model to connect to a pack by its address for the four tools; its instructions say how many packs are served and how a pack is used from there. The packs searched are the public repositories with an index, at the commit each is served from, that the operator has not blocked and whose root manifest does not keep them out (search: { hub: false }); nothing private, and nothing listed: a pack appears because something in it matched. A page of the result is cut to the response budget as the tools' pages are, and the tool says of itself what the tools of a mount say: its title, and the same four hints. The same answers GET /api/v1/search as data (REST), and skillcdn search <words...> prints the result for whoever has a shell and no connection, everything the search keeps of a result with --full, with the reads named as the commands, each of which takes the address of the pack first (the command). A browser's GET / is the landing page; the MCP transport posts, deletes, and gets a stream it asks for by name. The root answers everyone alike, so its server/discover and its tools/list say cacheScope: public and the hour of a mount's lists: the count of packs in its instructions may be that old, and where the count could not be read, server/discover says to keep nothing.

Served from a machine

The same surface is served from a machine by the skillcdn command, for a directory in the format (ADR-0053, ADR-0057): skillcdn mcp <directory> over standard input and output to one client, skillcdn serve <directory>... over HTTP at each directory's local/<owner>/<name> address, with the REST routes of the address beside it. The tools, the prompt, the extension and their results are the ones above, from the same code; a directory is verified, so no provenance notice follows and its content is served in full under its license; its cache fields say to keep nothing (ttlMs zero, cacheScope private), those of server/discover and the lists included, since a working tree changes without a commit, and the commit every result names is the working tree's stand-in. Over standard input and output the server names no page and no icon, since it has no origin.

A deployment serves a directory of its own the same way (ADR-0071, deploy): every directory <owner>/<name> under the one it is configured with is served at local/<owner>/<name>, indexed and searched as a repository is, in the search across every pack too. Its commit is the hash of its tree, so the results name a commit that changes when a file does; the ref is trusted as a moving ref is, so its cache fields are a mount's. The source a result names for a file is the page of the address at the file, and the server names no icon for such a pack.

Indexing and trust

  • Connecting starts indexing an unseen commit. browse_repo, search_repo, load_skill and the extension's methods wait within a configurable budget, then return an indexing result if it is not ready. Indexing continues; failures retry after backoff.
  • While the newest commit of a moving ref is being indexed, or could not be, the mount is answered from the last indexed commit of the same ref, and from the same commit's index under the previous reading rules while it is being rebuilt (ADR-0068); an address pinned to a commit waits for that commit alone. Every result names the commit it was read from, and its Source line carries one clause more, the newest commit and why it is not served: newest <commit> indexing, newest <commit> failed (<code>), or being reindexed for the same commit. The connection instructions say the same in one sentence, and no result says more: a workflow that must stay on one commit pins it.
  • read_repo_file does not wait. Until declarations, exclusions and references are indexed, it returns indexing instead of attempting a speculative read. Failed policy scopes and explicit exclusions remain closed across all tools, including sub-path connections.
  • Unverified repositories carry a provenance notice: content comes from the repository author and applies to the user's requested task, not unrelated actions. The operator vouches for repositories until owners can (ADR-0019), through the lists of ADR-0026; only the default branch of a vouched-for repository is verified. A private repository carries no notice: it is served only to people the host lets see it, who connected it themselves, and it is not verified by that (ADR-0061). Search stays open to every public repository, verified or not: it is discovery, and verification changes only the notice and what a license lets the deployment pass on.
  • The license a skill carries decides whether its content is served or only described with a link to the source (licenses). A verified repository's default branch is served in full whatever its license says; every other public mount describes restrictive skills. A private repository is served in full on every ref, whatever its license says, since the people it is served to have it at the host already (ADR-0062).
  • Browser clients may call the endpoint from any origin: CORS permits * without credentials, as for REST. An access token travels in the authorization header, which is allowed, and the www-authenticate challenge is exposed.
  • Public-contract changes are additive from this surface on, unless an ADR explicitly defines a breaking transition; ADR-0034 records the last pre-alpha replacement, the structured copy that tool results carried until then.