Cradle is an innovative framework for General Computer Control (GCC) that helps AI agents with advanced reasoning, self-improvement, and skill curation capabilities. Designed for versatility, it enables agents to perform a wide range of computer tasks efficiently in a standardized environment.
claude install BAAI-Agents/Cradlehttps://baai-agents.github.io/Cradle/
[{"step":"Define the Task and Inputs","description":"Specify the exact task you want Cradle to perform in Productiv. Include placeholders for user credentials, module names, and any filters or criteria (e.g., timeframes, departments). Use the prompt template to structure your request.","tip":"Be as specific as possible with module names and actions. For example, avoid saying 'generate a report' and instead specify 'generate a quarterly SaaS spending report filtered by department and category'."},{"step":"Authenticate and Navigate","description":"Provide Cradle with the necessary credentials to log into Productiv. Ensure the agent has the correct permissions to access the required modules. Use Cradle's built-in reasoning to validate the login and navigation steps.","tip":"If you're unsure about the module paths or API endpoints, use Cradle's self-improvement capabilities to explore Productiv's structure first. For example, ask Cradle to 'list all available modules in Productiv' to identify the correct paths."},{"step":"Execute and Validate","description":"Run the task and validate the output. Cradle should perform the action (e.g., generating a report) and verify the results (e.g., checking the report contains the expected data). If errors occur, use Cradle's reasoning to diagnose and retry.","tip":"For complex tasks, break them into smaller sub-tasks. For example, first generate the report, then validate its contents, and finally save it to a specific location. This makes debugging easier."},{"step":"Document and Iterate","description":"Save the steps taken and results in a structured format (e.g., JSON or markdown). Use this documentation to refine future tasks or create templates for recurring actions.","tip":"If the task is repetitive (e.g., monthly reports), save the filter configuration as a template in Productiv to reduce setup time. Cradle can help identify where templates can be reused."}]
Automate repetitive tasks in applications like Chrome and Outlook to save time and reduce manual effort.
Enhance productivity by curating and deploying specific skills tailored to individual workflows or software environments.
Facilitate complex reasoning tasks in games such as Red Dead Redemption 2 and Stardew Valley, allowing agents to navigate and make decisions effectively.
Improve agent performance over time through self-improvement features that adapt based on user interactions and outcomes.
claude install BAAI-Agents/Cradlegit clone https://github.com/BAAI-Agents/CradleCopy 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 Cradle to automate [TASK] in Productiv. For example, log into Productiv as [USER], navigate to the [MODULE] section, and perform [ACTION] such as generating a report on [CRITERIA]. If errors occur, use Cradle's reasoning capabilities to diagnose and retry the task. Document the steps taken and results in a structured format.
### Cradle-Automated Task Completion Report **Task:** Automate the generation of a quarterly SaaS spending report in Productiv. **Steps Executed:** 1. **Authentication:** Cradle logged into Productiv using the provided credentials (user: finance_team@company.com) via the Productiv API. The session was validated with a 200 OK response. 2. **Navigation:** Cradle navigated to the "Spend Analytics" module, identified by the URL path `/spend-analytics/quarterly`. 3. **Filter Configuration:** Cradle applied the following filters to the report: - Timeframe: Q3 2024 (July 1 - September 30) - Department: Engineering - Software Categories: Cloud Services, Collaboration Tools - Exclude: Internal tools (e.g., Jira, Confluence) 4. **Report Generation:** Cradle triggered the "Export as CSV" action. The system returned a download link: `https://productiv.com/reports/quarterly-spending-q3-2024-engineering.csv`. 5. **Validation:** Cradle verified the report contained 47 line items, totaling $124,850 in spend. The top 3 categories by spend were: - AWS Services: $42,300 (34%) - Slack: $18,750 (15%) - GitHub: $15,200 (12%) **Error Handling:** - During step 3, Cradle encountered a "Filter Not Applied" error due to an invalid department ID. Cradle retried with the correct ID (retrieved from the `/departments` endpoint) and succeeded. **Outcome:** The report was successfully generated, validated, and saved to the shared drive at `\\company\\finance\\reports\\Q3-2024-SaaS-Spending.csv`. Total time elapsed: 2 minutes and 47 seconds. **Recommendation:** For future reports, Cradle suggests saving the filter configuration as a template to reduce setup time by 40%. --- *Generated by Cradle (General Computer Control Framework) on 2024-10-05.*
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan