Documentation
¶
Overview ¶
Package skillcheck lists the skills a server publishes (Skills extension, io.modelcontextprotocol/skills) and checks them against the extension and the Agent Skills format: manifests, frontmatter, digests, error codes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
Session *mcp.ClientSession
// Verify reads every file and compares size, digest and frontmatter.
Verify bool
}
Checker runs the checks over a session.
type Report ¶
type Report struct {
Declared bool `json:"declared"`
DirectoryRead bool `json:"directoryRead"`
Skills []SkillInfo `json:"skills"`
Results []Result `json:"results"`
}
Report is the outcome of a check run.
type Result ¶
type Result struct {
Name string `json:"name"`
Status Status `json:"status"`
Detail string `json:"detail,omitempty"`
}
Result is the outcome of one check.
type SkillInfo ¶
type SkillInfo struct {
URI string `json:"uri"`
Name string `json:"name"`
Description string `json:"description"`
License string `json:"license,omitempty"`
AllowedTools string `json:"allowedTools,omitempty"`
Files int `json:"files"` // -1 for "dynamic"
Bytes int64 `json:"bytes"` // sum of the manifest sizes
Dynamic bool `json:"dynamic"` // no manifest, no integrity
}
SkillInfo summarizes one skill for display, e.g. before enabling a server.
Click to show internal directories.
Click to hide internal directories.