askill
council-gate

council-gateSafety 85Repository

Quality gate using LLM Council multi-model consensus for CI/CD pipelines. Use for automated approval workflows and pipeline quality checks. Keywords: gate, CI, CD, pipeline, automated approval, quality gate, GitHub Actions

1 stars
1.2k downloads
Updated 2/9/2026

Package Files

Loading files...
SKILL.md

Council Gate Skill

Automated quality gate using multi-model consensus for CI/CD pipelines.

When to Use

  • Add AI-powered quality checks to GitHub Actions
  • Automate PR approval workflows
  • Gate deployments on multi-model verification
  • Enforce quality standards in pipelines

Exit Codes

CodeVerdictCI/CD Behavior
0PASSPipeline continues
1FAILPipeline fails
2UNCLEARPipeline pauses for human review

Transcript Location

All deliberations are saved for audit:

.council/logs/{timestamp}-{hash}/
├── request.json      # Input snapshot
├── stage1.json       # Model responses
├── stage2.json       # Peer reviews
├── stage3.json       # Synthesis
└── result.json       # Final verdict

GitHub Actions Integration

name: Council Quality Gate

on:
  pull_request:
    branches: [main, master]

jobs:
  council-gate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Install LLM Council
        run: pip install llm-council-core

      - name: Run Council Gate
        env:
          OPENROUTER_API_KEY: ${{ secrets.OPENROUTER_API_KEY }}
        run: |
          llm-council gate \
            --snapshot ${{ github.sha }} \
            --rubric-focus Security \
            --confidence-threshold 0.8

      - name: Upload Transcript
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: council-transcript
          path: .council/logs/

Configuration

ParameterDefaultDescription
confidence_threshold0.7Minimum confidence for PASS
rubric_focusnullFocus area (Security, Performance)
timeout300sMaximum execution time
tierbalancedCouncil tier (quick, balanced, high)

Output Schema

{
  "verdict": "pass",
  "confidence": 0.85,
  "blocking_issues": [],
  "rationale": "All models agreed...",
  "exit_code": 0,
  "transcript_path": ".council/logs/2025-12-31T..."
}

Example Usage

# Basic gate check
council-gate --snapshot $(git rev-parse HEAD)

# Security-focused gate
council-gate --rubric-focus Security --confidence-threshold 0.9

# Quick tier for faster feedback
council-gate --tier quick --timeout 60

Progressive Disclosure

  • Level 1: This metadata (~200 tokens)
  • Level 2: Full instructions above (~800 tokens)
  • Level 3: See references/ci-cd-rubric.md for CI/CD-specific scoring

Related Skills

  • council-verify: General verification
  • council-review: Code review with feedback

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

88/100Analyzed 2/23/2026

High-quality skill document for an LLM-powered CI/CD quality gate. Well-structured with comprehensive coverage including When to Use section, exit codes, GitHub Actions integration examples, configuration tables, and output schema. Technical reference content is accurate and reusable. Slight penalty for being in .github folder suggesting potential internal-only, but content is clearly designed for general CI/CD use."

85
90
90
85
90

Metadata

Licenseunknown
Version-
Updated2/9/2026
Publisheramiable-dev

Tags

ci-cdgithubgithub-actionsllmsecurity