[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C61FD6DS7T20BB2JXKCBJB":3,"skill-same:01M7C61FD6DS7T20BB2JXKCBJB":51},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":33,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M7C61FD6DS7T20BB2JXKCBJB","pin-github-actions",null,"The mechanizable slice of CI supply-chain hardening, enforced at two points: at commit (the git hook, over staged changes) and at agent tool-use (over a tool call's arguments, as the agent writes) -- a workflow that references a third-party GitHub Action by a movable ref -- a branch or a version tag -- instead of a full 40-character commit SHA. A tag like v4 or a branch like main can be re-pointed at new code after review, so the action that runs tomorrow need not be the one that was audited today; a compromised or rug-pulled release rides in on exactly that mutability. The gate blocks an added line that references an action by a non-SHA ref (owner\u002Frepo at a tag\u002Fbranch); a full 40-char SHA pin passes, local actions (no ref) pass, and 'pragma: allowlist unpinned-action' on the same line is a visible, deliberate exception. This is the OpenSSF Scorecard Pinned-Dependencies control for the slice a diff can show; signature and provenance verification stay out of scope.","open-coder-ai\u002Fcontext-report","open-coder-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F326301844?v=4","01M7AQWBEFDVY5BG8APD5YCC2R","Open Coder AI","01M7C5RCZYJMBZR211XP0EPN9Z",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report\u002Fblob\u002Fmain\u002F.agents\u002Fpolicies\u002Fpin-github-actions\u002Fskills\u002Fpin-github-actions\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pin-github-actions\ndescription: \"The mechanizable slice of CI supply-chain hardening, enforced at two points: at commit (the git hook, over staged changes) and at agent tool-use (over a tool call's arguments, as the agent writes) -- a workflow that references a third-party GitHub Action by a movable ref -- a branch or a version tag -- instead of a full 40-character commit SHA. A tag like v4 or a branch like main can be re-pointed at new code after review, so the action that runs tomorrow need not be the one that was audited today; a compromised or rug-pulled release rides in on exactly that mutability. The gate blocks an added line that references an action by a non-SHA ref (owner\u002Frepo at a tag\u002Fbranch); a full 40-char SHA pin passes, local actions (no ref) pass, and 'pragma: allowlist unpinned-action' on the same line is a visible, deliberate exception. This is the OpenSSF Scorecard Pinned-Dependencies control for the slice a diff can show; signature and provenance verification stay out of scope.\"\nmetadata:\n  chock.artifact: hook\n  chock.enforcement: block\n  chock.coverage_without_chock: advisory\n---\n\n# Pin GitHub Actions\n\nThe mechanizable slice of CI supply-chain hardening, enforced at two points: at commit (the git hook, over staged changes) and at agent tool-use (over a tool call's arguments, as the agent writes) -- a workflow that references a third-party GitHub Action by a movable ref -- a branch or a version tag -- instead of a full 40-character commit SHA. A tag like v4 or a branch like main can be re-pointed at new code after review, so the action that runs tomorrow need not be the one that was audited today; a compromised or rug-pulled release rides in on exactly that mutability. The gate blocks an added line that references an action by a non-SHA ref (owner\u002Frepo at a tag\u002Fbranch); a full 40-char SHA pin passes, local actions (no ref) pass, and 'pragma: allowlist unpinned-action' on the same line is a visible, deliberate exception. This is the OpenSSF Scorecard Pinned-Dependencies control for the slice a diff can show; signature and provenance verification stay out of scope.\n\n```\non(commit|tool_use): block(content_regex) scan=added_lines allowlist_pragma=pragma:\\s*allowlist\\s+unpinned-action ...\nUnpinned GitHub Action detected: a workflow references an action by a tag or branch (owner\u002Frepo at a movable ref) rather than a full 40-character commit SHA. Pin it to the SHA -- keep the version in a trailing comment for readability -- so a re-tagged or compromised release cannot change what runs. At commit, 'pragma: allowlist unpinned-action' on the same line marks a deliberate exception; the pragma is NOT honored at tool-use, where the scanned text is a live tool argument an appended token could neutralize.\n```\n\nThis skill is advisory: the client reading it has no mechanism to enforce it. The same policy compiled by `chock` becomes a git hook that exits non-zero. See https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\n","# Pin GitHub Actions\n\nThe mechanizable slice of CI supply-chain hardening, enforced at two points: at commit (the git hook, over staged changes) and at agent tool-use (over a tool call's arguments, as the agent writes) -- a workflow that references a third-party GitHub Action by a movable ref -- a branch or a version tag -- instead of a full 40-character commit SHA. A tag like v4 or a branch like main can be re-pointed at new code after review, so the action that runs tomorrow need not be the one that was audited today; a compromised or rug-pulled release rides in on exactly that mutability. The gate blocks an added line that references an action by a non-SHA ref (owner\u002Frepo at a tag\u002Fbranch); a full 40-char SHA pin passes, local actions (no ref) pass, and 'pragma: allowlist unpinned-action' on the same line is a visible, deliberate exception. This is the OpenSSF Scorecard Pinned-Dependencies control for the slice a diff can show; signature and provenance verification stay out of scope.\n\n```\non(commit|tool_use): block(content_regex) scan=added_lines allowlist_pragma=pragma:\\s*allowlist\\s+unpinned-action ...\nUnpinned GitHub Action detected: a workflow references an action by a tag or branch (owner\u002Frepo at a movable ref) rather than a full 40-character commit SHA. Pin it to the SHA -- keep the version in a trailing comment for readability -- so a re-tagged or compromised release cannot change what runs. At commit, 'pragma: allowlist unpinned-action' on the same line marks a deliberate exception; the pragma is NOT honored at tool-use, where the scanned text is a live tool argument an appended token could neutralize.\n```\n\nThis skill is advisory: the client reading it has no mechanism to enforce it. The same policy compiled by `chock` becomes a git hook that exits non-zero. See https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fchock\n",{"name":5,"metadata":24,"description":7},{"chock.artifact":25,"chock.enforcement":26,"chock.coverage_without_chock":27},"hook","block","advisory","main","5bc678709f1b77433f147ade1d8febfaf41234b3",".agents\u002Fpolicies\u002Fpin-github-actions\u002Fskills\u002Fpin-github-actions",0,"https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report","https:\u002F\u002Fchock.sh","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai","Open-source guardrails for AI coding agents","2026-11-03 02:19:10",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add open-coder-ai\u002Fcontext-report --skill pin-github-actions",{"tool":43,"command":44},"bunx","bunx skills add open-coder-ai\u002Fcontext-report --skill pin-github-actions",{"tool":46,"command":47},"pnpm","pnpm dlx skills add open-coder-ai\u002Fcontext-report --skill pin-github-actions","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report\u002Fblob\u002Fmain\u002F.agents\u002Fpolicies\u002Fpin-github-actions\u002Fskills\u002Fpin-github-actions\u002FSKILL.md",true,[],[52,59,66,73,80,87],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M7C688QVCB8K9MV7B4VBT793","validate","Lint Chock policy conformance. args(policy_id or all) returns(findings, verdict) invoke(validate, check, promotion_to_review) exclude(eval, optimize)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvalidate\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7C67QQ5JR3VXZSNX4NP8J5Z","policy-init","Create conformant Chock policy from request. args(request, target_path, artifact_hint) returns(folder, wiring) invoke(skill, hook, rule, workflow, convention, always_never) exclude(coding, edit_existing)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpolicy-init\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7C671ZM5211JX4MW5ES2CVV","optimize","Improve Chock policy from usage evidence. args(policy_path, >=3 traces) returns(promoted_edit \u002F rejected_record \u002F no_bar) invoke(misfire, ignore, tuning) exclude(policy_init, one_off_edit)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Foptimize\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7C66H3NGEM4HN377YPKXH03","eval","Run Chock policy eval suite. args(policy_path) returns(pass_rate, verdict) invoke(test, run_evals, promotion_check) exclude(validate, optimize)","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Feval\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7C65W6E3B44WDZH977STZ5T","verify-dependency-exists","Block hallucinated or unknown dependencies before they enter the repo. Watches requirements.txt, pyproject.toml, package.json, and go.mod, and blocks any newly added dependency not present in the allowlist file. Opt-in: disabled by default because it requires a curated allowlist. Enable with `chock enable verify-dependency-exists` after populating .chock\u002Fdependency-allowlist.txt.","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report\u002Fblob\u002Fmain\u002F.agents\u002Fpolicies\u002Fverify-dependency-exists\u002Fskills\u002Fverify-dependency-exists\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7C654V8QM9QMK02C5AYYT1Q","token-efficiency","trigger: large command output, broad searches, re-reading unchanged files, front-loading references. avoid: wasting context window on low-signal content.","https:\u002F\u002Fgithub.com\u002Fopen-coder-ai\u002Fcontext-report\u002Fblob\u002Fmain\u002F.agents\u002Fpolicies\u002Ftoken-efficiency\u002Fskills\u002Ftoken-efficiency\u002FSKILL.md",[],[]]