SWAP_EXECUTION

Execute medical residency schedule swaps with ACGME compliance and audit trails.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Euda1mon1a/Autonomous-Assignment-Program-Manager --skill swap-execution
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: SWAP_EXECUTION
Source: https://github.com/Euda1mon1a/Autonomous-Assignment-Program-Manager/tree/main/.claude/archive/skills/SWAP_EXECUTION
Command: npx skills add https://github.com/Euda1mon1a/Autonomous-Assignment-Program-Manager --skill swap-execution

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex process of handling resident and faculty schedule swap requests, ensuring all safety, compliance, and audit requirements are met.

Core Features & Use Cases

  • Automated Swap Processing: Handles one-to-one and absorb swap types.
  • Multi-Tiered Safety Checks: Validates against ACGME rules (80-hour, 1-in-7), soft constraints, and system resilience.
  • Audit Trails & Rollbacks: Maintains a complete log of all swap actions and allows for rollbacks within 24 hours.
  • Escalation Procedures: Routes complex or sensitive swaps to appropriate human oversight (Coordinator, PD, Architect).
  • Use Case: A resident needs to swap their on-call shift due to a family emergency. This Skill processes the request, validates it against all rules, executes the swap, logs the action, and notifies relevant parties.

Quick Start

Use the SWAP_EXECUTION skill to process a new swap request for Dr. Smith and Dr. Jones for the week of 2025-03-10.

Frequently Asked Questions about SWAP_EXECUTION

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate medical residency schedule swaps while ensuring ACGME compliance?

Medical residency schedule swaps can be automated by validating requests against ACGME regulations, such as 80-hour limits and 1-in-7 rules, while logging every action to an audit trail. This ensures compliance and safety for one-to-one and absorb swap types.

What is the best way to handle resident shift swap escalations for human oversight?

Shift swap escalations are handled by routing complex or sensitive requests to appropriate human approvers, including Coordinators, Program Directors, or Architects, based on predefined criteria. This maintains oversight for swaps failing automated constraint checks.

Can I roll back an executed residency schedule swap if a conflict is found later?

Yes, executed residency schedule swaps can be rolled back within 24 hours of execution. The system provides rollback capabilities alongside complete audit trails to safely reverse actions if post-execution conflicts or issues are discovered.

Does the residency swap validation check system resilience and soft constraints?

Yes, residency swap validation performs resilience impact assessments and checks both hard ACGME rules and soft constraints. This multi-tiered safety approach ensures the schedule remains robust and compliant before executing any approved swaps.

What are the limitations of automating residency schedule swaps without human approvers?

Automating residency schedule swaps without human approvers limits the ability to handle complex or sensitive requests that fail predefined constraint checks. Escalations to Coordinators or Program Directors are required for edge cases to maintain policy compliance.