{"modulePath":"github.com/MiniMax-AI/OpenAgentCore","version":"v0.0.14","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package agentskill\n\nPackage agentskill validates inert Skill bundles without native loading rules.\n\n## Constants\n\n```go\nconst (\n\tMaxArchiveBytes  = agentbundle.MaxArchiveBytes\n\tMaxExpandedBytes = agentbundle.MaxExpandedBytes\n\tMaxFiles         = agentbundle.MaxFiles\n)\n```\n\n## Variables\n\n```go\nvar ErrInvalid = errors.New(\"invalid or unsupported Skill bundle\")\n```\n\n## Functions\n\n```go\nfunc Inspect(archive []byte) (proto.SkillMetadata, error)\n```\nInspect obtains portable metadata from an uploaded bundle, then applies the same complete archive validation used for environment installation.\n\n```go\nfunc InspectManifest(body []byte) (proto.SkillMetadata, error)\n```\nInspectManifest shares the portable parser with Runtime directory discovery.\n\n```go\nfunc Read(archive []byte, expected proto.SkillMetadata) ([]agentbundle.File, error)\n```\nRead validates the full archive before exposing any files for installation.\n\n```go\nfunc ValidateManifest(body []byte, expected proto.SkillMetadata) error\n```\nValidateManifest accepts portable descriptive metadata, not native activation controls.\n\n","path":"github.com/MiniMax-AI/OpenAgentCore/internal/agentskill","name":"agentskill","synopsis":"Package agentskill validates inert Skill bundles without native loading rules.","isRedistributable":true}
