rhecosystemappeng/agentic-collections/governance-executor
Claude Code and agent skill by rhecosystemappeng/agentic-collections
- community
Checking that the SKILL.md file is still in the repository.
Orchestrates governed job execution with risk analysis, check mode, approval, and rollback. Use when: - "Execute job template X", "Deploy to production", "Push to prod", "Launch job template" - Any execution request targeting sensitive environments - Job template launches requiring governance controls NOT for platform assessment (use governance-assessor) or troubleshooting (use forensic-troubleshooter).
Install
npx vskill@latest install rhecosystemappeng/agentic-collections/governance-executorSKILL.md
The same SKILL.md was published earlier as rhecosystemappeng/agentic-collections/governance-executor.
Governance Executor
Prerequisites
Required MCP Servers: aap-mcp-job-management, aap-mcp-inventory-management Required Skills: aap-mcp-validator, execution-risk-analyzer, governed-job-launcher, execution-summary
When to Use This Skill
Use this skill when:
- User asks to execute, launch, deploy, or push a job template
- User mentions production, staging, or any environment-targeted execution
- User asks to launch a specific job template by name or ID
Do NOT use when:
- User asks to assess platform readiness (use
governance-assessorskill) - User asks to troubleshoot a failed job (use
forensic-troubleshooterskill) - User asks about governance or compliance without an execution context
Workflow
1. Validate MCP Connectivity
Invoke the aap-mcp-validator skill:
- Validate
aap-mcp-job-managementandaap-mcp-inventory-management - If any server fails: report and stop
2. Analyze Execution Risk
Invoke the execution-risk-analyzer skill:
- The skill reads execution-governance.md
- Identifies the job template and classifies inventory risk (CRITICAL / HIGH / MEDIUM / LOW)
- Adapts: Checks job history -- flags recent failures or first-time execution
- Adapts: Checks template launch config -- verifies check mode and limit overrides are available
- Adapts: Checks notification bindings -- flags templates without failure alerting
- Adapts: Checks workflow coverage -- flags standalone production templates
- Adapts: Analyzes previous run events -- identifies shell/command module usage for check mode coverage
- Scans extra_vars for plain-text secrets
- Adjusts risk level based on operational signals (e.g., HIGH + never run + no check mode override → CRITICAL)
- Reports risk assessment with Red Hat citations AND operational context
Document Consultation (performed by the skill): The execution-risk-analyzer skill reads execution-governance.md and reports its consultation.
If secrets detected: STOP. Report the finding and recommend using AAP credentials.
3. Execute Governed Launch
Invoke the governed-job-launcher skill:
- The skill reads execution-governance.md
- Adapts to risk analyzer signals:
- If recent failures flagged → offers to investigate first via forensic-troubleshooter
- If check mode not overridable → informs user and adapts execution path
- If shell/command modules detected → provides specific dry-run coverage percentage instead of generic warning
- Applies governance controls based on adjusted risk level:
- CRITICAL: Check mode → interpret with context → approve → phased rollout
- HIGH: Check mode → interpret → approve → full run
- MEDIUM: Confirm → full run
- LOW: Execute directly
- Reports results with changed-only summary
- Proactive post-execution: If notifications/workflows were flagged as missing, recommends addressing those governance gaps now
Human Confirmation (REQUIRED for CRITICAL/HIGH):
- After check mode: "Check mode results: [summary with coverage %]. Proceed with full execution?"
- Between phases (CRITICAL): "Phase [N] succeeded. Proceed to Phase [N+1]?"
- Wait for explicit user confirmation
If failure: Offer rollback options via jobs_relaunch_create.
4. Generate Execution Summary
Invoke the execution-summary skill:
- Generate audit trail showing: risk classification basis, check mode results, approval decisions, execution outcome
Dependencies
Required Skills
aap-mcp-validator- MCP server validationexecution-risk-analyzer- Risk classification and secret scanninggoverned-job-launcher- Check mode, execution, rollbackexecution-summary- Audit trail
Required MCP Servers
aap-mcp-job-management- Job template lookup and launchaap-mcp-inventory-management- Inventory risk classification
Required MCP Tools
- None; delegated to sub-skills (
execution-risk-analyzer,governed-job-launcher).
Related Skills
forensic-troubleshooter- Follow-up if execution failsgovernance-assessor- Pre-execution platform readiness check
Reference Documentation
- execution-governance.md - Risk classification, check mode, rollback
Example Usage
Example 1: Production Execution with Full Governance
User: "Execute the security patch on production"
Agent:
- Validates MCP connectivity via aap-mcp-validator
- Invokes execution-risk-analyzer:
- Finds "Security Patch" template, identifies "Production" inventory → CRITICAL risk
- Check mode is overridable, but last run failed → adds WARN signal
- No failure notifications → flags governance gap
- Reports risk analysis to user with Red Hat citations
- Invokes governed-job-launcher:
- Runs check mode first → presents results: "Check mode: 12 changes, 2 shell tasks skipped"
- Asks: "Proceed with full execution?"
- User approves → executes phased rollout (Phase 1: 25% of hosts)
- Phase 1 succeeds → "Proceed to Phase 2?"
- Invokes execution-summary with full audit trail
Example 2: Low-Risk Development Execution
User: "Launch the dev-setup template"
Agent:
- Validates MCP connectivity
- Invokes execution-risk-analyzer: "Development" inventory → LOW risk, clear job history
- Reports: "Low risk execution, direct execution permitted."
- Invokes governed-job-launcher: executes directly, reports results
- Invokes execution-summary
Critical: Human-in-the-Loop Requirements
- Before full execution (CRITICAL/HIGH risk): Present check mode results, wait for approval
- Between rollout phases (CRITICAL risk): Present phase results, wait for approval
- Before rollback: Present failure summary, let user choose rollback strategy
- Never skip check mode for CRITICAL risk, even if user says "urgent"
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingrh-automation/skills/governance-executor/SKILL.md
Popularity
- Repository stars
- 48
- Repository forks
- 32
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rhecosystemappeng/agentic-collections/governance-executor)