[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77NNKQ4BPMEE2K9PJGHN4MD":3,"skill-same:01M77NNKQ4BPMEE2K9PJGHN4MD":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M77NNKQ4BPMEE2K9PJGHN4MD","agent-supply-chain",null,"Verify supply chain integrity for AI agent plugins, tools, and dependencies. Use this skill when:\n- Generating SHA-256 integrity manifests for agent plugins or tool packages\n- Verifying that installed plugins match their published manifests\n- Detecting tampered, modified, or untracked files in agent tool directories\n- Auditing dependency pinning and version policies for agent components\n- Building provenance chains for agent plugin promotion (dev → staging → production)\n- Any request like \"verify plugin integrity\", \"generate manifest\", \"check supply chain\", or \"sign this plugin\"","Reihantt6\u002Fsns-myagent","Reihantt6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F219822095?v=4","01M77KK94PV8B7C2D9XWXNS8DJ","Mohamad Reihan tegar prasetya","01M77KK958QFMTHYXGXFV7KZ79",2,"MIT","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fagent-supply-chain\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: \"Verify supply chain integrity for AI agent plugins, tools, and dependencies. Use this skill when:\\n- Generating SHA-256 integrity manifests for agent plugins or tool packages\\n- Verifying that installed plugins match their published manifests\\n- Detecting tampered, modified, or untracked files in agent tool directories\\n- Auditing dependency pinning and version policies for agent components\\n- Building provenance chains for agent plugin promotion (dev → staging → production)\\n- Any request like \\\"verify plugin integrity\\\", \\\"generate manifest\\\", \\\"check supply chain\\\", or \\\"sign this plugin\\\"\\n\"\n---\n# Agent Supply Chain Integrity\n\nGenerate and verify integrity manifests for AI agent plugins and tools. Detect tampering, enforce version pinning, and establish supply chain provenance.\n\n## Overview\n\nAgent plugins and MCP servers have the same supply chain risks as npm packages or container images — except the ecosystem has no equivalent of npm provenance, Sigstore, or SLSA. This skill fills that gap.\n\n```\nPlugin Directory → Hash All Files (SHA-256) → Generate INTEGRITY.json\n                                                    ↓\nLater: Plugin Directory → Re-Hash Files → Compare Against INTEGRITY.json\n                                                    ↓\n                                          Match? VERIFIED : TAMPERED\n```\n\n## When to Use\n\n- Before promoting a plugin from development to production\n- During code review of plugin PRs\n- As a CI step to verify no files were modified after review\n- When auditing third-party agent tools or MCP servers\n- Building a plugin marketplace with integrity requirements\n\n---\n\n## Pattern 1: Generate Integrity Manifest\n\nCreate a deterministic `INTEGRITY.json` with SHA-256 hashes of all plugin files.\n\n```python\nimport hashlib\nimport json\nfrom datetime import datetime, timezone\nfrom pathlib import Path\n\nEXCLUDE_DIRS = {\".git\", \"__pycache__\", \"node_modules\", \".venv\", \".pytest_cache\"}\nEXCLUDE_FILES = {\".DS_Store\", \"Thumbs.db\", \"INTEGRITY.json\"}\n\ndef hash_file(path: Path) -> str:\n    \"\"\"Compute SHA-256 hex digest of a file.\"\"\"\n    h = hashlib.sha256()\n    with open(path, \"rb\") as f:\n        for chunk in iter(lambda: f.read(8192), b\"\"):\n            h.update(chunk)\n    return h.hexdigest()\n\ndef generate_manifest(plugin_dir: str) -> dict:\n    \"\"\"Generate an integrity manifest for a plugin directory.\"\"\"\n    root = Path(plugin_dir)\n    files = {}\n\n    for path in sorted(root.rglob(\"*\")):\n        if not path.is_file():\n            continue\n        if path.name in EXCLUDE_FILES:\n            continue\n        if any(part in EXCLUDE_DIRS for part in path.relative_to(root).parts):\n            continue\n        rel = path.relative_to(root).as_posix()\n        files[rel] = hash_file(path)\n\n    # Chain hash: SHA-256 of all file hashes concatenated in sorted order\n    chain = hashlib.sha256()\n    for key in sorted(files.keys()):\n        chain.update(files[key].encode(\"ascii\"))\n\n    manifest = {\n        \"plugin_name\": root.name,\n        \"generated_at\": datetime.now(timezone.utc).isoformat(),\n        \"algorithm\": \"sha256\",\n        \"file_count\": len(files),\n        \"files\": files,\n        \"manifest_hash\": chain.hexdigest(),\n    }\n    return manifest\n\n# Generate and save\nmanifest = generate_manifest(\"my-plugin\u002F\")\nPath(\"my-plugin\u002FINTEGRITY.json\").write_text(\n    json.dumps(manifest, indent=2) + \"\\n\"\n)\nprint(f\"Generated manifest: {manifest['file_count']} files, \"\n      f\"hash: {manifest['manifest_hash'][:16]}...\")\n```\n\n**Output (`INTEGRITY.json`):**\n```json\n{\n  \"plugin_name\": \"my-plugin\",\n  \"generated_at\": \"2026-04-01T03:00:00+00:00\",\n  \"algorithm\": \"sha256\",\n  \"file_count\": 12,\n  \"files\": {\n    \".claude-plugin\u002Fplugin.json\": \"a1b2c3d4...\",\n    \"README.md\": \"e5f6a7b8...\",\n    \"skills\u002Fsearch\u002FSKILL.md\": \"c9d0e1f2...\",\n    \"agency.json\": \"3a4b5c6d...\"\n  },\n  \"manifest_hash\": \"7e8f9a0b1c2d3e4f...\"\n}\n```\n\n---\n\n## Pattern 2: Verify Integrity\n\nCheck that current files match the manifest.\n\n```python\n# Requires: hash_file() and generate_manifest() from Pattern 1 above\nimport json\nfrom pathlib import Path\n\ndef verify_manifest(plugin_dir: str) -> tuple[bool, list[str]]:\n    \"\"\"Verify plugin files against INTEGRITY.json.\"\"\"\n    root = Path(plugin_dir)\n    manifest_path = root \u002F \"INTEGRITY.json\"\n\n    if not manifest_path.exists():\n        return False, [\"INTEGRITY.json not found\"]\n\n    manifest = json.loads(manifest_path.read_text())\n    recorded = manifest.get(\"files\", {})\n    errors = []\n\n    # Check recorded files\n    for rel_path, expected_hash in recorded.items():\n        full = root \u002F rel_path\n        if not full.exists():\n            errors.append(f\"MISSING: {rel_path}\")\n            continue\n        actual = hash_file(full)\n        if actual != expected_hash:\n            errors.append(f\"MODIFIED: {rel_path}\")\n\n    # Check for new untracked files\n    current = generate_manifest(plugin_dir)\n    for rel_path in current[\"files\"]:\n        if rel_path not in recorded:\n            errors.append(f\"UNTRACKED: {rel_path}\")\n\n    return len(errors) == 0, errors\n\n# Verify\npassed, errors = verify_manifest(\"my-plugin\u002F\")\nif passed:\n    print(\"VERIFIED: All files match manifest\")\nelse:\n    print(f\"FAILED: {len(errors)} issue(s)\")\n    for e in errors:\n        print(f\"  {e}\")\n```\n\n**Output on tampered plugin:**\n```\nFAILED: 3 issue(s)\n  MODIFIED: skills\u002Fsearch\u002FSKILL.md\n  MISSING: agency.json\n  UNTRACKED: backdoor.py\n```\n\n---\n\n## Pattern 3: Dependency Version Audit\n\nCheck that agent dependencies use pinned versions.\n\n```python\nimport re\n\ndef audit_versions(config_path: str) -> list[dict]:\n    \"\"\"Audit dependency version pinning in a config file.\"\"\"\n    findings = []\n    path = Path(config_path)\n    content = path.read_text()\n\n    if path.name == \"package.json\":\n        data = json.loads(content)\n        for section in (\"dependencies\", \"devDependencies\"):\n            for pkg, ver in data.get(section, {}).items():\n                if ver.startswith(\"^\") or ver.startswith(\"~\") or ver == \"*\" or ver == \"latest\":\n                    findings.append({\n                        \"package\": pkg,\n                        \"version\": ver,\n                        \"severity\": \"HIGH\" if ver in (\"*\", \"latest\") else \"MEDIUM\",\n                        \"fix\": f'Pin to exact: \"{pkg}\": \"{ver.lstrip(\"^~\")}\"'\n                    })\n\n    elif path.name in (\"requirements.txt\", \"pyproject.toml\"):\n        for line in content.splitlines():\n            line = line.strip()\n            if \">=\" in line and \"\u003C\" not in line:\n                findings.append({\n                    \"package\": line.split(\">=\")[0].strip(),\n                    \"version\": line,\n                    \"severity\": \"MEDIUM\",\n                    \"fix\": f\"Add upper bound: {line},\u003Cnext_major\"\n                })\n\n    return findings\n```\n\n---\n\n## Pattern 4: Promotion Gate\n\nUse integrity verification as a gate before promoting plugins.\n\n```python\ndef promotion_check(plugin_dir: str) -> dict:\n    \"\"\"Check if a plugin is ready for production promotion.\"\"\"\n    checks = {}\n\n    # 1. Integrity manifest exists and verifies\n    passed, errors = verify_manifest(plugin_dir)\n    checks[\"integrity\"] = {\n        \"passed\": passed,\n        \"errors\": errors\n    }\n\n    # 2. Required files exist\n    root = Path(plugin_dir)\n    required = [\"README.md\"]\n    missing = [f for f in required if not (root \u002F f).exists()]\n\n    # Require at least one plugin manifest (supports both layouts)\n    manifest_paths = [\n        root \u002F \".github\u002Fplugin\u002Fplugin.json\",\n        root \u002F \".claude-plugin\u002Fplugin.json\",\n    ]\n    if not any(p.exists() for p in manifest_paths):\n        missing.append(\".github\u002Fplugin\u002Fplugin.json (or .claude-plugin\u002Fplugin.json)\")\n\n    checks[\"required_files\"] = {\n        \"passed\": len(missing) == 0,\n        \"missing\": missing\n    }\n\n    # 3. No unpinned dependencies\n    mcp_path = root \u002F \".mcp.json\"\n    if mcp_path.exists():\n        config = json.loads(mcp_path.read_text())\n        unpinned = []\n        for server in config.get(\"mcpServers\", {}).values():\n            if isinstance(server, dict):\n                for arg in server.get(\"args\", []):\n                    if isinstance(arg, str) and \"@latest\" in arg:\n                        unpinned.append(arg)\n        checks[\"pinned_deps\"] = {\n            \"passed\": len(unpinned) == 0,\n            \"unpinned\": unpinned\n        }\n\n    # Overall\n    all_passed = all(c[\"passed\"] for c in checks.values())\n    return {\"ready\": all_passed, \"checks\": checks}\n\nresult = promotion_check(\"my-plugin\u002F\")\nif result[\"ready\"]:\n    print(\"Plugin is ready for production promotion\")\nelse:\n    print(\"Plugin NOT ready:\")\n    for name, check in result[\"checks\"].items():\n        if not check[\"passed\"]:\n            print(f\"  FAILED: {name}\")\n```\n\n---\n\n## CI Integration\n\nAdd to your GitHub Actions workflow:\n\n```yaml\n- name: Verify plugin integrity\n  run: |\n    PLUGIN_DIR=\"${{ matrix.plugin || '.' }}\"\n    cd \"$PLUGIN_DIR\"\n    python -c \"\n    from pathlib import Path\n    import json, hashlib, sys\n\n    def hash_file(p):\n        h = hashlib.sha256()\n        with open(p, 'rb') as f:\n            for c in iter(lambda: f.read(8192), b''):\n                h.update(c)\n        return h.hexdigest()\n\n    manifest = json.loads(Path('INTEGRITY.json').read_text())\n    errors = []\n    for rel, expected in manifest['files'].items():\n        p = Path(rel)\n        if not p.exists():\n            errors.append(f'MISSING: {rel}')\n        elif hash_file(p) != expected:\n            errors.append(f'MODIFIED: {rel}')\n    if errors:\n        for e in errors:\n            print(f'::error::{e}')\n        sys.exit(1)\n    print(f'Verified {len(manifest[\\\"files\\\"])} files')\n    \"\n```\n\n---\n\n## Best Practices\n\n| Practice | Rationale |\n|----------|-----------|\n| **Generate manifest after code review** | Ensures reviewed code matches production code |\n| **Include manifest in the PR** | Reviewers can verify what was hashed |\n| **Verify in CI before deploy** | Catches post-review modifications |\n| **Chain hash for tamper evidence** | Single hash represents entire plugin state |\n| **Exclude build artifacts** | Only hash source files — .git, __pycache__, node_modules excluded |\n| **Pin all dependency versions** | Unpinned deps = different code on every install |\n\n---\n\n## Related Resources\n\n- [OpenSSF SLSA](https:\u002F\u002Fslsa.dev\u002F) — Supply-chain Levels for Software Artifacts\n- [npm Provenance](https:\u002F\u002Fdocs.npmjs.com\u002Fgenerating-provenance-statements) — Sigstore-based package provenance\n- [Agent Governance Toolkit](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-governance-toolkit) — Includes integrity verification and plugin signing\n- [OWASP ASI-09: Supply Chain Integrity](https:\u002F\u002Fowasp.org\u002Fwww-project-agentic-ai-threats\u002F)\n","# Agent Supply Chain Integrity\n\nGenerate and verify integrity manifests for AI agent plugins and tools. Detect tampering, enforce version pinning, and establish supply chain provenance.\n\n## Overview\n\nAgent plugins and MCP servers have the same supply chain risks as npm packages or container images — except the ecosystem has no equivalent of npm provenance, Sigstore, or SLSA. This skill fills that gap.\n\n```\nPlugin Directory → Hash All Files (SHA-256) → Generate INTEGRITY.json\n                                                    ↓\nLater: Plugin Directory → Re-Hash Files → Compare Against INTEGRITY.json\n                                                    ↓\n                                          Match? VERIFIED : TAMPERED\n```\n\n## When to Use\n\n- Before promoting a plugin from development to production\n- During code review of plugin PRs\n- As a CI step to verify no files were modified after review\n- When auditing third-party agent tools or MCP servers\n- Building a plugin marketplace with integrity requirements\n\n---\n\n## Pattern 1: Generate Integrity Manifest\n\nCreate a deterministic `INTEGRITY.json` with SHA-256 hashes of all plugin files.\n\n```python\nimport hashlib\nimport json\nfrom datetime import datetime, timezone\nfrom pathlib import Path\n\nEXCLUDE_DIRS = {\".git\", \"__pycache__\", \"node_modules\", \".venv\", \".pytest_cache\"}\nEXCLUDE_FILES = {\".DS_Store\", \"Thumbs.db\", \"INTEGRITY.json\"}\n\ndef hash_file(path: Path) -> str:\n    \"\"\"Compute SHA-256 hex digest of a file.\"\"\"\n    h = hashlib.sha256()\n    with open(path, \"rb\") as f:\n        for chunk in iter(lambda: f.read(8192), b\"\"):\n            h.update(chunk)\n    return h.hexdigest()\n\ndef generate_manifest(plugin_dir: str) -> dict:\n    \"\"\"Generate an integrity manifest for a plugin directory.\"\"\"\n    root = Path(plugin_dir)\n    files = {}\n\n    for path in sorted(root.rglob(\"*\")):\n        if not path.is_file():\n            continue\n        if path.name in EXCLUDE_FILES:\n            continue\n        if any(part in EXCLUDE_DIRS for part in path.relative_to(root).parts):\n            continue\n        rel = path.relative_to(root).as_posix()\n        files[rel] = hash_file(path)\n\n    # Chain hash: SHA-256 of all file hashes concatenated in sorted order\n    chain = hashlib.sha256()\n    for key in sorted(files.keys()):\n        chain.update(files[key].encode(\"ascii\"))\n\n    manifest = {\n        \"plugin_name\": root.name,\n        \"generated_at\": datetime.now(timezone.utc).isoformat(),\n        \"algorithm\": \"sha256\",\n        \"file_count\": len(files),\n        \"files\": files,\n        \"manifest_hash\": chain.hexdigest(),\n    }\n    return manifest\n\n# Generate and save\nmanifest = generate_manifest(\"my-plugin\u002F\")\nPath(\"my-plugin\u002FINTEGRITY.json\").write_text(\n    json.dumps(manifest, indent=2) + \"\\n\"\n)\nprint(f\"Generated manifest: {manifest['file_count']} files, \"\n      f\"hash: {manifest['manifest_hash'][:16]}...\")\n```\n\n**Output (`INTEGRITY.json`):**\n```json\n{\n  \"plugin_name\": \"my-plugin\",\n  \"generated_at\": \"2026-04-01T03:00:00+00:00\",\n  \"algorithm\": \"sha256\",\n  \"file_count\": 12,\n  \"files\": {\n    \".claude-plugin\u002Fplugin.json\": \"a1b2c3d4...\",\n    \"README.md\": \"e5f6a7b8...\",\n    \"skills\u002Fsearch\u002FSKILL.md\": \"c9d0e1f2...\",\n    \"agency.json\": \"3a4b5c6d...\"\n  },\n  \"manifest_hash\": \"7e8f9a0b1c2d3e4f...\"\n}\n```\n\n---\n\n## Pattern 2: Verify Integrity\n\nCheck that current files match the manifest.\n\n```python\n# Requires: hash_file() and generate_manifest() from Pattern 1 above\nimport json\nfrom pathlib import Path\n\ndef verify_manifest(plugin_dir: str) -> tuple[bool, list[str]]:\n    \"\"\"Verify plugin files against INTEGRITY.json.\"\"\"\n    root = Path(plugin_dir)\n    manifest_path = root \u002F \"INTEGRITY.json\"\n\n    if not manifest_path.exists():\n        return False, [\"INTEGRITY.json not found\"]\n\n    manifest = json.loads(manifest_path.read_text())\n    recorded = manifest.get(\"files\", {})\n    errors = []\n\n    # Check recorded files\n    for rel_path, expected_hash in recorded.items():\n        full = root \u002F rel_path\n        if not full.exists():\n            errors.append(f\"MISSING: {rel_path}\")\n            continue\n        actual = hash_file(full)\n        if actual != expected_hash:\n            errors.append(f\"MODIFIED: {rel_path}\")\n\n    # Check for new untracked files\n    current = generate_manifest(plugin_dir)\n    for rel_path in current[\"files\"]:\n        if rel_path not in recorded:\n            errors.append(f\"UNTRACKED: {rel_path}\")\n\n    return len(errors) == 0, errors\n\n# Verify\npassed, errors = verify_manifest(\"my-plugin\u002F\")\nif passed:\n    print(\"VERIFIED: All files match manifest\")\nelse:\n    print(f\"FAILED: {len(errors)} issue(s)\")\n    for e in errors:\n        print(f\"  {e}\")\n```\n\n**Output on tampered plugin:**\n```\nFAILED: 3 issue(s)\n  MODIFIED: skills\u002Fsearch\u002FSKILL.md\n  MISSING: agency.json\n  UNTRACKED: backdoor.py\n```\n\n---\n\n## Pattern 3: Dependency Version Audit\n\nCheck that agent dependencies use pinned versions.\n\n```python\nimport re\n\ndef audit_versions(config_path: str) -> list[dict]:\n    \"\"\"Audit dependency version pinning in a config file.\"\"\"\n    findings = []\n    path = Path(config_path)\n    content = path.read_text()\n\n    if path.name == \"package.json\":\n        data = json.loads(content)\n        for section in (\"dependencies\", \"devDependencies\"):\n            for pkg, ver in data.get(section, {}).items():\n                if ver.startswith(\"^\") or ver.startswith(\"~\") or ver == \"*\" or ver == \"latest\":\n                    findings.append({\n                        \"package\": pkg,\n                        \"version\": ver,\n                        \"severity\": \"HIGH\" if ver in (\"*\", \"latest\") else \"MEDIUM\",\n                        \"fix\": f'Pin to exact: \"{pkg}\": \"{ver.lstrip(\"^~\")}\"'\n                    })\n\n    elif path.name in (\"requirements.txt\", \"pyproject.toml\"):\n        for line in content.splitlines():\n            line = line.strip()\n            if \">=\" in line and \"\u003C\" not in line:\n                findings.append({\n                    \"package\": line.split(\">=\")[0].strip(),\n                    \"version\": line,\n                    \"severity\": \"MEDIUM\",\n                    \"fix\": f\"Add upper bound: {line},\u003Cnext_major\"\n                })\n\n    return findings\n```\n\n---\n\n## Pattern 4: Promotion Gate\n\nUse integrity verification as a gate before promoting plugins.\n\n```python\ndef promotion_check(plugin_dir: str) -> dict:\n    \"\"\"Check if a plugin is ready for production promotion.\"\"\"\n    checks = {}\n\n    # 1. Integrity manifest exists and verifies\n    passed, errors = verify_manifest(plugin_dir)\n    checks[\"integrity\"] = {\n        \"passed\": passed,\n        \"errors\": errors\n    }\n\n    # 2. Required files exist\n    root = Path(plugin_dir)\n    required = [\"README.md\"]\n    missing = [f for f in required if not (root \u002F f).exists()]\n\n    # Require at least one plugin manifest (supports both layouts)\n    manifest_paths = [\n        root \u002F \".github\u002Fplugin\u002Fplugin.json\",\n        root \u002F \".claude-plugin\u002Fplugin.json\",\n    ]\n    if not any(p.exists() for p in manifest_paths):\n        missing.append(\".github\u002Fplugin\u002Fplugin.json (or .claude-plugin\u002Fplugin.json)\")\n\n    checks[\"required_files\"] = {\n        \"passed\": len(missing) == 0,\n        \"missing\": missing\n    }\n\n    # 3. No unpinned dependencies\n    mcp_path = root \u002F \".mcp.json\"\n    if mcp_path.exists():\n        config = json.loads(mcp_path.read_text())\n        unpinned = []\n        for server in config.get(\"mcpServers\", {}).values():\n            if isinstance(server, dict):\n                for arg in server.get(\"args\", []):\n                    if isinstance(arg, str) and \"@latest\" in arg:\n                        unpinned.append(arg)\n        checks[\"pinned_deps\"] = {\n            \"passed\": len(unpinned) == 0,\n            \"unpinned\": unpinned\n        }\n\n    # Overall\n    all_passed = all(c[\"passed\"] for c in checks.values())\n    return {\"ready\": all_passed, \"checks\": checks}\n\nresult = promotion_check(\"my-plugin\u002F\")\nif result[\"ready\"]:\n    print(\"Plugin is ready for production promotion\")\nelse:\n    print(\"Plugin NOT ready:\")\n    for name, check in result[\"checks\"].items():\n        if not check[\"passed\"]:\n            print(f\"  FAILED: {name}\")\n```\n\n---\n\n## CI Integration\n\nAdd to your GitHub Actions workflow:\n\n```yaml\n- name: Verify plugin integrity\n  run: |\n    PLUGIN_DIR=\"${{ matrix.plugin || '.' }}\"\n    cd \"$PLUGIN_DIR\"\n    python -c \"\n    from pathlib import Path\n    import json, hashlib, sys\n\n    def hash_file(p):\n        h = hashlib.sha256()\n        with open(p, 'rb') as f:\n            for c in iter(lambda: f.read(8192), b''):\n                h.update(c)\n        return h.hexdigest()\n\n    manifest = json.loads(Path('INTEGRITY.json').read_text())\n    errors = []\n    for rel, expected in manifest['files'].items():\n        p = Path(rel)\n        if not p.exists():\n            errors.append(f'MISSING: {rel}')\n        elif hash_file(p) != expected:\n            errors.append(f'MODIFIED: {rel}')\n    if errors:\n        for e in errors:\n            print(f'::error::{e}')\n        sys.exit(1)\n    print(f'Verified {len(manifest[\\\"files\\\"])} files')\n    \"\n```\n\n---\n\n## Best Practices\n\n| Practice | Rationale |\n|----------|-----------|\n| **Generate manifest after code review** | Ensures reviewed code matches production code |\n| **Include manifest in the PR** | Reviewers can verify what was hashed |\n| **Verify in CI before deploy** | Catches post-review modifications |\n| **Chain hash for tamper evidence** | Single hash represents entire plugin state |\n| **Exclude build artifacts** | Only hash source files — .git, __pycache__, node_modules excluded |\n| **Pin all dependency versions** | Unpinned deps = different code on every install |\n\n---\n\n## Related Resources\n\n- [OpenSSF SLSA](https:\u002F\u002Fslsa.dev\u002F) — Supply-chain Levels for Software Artifacts\n- [npm Provenance](https:\u002F\u002Fdocs.npmjs.com\u002Fgenerating-provenance-statements) — Sigstore-based package provenance\n- [Agent Governance Toolkit](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-governance-toolkit) — Includes integrity verification and plugin signing\n- [OWASP ASI-09: Supply Chain Integrity](https:\u002F\u002Fowasp.org\u002Fwww-project-agentic-ai-threats\u002F)\n",{"description":24},"Verify supply chain integrity for AI agent plugins, tools, and dependencies. Use this skill when:\n- Generating SHA-256 integrity manifests for agent plugins or tool packages\n- Verifying that installed plugins match their published manifests\n- Detecting tampered, modified, or untracked files in agent tool directories\n- Auditing dependency pinning and version policies for agent components\n- Building provenance chains for agent plugin promotion (dev → staging → production)\n- Any request like \"verify plugin integrity\", \"generate manifest\", \"check supply chain\", or \"sign this plugin\"\n","main","58843b159d7a4050d6b785a98b908cce505c0b92","agent\u002Fskills\u002Fagent-supply-chain",0,"https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent","https:\u002F\u002Fgithub.com\u002FReihantt6","reihsns.web.id","2026-08-19 20:08:18",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Reihantt6\u002Fsns-myagent --skill agent-supply-chain",{"tool":39,"command":40},"bunx","bunx skills add Reihantt6\u002Fsns-myagent --skill agent-supply-chain",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Reihantt6\u002Fsns-myagent --skill agent-supply-chain","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fagent-supply-chain\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M77XDCYZ407XYMF2T4P6F7VT","youtube-transcript","Extract transcripts from YouTube videos. Use when the user asks for a transcript, subtitles, or captions of a YouTube video and provides a YouTube URL (youtube.com\u002Fwatch?v=, youtu.be\u002F, or similar). Supports output with or without timestamps.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M77XD7PBC98J6MXGJJ2TJ8DX","youtube-thumbnail-design","YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A\u002FB testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-thumbnail-design\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M77XD2541C8HXJ6RHYZP4NGJ","youtube-short-maker","Make YouTube Shorts that hold attention with Pexo — vertical 9:16, fast-paced, hook in the first 3 seconds. Describe your topic and Pexo writes the script, generates the shots, picks the models, and assembles a finished Short with music and captions. Use for YouTube Shorts: \"youtube short\", \"make a youtube short\", \"shorts video\", \"short-form video\". NOT for long-form or landscape video.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fyoutube-short-maker\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M77XCXKVSYK7KTZ3PQBVVGFD","xcode-project-setup","Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fxcode-project-setup\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M77XCR1DV8ZQK2NHWKVY4EWX","x402","Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — \"just use it\" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing touches your codebase) or \"build it in\" (install the SDK and write the key + code into your project). Walks through wallet setup, funding, .env, and a ~$1 test run. Use when the user asks about x402, pay-per-use, USDC payments, or wants Browser Use Cloud without an API key. For the free-tier signup (reverse-CAPTCHA → API key), use `browser-use cloud signup` or the `cloud` skill instead.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx402\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M77XCMD3R3ZBZQQSW6E0793B","x-twitter-scraper","Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.","https:\u002F\u002Fgithub.com\u002FReihantt6\u002Fsns-myagent\u002Fblob\u002Fmain\u002Fagent\u002Fskills\u002Fx-twitter-scraper\u002FSKILL.md",[],[]]