McGravity is a fast TUI that orchestrates AI coding tools like Claude Code, Codex, and Gemini in a plan-execute-review loop. It breaks work into atomic tasks for easier verification and course-correction. Ideal for developers and operations teams looking to streamline coding workflows.
git clone https://github.com/tigranbs/mcgravity.gitmcgravity is an innovative automation skill designed to orchestrate AI coding tools such as Claude Code, Codex, and Gemini in a structured plan-execute-review loop. This fast terminal user interface (TUI) breaks down complex work into atomic tasks, allowing for easier verification and course correction. By facilitating a clear workflow, mcgravity enhances the efficiency of coding processes, making it a valuable asset for developers and product managers alike. The key benefits of mcgravity include improved task management and streamlined collaboration among AI agents. By segmenting work into manageable components, users can quickly assess progress and make necessary adjustments, ultimately saving time in the development cycle. Although the exact time savings are currently unknown, the skill's design promotes a more efficient workflow, which can lead to significant reductions in project timelines when implemented effectively. This skill is particularly suited for developers, product managers, and AI practitioners who are looking to enhance their coding workflows. It is ideal for teams that rely heavily on AI automation and need to ensure that their coding tasks are executed with precision. With its intermediate implementation difficulty, mcgravity can be set up in just 30 minutes, making it accessible for those familiar with AI tools and coding environments. Practical use cases for mcgravity include automating repetitive coding tasks, improving code quality through iterative reviews, and facilitating collaboration between multiple AI agents. For instance, a development team could use mcgravity to coordinate a project involving multiple AI tools, allowing them to efficiently manage tasks such as code generation, testing, and debugging. As organizations increasingly adopt AI-first workflows, mcgravity stands out as a crucial skill that enhances productivity and streamlines the development process.
[{"step":"Install McGravity and configure your preferred AI coding tool (Claude Code, Codex, or Gemini) with API keys.","action":"Run `pip install mcgravity` and set environment variables for your AI tool's API key.","tip":"Use the tool's official CLI to test API connectivity before starting McGravity sessions."},{"step":"Define your task and verification criteria in the McGravity configuration file.","action":"Create a `mcgravity.yaml` file with fields like `issue_description`, `project_name`, and `verification_criteria`.","tip":"Be specific with verification criteria - include test commands, log checks, or manual review steps."},{"step":"Start the McGravity session and monitor atomic task execution.","action":"Run `mcgravity run --config mcgravity.yaml` and watch the TUI interface.","tip":"Use the pause/resume feature to inspect intermediate results if a task fails verification."},{"step":"Review the generated log file and address any remaining issues.","action":"Check the log in `/logs/` and manually fix any steps marked as failed.","tip":"For complex issues, break the task into smaller sub-tasks in your McGravity config."},{"step":"Integrate McGravity into your CI/CD pipeline for automated issue resolution.","action":"Set up a GitHub Actions workflow that triggers McGravity when issues are labeled 'autofix'.","tip":"Start with non-critical issues to validate the workflow before production use."}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/tigranbs/mcgravityCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use McGravity to automate the resolution of [ISSUE_DESCRIPTION] in [PROJECT_NAME]. Break the task into atomic steps, then execute them in sequence using [AI_CODING_TOOL]. After each step, verify the output against [VERIFICATION_CRITERIA]. If a step fails, pause execution and suggest a correction before proceeding. Document the entire process in a [LOG_FILE_NAME].
``` === McGravity Session Log: Fixing Auth Token Expiry in API Gateway === [2024-05-15 14:30:20] Starting McGravity session for issue: 'API Gateway tokens expire after 1 hour despite 24-hour TTL setting' [2024-05-15 14:30:25] Task 1: Verify current token expiration logic in /src/auth/tokenService.js [2024-05-15 14:30:30] Executing with Claude Code: 'grep -r "tokenExpiry\|expiresIn" /src/auth/' [2024-05-15 14:30:35] Output: Found hardcoded 3600s expiry in tokenService.js line 42 [2024-05-15 14:30:40] Verification: ✅ Issue confirmed - hardcoded value overrides config [2024-05-15 14:30:45] Task 2: Replace hardcoded value with environment variable [2024-05-15 14:30:50] Executing with Codex: 'Replace 3600 with process.env.TOKEN_EXPIRY || 86400 in tokenService.js' [2024-05-15 14:30:55] Output: Code updated successfully [2024-05-15 14:31:00] Verification: ✅ Unit tests pass (89% coverage) [2024-05-15 14:31:05] Task 3: Deploy changes to staging and verify token lifetime [2024-05-15 14:31:10] Executing with GitHub CLI: 'gh workflow run deploy.yml --ref staging' [2024-05-15 14:31:20] Output: Deployment successful (commit: a1b2c3d) [2024-05-15 14:31:25] Verification: ✅ Tokens now persist for 24h as configured [2024-05-15 14:31:30] Session completed successfully. Log saved to /logs/mcgravity_auth_fix_20240515.log ```
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan