{"product_id":"ai-gardener-optimize-your-codebase-with-smart-context-management","title":"AI Gardener: Optimize Your Codebase with Smart Context Management","description":"\u003ch3\u003eAI Gardener: Optimize Your Codebase with Smart Context Management\u003c\/h3\u003e\n\n\u003cp\u003eThe AI Gardener is a maintenance agent skill designed for developers using AI coding agents such as Claude Code, Cursor, and Codex. It focuses on managing and optimizing the context files within your codebase by running essential tasks like context verification, risk audits, and document repairs.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this skill does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eKeeps context files up-to-date and accurate using commands such as \u003ccode\u003e\/doctor\u003c\/code\u003e, \u003ccode\u003e\/sync-context\u003c\/code\u003e, \u003ccode\u003e\/audit-risk\u003c\/code\u003e, \u003ccode\u003e\/repair-docs\u003c\/code\u003e, and \u003ccode\u003e\/garden\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eRe-verifies context claims against the code to ensure alignment before refreshing timestamps.\u003c\/li\u003e\n  \u003cli\u003eTurns recurring agent mistakes into mechanical checks to prevent errors and improve reliability.\u003c\/li\u003e\n  \u003cli\u003eConfirms context freshness after flagged merges or upon user requests to evaluate stale documentation or risk-audit baseline.\u003c\/li\u003e\n  \u003cli\u003eOpens issues for external resolution when code fixes are necessary, rather than directly altering source or config files.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWho it is for\u003c\/h3\u003e\n\u003cp\u003eThis skill benefits developers and teams working extensively with AI coding agents who need to maintain the integrity and accuracy of context files in their projects. It is specifically suited for those employing a structured workflow where regular context updates are crucial.\u003c\/p\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRunning scheduled maintenance to ensure context files reflect the current codebase accurately.\u003c\/li\u003e\n  \u003cli\u003ePerforming health checks after code merges flagged as \u003ccode\u003e[CONTEXT_STALE]\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eResponding to user queries regarding potential stale context files or modifications in project documentation.\u003c\/li\u003e\n  \u003cli\u003eReviewing and updating the risk-audit baseline even when specific commands are not provided.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eUtilizes \u003ccode\u003eagent-flow doctor\u003c\/code\u003e, \u003ccode\u003eagent-flow audit-risk\u003c\/code\u003e, and \u003ccode\u003eagent-flow baseline accept\u003c\/code\u003e commands.\u003c\/li\u003e\n  \u003cli\u003eSupports context management through editing \u003ccode\u003e*.md\u003c\/code\u003e files and \u003ccode\u003eCONTEXT_MANIFEST.json\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eEnforces role-specific constraints with \u003ccode\u003eAGENT_FLOW_ROLE=gardener\u003c\/code\u003e to ensure governance.\u003c\/li\u003e\n  \u003cli\u003eRequires human confirmation for actions like \u003ccode\u003estale_repair\u003c\/code\u003e, \u003ccode\u003erisk_baseline_update\u003c\/code\u003e, and \u003ccode\u003ebootstrap_write\u003c\/code\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eFor authorised security testing, defensive research and educational use only.\u003c\/p\u003e\n\u003c!-- mcpcart:static-blocks:start --\u003e\n\u003chr\u003e\n\u003ch3\u003eSource \u0026amp; Licence\u003c\/h3\u003e\n\u003cp\u003eThis package is built on open-source work published by \u003cstrong\u003eDrix10\u003c\/strong\u003e (\u003ca href=\"https:\/\/github.com\/Drix10\/agent-flow\" rel=\"nofollow noopener\" target=\"_blank\"\u003eDrix10\/agent-flow\u003c\/a\u003e) and distributed under \u003cstrong\u003eMIT\u003c\/strong\u003e. The original licence text and copyright notice are included in your download.\u003c\/p\u003e\n\u003cp\u003ePersonal and commercial use, modification and redistribution are permitted, provided the original copyright and licence notice are retained.\u003c\/p\u003e\n\u003cp\u003eYour purchase covers curation, licence verification, packaging, documentation and instant delivery. It does not grant exclusive rights to the underlying open-source code, which remains available under its original licence.\u003c\/p\u003e\n\u003ch3\u003eDelivery \u0026amp; Support\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eDelivery:\u003c\/strong\u003e instant — a secure download link is emailed to you as soon as payment is confirmed.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eFormat:\u003c\/strong\u003e ZIP archive containing the skill files, documentation and the original licence.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSupport:\u003c\/strong\u003e \u003ca href=\"mailto:support@mcpcart.com\"\u003esupport@mcpcart.com\u003c\/a\u003e — we aim to reply within 2 business days.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eUpdates:\u003c\/strong\u003e updates are included only where stated on this page.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eRefunds\u003c\/h3\u003e\n\u003cp\u003eThis is a digital product delivered immediately after purchase. By completing your order you request immediate delivery and acknowledge that, once the download has been accessed, the statutory right to cancel no longer applies to the extent permitted by law. Refund requests are handled in accordance with our published Refund Policy.\u003c\/p\u003e\n\u003cp style=\"font-size:0.85em;color:#666;\"\u003eClaude, Codex, Gemini and Cursor are trademarks of their respective owners. MCP Cart is an independent marketplace and is not affiliated with, endorsed by, or sponsored by any of them. Compatibility references describe interoperability only.\u003c\/p\u003e\n\u003c!-- mcpcart:static-blocks:end --\u003e","brand":"MCP Cart","offers":[{"title":"Default Title","offer_id":53058788524343,"sku":"MCP-DRIX10-AGENT-FLOW-GARDENER","price":66.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0981\/3950\/4951\/files\/WuMuCapmoL3OEvqmBwtbT_9d383531c0fc46c888bf38a937e2d771.jpg?v=1790586734","url":"https:\/\/mcpcart.com\/products\/ai-gardener-optimize-your-codebase-with-smart-context-management","provider":"SPF PRO","version":"1.0","type":"link"}