{"skills":[{"name":"Check whether a skill package will travel between machines","description":"Inspect the packaged file list and instructions for missing entry points, case-sensitive path failures, machine-specific resources and unprovided dependencies.","content":"# Check whether a skill package will travel between machines\n\nInspect the packaged file list and instructions for missing entry points, case-sensitive path failures, machine-specific resources and unprovided dependencies.\n\n## When to use this skill\n\n- Someone is about to publish or share a skill folder or ZIP and wants to know it will load elsewhere.\n- A skill works on the author's Mac but fails on Linux, in a container or in a different agent client.\n- A skill library is being reviewed before skills are added to a shared or public catalogue.\n\n## When not to use it\n\n- Testing whether the skill produces good results. Use the paired skill evaluation skill.\n- Security review of bundled scripts. Read them before anyone runs them; this check does not execute them.\n- Fields or locations specific to one client that the specification does not define. Check that client's own documentation.\n\n## What you need\n\n- Archive entry names relative to the package root, the root folder name and parsed SKILL.md frontmatter.\n- Referenced supporting files, scripts' declared runtimes, dependency declarations and the actual target host capabilities.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- Can you share the full file list exactly as it appears in the archive, relative to the skill folder? Path checks need the exact names.\n- What is the target: operating system, whether its filesystem is case-sensitive, which agent client, and which runtimes and network access it has?\n- Which references and scripts does the base workflow require, and which belong to optional modes?\n\n## Method\n\n1. Identify the package root folder and confirm it holds a file named exactly SKILL.md. On a case-insensitive filesystem a file called skill.md may seem to work, but it is not the portable entry point.\n2. Check the metadata name against the specification: 1 to 64 characters, lowercase letters a to z, digits and hyphens only, not starting or ending with a hyphen and with no consecutive hyphens. Separately check that it exactly matches the folder name. A client that loads an invalid or mismatched name is being lenient; the package is still not portable.\n3. If the complete frontmatter is available, check that description is present, is a non-blank string and is at most 1,024 characters, and note in the narrative, which has no structured code for it, any compatibility field over 500 characters. Do not report a field as missing when you have only an excerpt.\n4. List every file reference in SKILL.md in order and resolve each from the skill root with the target's case sensitivity. Classify each problem: a path outside the package (absolute, home-relative or climbing above the root), a case-only mismatch, or a file that is absent.\n5. Do not treat an ordinary web citation as a missing bundled file. If the workflow must fetch a remote page, record network access as a requirement instead.\n6. Compare required runtimes and tools with what the target actually has. A runtime installed on the author's machine does not count, and the requirements of an optional mode do not block the base mode.\n7. Report findings without running the bundled scripts. A clean structural check shows the listed requirements are present; running the skill on the target agent is a separate test.\n\n## Checks before you deliver\n\n- An archive that contains a document named skill.md can appear fine on a case-insensitive filesystem while violating the portable entry-point name.\n- A link to ~\/notes or a machine-specific absolute path may work for the author but cannot resolve from a distributed package.\n- Accepting a name because it matches its folder. My_Skill matches itself exactly but breaks the name rules.\n- An unquoted description containing a colon, which strict YAML parsers reject even though some clients load it.\n- Long chains of references. The specification recommends keeping file references one level deep from SKILL.md.\n\n## How to present the result\n\nStart with a yes or no: will this package load and run on the stated target? Then list each issue in contract order (entry file, name, frontmatter, references, runtimes) with the exact item and its fix, such as the corrected path or the runtime to declare in the compatibility field. Finish with what the check could not establish, such as behaviour on the target agent.\n\n## Worked example\n\n**Request:** Check on a case-sensitive Linux host with Python but no Node. All references are required.\n\n**Supplied material:**\n\n```text\nRoot quote-check, metadata name quote-check. Entries: SKILL.md, references\/Rates.md, scripts\/read.js. References in order: references\/rates.md, \/Users\/demo\/local\/rules.txt, scripts\/read.js. Required runtime Node. Other frontmatter fields are valid.\n```\n\n**Answer:** On Linux, change references\/rates.md to references\/Rates.md to match the file in the archive. Bundle the local rules file and link to the copy. The JavaScript helper still needs Node, which this host lacks.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn issues in order: entry-file if literal root SKILL.md is absent; invalid-name if a supplied metadata name violates the name grammar; name-mismatch if its spelling differs from the folder; if complete frontmatter is supplied, missing-field for an absent required field or invalid-description for a present blank, non-string or overlong description (item is the field name); then one code per required reference in source order (external-path, case-mismatch, missing-file); then missing-runtime per required runtime absent from the stated host. Each issue has code and item: use 'SKILL.md' for entry-file, the supplied metadata name for either name issue, the exact reference for a path issue, or the runtime name. Assume target and supplied inventory are complete unless stated.\n\n## Sources\n\n- [Agent Skills specification](https:\/\/agentskills.io\/specification): Defines SKILL.md as the required entry point, the name rules (1 to 64 lowercase letters, digits and hyphens, no leading, trailing or consecutive hyphens, matching the parent folder), the 1,024-character description and 500-character compatibility limits, and file references relative to the skill root.\n- [Agent Skills: how to add skills support to your agent](https:\/\/agentskills.io\/client-implementation\/adding-skills-support): Tells clients to look for a file named exactly SKILL.md and describes lenient loading that warns on a name mismatch or overlong name but skips a skill with a missing description or unparseable YAML. That leniency is why a skill can load in one client and fail in another.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/check-skill-package-portability\n","scope":"contextual","trigger_keywords":["Check whether a skill package will travel between machines","check-skill-package-portability","check skill package portability","Will this skill folder still work when someone else installs it?","Will this skill folder still work when someone else installs it","check this skill package","portable skill folder","validate this skill package"],"is_private":true,"is_active":true,"scripts":[{"name":"check-skill-package-portability-check","description":"Compare a saved JSON answer with a published test. Pass tests\/case-1\/expected.json (or another case) and the path to your answer.","language":"python","filename":"check-skill-package-portability-check.py","content":"from pathlib import Path\nimport runpy\n\nrunpy.run_path(str(Path(__file__).parent \/ 'tests' \/ 'check.py'), run_name='__main__')\n","supporting_files":[{"path":"SKILL.md","content":"---\nname: check-skill-package-portability\ndescription: \"Check an Agent Skills package (a folder with SKILL.md) for a missing entry file, invalid name, incomplete frontmatter, case-sensitive path mismatches, files outside the package and runtimes the target lacks. Use when someone wants to share, publish or install a skill on another machine or agent.\"\nlicense: CC-BY-4.0\nmetadata:\n  author: Raq.com\n  version: \"2026-11-22\"\n  homepage: https:\/\/skills.raq.com\/skills\/check-skill-package-portability\n---\n\n# Check whether a skill package will travel between machines\n\nInspect the packaged file list and instructions for missing entry points, case-sensitive path failures, machine-specific resources and unprovided dependencies.\n\n## When to use this skill\n\n- Someone is about to publish or share a skill folder or ZIP and wants to know it will load elsewhere.\n- A skill works on the author's Mac but fails on Linux, in a container or in a different agent client.\n- A skill library is being reviewed before skills are added to a shared or public catalogue.\n\n## When not to use it\n\n- Testing whether the skill produces good results. Use the paired skill evaluation skill.\n- Security review of bundled scripts. Read them before anyone runs them; this check does not execute them.\n- Fields or locations specific to one client that the specification does not define. Check that client's own documentation.\n\n## What you need\n\n- Archive entry names relative to the package root, the root folder name and parsed SKILL.md frontmatter.\n- Referenced supporting files, scripts' declared runtimes, dependency declarations and the actual target host capabilities.\n\n## Ask before you start\n\nIf any of these are missing or unclear, ask before doing the work.\n\n- Can you share the full file list exactly as it appears in the archive, relative to the skill folder? Path checks need the exact names.\n- What is the target: operating system, whether its filesystem is case-sensitive, which agent client, and which runtimes and network access it has?\n- Which references and scripts does the base workflow require, and which belong to optional modes?\n\n## Method\n\n1. Identify the package root folder and confirm it holds a file named exactly SKILL.md. On a case-insensitive filesystem a file called skill.md may seem to work, but it is not the portable entry point.\n2. Check the metadata name against the specification: 1 to 64 characters, lowercase letters a to z, digits and hyphens only, not starting or ending with a hyphen and with no consecutive hyphens. Separately check that it exactly matches the folder name. A client that loads an invalid or mismatched name is being lenient; the package is still not portable.\n3. If the complete frontmatter is available, check that description is present, is a non-blank string and is at most 1,024 characters, and note in the narrative, which has no structured code for it, any compatibility field over 500 characters. Do not report a field as missing when you have only an excerpt.\n4. List every file reference in SKILL.md in order and resolve each from the skill root with the target's case sensitivity. Classify each problem: a path outside the package (absolute, home-relative or climbing above the root), a case-only mismatch, or a file that is absent.\n5. Do not treat an ordinary web citation as a missing bundled file. If the workflow must fetch a remote page, record network access as a requirement instead.\n6. Compare required runtimes and tools with what the target actually has. A runtime installed on the author's machine does not count, and the requirements of an optional mode do not block the base mode.\n7. Report findings without running the bundled scripts. A clean structural check shows the listed requirements are present; running the skill on the target agent is a separate test.\n\n## Checks before you deliver\n\n- An archive that contains a document named skill.md can appear fine on a case-insensitive filesystem while violating the portable entry-point name.\n- A link to ~\/notes or a machine-specific absolute path may work for the author but cannot resolve from a distributed package.\n- Accepting a name because it matches its folder. My_Skill matches itself exactly but breaks the name rules.\n- An unquoted description containing a colon, which strict YAML parsers reject even though some clients load it.\n- Long chains of references. The specification recommends keeping file references one level deep from SKILL.md.\n\n## How to present the result\n\nStart with a yes or no: will this package load and run on the stated target? Then list each issue in contract order (entry file, name, frontmatter, references, runtimes) with the exact item and its fix, such as the corrected path or the runtime to declare in the compatibility field. Finish with what the check could not establish, such as behaviour on the target agent.\n\n## Worked example\n\n**Request:** Check on a case-sensitive Linux host with Python but no Node. All references are required.\n\n**Supplied material:**\n\n```text\nRoot quote-check, metadata name quote-check. Entries: SKILL.md, references\/Rates.md, scripts\/read.js. References in order: references\/rates.md, \/Users\/demo\/local\/rules.txt, scripts\/read.js. Required runtime Node. Other frontmatter fields are valid.\n```\n\n**Answer:** On Linux, change references\/rates.md to references\/Rates.md to match the file in the archive. Bundle the local rules file and link to the copy. The JavaScript helper still needs Node, which this host lacks.\n\n## Structured output for tests\n\nFor an ordinary job, answer in the format above and point back to the supplied evidence. Use this structure only for the test cases published with this skill, or when someone asks for structured JSON.\n\nReturn issues in order: entry-file if literal root SKILL.md is absent; invalid-name if a supplied metadata name violates the name grammar; name-mismatch if its spelling differs from the folder; if complete frontmatter is supplied, missing-field for an absent required field or invalid-description for a present blank, non-string or overlong description (item is the field name); then one code per required reference in source order (external-path, case-mismatch, missing-file); then missing-runtime per required runtime absent from the stated host. Each issue has code and item: use 'SKILL.md' for entry-file, the supplied metadata name for either name issue, the exact reference for a path issue, or the runtime name. Assume target and supplied inventory are complete unless stated.\n\n## Sources\n\n- [Agent Skills specification](https:\/\/agentskills.io\/specification): Defines SKILL.md as the required entry point, the name rules (1 to 64 lowercase letters, digits and hyphens, no leading, trailing or consecutive hyphens, matching the parent folder), the 1,024-character description and 500-character compatibility limits, and file references relative to the skill root.\n- [Agent Skills: how to add skills support to your agent](https:\/\/agentskills.io\/client-implementation\/adding-skills-support): Tells clients to look for a file named exactly SKILL.md and describes lenient loading that warns on a name mismatch or overlong name but skips a skill with a missing description or unparseable YAML. That leniency is why a skill can load in one client and fail in another.\n\nTest cases and an answer checker for this skill: https:\/\/skills.raq.com\/skills\/check-skill-package-portability\n"},{"path":"LICENSE.txt","content":"Original Raq.com instructions and synthetic examples: CC BY 4.0.\nhttps:\/\/creativecommons.org\/licenses\/by\/4.0\/\nAttribution: Raq.com, https:\/\/skills.raq.com\/skills\/check-skill-package-portability\nReferenced third-party materials retain their own terms.\n"},{"path":"examples\/worked-example.md","content":"# Works on the author's laptop\n\nCheck on a case-sensitive Linux host with Python but no Node. All references are required.\n\n## Supplied material\n\nRoot quote-check, metadata name quote-check. Entries: SKILL.md, references\/Rates.md, scripts\/read.js. References in order: references\/rates.md, \/Users\/demo\/local\/rules.txt, scripts\/read.js. Required runtime Node. Other frontmatter fields are valid.\n\n## Worked answer\n\nOn Linux, change references\/rates.md to references\/Rates.md to match the file in the archive. Bundle the local rules file and link to the copy. The JavaScript helper still needs Node, which this host lacks.\n\n## Reasoning\n\nThe archive contains the rate sheet under different capitalisation and does not supply the author\u2019s local rule file.\n"},{"path":"tests\/check.py","content":"\"\"\"Check a saved agent answer locally with Python 3 (standard library only).\"\"\"\nimport json\nimport math\nimport sys\nfrom pathlib import Path\n\n\ndef compare(expected, actual, path=\"$\", accepted=None):\n    if isinstance(expected, bool) or isinstance(actual, bool):\n        if expected is not actual:\n            yield path\n    elif isinstance(expected, (int, float)) and isinstance(actual, (int, float)):\n        if not math.isclose(expected, actual, rel_tol=0, abs_tol=1e-8):\n            yield path\n    elif isinstance(expected, dict) and isinstance(actual, dict):\n        for key in sorted(set(expected) | set(actual)):\n            if key not in expected or key not in actual:\n                yield f\"{path}.{key}\"\n            elif not any(\n                not list(compare(option, actual[key]))\n                for option in (accepted or {}).get(key, [])\n            ):\n                yield from compare(expected[key], actual[key], f\"{path}.{key}\")\n    elif isinstance(expected, list) and isinstance(actual, list):\n        if len(expected) != len(actual):\n            yield f\"{path} (length)\"\n        for i, (left, right) in enumerate(zip(expected, actual)):\n            yield from compare(left, right, f\"{path}[{i}]\")\n    elif type(expected) != type(actual) or expected != actual:\n        yield path\n\n\ndef main():\n    if len(sys.argv) != 3:\n        raise SystemExit(\"Usage: python3 check.py expected.json answer.json\")\n    try:\n        expected, actual = [json.loads(Path(p).read_text(encoding=\"utf-8\")) for p in sys.argv[1:]]\n        alternatives = Path(sys.argv[1]).with_name(\"accepted.json\")\n        accepted = json.loads(alternatives.read_text(encoding=\"utf-8\")) if alternatives.is_file() else {}\n    except (ValueError, OSError) as error:\n        raise SystemExit(str(error))\n    differences = list(compare(expected, actual, accepted=accepted))\n    if differences:\n        raise SystemExit(\"Different fields: \" + \", \".join(differences))\n    print(\"Pass\")\n\n\nif __name__ == \"__main__\":\n    main()\n"},{"path":"tests\/README.md","content":"Give your agent SKILL.md and one request.txt in a fresh session. Keep the expected answer aside. Save the reply as answer.json, then run this from the tests folder:\n\n    python3 check.py case-1\/expected.json answer.json\n\nEach case also has an explanation. Where accepted.json exists, the checker accepts the alternatives listed there.\n"},{"path":"tests\/case-1\/request.txt","content":"Check on a case-sensitive Linux host with Python but no Node. All references are required.\nReturn only the JSON specified in SKILL.md for this test.\n\nRoot quote-check, metadata name quote-check. Entries: SKILL.md, references\/Rates.md, scripts\/read.js. References in order: references\/rates.md, \/Users\/demo\/local\/rules.txt, scripts\/read.js. Required runtime Node. Other frontmatter fields are valid.\n"},{"path":"tests\/case-1\/expected.json","content":"{\n    \"issues\": [\n        {\n            \"code\": \"case-mismatch\",\n            \"item\": \"references\/rates.md\"\n        },\n        {\n            \"code\": \"external-path\",\n            \"item\": \"\/Users\/demo\/local\/rules.txt\"\n        },\n        {\n            \"code\": \"missing-runtime\",\n            \"item\": \"Node\"\n        }\n    ]\n}\n"},{"path":"tests\/case-1\/explanation.txt","content":"The archive contains the rate sheet under different capitalisation and does not supply the author\u2019s local rule file.\n"},{"path":"tests\/case-2\/request.txt","content":"Review the listed archive for base mode, case-sensitive target. Metadata extracted separately from lowercase skill.md.\nReturn only the JSON specified in SKILL.md for this test.\n\nRoot photo-list. Metadata name photo-audit. Entries skill.md, assets\/example.csv. Required references: assets\/example.csv, references\/method.md. Optional export needs Ruby; no base runtime needed. Other frontmatter fields are valid.\n"},{"path":"tests\/case-2\/expected.json","content":"{\n    \"issues\": [\n        {\n            \"code\": \"entry-file\",\n            \"item\": \"SKILL.md\"\n        },\n        {\n            \"code\": \"name-mismatch\",\n            \"item\": \"photo-audit\"\n        },\n        {\n            \"code\": \"missing-file\",\n            \"item\": \"references\/method.md\"\n        }\n    ]\n}\n"},{"path":"tests\/case-2\/explanation.txt","content":"The optional runtime does not block base mode. The entry point and directory mismatch are independent defects.\n"},{"path":"tests\/case-3\/request.txt","content":"Review the base package on a case-sensitive host.\nReturn only the JSON specified in SKILL.md for this test.\n\nFolder My_Skill. Parsed name My_Skill. Entries SKILL.md and assets\/sample.txt. Required reference assets\/sample.txt. No base runtime requirements. The original author reports the directory loaded in their own client. Other frontmatter fields are valid.\n"},{"path":"tests\/case-3\/expected.json","content":"{\n    \"issues\": [\n        {\n            \"code\": \"invalid-name\",\n            \"item\": \"My_Skill\"\n        }\n    ]\n}\n"},{"path":"tests\/case-3\/explanation.txt","content":"The strings match exactly. The capital letters and underscore still violate the portable name grammar.\n"},{"path":"tests\/case-4\/request.txt","content":"Review this archive for use on case-sensitive Linux.\nReturn only the JSON specified in SKILL.md for this test.\n\nFolder recipe-guide. Complete frontmatter contains only name: recipe-guide. Entries SKILL.md and references\/roast.md. The required bundled guide is linked as References\/roast.md. An HTTPS citation is background reading only. No required runtime.\n"},{"path":"tests\/case-4\/expected.json","content":"{\n    \"issues\": [\n        {\n            \"code\": \"missing-field\",\n            \"item\": \"description\"\n        },\n        {\n            \"code\": \"case-mismatch\",\n            \"item\": \"References\/roast.md\"\n        }\n    ]\n}\n"},{"path":"tests\/case-4\/explanation.txt","content":"The entry point is present, but the required description is absent. The guide's directory spelling differs on Linux; the optional web citation needs no local copy.\n"}],"is_active":true,"is_approved":false}]}]}