control-guard
Fail a change that weakens a deterministic control (deleted or skipped tests, lowered thresholds, disabled workflow steps, edited control files, added…
Skill by ALTEN-group
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/alten-group-control-guard
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/control-guard/dev/null
What's inside
- Skill name
control-guard- Description
- Fail a change that weakens a deterministic control (deleted or skipped tests, lowered thresholds, disabled workflow steps, edited control files, added suppressions, removed assertions, production credentials in agent workflows) and enforce the bug rule (the failing check is committed before the fix). Use in the Code loop, after every agent fix, and in CI on the pull request diff.
- License
- MIT
- Instructions
- 41 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (7)
- SKILL.md
- control-guard-contract.md · references/
- bug-rule.mjs · scripts/
- bug-rule.test.mjs · scripts/
- control-guard-fixture.mjs · scripts/
- control-guard.mjs · scripts/
- control-guard.test.mjs · scripts/
SKILL.md (first lines)
# Control Guard Deterministic control-integrity guard. It reads a unified diff and fails when the change weakens the checks that judge it. It also enforces the bug rule on a commit range. Agents run it, they never change it. ## When to Use This Skill - An agent finished a change or a gate fix and must prove it did not weaken a control to get a pass. - CI scans the pull request diff before any other control result is trusted. - A production defect is fixed and the failing check must be committed before the fix. ## Path resolution Resolve `references/` and `scripts/` relative to **this skill's install directory** (the folder that contains this `SKILL.md`). If the skill was installed under `.agents/skills/control-guard/` or `.claude/skills/control-guard/`, use that base path. ## Workflow 1. **Read `references/control-guard-contract.md`** for the eight rules (R1 to R8), the configuration, and the bug rule. 2. Scan the change. Commit or stage new files first: untracked files are not scanned. ```bash # Working tree and commits since the merge base with main node scripts/control-guard.mjs --git origin/main # A saved diff, or JSON output for an agent node scripts/control-guard.mjs --diff change.diff --json ``` 3. Each finding is printed as `RULE file:line message`. Treat a nonzero exit as a failure: remove the weakening (restore the test, the threshold, the step) and fix the real fault instead. Do not edit `control-guard.json`, workflows, or installed skills. Only the Architect passes `--allow-path` for a control change. 4. For a defect fix, check the commit order, then prove the new check fails without the fix with the `test-probe` skill: ```bash node scripts/bug-rule.mjs --git origin/main..HEAD --defect "#123" ``` ## Done When - `scripts/control-guard.mjs` exits with code 0 on the final diff. - For a defect fix, `scripts/bug-rule.mjs` exits with code 0: a tests-only commit precedes the first commit that changes non-test files. - No `--allow-path` was used by an agent, and no protected file was edited.
From ALTEN-group/coding-pal, MIT.
More from ALTEN-group/coding-pal
- 0.624score
angular-admin-examples
ALTEN-group
Scaffold or match Angular admin CRUD entity slices (model/conf/service, thin feature component, protected routes, resolvers).
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
incident-record
ALTEN-group
Author and validate incident records (docs/incidents/<date>-<slug>.md): detect, mitigate first, diagnose with correlated evidence, repair with a failing test…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
learn-signals
ALTEN-group
Close the Learn loop: turn validated incident records, invalidated hypotheses, and high severity telemetry findings into Triage backlog issue bodies (labels…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
meeting-pack
ALTEN-group
Structure, validate, and hand off persistent Meeting Packs from client meeting transcripts: normalize a plain-text transcript, build a pack (summary…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
migration-docs
ALTEN-group
Structure, author, and validate the migration documentation set (assessment.md, migration-plan.md, runbook.md) for moving an application from one…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
mutation-bar
ALTEN-group
Gate a change on its Mutation Testing Bar: read a Stryker mutation-testing-elements JSON (or a generic killed/survived summary), compute the mutation score…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
code-loop
ALTEN-group
Drive the Code stage one plan step at a time with persistent progress, enforce the fix-loop limit, and guard agent branches.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
context-health
ALTEN-group
Check the health of Persistent Context and prepare the weekly Persistent Context & Controls review: lint instruction files (missing description, broad…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
contract-compat
ALTEN-group
Classify the differences between two OpenAPI 3.x JSON documents (or two JSON Schemas, with local $ref resolved) as BREAKING or compatible, and fail on any…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
criteria-verify
ALTEN-group
Prove that every acceptance criterion (AC-<n>) in a plan.md has at least one passing test and that no test mapped to a criterion failed, by reading JUnit XML…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
decision-record
ALTEN-group
Structure, draft, validate, and track the Architect's decision records (docs/decisions/NNNN-slug.md) and escalations with a default date.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
flow-metrics
ALTEN-group
Record and compute the Agentic Software Factory metrics from an append-only event log (metrics/events.jsonl): validate and append events, then print a…
SkillAFreshness: A★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 13, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ALTEN-group/coding-pal
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ALTEN-group
- 0.624score
angular-admin-examples
ALTEN-group
Scaffold or match Angular admin CRUD entity slices (model/conf/service, thin feature component, protected routes, resolvers).
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
criteria-verify
ALTEN-group
Prove that every acceptance criterion (AC-<n>) in a plan.md has at least one passing test and that no test mapped to a criterion failed, by reading JUnit XML…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
context-health
ALTEN-group
Check the health of Persistent Context and prepare the weekly Persistent Context & Controls review: lint instruction files (missing description, broad…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
contract-compat
ALTEN-group
Classify the differences between two OpenAPI 3.x JSON documents (or two JSON Schemas, with local $ref resolved) as BREAKING or compatible, and fail on any…
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
code-loop
ALTEN-group
Drive the Code stage one plan step at a time with persistent progress, enforce the fix-loop limit, and guard agent branches.
SkillAFreshness: A★ 5Claude Code +9 - 0.624score
decision-record
ALTEN-group
Structure, draft, validate, and track the Architect's decision records (docs/decisions/NNNN-slug.md) and escalations with a default date.
SkillAFreshness: A★ 5Claude Code +9
Cite this page
control-guard skill. Agent Mart. https://agentmart.dev/skills/alten-group-control-guard (last updated 2026-10-24)