Asks a person before an agent weakens the checks that review its work. Shell guard refuses writes to CI files (GitHub workflows, actions, dependabot, GitLab, Jenkinsfile, CircleCI, more); reads and `chock sync` pass. Edit/Write and an agent's commit ask for files that drive CI: root workflows, called actions, included GitLab YAML, hook and bot config. Not judged: Makefile and script drivers, `gh` routes, empty writes, a patch not readable by path; plugin installs ship no gate.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Protect Ci Workflows?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/open-coder-ai-protect-ci-workflows)
---
name: protect-ci-workflows
description: "Asks a person before an agent weakens the checks that review its work. Shell guard refuses writes to CI files (GitHub workflows, actions, dependabot, GitLab, Jenkinsfile, CircleCI, more); reads and `chock sync` pass. Edit/Write and an agent's commit ask for files that drive CI: root workflows, called actions, included GitLab YAML, hook and bot config. Not judged: Makefile and script drivers, `gh` routes, empty writes, a patch not readable by path; plugin installs ship no gate."
metadata:
chock.artifact: rule
chock.enforcement: advise
chock.coverage_without_chock: advisory
---
# Protect CI Workflows
Asks a person before an agent weakens the checks that review its work. Shell guard refuses writes to CI files (GitHub workflows, actions, dependabot, GitLab, Jenkinsfile, CircleCI, more); reads and `chock sync` pass. Edit/Write and an agent's commit ask for files that drive CI: root workflows, called actions, included GitLab YAML, hook and bot config. Not judged: Makefile and script drivers, `gh` routes, empty writes, a patch not readable by path; plugin installs ship no gate.
```
ci_config(.github/{workflows,actions,dependabot.y*ml}): never(shell_edit|delete); edit_or_write|agent_commit(those|CODEOWNERS|.gitlab-ci.yml|Jenkinsfile*|.circleci/|azure-pipelines*|bitbucket-pipelines.yml|.buildkite/|.drone.yml|cloudbuild*|renovate|.pre-commit-config.yaml|.husky/|lefthook|.githooks/|.travis.yml|action.yml(called)|more): ask_person
if(ci_change_needed): ask_person; person edits from own shell; no agent-typed marker passes # an agent must not disarm the checks on its own work
```
This skill is advisory: the client reading it has no mechanism to enforce it. The same policy compiled by `chock` can refuse an agent's shell command before it runs; asks at commit, on an agent's file writes and at turn end. See https://github.com/open-coder-ai/chock